Changes

Jump to: navigation, search

XUELK-AN-002: Running Debian distribution

31 bytes added, 11:33, 21 March 2017
WiFi (client mode)
root@arm:~# modprobe wl12xx
</pre>
 
Then, bring the interface up:
Not connected.
</pre>
 
The connection will be established with the SSID named <code>SSID_ZyXEL_WPA2</code>:
...
</pre>
 
Add the passphrase key to the <code>wpa_supplicant</code> configuration file and make it readable by <code>root</code> only:
}
</pre>
 
Start <code>wpa_supplicant</code>:
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
root@arm:~# [ 3527.234018] wlan0: authenticate with fe:f0:28:cc:03:90
[ 3527.269591] wlan0: send auth to fe:f0:28:cc:03:90 (try 1/3)
[ 3527.277879] wlan0: authenticated
[ 3527.352824] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
</pre>
 
Once the connection process completed successfully, <code>iw</code> reports the link status as follows:
beacon int: 100
</pre>
 
After assigning a (static) IP address to the <code>wlan0</code> interface, it is possibile to ping the Access Point:
round-trip min/avg/max = 3.138/10.819/20.155 ms
</pre>
 
In order to automatically load the <code>wl12xx</code> module on startup, issue the following command:
<pre class="board-terminal">
root@arm:~# echo wl12xx >> /etc/modules
</pre>
4,650
edits

Navigation menu