Ubuntu:ifscheme
From Linux 101, The beginner's guide to all things Linux.
ifscheme is a program you can use to easily enable switching between different networks. For example, you might go to school to use Clemson's wireless then go home to a different wireless network.
-
sudo apt-get install ifscheme -
sudo $editor /etc/network/interfaces
Add the following:
mapping $interface
script /usr/sbin/ifscheme-mapping
iface $interface-clemson
wireless-essid cuairnet
wireless-key open $wep_key
iface $interface-home
wireless-essid home
- $editor
- whatever text editor you prefer (use nano if you don't know of any others)
- $interface
- the wireless interface (run iwconfig to see)
- $wep_key
- Clemson's WEP key
To use the clemson profile:
-
sudo ifscheme clemson
or whatever you name your profiles.
Then just ifup as you normally would. If you decide to use the home profile, ifdown the interface first then use ifscheme to switch to home. You can name the profile anything you wish just by appending it to "$iface-".
| Navigation: Ubuntu Index |

