- Wificonfig -
# Author : Vanstals Thomas [Louvain-la-Neuve, Belgium]
Wificonfig is a little script aimed to ease the switching between networks, for people who have 2 network cards : a wired one and a wireless one.
To install wificonfig, download the latest version of wificonfig, untar, make the install file executable and run the ./install script as super user.
$ tar xvzf wificonfig-x.y.z.tar.gzThe wificonfig script will be copied to /usr/local/bin.
$ chmod +x install
$ sudo ./install
A configuration file (.wificonfig.conf) will be created in your home directory.
If wificonfig must be used by more than one user, copy the .wificonfig.conf file located in your home directory in the directory of the other users.
Fist of all, don't forget to activated your wireless network card !
wificonfig -a start -n homeLaunch the wifi connection with the id home.
wificonfig -a restart -n homeUse this command to launch the wifi connection with the id home after the lost of the connection due to the driver of the wifi card.
wificonfig -a stopUse this command if you want to come back to the wired connection. It will lunch a dhcp request on this interface.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.