[SOLVED] Omega can't connect to WiFi
-
@Nito-Weber This is the default:
config wifi-device 'radio0' option type 'mac80211' option hwmode '11g' option path 'platform/ar933x_wmac' option htmode 'HT20' option disabled '0' option channel '9' option txpower '30' option country 'US' config wifi-iface option device 'radio0' option network 'wlan' option mode 'ap' option ssid 'Omega-0104' option encryption 'psk2' option key 'onioneer' config wifi-iface option device 'radio0' option mode 'sta' option network 'wwan' option ssid 'Router' option encryption 'psk2' option key 'P@ssw0rd'
-
@Boken-Lin I accidently deleted the very first line yesterday. so i checked the default version and mine is the same now (except from the network settings in the end). but as soon as i try to connect to my wifi it says:
Connecting to Shire network using intf 1...
'radio0' is disabled
'radio0' is disabled
Checking wwan device status...
wwan is not up!!
Checking internet connection...
ERROR: request timeout, internet connection not successful
Disabling network on iface 1 ...
Done!Doesn't seem to be right but i don't see any difference between the default and my version.
So my question is:
- What is intf 1 or intf 2?
- why isn't wwan up any more?
- how can i fix this?
Thanks in advance
-
@Nito-Weber Perhaps you have changed some settings in
/etc/config/network
Here's the default content of that file:
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 'fd28:1f13:5b38::/48' #config interface 'lan' # option ifname 'eth0' # option type 'bridge' # option proto 'static' # option ipaddr '192.168.3.1' # option netmask '255.255.255.0' # option ip6assign '60' #config interface 'wan' # option ifname 'eth0' # option proto 'dhcp' #config interface 'wan6' # option ifname '@wan' # option proto 'dhcpv6' #config switch # option name 'switch0' # option reset '1' # option enable_vlan '1' #config switch_vlan # option device 'switch0' # option vlan '1' # option ports '0 1 3' config interface 'wwan' option proto 'dhcp' option hostname 'OnionOmega' config interface 'wlan' option proto 'static' option ipaddr '192.168.3.1' option netmask '255.255.255.0' #config interface 'wlan' # option ifname 'wlan0-1 wlan0' # option type 'bridge' # option proto 'static' # option ipaddr '192.168.3.1' # option netmask '255.255.255.0' # option ip6assign '60'
Can you copy and paste that in to
/etc/config/network
and execute/etc/init.d/network restart
to reload the configuration? Please let me know if that helps.
-
I just got my omega today (looks great so far) but i can't connect to wifi in the house, i've tried scanning and manually adding it but no joy with either, heres what i get:
Any help would be great!
Thanks
Eoin
-
@Eoin-O'Dowd Can you add the following block to
/etc/config/wireless
:config wifi-iface option device 'radio0' option mode 'sta' option network 'wwan' option encryption 'psk2' option ssid '<Network Name>' option key '<Password>'
You may need to change
encryption
towep
orpsk
for WEP encryption and WPA1, respectively. After you are done, just save the file and run:wifi
This should restart your wifi service with the new configuration.
Please let me know if this helps.
-
No, not working either, still the same! any other ideas?
-
@Eoin-O'Dowd Can you tell us which country you are in? Sometimes channel 13 does not work in certain European countries. In which case it will need to be disabled.
-
im in ireland.
-
@Nito-Weber If you edited it with
vi
, you will first pressESC
to get out of Insert mode, then you will type:wq
to write to file, and quit out ofvi
.
-
@Boken-Lin yeah thanks, i figured it out who vi works but it doesn't seem to change anything. 'radio0' is still disabled and i down know where my mistake might be. I checked the default version of /etc/config/network and tried what you explained to @Eoin-O-x27-Dowd with /etc/config/wireless. both changes didn't show any effect. i have no idea why.
-
@Nito-Weber Can you try this for me?
use
wifisetup
to attempt an connection to your wifi network. When you seewlan0: link is not ready
, pressCtrl+C
to terminatewifisetup
. Then copy and paste the contents of both/etc/config/wireless
and/etc/config/network
here. Let's eliminate the possibility that it's an issue with the configuration.
-
I have tried everything above and i can't get the wifi working, this device is useless to me without internet.
-
@Eoin-O'Dowd have you tried connecting to other wifi networks?
Also, can you check if your wifi network uses TKIP encryption for the password. There's some issues with this type of encryption: https://community.onion.io/topic/137/ssh-from-lan-not-working/3
-
I have wpa2-psk on the router and have also setup a hotspot on my phone to test various types of encryption but it's almost as if it can't detect any network.
-
Thanks for the post above i have changed to AES encryption and still have no connection discovery or manual connection!
-
Sorry for the multiple post it's just sad that i cant get this to work, here is the output when trying to connecs to an open network:
-
@Eoin-O'Dowd can you try connecting to the open network with the following command:
wifisetup -ssid <ssid> -auth none -password ""
If that doesn't work, try:
wifisetup -ssid <ssid> -auth none -password "" -disablewwancheck
Let me know how it goes!
-
Output:
-
Hi @Eoin-O'Dowd, is there a chance that your router and phone hotspot are outputting 5GHz frequency? The Omega doesn't support WiFI AC yet. Also, are you able to access Omega's own WiFI AP? Let's first try to rule out the possibility that WiFi interface on the Omega might be broken.
-
As far as i can see the wifi is broken, i can't see the AP on any of my devices it just simply has no means of connecting to the wifi, how do i get a refund/replacement?