PandaBoard Training
From OMAPpedia
(→How to setup WIFI with WPA-PSK Security on Ubuntu Server 12.04) |
(→How to setup WIFI with WPA-PSK Security on Ubuntu Server 12.04) |
||
| Line 48: | Line 48: | ||
#get wireless security details from wifi router | #get wireless security details from wifi router | ||
| - | #read explaination from http://ubuntuforums.org/showthread.php?t=202834 | + | #read explaination from [http://ubuntuforums.org/showthread.php?t=202834] |
#HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc. | #HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc. | ||
| Line 66: | Line 66: | ||
*create a file call interfaces_wlan0 in notepad and then enter the appropriate network configuration. The file should contain settings similar to the following: | *create a file call interfaces_wlan0 in notepad and then enter the appropriate network configuration. The file should contain settings similar to the following: | ||
| - | auto lo | + | auto lo |
| - | iface lo inet loopback | + | iface lo inet loopback |
| - | auto wlan0 | + | auto wlan0 |
| - | iface wlan0 inet dhcp | + | iface wlan0 inet dhcp |
| - | wpa-driver wext | + | wpa-driver wext |
| - | wpa-ssid <ssid> | + | wpa-ssid <ssid> |
| - | wpa-ap-scan 1 | + | wpa-ap-scan 1 |
| - | wpa-proto WPA | + | wpa-proto WPA |
| - | wpa-pairwise TKIP | + | wpa-pairwise TKIP |
| - | wpa-group TKIP | + | wpa-group TKIP |
| - | wpa-key-mgmt WPA-PSK | + | wpa-key-mgmt WPA-PSK |
| - | wpa-psk <hex key> | + | wpa-psk <hex key> |
Revision as of 05:42, 13 May 2012
This page lists PandaBoard based training and How-To guide.
Contents |
OpenCV on Panda
https://sites.google.com/site/andrewssobral/pandaboard
Flashing an led AND read user input from GPIO 121
Flashing an led part 1 AND read user input from GPIO 121
Flashing an led part 1 AND read user input from GPIO 121 This tutorial explains how you can write a bash shell script to make a command line program to easily flash an led. Also this video will show you how to read the user input from GPIO 121 aka the push button.
Flashing an led part 2
Flashing an led part 2 This tutorial explains how you can write a bash shell script to make a command line program to easily flash an led.
How to install Ubuntu 11.10 onto your Pandaboard and get maximum performance
This tutorial http://www.novemberkiloecho.com/?p=82 is for you if you own one PandaBoard and are unimpressed by the speed at which this little devil can perform, this tutorial may help you get the most out of your board using just the SD card. This is just the first step to getting optimal performance. You will see the best performance once you move your OS to an external (preferably SSD) drive. This tutorial will prepare you for that.
How to setup WIFI with WPA-PSK Security on Ubuntu Server 12.04
- Video Tutorial:
http://www.youtube.com/watch?v=MjcthIVHWTM&feature=youtu.be
- useful links:
http://ubuntuforums.org/showthread.php?t=202834
http://adventuresinsilicon.blogspot.com/2011/01/pandaboard-setting-up-wifi-on-comand.html
- Step by step instruction:
#general system info cat /etc/lsb_release uname -arv #update and upgrade first! sudo apt-get update sudo apt-get upgrade #so we can use iwconfig, iwlist, etc sudo apt-get install wireless-tools #check available wireless cards iwconfig #get wireless security details from wifi router #read explaination from [http://ubuntuforums.org/showthread.php?t=202834] #HOWTO: Wireless Security - WPA1, WPA2, LEAP, etc. #install wpasupplicant software sudo apt-get install wpasupplicant # generate hex hey with ssid and passphrase wpa_passphrase <ssid> <passphrase> # wpa_passphrase <ssid> <passphrase> # copy the psk and paste it next to wpa-psk
- create a file call interfaces_wlan0 in notepad and then enter the appropriate network configuration. The file should contain settings similar to the following:
auto lo iface lo inet loopback auto wlan0 iface wlan0 inet dhcp wpa-driver wext wpa-ssid <ssid> wpa-ap-scan 1 wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk <hex key>
- copy all of the above content
#create new file using vi in terminal vi interfaces_wlan0 #hit i for insert and then right click to paste #ESC:x to save # overwrite the old interfaces file with eth0 configuration # create a backup if need to before overwrite sudo cp interfaces_wlan0 /etc/network/interfaces #turn off eth0 before restarting with new wifi configeration sudo ip link set eth0 down #restart networking sudo /etc/init.d/networking restart #check wifi status iwconfig #test ping www.google.com #if doesn't work need to reboot #security option sudo chmod o=-r /etc/network/interfaces