LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-21-2004, 02:08 AM   #1
simmond
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Rep: Reputation: 0
Multiple Wireless Networks - Help!


I've searched for a thread on this, but so far I've not found one....

I have SuSE 9.1 installed on my laptop and the wireless network seems to be working fine. However, I travel a lot in my business and connect to quite a few wireless networks. Is there anything that will let me keep SSIDs and their associated keys so that I don't have to reenter them all the time?

I don't mind having to pick the network manually, but having to type the key in each time is getting tedious. An even better solution would be something that automatically chose the appropriate wireless settings for me based on the SSID being broadcast similiar to what WinXP does.

So, does such a tool exist?

David Simmons
simmond@dominos.com
 
Old 08-21-2004, 05:09 AM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
There are tools, you can find them here

http://www.hpl.hp.com/personal/Jean_...ols.html#links
 
Old 08-21-2004, 08:55 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 08-23-2004, 07:16 AM   #4
nickI-S
Member
 
Registered: Aug 2004
Location: Bristol UK
Distribution: SuSE 5.4 to 9.2, RedHat 7.3
Posts: 57

Rep: Reputation: 15
I asked a similar question here a week or so back - did not get any helpful replies yet.

As we are both on SuSE9.1 ...

I am mucking about with SuSE's shell script scheme but haven't got anything solid yet.
Idea is to have a define PRE_UP_SCRIPT in /etc/sysconfig/network/ifcfg-wlan0
And have that script do 'iwlist wlan0 scan' and then match ESSID against
known set and do

iwconfig wlan0 key whatever essid knownssid

Which works (briefly), but then (when DHCP assigns an IP address ?)
something else re-sets ESSID back to default one and link drops again.
 
Old 08-23-2004, 10:49 AM   #5
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
I thought kwifimanager had that capability....

Their docs say up to four keys per configuration. Is this not the capability you are interested in?

Last edited by mi6; 08-23-2004 at 10:53 AM.
 
Old 08-23-2004, 11:31 AM   #6
simmond
LQ Newbie
 
Registered: Aug 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Hrm, my wireless card is device eth2, not wlan0. I wonder if this is part of the problem.

When I try iwlist eth2 scan, I get back "Interface doesn't support scanning : Operation not supported". Might this also be why I couldn't get kwifimanager working?
 
Old 08-23-2004, 04:11 PM   #7
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
as a rule, wlanX interfaces are from using the wlan-ng drivers. If you have a prism2 chipset you can use either wlan-ng, orinoco, or host_ap drivers. I personally only have experience with orinoco's.

I would assume (not having used the app) that kwifi would work with _all_ drivers, but that may not be the case.
 
Old 08-25-2004, 07:18 AM   #8
nickI-S
Member
 
Registered: Aug 2004
Location: Bristol UK
Distribution: SuSE 5.4 to 9.2, RedHat 7.3
Posts: 57

Rep: Reputation: 15
kwifimanager doesn't switch networks automatically - you have to set a config via GUI after
entering root password.

I found two other possibilities today - 1st is waproamd :

http://0pointer.de/lennart/projects/waproamd/

and the other is a very simple thing done as perl script that runs "iwlist scan",
there is a link to it from waproamd page above.

waproamd comes from same author as a tool ifplugd which can also work
with normal ethernet - which looks a promissing way to use wired (100M switch)
when possible or wlan.

However it doesn't seem to "just work" with SuSE9.1 - the problem is
that waproamd does the obvious thing:
iwconfig ... # based on ESSID or AP MAC address
l /sbin/ifup

Snag is that SuSE's /sbin/ifup calls /etc/sysconfig/network/scripts/ifup-wireless
which re-sets essid and key - which takes link down again.
But SuSE's ifup is what takes care of starting DHCP to get an IP address.

Need to play with it some more...
 
Old 08-26-2004, 03:15 AM   #9
nickI-S
Member
 
Registered: Aug 2004
Location: Bristol UK
Distribution: SuSE 5.4 to 9.2, RedHat 7.3
Posts: 57

Rep: Reputation: 15
If I stop SuSE messing with iwconfig on the re-entry to /sbin/ifup
with patch below and replace /sbin/ifup in /etc/waproamd/scripts/*
with:
ip link set $IFACE up
/sbin/ifup-dhcp $IFACE

Then it seems to work okay.

--- ifup-wireless~ 2004-08-25 14:41:24.664398192 +0100
+++ ifup-wireless 2004-08-25 14:41:24.666397861 +0100
@@ -74,6 +74,8 @@
quiet) BE_QUIET=yes ;;
debug) BE_QUIET=no
DEBUG=yes ;;
+ dhcp)
+ exit 0 ;;
*) debug "unknown option $1 ignored" ;;
esac
 
  


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
Multiple Networks On Switch kegwell Linux - Networking 4 10-08-2011 04:33 PM
multiple wireless networks rcrummett Linux - Wireless Networking 4 09-06-2005 12:50 AM
Multiple networks bonebrain Linux - Wireless Networking 3 11-17-2004 09:38 PM
SuSe 9, SCPM, and Multiple Networks r_a_smith3530 Linux - Networking 1 11-27-2003 07:27 AM
connecting multiple networks kierl Linux - General 2 03-14-2003 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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