Unable to connect to Wifi after update and multiple reads
-
Hey guys,
After a few hours reading and trying to fix my wifi connection, I give up and must ask for help.
Using SSH, I factory resetted the Omega2+, ran
wifisetupand now what??ifconfigdoes not give me an IP address.Here's the content
/etc/config/wirelessfileconfig wifi-device 'radio0' option type 'ralink' option variant 'mt7628' option country 'US' option hwmode '11g' option htmode 'HT40' option channel 'auto' option disabled '0' option device_mode 'apsta' option op_mode 'preference' config wifi-iface 'ap' option device 'radio0' option mode 'ap' option network 'wlan' option ifname 'ra0' option encryption 'psk2' option key '12345678' option disabled '0' option ssid 'Omega-1439' config wifi-iface 'sta' option device 'radio0' option mode 'sta' option ifname 'apcli0' option encryption 'psk2' option network 'wwan' option disabled '0' option key 'MY_PASSWORD' option ssid 'MY_SSID' config wifi-config option key 'MY_PASSWORD' option ssid 'MY_SSID' option encryption 'psk2'Firmware version : Ω-ware: 0.2.1 b199
I'm using putty on Windows 10.Thanks for giving a hand in advance!
-
Check
dmesgfor messages indicating that its trying to connect to a network.
-
@Nick-B
Please take a look here FAQ: How do I check if I'm successfully connected to a WiFi network? and try the various checks listed.If everything checks out, posting the results of the different checks here might provide the experts reviewing the thread with some clues as to what is happening.
-
Ok, I was gone for 2 days and it seems to be connected. It might be the delay it takes to get a connection.
But I'm unable to ping the device or access it using SSH via the ip address. What config should I change?
Here's the ifconfig :
apcli0 Link encap:Ethernet HWaddr 40:A3:6B:C2:14:XX inet addr:192.168.X.YY Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::42a3:6bff:fec2:14XX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:27199 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)I noticed that the dropped packets from RX is quite high.
UPDATE
After updating the firmare usingoupgrade. The connection has been lost.I've followed @cas instructions from the given link.
iwconfiggives me this resultapcli0 RTWIFI SoftAP ESSID:"MySSID" Mode:Managed Channel=3 Access Point: 70:8B:CD:31:26:XX Bit Rate=150 Mb/sIt shows it is connected.
ifconfigshows me thisapcli0 Link encap:Ethernet HWaddr 40:A3:6B:C2:14:XX inet6 addr: fe80::42a3:6bff:fec2:14XX/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:38 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)And I'm unable to ping anything
root@Omega-1439:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ping: sendto: Network unreachableWhat are the next steps?
-
What are the next steps?
The missing 'inet addr' in the latest
ifconfigoutput would indicate that the device has not successfully received an address via dhcp from your AP, so it isn't successfully connected.I can replicate this by using an incorrect password when trying to connect to my AP. ie.
iwconfigshows a successful looking apcli0 entry, while no inet addr on the same interface reflects inifconfig.Perhaps try removing the wifi network and re-adding it?
Or some additional log info may help diagnose further?