Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up internet access on my laptop - ethernet + WLAN
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
tdev
n00b
n00b


Joined: 26 Nov 2007
Posts: 11

PostPosted: Mon Nov 26, 2007 8:23 pm    Post subject: Setting up internet access on my laptop - ethernet + WLAN Reply with quote

Hey,

Trying to set up my laptop to connect to the internet in a .. 'nice' way. I can either connect to the internet via ethernet or wlan.

Currently, during boot, eth0 is brought up, it does a DHCP request which takes too much time if I'm not connected to any ethernet (waiting for dhcpcd to timeout is a waste of time IMO). Now, my wireless needs manual setting up. Since I'm using ndiswrapper, I need to load the ndiswrapper module, issue a iwconfig command (essid, specify key, wlan mode, security mode) and then do a dhcpcd wlan0 to get an IP address.

Since it's a laptop, I'd like to have more control over all this. Bring eth0 up and set it up when I need it, same with wlan.

Back on Slackware I used to have seperate rc files (rc.wlan, rc.eth0) which I could execute when I needed them. Now, of course, I theoretically could make similar scripts for Gentoo, but I just don't want to do it the 'hard way' when _maybe_ there's a simpler way to do it (a 'Gentoo-specific' way which would take advantage of how Gentoo sets things up etc.).

Is /etc/conf.d/net any use? (currently, eth0 is configured in there)

I'm open to any ideas and pointers.

thanks
tdev
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Mon Nov 26, 2007 9:11 pm    Post subject: Reply with quote

Try ifplugd
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
tdev
n00b
n00b


Joined: 26 Nov 2007
Posts: 11

PostPosted: Tue Nov 27, 2007 12:58 pm    Post subject: Reply with quote

I'll take a look at it, thanks.
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