Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was wondering how to connect to wireless in a Linux command line environment -> I'm looking for a ncurses like program to do this, not a bunch of commands and files to edit. Is there one?

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

You could use wicd rather than network manager to control your network interfaces. It has an ncurses GUI available.

share|improve this answer
    
Thanks dude, just what I was looking for. –  kylehotchkiss Jul 25 '10 at 21:01
add comment

Your question is a bit unclear. Do you want to connect to a wireless network? There's a standard tool for this on Ubuntu, the Network Manager. See e.g. https://help.ubuntu.com/8.04/internet/C/wireless-connecting.html for details.

If you cannot use X (which Network Manager needs), you should also be able to set up networking manually, the way Debian does it. Debian offers several mechanisms to do this. The easiest is to just put a block for your interface into /etc/network/interfaces. Sample block for a WLAN network interface:

iface wlan0 inet dhcp
        wpa-ssid MyNetWork
        # plaintext passphrase
        wpa-psk plaintextsecret

Using the config above, you can then type (as root)

ifup wlan0

to activate the interface (ifdown wlan0 to deactivate).

See http://wiki.debian.org/WiFi for more information.

share|improve this answer
2  
Just to clarify -- NM does not need X. nm-applet needs X. You can easily run NM with just the daemon and it will connect to any system connections it has defined. There are also a few CLI tools for interacting with NM –  Daenyth Jul 25 '10 at 19:59
    
@Daenyth: Thanks; I wasn't aware of this. –  sleske Jul 25 '10 at 20:04
1  
Why the downvote? The answer is correct (though it may not be the best way to go). –  sleske Jul 26 '10 at 13:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.