N/W manager applet disappears
Avi
lists at avi.co
Mon Jul 18 23:39:46 UTC 2011
H.S.Rai wrote:
> How to connect to a particular wifi connection / lan or ppp through
> some command or script, as I found commands are more reliable than
> GUI.
I can't help with network mangler, but in brief, assiming your wifi
device is called 'wlan0' you can do it from the command line like this:
ifconfig wlan0 up
iwlist wlan0 essid <essid of the network> key s:<passphrase>
dhclient wlan0
Either as root or with all of those prepended with 'sudo '. If you've
not got a passphrase and instead use a hex string, you need to omit the
's:'. Either way, have a read of man iwlist.
You can use
iwlist wlan0 scan
to view available networks if you don't know the precise name of the
one you intend to use.
--
Avi
More information about the ubuntu-users
mailing list