OpenWrt Forum Archive

Topic: no wlan

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

hello *,

after installing openwrt everthing works fine. my linksys wrt54g router (v2.2) was running for serveral days.
i did not configured or used my wlan (eth1), but i saw it via ifconfig or iwconfig.

but now, i logged in the router and there is no eth1 anymore!
i did a reboot, but nothing changed!

what´s wrong with it?


dermartn

ok login to your router
now type
# nvram show | grep eth

you should see something like this:

wl0_ifname=eth1
lan_ifnames=vlan0 eth1 eth2 eth3
http_method=post
size: 11785 bytes (20983 left)

if you don't your router's nvram corrupted
don't worry read documents on this site

wireless joe

hi wireless joe,

thanks for your answer ;-)

my ouput seems to be okay. it looks like yours:

wl0_ifname=eth1
lan_ifnames=vlan0 eth1
size: 8900 bytes (23868 left)
http_method=post

so the nvram should be okay.

what can i do now?


dermartn

Check the wireless module is loaded :

lsmod |grep wl
wlcompat               15520   0 (unused)
wl                    401592   0 (unused)

Ensure, you have eth1 UP and RUNNING :

eth1      Link encap:Ethernet  HWaddr 00:0F:66:4D:01:70
          inet addr:192.168.1.250  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: 2001:470:1f00:1230::/64 Scope:Global
          inet6 addr: 2001:470:1f00:1230::1/64 Scope:Global
          inet6 addr: fe80::20f:66ff:fe4d:170/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

And finally, you can still try :

wlconf eth1 down
wlconf eth1 up

Which, in any case, should set up your wireless interface.

Please, also check the dmesg for the wireless card detection :

dmesg |grep eth1
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.60.13.0

thanks a lot.

after reinstalling (or installing?) wlcompat and a reboot everthing works fine now.


dermartn

hello dermath:

if you are playing with a Linksys WRT54G ver_3, with OpenWrt exprimantal you have to take it easy, I just had the same problem today,
so far I reflashed my router 7 times

However I love this little blue bug is a rock hardy, won't give up that easy

Thanks boot_wait

wireless joe

Hi!

I have the same problem. The wlan is not working either on my asus box.
I have ASUS wl-500g box.

I use the experimental build. (http://www.falka.hu/~josephus/openwrt/o … s2-4MB.trx)

I dont want to use (for now) wpa or wep, I want just a working AP;)
My wl0 settings are:

root@OpenWrt:/# nvram show |grep wl0
size: 6615 bytes (26153 left)
wl0_net_mode=mixed
wl0_frameburst=0
wl0_infra=1
wl0_country_code=AU
wl0_ifname=eth2
wl0_mode=ap
wl0_ap_isolate=0
wl0_gmode=1
wl0_dtim=1
wl0_ssid=mol
wl0_key1=
wl0_key2=
wl0_key3=
wl0_key4=
wl0_plcphdr=long
wl0_rate=0
wl0_closed=0
wl0_macmode=disabled
wl0_radioids=BCM2050
wl0_phytype=g
wl0_lazywds=0
wl0_afterburner=off
wl0_antdiv=-1
wl0_wpa_psk=k4pcsolat
wl0_unit=0
wl0_wds=
wl0_radius_port=1812
wl0_auth=0
wl0_radius_ipaddr=
wl0_phytypes=g
wl0_frag=2346
wl0_wep=disabled
wl0_country=
wl0_rateset=default
wl0_rts=2347
wl0_wpa_gtk_rekey=0
wl0_key=1
wl0_radio=1
wl0_bcn=100
wl0_hwaddr=00:11:D8:30:BF:0A
wl0_gmode_protection=auto
wl0_maclist=
wl0_radius_key=
wl0_corerev=5
wl0_channel=0
wl0_auth_mode=psk
wl0_crypto=0
root@OpenWrt:/#

I have rebooted several times, but the wlan does not seem to work.
In ASUS wl500G the eth1 is the WAN (adsl for me), eth2 is the WLAN and eth0 is the LAN.

In the dmesg, the the wlan show up:

root@OpenWrt:/# dmesg |grep eth
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.13.0
eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.13.0
eth2: Broadcom BCM4320 802.11 Wireless Controller 3.60.13.0
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
eth2: attempt to add interface with same source address.
br0: port 2(eth2) entering listening state
br0: port 1(eth0) entering listening state
br0: port 2(eth2) entering learning state
br0: port 1(eth0) entering learning state
br0: port 2(eth2) entering forwarding state
br0: port 1(eth0) entering forwarding state
root@OpenWrt:/#

But the iwconfig does not show correctly my SSID:

root@OpenWrt:/# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

eth2      IEEE 802.11-DS  ESSID:""  
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:00:00:00:00:00   
          Tx-Power:22 dBm   
          RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:off
          
br0       no wireless extensions.

root@OpenWrt:/# nvram show |grep wl0 |grep id
size: 6615 bytes (26153 left)
wl0_ssid=mol
wl0_radioids=BCM2050
root@OpenWrt:/#

I can set with iwconfig my SSID:

root@OpenWrt:/# iwconfig eth2 essid "mol"
root@OpenWrt:/# iwconfig eth2
eth2      IEEE 802.11-DS  ESSID:"mol"  
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:11:D8:30:BF:0A   
          Tx-Power:22 dBm   
          RTS thr=2347 B   Fragment thr=2346 B   
          Encryption key:off
          
root@OpenWrt:/# wlconf eth2 down
root@OpenWrt:/# wlconf eth2 up  
root@OpenWrt:/#

(The AIR led (at wlconf eth2 down) blowed out, and light up again (at wlconf eth2 up))

My laptop does not see the "mol" network. (see the other wireless networks neir of me, but not the asus's one)

My ifconfig output:

root@OpenWrt:/# ifconfig
br0       Link encap:Ethernet  HWaddr 00:11:D8:30:BF:0A  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:914 errors:0 dropped:0 overruns:0 frame:0
          TX packets:750 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:74056 (72.3 KiB)  TX bytes:342123 (334.1 KiB)

eth0      Link encap:Ethernet  HWaddr 00:11:D8:30:BF:0A  
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:914 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1171 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:92819 (90.6 KiB)  TX bytes:367383 (358.7 KiB)
          Interrupt:3 Base address:0x2000 

eth1      Link encap:Ethernet  HWaddr 00:11:D8:30:BF:0A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:591 errors:0 dropped:0 overruns:0 frame:0
          TX packets:596 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:336552 (328.6 KiB)  TX bytes:68846 (67.2 KiB)
          Interrupt:4 Base address:0x8000 

eth2      Link encap:Ethernet  HWaddr 00:11:D8:30:BF:0A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:1
          TX packets:163 errors:133 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:10181 (9.9 KiB)
          Interrupt:6 Base address:0x2000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ppp0      Link encap:Point-Point Protocol  
          inet addr:62.77.213.253  P-t-P:213.163.27.13  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:511 errors:0 dropped:0 overruns:0 frame:0
          TX packets:518 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:318146 (310.6 KiB)  TX bytes:54872 (53.5 KiB)

root@OpenWrt:/#

What can I do?
What I have missed?
Why the wlconf not use the variables from the nvram? (ssid)

I hope someone can help me.
Best regards,
Khiraly

ps: I have tried this image:
http://openwrt.org/downloads/experiment … s2-4MB.trx
It boot, I can use the internet (through adsl modem), but If I type iwconfig, it hang up, and the power led
begin blinking (and I cant do anything but reflash with an another firmware-image)
I have tried this image too:
http://openwrt.org/downloads/experiment … uashfs.trx
I can use internet. But If I type iwconfig,  it hang up, at the eth1 device.
If I type directly the eth2 device:

root@OpenWrt:/# iwconfig eth2
eth2      no wireless extensions.

It does not make sens, because the eth2 is normaly my wireless device. eth1 is the wan, and eth0 is the lan.

(Last edited by khiraly on 15 May 2005, 00:24)

The discussion might have continued from here.