OpenWrt Forum Archive

Topic: WISP and MAC-Clone help

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have a TP-Link TL-MR3020 with OpenWrt installed. I bought this to help out in hotel rooms were you get one logon but have more than one pc.

Usually I first login with my notebook to the hotel wifi to get access (hotel login screen) and the hotel wifi saves my MAC (notebook wifi) for further access. After that I clone my notebook wifi MAC to the router (WWAN) and try to connect with my notebook to the MR3020.

Question: Is that a problem? WWAN MAC of the router and the WLAN MAC of my notebook are the same.

Hope somebody can help...

HOgi

it should not be a problem, just change your laptop mac (before or after the registration/logon..)

anyway, i thought you could always use the router so it's wwan mac will be registrered..

That's the question. Do I have to spoof my laptop WIFI MAC after clone to routers WWAN MAC or not (routers WWAN MAC and laptop WIFI MAC would be the same)? And if yes, is there any way to configure openwrt that I don't have to spoof the laptop WIFI MAC?

nebbia88 wrote:

it should not be a problem, just change your laptop mac (before or after the registration/logon..)

anyway, i thought you could always use the router so it's wwan mac will be registrered..

(Last edited by HOgi on 22 Aug 2013, 09:22)

well, no, I just tried with my wr703n, the WWAN mac could be different from the WLAN mac.

root@OpenWrt:~# ifconfig

wlan0     Link encap:Ethernet  HWaddr EC:17:2F:E0:xx:xx                 (WLAN AP)
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:521 errors:0 dropped:0 overruns:0 frame:0
          TX packets:482 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:72551 (70.8 KiB)  TX bytes:127122 (124.1 KiB)

wlan0-1   Link encap:Ethernet  HWaddr 74:2F:68:EE:xx:xx     (WWAN CLIENT)
          inet addr:192.168.43.66  Bcast:192.168.43.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:199 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:10508 (10.2 KiB)  TX bytes:37871 (36.9 KiB)

and here my attached laptop:

root@OpenWrt:~# iw wlan0 station dump

Station 74:2f:68:ee:xx:xx (on wlan0)

so i'd say no problem wink

(Last edited by nebbia88 on 22 Aug 2013, 09:36)

How do you change (clone) the wwan MAC? Maybe I do something wrong...


nebbia88 wrote:

well, no, I just tried with my wr703n, the WWAN mac could be different from the WLAN mac.

root@OpenWrt:~# ifconfig

wlan0     Link encap:Ethernet  HWaddr EC:17:2F:E0:xx:xx                 (WLAN AP)
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:521 errors:0 dropped:0 overruns:0 frame:0
          TX packets:482 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:72551 (70.8 KiB)  TX bytes:127122 (124.1 KiB)

wlan0-1   Link encap:Ethernet  HWaddr 74:2F:68:EE:xx:xx     (WWAN CLIENT)
          inet addr:192.168.43.66  Bcast:192.168.43.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:199 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:10508 (10.2 KiB)  TX bytes:37871 (36.9 KiB)

and here my attached laptop:

root@OpenWrt:~# iw wlan0 station dump

Station 74:2f:68:ee:xx:xx (on wlan0)

so i'd say no problem wink

well i did it from Luci, Network, Interfaces, Edit on the WWAN, Advanced Settings, Override MAC address...

Yes, I did exact the same but after cloning the MAC I have connection issues. Random disconnections and very slow WLAN. I don't have this issues with default MAC. This is why I ask if it is possible to have the same WWAN and notebook WLAN MAC. You don't have any issues with this configuration?


nebbia88 wrote:

well i did it from Luci, Network, Interfaces, Edit on the WWAN, Advanced Settings, Override MAC address...

well i only tested basic connectivity, no hard throughput or similar.. and for few minutes! ATM i cannot make further tests.. maybe later wink

anyway seems really strange to me that the MAC change has something to do with WLAN problems!

as a test, i'd try to use the router's mac to do the registration, so you won't need to change anything...

The discussion might have continued from here.