Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-29-2013, 03:43 PM
|
#1
|
Member
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63
Rep: 
|
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)
|
|
|
10-29-2013, 09:59 PM
|
#2
|
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
|
|
|
|
10-29-2013, 10:21 PM
|
#3
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
10-29-2013, 10:30 PM
|
#4
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
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.
|
10-30-2013, 01:23 PM
|
#5
|
Member
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63
Original Poster
Rep: 
|
This is great, thanks, I'm sure something here will do the job and I'll try it out tomorrow. Thanks all.
|
|
|
11-22-2013, 04:42 PM
|
#6
|
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
|
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.
|
|
|
11-23-2013, 01:58 AM
|
#7
|
Member
Registered: Oct 2013
Location: Kent, UK
Distribution: Debian
Posts: 63
Original Poster
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 06:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|