Changes

Jump to: navigation, search

XUELK-AN-002: Running Debian distribution

182 bytes removed, 16:30, 3 April 2017
WiFi (client mode)
The procedure here described can be used to connect to an Access Point, using the WPA2/PSK security protocol.
As the WiFi driver is not statically linked to the kernel image, it is necessary to load the module first. This operation is done automatically done upon boot, as the module is listed in <code>/etc/modules</code>:
<pre class="board-terminal">
root@arm:~# cat /etc/modules
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq qlen 1000
link/ether 88:33:14:5e:30:61 brd ff:ff:ff:ff:ff:ff
root@arm:~# iw wlan0 link
Not connected.
</pre>
The connection will be established with the SSID named <code>SSID_ZyXEL_WPA2</code>:
<pre class="board-terminal">
root@arm:~# iw wlan0 link
Not connected.
root@arm:~# iw wlan0 scan
...
After assigning a (static) IP address to the <code>wlan0</code> interface, it is possibile possible to ping the Access Point:
<pre class="board-terminal">
root@arm:~# ifconfig wlan0 192.168.11.81
12 packets transmitted, 12 packets received, 0% packet loss
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