Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-10-2010, 06:13 PM   #1
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 50
connect to a free open WiFi hotspot


I've configured WLAN with WPA2-PSK on my notebook EEE PC 1000H from Asus with Lenny.

I'd like to configure wireless interface in /etc/network/interfaces to switch from WPA2-PSK to a free open WiFi hotspot and back to the default WPA2-PSK if needed.

Now i have:
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# Wireless
allow-hotplug ra0
iface ra0 inet dhcp
   wpa-driver wext
   wpa-ssid my_essid
   wpa-scan-ssid 1
   wpa-ap-scan 2
   wpa-proto RSN
   wpa-pairwise CCMP
   wpa-group CCMP
   wpa-key-mgmt WPA-PSK 
   wpa-psk my_secret_key
Old 05-11-2010, 12:15 PM   #2
Registered: Apr 2002
Location: Clinton Township, MI
Distribution: Debian, antiX, Kubuntu, Xubuntu, and many others
Posts: 597
Blog Entries: 15

Rep: Reputation: 70
Do you use any GUI based network management tools or do you always hand edit the network interfaces file? I have had good success using wicd as my wired and wireless network management tool, and it can be run from either a GUI or a command line interface. I've used it precisely the way you indicate, too. By default, I use a WPA2/PSK secure access point, but I also use open hotspots, and occasionally other WPA2/PSK or even WEP access points, and wicd is capable of handling them.
Old 05-11-2010, 12:16 PM   #3
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
I just use NetworkManager and enter a key when necessary.
Left click to connect, right click to configure.


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
How to connect Acer Aspire One Linux Linpus to Wifi hotspot gazzelle Linux - Laptop and Netbook 3 01-06-2010 05:49 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 01:31 PM
Connect To Boingo Wifi Hotspot Using Linux nythacker Linux - Wireless Networking 5 06-16-2009 08:32 AM
wifi hotspot using freeradius,chillispot, etc yawe_frek Linux - Wireless Networking 2 07-23-2007 05:56 AM
linux wifi hotspot right for me? henrikwidth Linux - Wireless Networking 4 05-30-2006 03:06 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:45 PM.

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