LinuxQuestions.org
Visit Jeremy's Blog.
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 01-11-2006, 03:02 AM   #1
suchit
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Question Configuring multiple SSIDs on one Wireless Network Adaptor


I understand that using
Code:
iwconfig
it is possible to specify which ESSID should the network adapter configured to. Now i have 2 question:

1. Is there a method by which my machine can auto-configure itself as soon as it enters a network. If so, how?

2. Is there a method bu which I can configure my adapter for multiple SSIDs, and upon entering the respective networks, my adapter is configured "automatically" with that SSID?

Many thanks,


Su.
 
Old 01-11-2006, 07:43 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Welcome to LQ!

For question 2, the answer is no. Cards can only be configured with one SSID at a time.

For your first question, I don't know of anything that would switch you into a network automatically, but it wouldn't be hard to script something like that. You would have to continually run iwlist to find out what networks are in range and then when it finds one on its list of networks, it reconfigures.

That said, I think this is not going to be as good an idea as you think for a couple of reasons.....First, continually monitoring for networks is going to chew up both bandwidth and processor time. I'm guessing that the performance hit is going to be noticable, even on a good box. Second, my experience is that iwlist can see a network long before it is functionally in range. Depending on the overlap between networks, you could end up dumping a strong signal for a weak one. Finally, if one of the networks you want uses a commonly used SSID (say, oh, "linksys") then your computer could end up having a nervous breakdown if it sees two or more networks with the same name.

A better approach would probably be to use something like KWifiManager, which is capable of storing several network profiles and then switching manually when you need to. I do something similar, only with scripts. I commonly use about 4 different access points over the course of the day and I just run the appropriate script when I change locations.
 
Old 01-14-2006, 04:22 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Well, I found out today that one part of my answer was completely and totally wrong. It turns out that wpa_supplicant can store the parameters for several networks in a config file and will automatically switch between them....

Here is a quote from the README file:
Quote:
Configuration file can include one or more network blocks, e.g., one
for each used SSID. wpa_supplicant will automatically select the best
betwork based on the order of network blocks in the configuration
file, network security level (WPA/WPA2 is preferred), and signal
strength.
So if your card is supported by wpa_supplicant, that may be the way to do what you want.
 
  


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
wireless network card or USB bluetooth adaptor? irena56 Linux - Wireless Networking 3 09-12-2005 01:19 PM
Installing wireless network adaptor. Robin2 Suse/Novell 2 03-02-2005 02:38 AM
wireless network adaptor rohan208 Linux - Wireless Networking 3 06-15-2004 11:42 PM
Wireless network adaptor for linux freelinuxcpp Linux - Wireless Networking 1 08-29-2003 02:02 PM
Configuring Wireless Network in Mandrake 9.1 jerryhussain Linux - General 2 03-24-2003 08:26 AM


All times are GMT -5. The time now is 06:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration