LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-31-2004, 10:02 AM   #1
MDColson
LQ Newbie
 
Registered: Nov 2003
Location: Connecticut
Distribution: Mandrake 10.1
Posts: 9

Rep: Reputation: 0
Frequently need to change networks (essid)


I am wondering what the best way to set up a laptop so that I can frequently bounce between at least 2 different wireless networks. I am running Mandrake 10.1 (w/KDE) - and I'm sure you can tell by my question, I am new to this.

I set up the wireless connection in the mandrake control center to accept 'any' essid. Then I have also installed kwifimanager. This gives you the ability to preprogram upto 4 'configs' with separate essid's and keys. The problem is that it will load that only after getting into kde right? Because my problem actually happens when the system is booting. If it can't find the wireless network upon boot, the boot sequence takes a long time because when it initializes eth2 eventually it just fails. However once it fails and moves on and I get into KDE I am able to get the wireless working. Is there an easier/better way so that I can quickly bounce between my apartment and school without having to wait for it to fail each time I boot in a new wireless area? Thanks!

MDColson
 
Old 12-31-2004, 10:31 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Actually, probably the best way to do this is to disable the boot configuration for this card and just do it from KDE each time. The other way to do this would be to write a script that lets you choose which network to access and have that run at boot time. If you are feeling extremely adventerous, I've posted a perl script I use to scan for access points and then let me choose. I run it at boot time. I haven't tested it much, so it may not work for you.
 
Old 12-31-2004, 10:48 AM   #3
MDColson
LQ Newbie
 
Registered: Nov 2003
Location: Connecticut
Distribution: Mandrake 10.1
Posts: 9

Original Poster
Rep: Reputation: 0
How do I go about disabling the 'boot configuration'? Is that from the KDE control center? Go into the network connection and uncheck the 'start at boot' or whatever it says? (this kills my connection!) If I do that... Will kwifimanager just takeover after kde loads?

MDColson

Last edited by MDColson; 12-31-2004 at 10:56 AM.
 
Old 12-31-2004, 10:53 AM   #4
rbochan
Member
 
Registered: Dec 2004
Location: Central New York
Distribution: Debian
Posts: 218

Rep: Reputation: 30
I don't know if Mandrake offers it, but Debian offers the laptop-net package that does what you're looking for. If there isn't a rpm for it, perhaps you can get the source and build it yourself.
 
Old 12-31-2004, 11:30 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally posted by MDColson
How do I go about disabling the 'boot configuration'? Is that from the KDE control center? Go into the network connection and uncheck the 'start at boot' or whatever it says? (this kills my connection!) If I do that... Will kwifimanager just takeover after kde loads?

MDColson
I'm not entirely sure how Mandrake handles things, but unchecking the "start at boot" box would be a good start. KWifimanager will almost certainly not just take over after KDE loads, you'll probably have to run it manually. The other bit I'm not sure of is if KWifimanager will request an IP address once it has configured the card.
 
Old 12-31-2004, 12:41 PM   #6
MDColson
LQ Newbie
 
Registered: Nov 2003
Location: Connecticut
Distribution: Mandrake 10.1
Posts: 9

Original Poster
Rep: Reputation: 0
Following your suggestions - kwifimanager does connect to the AP (iwconfig shows correct essid) however as you said, it doesn't seem to pull an IP. How do I go about getting an IP once I am associated with an AP?

MDColson
 
Old 12-31-2004, 01:46 PM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I usually do it from the command line. Most linux distros either use dhcpcd or dhclient followed by the device name. So for dhcpcd the command is dhcpcd wlan0. Dhclient works similarly. You'll have to check which one Mandrake uses.
 
  


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 networks with same channel and essid? slinky2004 Linux - Hardware 7 10-16-2005 08:10 AM
Which directory contains files that normally change their size frequently? Simon Adebisi Linux - Software 4 06-28-2005 03:37 PM
Cant change ESSID with iwconfig svenbox Linux - Hardware 1 04-27-2005 05:54 AM
Can't Change ESSID 123456 Linux - Wireless Networking 4 03-04-2005 08:29 AM
Can't seem to get Essid to change mckinlsm Linux - Wireless Networking 2 07-09-2004 12:49 PM


All times are GMT -5. The time now is 03:08 PM.

Main Menu
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