Sep 18, 2014 0 Comments in WiFi by
Surfing the net with a WiFi

In order to surf the net with a WiFi you need to be sure your WiFi device is correctly installed into the system. Please refer to your Cosino based board user manual or to specific WiFi adapter documentation.

Well, after checking that your WiFi device is up and running, by using the iwconfig command, you should get something like:

Otherwise you should verify your hardware installation procedure.

Now you need a package named wpa_supplicant (already present into the preformatted microSD), so if you need it you can get it installed by using:

Wireless AP (server) mode

If you wish using your wifi as AP you can use the command:

where my_ssid is your SSID and my_key_hex is the PSK key obtained with command:

Then you can enable/disable the AP by using the commands:

Wireless STA (client) mode

Setting the wifi as a client is a bit more complicated since we must use different settings according to the AP we wish to get connected to.

For most users the wpa_supplicant configuration file /etc/wpa_supplicant/wpa_supplicant.conf looks like:


where, as above, my_ssid is your AP SSID and my_key_hex is the AP PSK key obtained with command:

Ok, now add the following to the file /etc/network/interfaces:

and your wifi should get connected by using command:
Facebooktwitterlinkedin
Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

51 − 50 =