VAR-SOM-MX6 Wireless LAN

From Variscite Wiki
Revision as of 06:13, 14 December 2015 by Ron (talk | contribs) (Created page with "== Test == '''Scan for wireless networks''': <pre> $ ifconfig wlan0 up $ iw dev wlan0 scan | grep SSID </pre> <br> '''Connecting to a WPA encrypted network:''' <br> Find you...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Test

Scan for wireless networks:

$ ifconfig wlan0 up
$ iw dev wlan0 scan | grep SSID


Connecting to a WPA encrypted network:
Find your network from the above scan command.

$ mv /etc/wpa_supplicant.conf /etc/wpa_supplicant.conf.org
$ wpa_passphrase <YourAP> <YourPassword> >/etc/wpa_supplicant.conf
$ wpa_supplicant -B -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf

wait for:

wlcore: Association completed.

Disable eth0:

$ ifconfig eth0 down

Run DHCP:

$ udhcpc -iwlan0
$ ifconfig


Useful link for common iw commands: https://wiki.archlinux.org/index.php/Wireless_network_configuration#Manual_setup