LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Simpler way to connect to wifi network on CLI (http://www.linuxquestions.org/questions/linux-newbie-8/simpler-way-to-connect-to-wifi-network-on-cli-4175427357/)

suttiwit 09-15-2012 02:29 AM

Simpler way to connect to wifi network on CLI
 
On the Command-line User interface, I have to do ifconfigs and iwconfigs and obtain dhcp IP by typing lots and lots of series of commands.
It can be hard using wpa_supplicant. It requires lots of efforts and I have to memorize things. Sometimes, it does not even work.

Is there a Text User Interface Program (curses) that is like a wizard to guide me to connect to a network even with static IP or/and WPA?

I need this soon! :)

rosehosting.com 09-15-2012 05:30 AM

Quote:

Originally Posted by suttiwit (Post 4780834)
On the Command-line User interface, I have to do ifconfigs and iwconfigs and obtain dhcp IP by typing lots and lots of series of commands.
It can be hard using wpa_supplicant. It requires lots of efforts and I have to memorize things. Sometimes, it does not even work.

Is there a Text User Interface Program (curses) that is like a wizard to guide me to connect to a network even with static IP or/and WPA?

I need this soon! :)

An Archer created a simple cli script for this. it is available on github => https://github.com/TrilbyWhite/Wifi (relevant thread => https://bbs.archlinux.org/viewtopic.php?id=143098 )

it may be useful to you.

also, IIRC many network managers operate on the command line including gnome's network manager and wicd. so you may take a look at them too.

Hangdog42 09-15-2012 07:35 AM

Quote:

Originally Posted by rosehosting.com
also, IIRC many network managers operate on the command line including gnome's network manager and wicd. so you may take a look at them too.

I use wicd-curses all the time. Works as well as the GUI version of wicd.

suttiwit 09-15-2012 07:57 AM

I used to use wicd. It didn't work. :(
Also, it should be something that is easily compilable or is in the Ubuntu Repo.

dj_nexxus 11-07-2012 10:34 AM

I think it could be done using a bash script, but you would have to get some help creating it and designing it to prompt you for the relevant information.

TobiSGD 11-07-2012 11:32 AM

Wicd works fine and is in the Ubuntu repos. I would try to figure out what didn't work with that instead of randomly searching for other programs.

schneidz 11-07-2012 12:28 PM

you can probably create your own script wrapping up the commands suggested in this thread:
http://www.linuxquestions.org/questi...8/


if you really want a pseudo-gui, maybe you can look into dialog/ xdialog.

why dont you start at the beginning and post the first command you are having problems with so that we have a specific example to help you with.


All times are GMT -5. The time now is 10:26 AM.