wifi wont scan
-
Hi,
I have couple of onion 2S+ modules.
During the initial setup i was able to connect to wifi and everything worked as expected. After few reboots the wifi wont connect to network.
root@onion-XXXX:~# wifisetup
Onion Omega Wifi Setup
Select from the following:- Scan for Wifi networks
- Type network info
q) Exit
Selection: 1
Scanning for wifi networks...
ERROR: Scan failed, try again
ERROR: specified ssid not in the databaseis there anyway to fix this error. i saw few other users facing same issue..
-
I have played with the "wireless" and "network" configurations and for some combinations, the wireless section won't work. I don;t remember exactly what are those, but a working config is provided below. Please compare with your Omega.
FW: b232root@Omega-CCC9:/# cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'config globals 'globals'
option ula_prefix 'fd1d:48c4:7633::/48'config interface 'wlan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.3.1'
option netmask '255.255.255.0'
option ip6assign '60'
option disabled '0'config interface 'wwan'
option ifname 'apcli0'
option proto 'dhcp'
option hostname 'Omega-CCC9'config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'root@Omega-CCC9:/# cat /etc/config/wireless
config 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 disabled '0'
option ssid 'Omega-CCC9'
option key 'KeyForThisAP'config wifi-iface 'sta'
option device 'radio0'
option mode 'sta'
option ifname 'apcli0'
option encryption 'psk2'
option network 'wwan'
option led 'omega2:blue:wifi'
option disabled '0'
option key 'KeyForRemoteAP'
option ssid 'linksys'config wifi-config
option key 'KeyForRemoteAP'
option ssid 'linksys'
option encryption 'psk2'root@Omega-CCC9:/#
root@Omega-CCC9:/# wifisetup
Onion Omega Wifi SetupSelect from the following:
- Scan for Wifi networks
- Type network info
q) Exit
Selection: 1
Scanning for wifi networks...Select Wifi network:
- D-Link
- linksys
Selection: ^C
-
@ab09 We need to know what firmware version you are using.
Make sure you have you updated to the latest firmware version.
Perform a factory reset to you can be sure it is nothing you have done to mess up the configuration.
When booting do you see the Warp Core splash screen?Some people have had issues connecting to WiFi if they have the device set to US frequencies. In /etc/config/wireless look for this :
config wifi-device 'radio0'
option type 'ralink'
option variant 'mt7628'
option country 'US'Remove it and reboot.
If that doesn't fix the issue, try fixing the channel instead of option channel 'auto' set it to a valid channel for your region. Channel 11 is usually good but your situation may differ so you can try anything in the range 1 - 11 for 2.4Ghz