LinuxQuestions.org
Help answer threads with 0 replies.
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
Member
 
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63

Rep: Reputation: 0
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: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,721

Rep: Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704Reputation: 1704
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
Member
 
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63

Original Poster
Rep: Reputation: 0
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: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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
Member
 
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63

Original Poster
Rep: Reputation: 0
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration