Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with wireless laptop setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
revoohc
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2002
Posts: 128

PostPosted: Mon Jan 19, 2004 2:09 am    Post subject: Help with wireless laptop setup Reply with quote

I need some assistance with how to properly setup my wireless card. I have no problem getting the card to work, but would like to get a better setup running.

I have two wireless networks I cannect to (home and work). Is there a way to have gentoo determine which network I am in and auto setup it up (I can provide the keys)?

Also, depending on if I am docked or not, my wireless jumps between eth1 (undocked) and eth2 (docked). How can I cleanly get the system to handle this? Before, I have had some ugly hacks with the net.ethx scripts to get this to work.

Thanks,

revoohc
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Mon Jan 19, 2004 4:45 am    Post subject: Reply with quote

See this thread for information on how to auto identify and configure the wireless settings.

I've had the same problem as you with the network card numbers. It always struck me as a serious flaw in the networking schemes in Linux that the kernel dynamically assigns the eth id's, but the configuration scripts have to be hard-coded (ie in the name of the file). I solved it initially hacking some scripts so that whenever any network interface was brought up, the script would check the MAC and rename the interface something much more meaningful (dock, laptop, wireless, etc) using the 'ip' command. This was really ugly. I solve it now by using wlan for all my network cards.

For a PCI NIC I think you could use hotplug to make sure the device is brought up how you want. There is a great deal of information in man hotplug, but I can't sort through it for you at the moment.

For PCMCIA cards it's easier since you can edit the network.opts file and have it load a configuration based on the MAC and/or on a pcmcia profile, which is really what you want.
_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum