View previous topic :: View next topic |
Author |
Message |
fotisaueb n00b

Joined: 21 Sep 2004 Posts: 36
|
Posted: Tue Sep 28, 2004 6:18 pm Post subject: settin network questions |
|
|
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 |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55248 Location: 56N 3W
|
Posted: Tue Sep 28, 2004 7:57 pm Post subject: |
|
|
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 |
|
 |
|