Following is an example of getting a simple wep encrypted wireless network connection going. I never figured out how to get a wpa encrypted connection going from the command line:
> sudo apt-get install wireless-tools
> sudo iwconfig
*look for device which doesn't say no wireless extensions, for me it's wlan0*
> sudo iwconfig wlan0 essid (essid here) key (wep key here)
> sudo ifconfig wlan0 up
*wait a few minutes, hope*
> ifconfig wlan0
*on the second line look for inet addr: and if there's a valid ip address starting with 192.168, 10., or 172.16, try pinging a web site to confirm connectivity and name resolution...
> ping -c3 www.google.com
if you get responses, congrats, you're connected!
If you need a web browser in lieu of a working X.org install, lynx works.
> sudo apt-get install lynx
> lynx www.google.com
WPA requires the WPAsupplicant package as well, but I have no idea how to make that work from the command line, you'd need to ask the UFicle in the hopes someone knows better
I hope this mind eruption is of some aid to you. |