LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-15-2012, 02:29 AM   #1
suttiwit
Member
 
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Blog Entries: 2

Rep: Reputation: 22
Exclamation 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!
 
Old 09-15-2012, 05:30 AM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
Quote:
Originally Posted by suttiwit View Post
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.
 
Old 09-15-2012, 07:35 AM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,785
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
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.
 
Old 09-15-2012, 07:57 AM   #4
suttiwit
Member
 
Registered: Aug 2012
Location: Chiang Mai, Thailand
Distribution: Kubuntu 12.10 x86_64
Posts: 192
Blog Entries: 2

Original Poster
Rep: Reputation: 22
I used to use wicd. It didn't work.
Also, it should be something that is easily compilable or is in the Ubuntu Repo.
 
Old 11-07-2012, 10:34 AM   #5
dj_nexxus
LQ Newbie
 
Registered: Nov 2012
Posts: 14

Rep: Reputation: Disabled
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.
 
Old 11-07-2012, 11:32 AM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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.
 
Old 11-07-2012, 12:28 PM   #7
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,040

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


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.

Last edited by schneidz; 11-07-2012 at 12:36 PM.
 
  


Reply

Tags
command line, console, linux, network, wpa_supplicant


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot connect to my wifi network freenhigh Linux - Networking 6 04-09-2010 02:59 PM
Wifi network connect pamelita Ubuntu 3 03-01-2010 11:19 AM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
cant automatically connect to my wifi network capn_hector Linux - Wireless Networking 1 01-07-2008 10:16 AM
simple CLI tool for agregated total received on eth0 (simpler than bandwidth) Emmanuel_uk Linux - Newbie 3 08-17-2005 03:29 PM


All times are GMT -5. The time now is 06:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration