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

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

Post Reply
User avatar
ggravier
Posts: 14
Joined: Thu May 07, 2015 9:23 am
Location: Haute Savoie, France
Contact:

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

Post 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
Last edited by ggravier on Fri Sep 11, 2015 3:10 am, edited 1 time in total.
Using Gargoyle on TP-Link TL-MR3040 v2 with custom WiFi MAC to run a Nintendo Zone router.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post 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
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

User avatar
ggravier
Posts: 14
Joined: Thu May 07, 2015 9:23 am
Location: Haute Savoie, France
Contact:

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

Post 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
Using Gargoyle on TP-Link TL-MR3040 v2 with custom WiFi MAC to run a Nintendo Zone router.

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

No worries mate. I had to read it a few times too ;)
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply