Wronnay Posted November 18, 2016 Share Posted November 18, 2016 Hello, i've got a problem with my orangepi lite. Here are a few posts about problems with connecting to wifi networks, but my device can't even find wifi networks (with iwlist wlan0 scan ). In my area are multiple access point active. The OS is armbian for OrangePi Lite Version: 5.20. iwconfig shows the chip with no errors. I have tried multiple settings in /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf after posts in this forum but nothing is working ... Link to comment Share on other sites More sharing options...
tkaiser Posted November 19, 2016 Share Posted November 19, 2016 Sorry, I really can't/want help with these anachronistic methods unfortunately everyone uses since tutorials/forums are the result of copy&paste of outdated stuff. I can only report that it was with such an OPi Lite that I enjoyed Wi-Fi on Linux the first time in my life: https://github.com/igorpecovnik/lib/issues/493#issuecomment-252751466 Link to comment Share on other sites More sharing options...
ChAoSWK Posted November 19, 2016 Share Posted November 19, 2016 does it find absolutely no networks or only not your network? In my case with a RPi 3 it fond all other networks even outer mine. After some search I found out that it could not show channels 12 and 13 because of of country settings etc. I had to patch something because setting the country didnt work. Make sure that the wanted ap's are in range of 1-11 Greetings Link to comment Share on other sites More sharing options...
tkaiser Posted November 19, 2016 Share Posted November 19, 2016 After some search I found out that it could not show channels 12 and 13 because of of country settings etc. With most recent Armbian builds this should be resolved by using the appropriate mechanism(s): either /etc/default/crda or /etc/NetworkManager/dispatcher.d/pre-up.d/ Unfortunately not every driver seems to support this: The following is a NanoPi Air directly after boot and logged in through wlan0: tk@192.168.83.149's password: _ _ ____ _ _ _ | \ | | __ _ _ __ ___ | _ \(_) / \ (_)_ __ | \| |/ _` | '_ \ / _ \| |_) | | / _ \ | | '__| | |\ | (_| | | | | (_) | __/| | / ___ \| | | |_| \_|\__,_|_| |_|\___/|_| |_| /_/ \_\_|_| Welcome to ARMBIAN Ubuntu 16.04.1 LTS 3.4.112-sun8i System load: 0.84 Up time: 49 sec Memory usage: 5 % of 494Mb IP: 192.168.83.149 CPU temp: 29°C Usage of /: 17% of 7.1G [ 10 updates to install: apt-get upgrade ] Last login: Sat Nov 19 15:38:54 2016 from 192.168.83.91 tk@nanopiair:~$ cat /etc/default/crda # Set REGDOMAIN to a ISO/IEC 3166-1 alpha2 country code so that iw(8) may set # the initial regulatory domain setting for IEEE 802.11 devices which operate # on this system. # # Governments assert the right to regulate usage of radio spectrum within # their respective territories so make sure you select a ISO/IEC 3166-1 alpha2 # country code suitable for your location or you may infringe on local # legislature. See `/usr/share/zoneinfo/zone.tab' for a table of timezone # descriptions containing ISO/IEC 3166-1 alpha2 country codes. REGDOMAIN=DE tk@nanopiair:~$ cat /etc/NetworkManager/dispatcher.d/pre-up.d/99set-reg-domain.sh #!/bin/sh set -e status=`cat /sys/class/net/wlan0/operstate` if [[ $status == 'up' ]] then iw reg set DE fi tk@nanopiair:~$ iw reg get country 00: DFS-UNSET (2402 - 2472 @ 40), (6, 20), (N/A) (2457 - 2482 @ 40), (6, 20), (N/A), NO-IR (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, NO-IR (5170 - 5250 @ 40), (6, 20), (N/A), NO-IR (5735 - 5835 @ 40), (6, 20), (N/A), NO-IR tk@nanopiair:~$ nmcli dev wifi list * SSID MODE CHAN RATE SIGNAL BARS SECURITY DISTORTEDPEOPLE Infra 9 54 Mbit/s 67 ▂▄▆_ WPA1 WPA2 EasyBox-116D28 Infra 9 54 Mbit/s 62 ▂▄▆_ WPA1 WPA2 * Snort-Honeynet Infra 13 54 Mbit/s 53 ▂▄__ WPA2 WLAN-3C3379 Infra 1 54 Mbit/s 44 ▂▄__ WPA2 CubaLibre Infra 11 54 Mbit/s 37 ▂▄__ WPA2 DISTORTEDPEOPLE_EXT Infra 9 54 Mbit/s 32 ▂▄__ WPA1 WPA2 UnserInternet4.0 Infra 11 54 Mbit/s 32 ▂▄__ WPA2 UBNT2 Infra 3 54 Mbit/s 30 ▂___ OSA Alpenraum intern Infra 6 54 Mbit/s 30 ▂___ WPA1 WPA2 Eichkatzenkind Infra 5 54 Mbit/s 29 ▂___ WPA2 OSAs Gästenetzwerk Infra 6 54 Mbit/s 29 ▂___ WPA1 WPA2 WLAN-ABD446 Infra 10 54 Mbit/s 27 ▂___ WPA2 tk@nanopiair:~$ sudo h3consumption -p [sudo] password for tk: Active settings: cpu 1200 mhz allowed, 1200 mhz possible, 4 cores active dram 408 mhz hdmi/gpu off usb ports active wlan0 IEEE 802.11 ESSID:"Snort-Honeynet" Mode:Managed Frequency:2.472 GHz Access Point: BC:05:43:BE:C1:E7 Bit Rate=39 Mb/s Tx-Power:32 dBm Retry min limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off Link Quality=3/5 Signal level=-68 dBm Noise level=-91 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:24 Invalid misc:0 Missed beacon:0 tk@nanopiair:~$ So setting regulatory domain doesn't work (at least on NanoPi Air) but joining channel 13 does. But as already written, forget about this anachronistic stuff, use nmcli and nmtui instead Link to comment Share on other sites More sharing options...
Recommended Posts