VAR-SOM-AM43 Wireless LAN: Difference between revisions

From Variscite Wiki
Line 53: Line 53:
root@varsomam43:/usr/bin/wlconf# [  872.471817] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
root@varsomam43:/usr/bin/wlconf# [  872.471817] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[  872.499145] wlcore: loaded
[  872.499145] wlcore: loaded
</pre>
= General usage =
List SSIDs, from Linux shell type:
<pre>$&nbsp;ifconfig wlan0 up
$&nbsp;iw wlan0 scan
</pre>
'''Connecting to an encrypted network:'''<br>
Find your network from the above scan command.<br>
<pre>$ wpa_passphrase &lt;YourAP&gt; &lt;YourPassword&gt; &gt;wpa.conf
$ ps | grep wpa_supplicant
*kill the wpa_supplicant process if exist.
$ wpa_supplicant -Dnl80211 -iwlan0 -c./wpa.conf -B
$ udhcpc -iwlan0
$ ifconfig
</pre>
</pre>

Revision as of 13:49, 24 December 2015

WiLink WLAN module configuration

VAR-SOM-AM43 V2.X only:
When using VAR-SOM-AM43 v2.x, SOM has a WL183x module. In that case you should configure the WL183x module as follows (only in the first boot):

$ cd /usr/bin/wlconf/
$ ./configure-device.sh

Then choose the correct number of module and antennas on board. For example:
For WL1831:

root@varsomam43:/usr/bin/wlconf# ./configure-device.sh

Please provide the following information.

Are you using a TI module? [y/n] : y
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1831
Should SISO40 support be applied? [y/n] : n

The device has been successfully configured.
TI Module: y
Chip Flavor: 1831
Number of 2.4GHz Antennas Fitted: 1
Number of 5GHz Antennas Fitted: 0
Diversity Support: n
SISO40 Support: n
Japanese Standards Applied: n

root@varsomam43:/usr/bin/wlconf# [  713.882024] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[  713.909501] wlcore: loaded

For WL1837:

root@varsomam43:/usr/bin/wlconf# ./configure-device.sh

Please provide the following information.

Are you using a TI module? [y/n] : y
What is the chip flavor? [1801/1805/1807/1831/1835/1837 or 0 for unknown] : 1837
Should Japanese standards be applied? [y/n] : n
How many 2.4GHz antennas are fitted? [1/2] : 2
How many 5GHz antennas are fitted? [0/1/2] : 2

The device has been successfully configured.
TI Module: y
Chip Flavor: 1837
Number of 2.4GHz Antennas Fitted: 2
Number of 5GHz Antennas Fitted: 2
Diversity Support: y
SISO40 Support: y
Japanese Standards Applied: n

root@varsomam43:/usr/bin/wlconf# [  872.471817] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[  872.499145] wlcore: loaded

General usage

List SSIDs, from Linux shell type:

$ ifconfig wlan0 up
$ iw wlan0 scan

Connecting to an encrypted network:

Find your network from the above scan command.

$ wpa_passphrase <YourAP> <YourPassword> >wpa.conf
$ ps | grep wpa_supplicant
*kill the wpa_supplicant process if exist.
$ wpa_supplicant -Dnl80211 -iwlan0 -c./wpa.conf -B
$ udhcpc -iwlan0
$ ifconfig