OLIMEX© 2012
OLinuXino-MAXI user's manual
vi /etc/network.d/my_wifi_network
configure all parameters
vi /etc/network.d/my_eth_network
configure all parameters (make sure you change eth0 to usb0)
You can have multiple profiles (e.g. for roaming, etc.)
To manually connect a profile:
netcfg my_wifi_network
To manually disconnect a profile:
netcfg down my_wifi_network
There are 3 daemon options for configuring networks at boot time.
1. network -- the original setting. don't use that since we're using netcfg
2. net-profiles
or
3. net-auto-wireless and net-auto-wired
This procedure is using the last option.
vi /etc/rc.conf
Look for DAEMONS=(..)
delete network and add:
net-auto-wireless and net-auto-wired
vi /etc/conf.d/netcfg
Change to: NETWORK=(@my_wifi_network @my_eth_network)
Make sure you have the correct names for WIRED_INTERFACE and WIRELESS_INTERFACE
(change eth0 to usb0)
-------------------------------------------------
Also see:
https://wiki.archlinux.org/index.php/Beginners'_Guide#Setup_wireless_network
https://wiki.archlinux.org/index.php/Wireless_Setup#Getting_an_IP_address
https://wiki.archlinux.org/index.php/Netcfg
Other commands:
ip link show wlan0
Page 23 of 60