[SOLVED] Omega can't connect to WiFi
that's how far i got with the wiki...
@Nito-Weber Ah, you need to edit that file. With the command you entered, you were trying to execute the file as a program. Try
nano /etc/config/wireless. Although you'll need to install
i added a line there but how do i save things? @Boken-Lin
ESCand then type
@Boken-Lin well.... i managed to save but i think i need a default version of /etc/config/wireless now becausethe omega won't connect to any wifi (not even my iPhone hotspot).
does this help you? i'm sorry i produce one problem after another but i'm a total beginner! I didn't know how the VI editor works. now i do but i would like to restore the default version of/etc/config/wireless
@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 ...
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
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/init.d/network restartto 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!
@Eoin-O'Dowd Can you add the following block to
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
pskfor WEP encryption and WPA1, respectively. After you are done, just save the file and run:
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 press
ESCto get out of Insert mode, then you will type
:wqto write to file, and quit out of
@Boken-Lin yeah thanks, i figured it out who vi works :+1: 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?
wifisetupto attempt an connection to your wifi network. When you see
wlan0: link is not ready, press
wifisetup. Then copy and paste the contents of both
/etc/config/networkhere. 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!