MT300N - Wifi automatically disabled after MAC clone [Workaround/Solution: Use Upper case letters]

Wifi turns “off” after cloning mac address. How to fix this?

Could you show the log? And which firmware version do you use?

which firmware are you using?

If you are using a very old firmware it may have problem when cloning mac address.

You can upgrade your firmware to the latest and have a try.

openwrt-mt300n-2.264; was one of the first things I had did; Just to be sure I am going to test once again.

Yes this is still occurring with the latest V1 firmware.

SOLVED I had found the work around; use all upper case letters, not lower case; and I used the advanced configuration to set the mac. No more auto-disconnect. I also used official mac addresses listed by the windows program, TMAC. Technitium MAC Address Changer | A Freeware Utility To Spoof MAC Address Instantly

Upper case letters work in the “Internet Status GUI”
So far, only the Factory default MAC works with lower case. or at least is shown as such in the menu.

Kernel Log

[ 2375.090000] device wlan0 left promiscuous mode
[ 2375.090000] br-lan: port 2(wlan0) entered disabled state
[ 2376.900000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2376.920000] device wlan0 entered promiscuous mode
[ 2376.920000] br-lan: port 2(wlan0) entered forwarding state
[ 2376.930000] br-lan: port 2(wlan0) entered forwarding state
[ 2377.310000] br-lan: port 2(wlan0) entered disabled state
[ 2377.410000] br-lan: port 2(wlan0) entered forwarding state
[ 2377.410000] br-lan: port 2(wlan0) entered forwarding state
[ 2377.420000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2379.410000] br-lan: port 2(wlan0) entered forwarding state
[ 2387.720000] device wlan0 left promiscuous mode
[ 2387.720000] br-lan: port 2(wlan0) entered disabled state
[ 2388.210000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2388.220000] device wlan0 entered promiscuous mode
[ 2388.220000] br-lan: port 2(wlan0) entered forwarding state
[ 2388.230000] br-lan: port 2(wlan0) entered forwarding state
[ 2388.460000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2390.230000] br-lan: port 2(wlan0) entered forwarding state
[ 2412.200000] device wlan0 left promiscuous mode
[ 2412.200000] br-lan: port 2(wlan0) entered disabled state

I will add the other log here momentarily

System log

Wed Apr 4 01:17:17 2018 daemon.warn dnsmasq[6116]: no servers found in /tmp/resolv.conf.auto, will retry
Wed Apr 4 01:17:17 2018 daemon.notice netifd: wan (31828): Received SIGTERM
Wed Apr 4 01:17:17 2018 daemon.notice netifd: Interface ‘wan’ is now down
Wed Apr 4 01:17:17 2018 daemon.notice netifd: Interface ‘wan’ is disabled
Wed Apr 4 01:17:17 2018 daemon.notice netifd: Interface ‘wan’ has link connectivity loss
Wed Apr 4 01:17:17 2018 daemon.notice netifd: Interface ‘wan’ is enabled
Wed Apr 4 01:17:17 2018 daemon.notice netifd: Interface ‘wan’ is setting up now
Wed Apr 4 01:17:17 2018 daemon.notice netifd: VLAN ‘eth0.2’ link is up
Wed Apr 4 01:17:17 2018 daemon.notice netifd: Interface ‘wan’ has link connectivity
Wed Apr 4 01:17:17 2018 user.notice mwan3: ifdown interface wan (unknown)
Wed Apr 4 01:17:17 2018 daemon.notice netifd: wan (1560): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
Wed Apr 4 01:17:17 2018 daemon.notice netifd: wan (1560): udhcpc (v1.24.1) started
Wed Apr 4 01:17:18 2018 daemon.notice netifd: wan (1560): Sending discover…
Wed Apr 4 01:17:18 2018 daemon.notice netifd: wan (1560): Sending select for 192.168.50.150…
Wed Apr 4 01:17:18 2018 daemon.notice netifd: wan (1560): Lease of 192.168.50.150 obtained, lease time 86400
Wed Apr 4 01:17:18 2018 daemon.notice netifd: Interface ‘wan’ is now up
Wed Apr 4 01:17:18 2018 daemon.info dnsmasq[6116]: reading /tmp/resolv.conf.auto
Wed Apr 4 01:17:18 2018 daemon.info dnsmasq[6116]: using local addresses only for domain lan
Wed Apr 4 01:17:18 2018 daemon.info dnsmasq[6116]: using nameserver 192.168.50.1#53
Wed Apr 4 01:17:18 2018 daemon.notice netifd: radio0 (1595): command failed: Operation not supported (-122)
Wed Apr 4 01:17:19 2018 daemon.notice netifd: radio0 (1595): Configuration file: /var/run/hostapd-phy0.conf
Wed Apr 4 01:17:19 2018 daemon.notice netifd: radio0 (1595): Line 33: invalid bssid item
Wed Apr 4 01:17:19 2018 daemon.notice netifd: radio0 (1595): 1 errors found in configuration file ‘/var/run/hostapd-phy0.conf’
Wed Apr 4 01:17:19 2018 daemon.notice netifd: radio0 (1595): Failed to set up interface with /var/run/hostapd-phy0.conf
Wed Apr 4 01:17:19 2018 daemon.notice netifd: radio0 (1595): Failed to initialize interface
Wed Apr 4 01:17:19 2018 daemon.notice netifd: radio0 (1595): Device setup failed: HOSTAPD_START_FAILED
Wed Apr 4 01:17:20 2018 user.notice mwan3: ifup interface wan (eth0.2)
Wed Apr 4 01:17:21 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)

I am not sure if this is because lowercase or uppercase.

But DO NOT use Luci to set up mac addresses.

MT300N and MT300A’s mac address for wifi cannot be change freely.

When you have multiple VAP (STA) interfaces, the mac address can only be different in last 3 bit.

For example, if you are using repeater, then you will have two interfaces for wifi. You cannot just change mac address of AP or STA without changing another.

If you use GL UI, then this will be dealt with automatically.

Ah thank you alzhao, im not using it as a repeater, but good to know. Thanks.