2013/1/25 Felix Fietkau <[email protected]>:
> On 2013-01-25 4:06 PM, Rafał Miłecki wrote:
>> 2013/1/25 Ernesto <[email protected]>:
>>> Hi all,
>>>
>>> I have an ADB P.DGA4001N with board id: 963281TAN.
>>>
>>> I flashed
>>> http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/brcm63xx/generic/openwrt-963281TAN-8M-flash-generic-squashfs-cfe.bin
>>> with success, but the router has no wifi:
>>>
>>> root@OpenWrt:/# uci show wireless
>>> wireless.radio0=wifi-device
>>> wireless.radio0.type=mac80211
>>> wireless.radio0.channel=11
>>> wireless.radio0.macaddr=00:00:00:00:00:00
>>> wireless.radio0.hwmode=11g
>>> wireless.radio0.disabled=0
>>> wireless.@wifi-iface[0]=wifi-iface
>>> wireless.@wifi-iface[0].device=radio0
>>> wireless.@wifi-iface[0].network=lan
>>> wireless.@wifi-iface[0].mode=ap
>>> wireless.@wifi-iface[0].ssid=OpenWrt
>>> wireless.@wifi-iface[0].encryption=none
>>>
>>> root@OpenWrt:/# wifi
>>> Configuration file: /var/run/hostapd-phy0.conf
>>> Could not set interface wlan0 flags (UP): Cannot assign requested
>>> address
>>> nl80211: Could not set interface 'wlan0' UP
>>> nl80211: Failed to add interface wlan0 into bridge br-lan: Invalid
>>> argument
>>> nl80211 driver initialization failed.
>>> Failed to start hostapd for phy0
>>>
>>> root@OpenWrt:/# cat /sys/class/ieee80211/phy0/macaddress
>>> 00:00:00:00:00:00
>>>
>>> dmesg shows this:
>>>
>>> [   12.648000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
>>> [   12.656000] bcma: bus0: Found chip with id 0xA8D9, rev 0x01 and
>>> package 0x0A
>>> [   12.664000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id
>>> 0x800, rev 0x22, class 0x0)
>>> [   12.672000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id
>>> 0x812, rev 0x17, class 0x0)
>>> [   12.680000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820,
>>> rev 0x0F, class 0x0)
>>> [   12.764000] bcma: bus0: Failed to get SPROM: -71
>>> [   12.768000] bcma: bus0: Bus registered
>>> [   13.064000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
>>> [   13.072000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
>>> [   13.076000] Broadcom 43xx driver loaded [ Features: PNL ]
>>
>> b43 noticed IEEE 802.11 core, detected PHY, didn't print any error.
>> Looks alright. Looks like a problem in OpenWRT's wifi management (viar
>> nl80211?).
> To me it looks like the problem is the bogus MAC address.
> "Could not set interface wlan0 flags (UP): Cannot assign requested address"

Ahh. SPROM wasn't read, the MAC address is invalid then. Hauke posted
many nvram fixes that may fix SPROM reading issue.

-- 
Rafał
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to