Wifi setup fails
-
New Onion. Terminal connection via Linux is fine. wifisetup fails. Looks like it passes invalid arguments to uci?
root@Omega-B72B:~# 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:
- DoHS Field Office 17_RE
- Sweat Lodge 1
Selection: 2
Network: Sweat Lodge 1
Authentication type: WPA2PSK
Enter password: XXXXRestarting wifimanager for changes to take effect
root@Omega-B72B:~# Usage: /sbin/uci [<options>] <command> [<arguments>]
....Entered data does end up in /etc/config/wireless.
Ifconfig/iwconfig shows the Onion configured as an access point at 192.168.3.1.My local network is 192.168.192.X. DHCPD server doesn't show any attempt to get an IP.
root@Omega-B72B:~# oupgrade -check
Device Firmware Version: 0.1.5 b130
-
@Stew-Benedict Have you tried connecting to the AP and setting the WiFi-network with the web-based setup-wizard instead? Your device really needs a firmware-upgrade, maybe there was a bug with wifisetup in your version.
-
Tried that too, but I think wifisetup modified the AP setup too as it is asking for a password, The wireless file now has my APs password in the ap block, but it doesn't seem to accept it. Can someone provide was the original wireless file should look like? I tried various manual edits after reading up a bit on uci on the OpenWRT pages.
Thanks
-
@Stew-Benedict This is not the original file, but this should get you going:
config wifi-device 'ra0' option type 'ralink' option mode '9' option channel 'auto' option txpower '100' option ht '40' option country 'FI' option disabled '0' config wifi-iface option device 'ra0' option network 'wlan' option mode 'ap' option encryption 'psk2' option key 'WIFICLIENTPASSWORDHERE' option ApCliEnable '1' option ApCliAuthMode 'WPA2PSK' option ApCliEncrypType 'AES' option ApCliSsid 'WIFICLIENTSSIDHERE' option ApCliPassWord 'WIFIAPPASSWORDHERE' option ssid 'Onion' config wifi-config option ssid 'WIFICLIENTSSIDHERE' option encryption 'WPA2PSK' option key 'WIFICLIENTPASSWORDHERE'
-
That worked! Thanks so much. I had a similar edit but was missing some bits. UCI is a bit new to me.
oupgrade running now
root@Omega-B72B:/# oupgrade
Device Firmware Version: 0.1.7 b139
Checking latest version online...
Repo Firmware Version: 0.1.7 b139
Comparing version numbers
Device firmware is up to date!
-
@WereCatf
I have some issue with wifi setup, but firstly i would like to recreate my wireless file,
could copy here the original
config wiwi-iface section?
-
@balint-szabo What I have posted above works fine, just change the SSID, password and country to match yours.
-
@WereCatf I'm sorry if this is a stupid question. Is this text you are entering in the command line? Where do I put this text?
-
@carl-stevens In /etc/config/wireless
-
@WereCatf I am new to the command line sorry. once I SSH into the device how to I get to there?
-
@carl-stevens said in Wifi setup fails:
@WereCatf I am new to the command line sorry. once I SSH into the device how to I get to there?
Have a look to this wiki by openWRT ... it shows how to do basic steps like navigate in the terminal etc:
-
Is there a way to sent this board back and get one that works...
-
@carl-stevens If the problem is in actual hardware, then yes, but if the problem is your lack of skill in using it, then no.
-
Just tried using serial.
[ 636.531070] ch1 bssid=00:15:6d:ee:2f:52
[ 636.535070] ch1 bssid=4c:5e:0c:14:4a:57
[ 636.539106] ch11 bssid=06:18:0a:df:60:c0
[ 636.543206] ch11 bssid=5e:cf:7f:12:35:11
[ 636.547274] ch11 bssid=5e:cf:7f:0f:17:56
[ 636.551360] ch11 bssid=00:18:0a:df:60:c0
[ 636.555421] =====================================================
[ 636.561623] Channel 1 : Dirty = 150, False CCA = 0, Busy Time = 3715, Skip Channel = FALSE
[ 636.570000] Channel 2 : Dirty = 64, False CCA = 0, Busy Time = 2073, Skip Channel = FALSE
[ 636.578312] Channel 3 : Dirty = 56, False CCA = 0, Busy Time = 1107, Skip Channel = FALSE
[ 636.586620] Channel 4 : Dirty = 48, False CCA = 0, Busy Time = 1024, Skip Channel = FALSE
[ 636.594936] Channel 5 : Dirty = 40, False CCA = 0, Busy Time = 179, Skip Channel = FALSE
[ 636.603151] Channel 6 : Dirty = 0, False CCA = 0, Busy Time = 94, Skip Channel = FALSE
[ 636.611196] Channel 7 : Dirty = 80, False CCA = 0, Busy Time = 85, Skip Channel = FALSE
[ 636.619310] Channel 8 : Dirty = 96, False CCA = 0, Busy Time = 138, Skip Channel = FALSE
[ 636.627530] Channel 9 : Dirty = 112, False CCA = 0, Busy Time = 1946, Skip Channel = FALSE
[ 636.635927] Channel 10 : Dirty = 128, False CCA = 0, Busy Time = 1164, Skip Channel = FALSE
[ 636.644411] Channel 11 : Dirty = 300, False CCA = 0, Busy Time = 2353, Skip Channel = FALSE
[ 636.652880] =====================================================
[ 636.659057] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 6
[ 636.667799] Min Dirty = 0
[ 636.670453] ExChannel = 0 , 0
[ 636.673465] BW = 20
[ 637.022125] br-wlan: port 2(ra0) entered forwarding state
[ 637.027667] br-wlan: port 2(ra0) entered forwarding state
[ 639.021112] br-wlan: port 2(ra0) entered forwarding state
[ 660.534309] br-wlan: port 2(ra0) entered disabled state
[ 661.761136] EEPROM:Read from [factory] offset 0x0,length 0x400.
[ 664.191099] ch1 bssid=00:15:6d:ee:2f:52
[ 664.195099] ch1 bssid=4c:5e:0c:14:4a:57
[ 664.199079] ch6 bssid=50:3d:e5:30:ed:95
[ 664.203086] ch11 bssid=06:18:0a:df:60:c0
[ 664.207153] ch11 bssid=00:18:0a:df:60:c0
[ 664.211237] ch11 bssid=5e:cf:7f:0f:17:56
[ 664.215300] =====================================================
[ 664.221499] Channel 1 : Dirty = 150, False CCA = 0, Busy Time = 1897, Skip Channel = FALSE
[ 664.229876] Channel 2 : Dirty = 84, False CCA = 0, Busy Time = 1223, Skip Channel = FALSE
[ 664.238193] Channel 3 : Dirty = 80, False CCA = 0, Busy Time = 1294, Skip Channel = FALSE
[ 664.246502] Channel 4 : Dirty = 76, False CCA = 0, Busy Time = 1649, Skip Channel = FALSE
[ 664.254808] Channel 5 : Dirty = 72, False CCA = 0, Busy Time = 278, Skip Channel = FALSE
[ 664.263019] Channel 6 : Dirty = 70, False CCA = 0, Busy Time = 1295, Skip Channel = FALSE
[ 664.271325] Channel 7 : Dirty = 92, False CCA = 0, Busy Time = 3054, Skip Channel = FALSE
[ 664.279615] Channel 8 : Dirty = 100, False CCA = 0, Busy Time = 178, Skip Channel = FALSE
[ 664.287921] Channel 9 : Dirty = 108, False CCA = 0, Busy Time = 1994, Skip Channel = FALSE
[ 664.296314] Channel 10 : Dirty = 116, False CCA = 0, Busy Time = 2527, Skip Channel = FALSE
[ 664.304796] Channel 11 : Dirty = 230, False CCA = 0, Busy Time = 2756, Skip Channel = FALSE
[ 664.313266] =====================================================
[ 664.319442] Rule 1 CCA value : Min Dirtiness (Include extension channel) ==> Select Channel 6
[ 664.328182] Min Dirty = 70
[ 664.330924] ExChannel = 0 , 0
[ 664.333936] BW = 20
[ 664.682148] br-wlan: port 2(ra0) entered forwarding state
[ 664.687689] br-wlan: port 2(ra0) entered forwarding state
[ 666.681092] br-wlan: port 2(ra0) entered forwarding state
root@Omega-690B:/# oupgradeDevice Firmware Version: 0.1.5 b130
Checking latest version online...
ERROR: Could not connect to Onion Firmware Server! Check your internet connection and try again!
-
Not trying to be a pain here but if the 3 methods for setting up wifi on your website don't work and you need to have a certain set of skills to use the board that statements like this on your crowd funding site don't make sense.
"With the Omega2, we want to lower the barrier of entry, and allow everyone to take the leap into hardware development."
-
@carl-stevens Did you even try following the guide at https://docs.onion.io/omega2-docs/get-started.html ?
-
Correct tried using the wizard first then moved on to ssh like the bottom of your wizard set up suggests if that did not work then on to connecting via serial. is there a way to set it up link a PI by coping a file system to the SD card?
-
@carl-stevens No. Besides, you need to upgrade your firmware first to even be able to use the microSD-card slot anyways -- the version you have is broken and the slot ain't working.
Using
wifisetup
on the command-line doesn't work?
-
Correct once I get to the step where I am entering the wifi password it sits idle for 10 or more minutes and then I get a "broken pipe" error.
-
@carl-stevens I would recommend installing newest firmware. You can e.g. install it via USB by following the instructions at http://community.onion.io/topic/1154/omega-2-usb-firmware-install-after-brick-resolved
-
I get to the last line and get nothing. I do really appreciate your help, you have been very responsive and I appreciate that very much.
Carls-MBP:~ carlstevens$ ssh root@omega-690B.local
ssh: Could not resolve hostname omega-690b.local: nodename nor servname provided, or not known
Carls-MBP:~ carlstevens$ ssh root@omega-690B.local
root@omega-690b.local's password:BusyBox v1.25.1 () built-in shell (ash)
/ __ ___ ()__ ___ / __ _ _ ___ ___ ____ _
/ // / _ / / _ / _ \ / // / ' / -) _/ _
/
_/////___//// _////_/_, /_,/
W H A T W I L L Y O U I N V E N T ? /__/Ω-ware: 0.1.5 b130
root@Omega-690B:~# 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:
- MilwaukeeMaker
- MilwaukeeMaker2GHz
- MilwaukeeMakerVaults
- ESP_123511
- ESP_0F1756
Selection: 2
Network: MilwaukeeMaker2GHz
Authentication type: WPA2PSK
Enter password: wrenchironRestarting wifimanager for changes to take effect
root@Omega-690B:~#