This repository was archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Wireless Network setup
anilskeshavamurthy edited this page Feb 6, 2014
·
11 revisions
Intel supplied SD card image only includes iwlwifi-135-6.ucode and iwlwifi-6000g2a-6.ucode firmware. If you use WiFi card other than N-135 or N-6000, you will need to copy the proper firmwarE.
Once proper firmware is installed use the following steps to configure wireless (this assumes using WPA security).
-
Login to your Galileo as root
-
Run the following command to generate wpa_supplicant configuration file for your network. Replace MyWiFi with the SSID of your wireless networkand MyPassPhrase with the real passphrase:
root@clanton:~# wpa_passphrase MyWiFi << EOF > /etc/wpa_supplicant.conf
> MyPassPhrase
> EOF
- If you wish to configure your Galileo to connect to the wireless network automatically, edit /etc/network/interfaces file and add auto wlan0 line somewhere in the file. I suggest putting it right before iface wlan0 line: /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# Wireless interfaces
auto wlan0
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid any
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
- Restart networking:
root@clanton:/etc# /etc/init.d/networking restart
- You can also bring wireless interface up or down using ifup wlan0 and ifdown wlan0 command (even if you didn't enable auto connect in step 3):
root@clanton:/etc# ifdown wlan0
root@clanton:/etc# ifup wlan0