Datasheet

OLIMEX© 2012 OLinuXino-MAXI user's manual
reboot
Make sure you can see both usb0 (ethernet) and wlan0 on all the following:
ifconfig
ls -l /sys/class/net
iwconfig
you may need to bring the interface up manually:
ip link set wlan0 up
scan for access points:
iwlist wlan0 scan
cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.original
wpa_passphrase myssid "my_secret_passkey" > /etc/wpa_supplicant/wpa_supplicant.conf
Associate with access point according to the encryption type:
Encryption Command
No Encryption iwconfig wlan0 essid "linksys"
WEP w/ Hex Key iwconfig wlan0 essid "linksys" key "0241baf34c"
WEP w/ ASCII passphrase iwconfig wlan0 essid "linksys" key "s:pass1"
WPA wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Verify association:
iwconfig wlan0
Assign IP address:
dhcpcd wlan0 (dhcp)
or (static)
ip addr add 192.168.0.2/24 dev wlan0
ip route add default via 192.168.0.1
-------------------------------------------------
To set up automatically at boot:
pacman -S netcfg
pacman -S wpa_actiond
pacman -S ifplugd
cp /etc/network.d/examples/wireless-wpa /etc/network.d/my_wifi_network
cp /etc/network.d/examples/ethernet-dhcp /etc/network.d/my_eth_network
Page 22 of 60