Page 1 of 1

[SOLVED] WLAN MAC Address change impossible - due to bug?

Posted: Thu Sep 10, 2015 9:59 am
by ggravier
Hi!

Hi! I'm on a TP-Link TL-MR3040 v2 with Gargoyle 1.8.0 freshly installed.

Looking at this package : kmod-macvlan which seems to be what would be needed to be able to use virtual MACs on a network interface... if I do :

Code: Select all

opkg info kmod-macvlan
I get the following

Code: Select all

Package: kmod-macvlan
Version: 3.10.49-1
User-Installed: false
Install-Destination: Not Installed
SHA256sum: 3d3f023478c05d6b8d6c83cdfc7e7f30728deb0f5151279b1fe5349560766f53
Source: package/kernel/linux
Size: 6508
Installed-Size: 5859
MD5Sum: 8c3938215991dd44595f138f015fc7db
License: GPLv2
Description: A kernel module which allows one to create virtual interfaces that
             map packets to or from specific MAC addresses to a particular interface
Architecture: ar71xx
Source-ID: barrier_breaker_base
Section: kernel
Filename: kmod-macvlan_3.10.49-1_ar71xx.ipk
Status: unknown hold not-installed
Depends: kernel (=3.10.49-1-0114c71ed85677c9c1e4911437af4743)

root@nzone:/tmp#
Could that be the reason why nobody can properly change the MAC address of the WiFi section of their rooters?

Gilles

Re: WLAN MAC Address change impossible - due to bug?

Posted: Thu Sep 10, 2015 10:21 am
by Lantis
That package is for a very specific purpose. Creating virtual MACs to get devices into an ISP network.

What you are trying to achieve can be done by editing /etc/config/wireless
Please see http://wiki.openwrt.org/doc/uci/wireless#wifi_networks

Re: WLAN MAC Address change impossible - due to bug?

Posted: Thu Sep 10, 2015 11:52 am
by ggravier
Pfff.

I spent my whole day reading that documentation on /etc/config/wireless and was stuck at :

Code: Select all

macaddr [b]|[/b] MAC address [b]|[/b] yes/no [b]|[/b] (autodetected) [b]|[/b] Specifies the radio adapter associated to this section, it is not used to change the device mac but to identify the underlying interface.

For the wifi-device section - not realizing that there was a wifi-iface section right after.

So... Thanks, many thanks for having forced me to re-read that bloody file yet another time thinking "he points me to it, there has to be something I missed"...

And, of course, now it works.

Thanks!

I can now start doing my own, very mobile Nintendo Zone. :)

Gilles

Re: WLAN MAC Address change impossible - due to bug?

Posted: Thu Sep 10, 2015 6:32 pm
by Lantis
No worries mate. I had to read it a few times too ;)