LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 07-14-2006, 11:56 AM   #1
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Question /etc/network/interfaces -- more than one wireless network?


I have wireless with WEP working on one network by editing /etc/network/interfaces, something like:
Code:
auto wlan0
iface wlan0 inet static
address w.x.y.z
netmask w.x.y.z
gateway w.x.y.z
wireless-essid my-essid
wireless-key my-wireless-key
I want to be able to add another network to the list, with a different wireless-essid and wireless-key. Ideally I wouldn't have to change this file every time I went between the networks.

Can anyone post a working /etc/network/interfaces with multiple wireless LANs, or point me in the right direction?

Thanks,
 
Old 07-16-2006, 10:40 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
You might get some ideas from this thread. It's a little clumsy, tho.

When you turn on a Windows laptop, and it doesn't find a recognized network, it immediately offers you a list of networks it does see. That would be kind of nice ... and the various security options that may or may not be needed, also complicate things.

I'd like to see an elegant solution. The suggestion of wifi-radar in the linked thread may work for you on Ubuntu.
 
Old 07-16-2006, 10:06 PM   #3
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Newer versions of wpa-supplicant has a roaming solution. check out 'man wpa_action'
 
Old 07-18-2006, 03:09 PM   #4
Bobymc
Member
 
Registered: Apr 2006
Location: INDONESIA
Distribution: SLAX,Damn S.L,Suse,Mandrake,Rd HAT62,72,73,90, Mandriva2k6, FEdora, SUNmicrosys.
Posts: 269

Rep: Reputation: 30
Good post....
Just courious if someone can bond those 2 cards...
------------
If you want those wifi works simultaneously, dont you think it's like WIFI BONDING. THO it's different ESSID.
 
  


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
Howto bridge wireless and wired network interfaces? pohl886 Debian 11 07-19-2011 07:58 PM
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 07:56 PM
/etc/network/interfaces for wireless usb h2gofast Linux - Wireless Networking 2 10-15-2005 11:17 AM
Two Interfaces on the same Network cspcom Linux - Newbie 6 06-18-2005 05:32 PM
need help with /etc/network/interfaces littlemidget Linux - Networking 1 08-04-2004 08:00 PM


All times are GMT -5. The time now is 06:57 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration