Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
settin network questions
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
fotisaueb
n00b
n00b


Joined: 21 Sep 2004
Posts: 36

PostPosted: Tue Sep 28, 2004 6:18 pm    Post subject: settin network questions Reply with quote

Hi there I have a few questions

1)I set the iface-eth0 to take the ip from DHCP .When the cable isn't pluged it stays there for at least 5 minutes waiting for DCHP after it loads normally is there anyway to reduce this time such as setting a timeout?

2)I have a wireless card. If the eth0 fails to load for a reason ex if its unplugged the wireless card will be named eth0 otherwise eth1. As you can understand I have set two configurations in /etc/conf.d/net one for eth0 and one for eth1 so this is a mess . How can I specifically set that the wireless will be eth1 and lan eth0?

3)Which of the two gentoo loads first the /etc/init.d/net-ethX ot the /etc/modules.autoload.d?

thanx fotis
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55248
Location: 56N 3W

PostPosted: Tue Sep 28, 2004 7:57 pm    Post subject: Reply with quote

fotisaueb,

You can set a timeout for DHCP. Look in the /etc/conf.d/net file. There is an example there.

eth0 is the first interface initialised (it does n not have an IP address at the time) eth1 is the next and so on.

The initialisation order is the order of module loading, which you can control bu the order of the module names in /etc/modules.autoload.d/<ker-ver>.
If DHCP fails eth0 should stay as your wired card, even though its not configured.

/etc/modules.autoload.d loads modules and /etc/init.d/net-ethX configures interfaces provided the interfaces exist.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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