LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Debian 7, 'free wifi' settings & cli (https://www.linuxquestions.org/questions/linux-networking-3/debian-7-free-wifi-settings-and-cli-4175482675/)

tpprynn 10-29-2013 02:43 PM

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)

jamison20000e 10-29-2013 08:59 PM

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"
?

TobiSGD 10-29-2013 09:21 PM

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.

evo2 10-29-2013 09:30 PM

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).

tpprynn 10-30-2013 12:23 PM

This is great, thanks, I'm sure something here will do the job and I'll try it out tomorrow. Thanks all.

jamison20000e 11-22-2013 03:42 PM

Can't help but wonder if it worked or you just don't get out much? :D 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.

tpprynn 11-23-2013 12:58 AM

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 09:20 PM.