hi all,

may somebody advice please?

after bricking my TL-WR741ND I recovered it with almost "original"
fullflash image I was able to find ...

after that everything works except wlan ... 
wlan mac address became `11:12:13:14:15:16' and wifi is not working 

# cat /sys/class/ieee80211/phy0/macaddress
11:12:13:14:15:16

on attempt to `wifi up' I receive this:
# wifi up
Configuration file: /var/run/hostapd-phy0.conf
Could not set interface wlan0 flags: Cannot assign requested address
nl80211: Could not set interface 'wlan0' UP
nl80211 driver initialization failed.
Failed to start hostapd for phy0

and the cause as I believe is here:
# ifconfig wlan0 hw ether 11:12:13:14:15:16
ifconfig: SIOCSIFHWADDR: Cannot assign requested address

this probably indicates that the mac is not a unicast address (to
qualify as a unicast address the first byte must be even)



so, is there way to "persuade" OpenWRT to use alternative mac, since
ifconfig successfully assigns device original mac address and even, I
can up the interface:

# ifconfig wlan0 hw ether 90:f6:52:23:d8:1e
# ifconfig wlan0 up
# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 90:f6:52:23:D8:1E  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

trying to `uci set wireless.radio0.macaddr="90:f6:52:23:D8:1E"'
doesn't help since it is the value of
`/sys/class/ieee80211/phy0/macaddress' what have to be changed ...



so, may somebody help with that, please?

-- 
Zeus V. Panchenko                               jid:[email protected]
IT Dpt., I.B.S. LLC                                       GMT+2 (EET)
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to