LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-29-2013, 02:43 PM   #1
tpprynn
LQ Newbie
 
Registered: Oct 2013
Posts: 22

Rep: Reputation: Disabled
Debian 7, 'free wifi' settings & cli


I use a pub that has free wifi, which has the SSID of Bakewell_WiFi. It is open so there is no passkey. What do I put in wpa_supplicant (or /etc/network/interfaces) to make this work? I did try a pair of quotes for the passkey unsuccessfully. My wireless is wlan0. I use the DWM window manager which if you didn't know doesn't have panel applets but I have other reasons for preferring it. I'd like to be doing my updates in there while I'm emailing otherwise I'd just run an Xfce live stick while out.

Thanks.

(Debian 64 bit 7.2, DWM, installed from 'standard' iso)
 
Old 10-29-2013, 08:59 PM   #2
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce, JWM or CLI but open ;-)
Posts: 1,382
Blog Entries: 2

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Hi.

Don't think you need this one: http://www.ghacks.net/2009/04/14/con...-command-line/
but hope this one helps: http://masrust.web.id/2011/07/24/lin...-command-line/
or: " will this work even without a key like an open network? EvoandroidEvo Oct 26 '12 at 18:44"
"Of course, simply don't set a key"
?
 
Old 10-29-2013, 09:21 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047Reputation: 4047
wpa_supplicant is only needed for encrypted connections, you won't need it here.
You don't need panel applets to comfortably manage your network connections, you can for example use wicd, which has a command-line network manager and works fine on my systems.
 
Old 10-29-2013, 09:30 PM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,433

Rep: Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192Reputation: 1192
Hi,

your /etc/network/interfaces should only need*
Code:
iface wlan0 inet dhcp
   wireless_essid Bakewell_WiFi
Don't specify anything else in that section. Then run "ifup wlan0". If this doesn't work, try bringing the interface down first using "ifdown wlan0".


Finally if you are still having problems unloading and reloading the module that drives your wireless chip may help. You can find which module is being used with lspci. Eg:
Code:
lspci -k | grep -A 3 -i wireless
Evo2.

* Assuming the pub has a dhcp server (but I can't imagine otherwise).
 
1 members found this post helpful.
Old 10-30-2013, 12:23 PM   #5
tpprynn
LQ Newbie
 
Registered: Oct 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
This is great, thanks, I'm sure something here will do the job and I'll try it out tomorrow. Thanks all.
 
Old 11-22-2013, 03:42 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: infinity; (randomly born:) Milwaukee, WI, US, Earth
Distribution: any UNIXish that works well on my cheapest with mostly KDE, Xfce, JWM or CLI but open ;-)
Posts: 1,382
Blog Entries: 2

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Can't help but wonder if it worked or you just don't get out much? JK Often I save pages like this, others and books to my /Documents so I have stuff to try if I can't get connected.
 
Old 11-23-2013, 12:58 AM   #7
tpprynn
LQ Newbie
 
Registered: Oct 2013
Posts: 22

Original Poster
Rep: Reputation: Disabled
It worked and I don't get out much.

iface wlan0 inet dhcp
wireless_essid Bakewell_WiFi

worked, in theory - I tried the equivalent elsewhere with another open network. But then went back to Gnome and Netowrk Manager. Still, an interesting and educational time, Thanks.
 
  


Reply


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
Setting up WiFi on Centos using CLI NotionCommotion Linux - Newbie 14 07-07-2013 11:09 AM
[SOLVED] Simpler way to connect to wifi network on CLI suttiwit Linux - Newbie 6 11-07-2012 12:28 PM
[SOLVED] Changing System Currency settings using CLI cex Linux - Newbie 3 10-01-2010 05:22 AM
Proxy & port settings with WiFi Radar? Chriswaterguy Linux - Software 0 10-06-2007 10:19 AM
changing screen resolution and frequency with nvidia-settings from the CLI Valkyrie_of_valhalla Linux - Software 12 04-15-2007 11:58 AM


All times are GMT -5. The time now is 09:38 PM.

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