LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


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

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


hi

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:
Code:
# 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, 11:15 AM   #2
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
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, 11:16 AM   #3
Mr-Bisquit
Member
 
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.
 
  


Reply



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 04:49 AM
wifi works:how to connect to hotspot,with console?alternative to wifi-wiz assistant? frenchn00b Debian 7 10-30-2009 12:31 PM
Connect To Boingo Wifi Hotspot Using Linux nythacker Linux - Wireless Networking 5 06-16-2009 07:32 AM
wifi hotspot using freeradius,chillispot, etc yawe_frek Linux - Wireless Networking 2 07-23-2007 04:56 AM
linux wifi hotspot right for me? henrikwidth Linux - Wireless Networking 4 05-30-2006 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:19 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