LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2005, 02:42 AM   #1
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Rep: Reputation: 30
slackers and wlan configuration


How do we slackers choose which wlan to access? From what I've heard we don't have any wlan manager. I always seem to get on to the wrong access point.

I've done "iwconfig eth0 essid NETGEAR" but I always end up on "default"

Thx in advance!

Edit: both are open of cource...

Last edited by jasone; 05-17-2005 at 02:51 AM.
 
Old 05-17-2005, 03:41 AM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
have you tried kwifimanager ?
 
Old 05-17-2005, 03:54 AM   #3
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Thanks and yes but I think it sucks =( I also won't have kde installed in my next slack-install. There must be a non-GUI way to do this, isn't there?
 
Old 05-17-2005, 04:32 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You could try: http://f0rked.com/code/wifiswitch/
Also, did you run dhcpd again after changing the essid?
 
Old 05-17-2005, 04:41 AM   #5
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Thanks I'll check that app out.

Yes I believe I did a dhcpcd -k and a regular dhcpcd after that... But It should work like that? Maybe I should try that again if it's as simple as that. But it would be nice to have a pair of wlan's to choose from so I don't have to use kismet every time...
 
Old 05-17-2005, 08:33 PM   #6
Cheiron
LQ Newbie
 
Registered: Aug 2004
Location: On. Canada
Distribution: Slack 10.2 and Slack 8.1
Posts: 23

Rep: Reputation: 15
Are both APs on the same channel ? If not, try passing "channel X" to iwconfig. The more arrguments you provide the less chance of them being autopicked for you.
 
Old 05-18-2005, 05:34 AM   #7
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Thanks! Didn't know that one. If I do this after I'm auto associated with "default", will I get off "default" and get on the new one or do I need to do something else like "/etc/rc.d/rc.pcmcia restart" or ifconfig down, up (as you see it's a laptop)?
 
Old 05-18-2005, 05:57 AM   #8
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
I found some good info in this thread below. If someone else end up here some day... http://www.linuxquestions.org/questi...hreadid=324397
 
Old 05-18-2005, 11:41 AM   #9
android1654
Member
 
Registered: Jan 2003
Location: Baltimore
Distribution: Slackware,peanut linux
Posts: 30

Rep: Reputation: 15
just fyi some of the info in that thread appears incorrect.

rc.wireless.conf does in fact work for pcmcia cards.

It is very simple to configure file and actually a very convenient option if you are always logging onto the same wifi net.

you just go in and modify the first example with:
info="anytihng you want to call this network"
essid="your network name (ssid)"
key=your key
 
Old 05-19-2005, 06:35 PM   #10
Cheiron
LQ Newbie
 
Registered: Aug 2004
Location: On. Canada
Distribution: Slack 10.2 and Slack 8.1
Posts: 23

Rep: Reputation: 15
Quote:
... after I'm auto associated with "default", will I get off "default" and get on the new one or do I need to do something else like ...
You most definitely don't need to restart whole pcmcia service to "hop" APs however what needs to be done really depends on the type of your wifi card. Some cards will "hop" just by re-association with iwconfig. Some cards will need to have interface brought down and some will need the card to be ejected and reinserted. For both my current cards I usually do:

ifconfig wlan0 down
iwconfig wlan0 (my settings go here)
ifconfig wlan0 up
dhcpcd wlan0

As per storing your configs, there are few things you may want to keep in mind. Putting any type of configuration in static files may work for you when you connect only to 1 AP as they will be auto applied when you insert your card. I myself do not keep any wifi settings static. Inserting one of my card does nothing other than loading the correct kernel module. I then control the interface with a set of custom interactive shell scripts.
 
  


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
Belkin F5D6001 v2 pci wlan installation and configuration geostone Linux - Wireless Networking 7 04-13-2006 01:05 PM
wlan-ng destroyed my wireless configuration fasmaie Linux - Wireless Networking 1 11-30-2005 10:55 AM
Slackware Wlan Configuration AmoSiS Linux - Wireless Networking 4 11-16-2005 07:03 AM
LAN and WLAN configuration geostone Linux - Wireless Networking 1 11-10-2004 01:15 AM
prism2 chipset and wlan configuration djzanni Linux - Wireless Networking 3 02-29-2004 09:23 AM

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

All times are GMT -5. The time now is 03:25 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
Open Source Consulting | Domain Registration