OpenWrt Forum Archive

Topic: no signal, unknown encryption in client mode

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

Hi all, I have successfuly flashed the fw and connected to my wifi with WR841N. The issue is the wifi signal was fine for about 30s and now 0%, also the encryption is unknows even set WPA2-EAP, PEAP, MSCHAPV2. Do you have any idea why? I have tried for long time but nothing discovered.

What encryption is the AP that you are trying to connect to actually using?

To connect to an 802.1X network ("Enterprise" encryption) you need to replace wpa-supplicant (wpad) with the full version.

Examine the system log for any wifi-related error messages.

(Last edited by mk24 on 20 Sep 2017, 13:51)

yes, this is done (replacement wpad --> wpa)

root@OpenWrt:~# ubus call network.wireless status
{
        "radio0": {
                "up": false,
                "pending": false,
                "autostart": false,
                "disabled": false,
                "config": {
                        "hwmode": "11g",
                        "path": "platform\/qca953x_wmac",
                        "txpower": 19,
                        "channel": "11",
                        "htmode": "HT20",
                        "country": "BO",
                        "disabled": false

I think it is not ok to see the radio0 up=false. Tried uci set wireless.radio1.disabled=0, but no change.
and ifconfig listing:
root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr C0:4A:00:EE:13:5E
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::c24a:ff:feee:135e/64 Scope:Link
          inet6 addr: fd4e:7d6c:4ca1::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1509 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1419 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:182733 (178.4 KiB)  TX bytes:316825 (309.3 KiB)

br-wan    Link encap:Ethernet  HWaddr C0:4A:00:EE:13:5F
          inet addr:192.168.0.129  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::c24a:ff:feee:135f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1669 errors:0 dropped:0 overruns:0 frame:0
          TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:97717 (95.4 KiB)  TX bytes:15022 (14.6 KiB)

br-wwan   Link encap:Ethernet  HWaddr CE:9C:A6:44:73:0B
          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:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr C0:4A:00:EE:13:5E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1693 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1409 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:236711 (231.1 KiB)  TX bytes:315788 (308.3 KiB)
          Interrupt:5

eth1      Link encap:Ethernet  HWaddr C0:4A:00:EE:13:5F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1880 errors:0 dropped:0 overruns:0 frame:0
          TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:164344 (160.4 KiB)  TX bytes:13228 (12.9 KiB)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1621 (1.5 KiB)  TX bytes:1621 (1.5 KiB)

Indeed, your radio is not up.
Does iw dev show anything?  Or iw list will show if the driver is running.

Also open another ssh terminal and run logread - f in it.  This will show log messages as they are logged.

(Last edited by mk24 on 20 Sep 2017, 19:34)

iw dev shows nothing, logread -f shows only successful login into router. Do you have any idea how to run the radio? I have tried the uci and directly modified the /etc/config/wireless, but no change.

When iw list shows nothing, that usually means the kernel driver has failed to start or crashed.  Check dmesg for wifi errors logged during bootup.

If iw list is OK but iw dev shows nothing, that would mean that the UCI system couldn't create any interfaces usually due to a configuration problem.

(Last edited by mk24 on 21 Sep 2017, 14:00)

thanks a lot for the diag. Seems the hostpad has some problems. Trying to reinstall the hostpad...

(Last edited by mifbase on 21 Sep 2017, 16:33)

You will likely need Image Builder to make a custom image that fits in the 4M flash.  Removing wpad-mini from the squashfs will free up about 200kbyte.

The discussion might have continued from here.