OpenWrt Forum Archive

Topic: Wireless fails on rb532

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

I installed kamikaze build r7179 and less. With all versions I tried I have the same problem: Wireless will not work

/etc/config/wireless:

config wifi-device      wifi0
        option type     atheros
        option channel  11
        option mode     11g

config wifi-iface
        option device   wifi0
        option mode     ap
        option ssid     open-4
        option hidden   0
        option encryption       none

When I do a network restart I get the following messages:

wlanconfig: ioctl: No such device
enable_atheros(wifi0): Failed to set up ap vif

What is going wrong?

Hello pingus,

I've got too a rb532 with atheros wireless card. Mine is well detected. I always have a problem of performances at the end of a certain number of received packages but except that that works well (wpa,wpa2, ... with hostapd package). Maybe you should use the webif interface to help you to manage your wireless configuration. for me this part works good.

Now concerning your wireless problem :

wlanconfig: ioctl: No such device

- Did you install kmod-madwifi ipk package ?

- what dmesg tells at startup ?

Now I see any erros in your config file but I can mistake .  For instance here my config file: (my wireless card is unterstood in a bridge, that's why there is "option network  lan"

config wifi-device  wifi0
        option type     atheros
        option channel  8
        option disabled 0

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option hidden   0
        option txpower  15
        option encryption none

while hoping to have come to you to assistance, good luck smile


t.

Toboz:  You say you have a performance problem "at the end of a certain number of received packets".  I have an odd performance problem too (it seems to slow down for no good reason) but I had not related it to a packet count.  How did you come to that conclusion?  Have you looked at the things fixed in 0.9.3 of madwifi since 0.9.2 to see if anything similar might have been fixed?

David

After compiling pciutils I have another new error message: wifi0(atheros): Interface type not supported.

kmod-madwifi is compiled into the kernel. The wireless-tools are also installed. I do not see any useful information from dmesg, means no information about wirless interface.

what do you get from lspci (or /proc/bus/pci/devices if you do not have lspci).

lspci:

00:00.0 Non-VGA unclassified device: Integrated Device Technology, Inc. Unknown device 0000
00:02.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
00:03.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
00:04.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

i have the same problem on my fon2100

Firmware      OpenWrt Kamikaze 7.09
Kernel          Linux 2.6.19.2
Device         La Fonera (ACCTON MR3201A)
Board         Atheros AR2315

the problem is that atheroes is not recognized...

root@OpenWrt:~# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

br-lan    no wireless extensions.

and i think that is here that problems pop up (dmesg on boot)

Radio config found at offset 0xf8(0x1f8)
AR531x PCI init... done
PCI: fixing up device 0,3,0
PCI: Failed to allocate mem resource #1:4000000@84000000 for 0000:00:00.0
PCI: Failed to allocate mem resource #1:4000000@84000000 for 0000:00:01.0
PCI: Failed to allocate mem resource #1:4000000@84000000 for 0000:00:02.0
PCI: Failed to allocate mem resource #1:4000000@84000000 for 0000:00:03.0
PCI: Failed to allocate mem resource #2:400000@81400000 for 0000:00:03.0

someone was able to use kamikaze on fon2100???

The discussion might have continued from here.