View previous topic :: View next topic |
Author |
Message |
Farner n00b
Joined: 14 Feb 2005 Posts: 45 Location: Malmö, Sweden
|
Posted: Mon Aug 29, 2005 6:22 pm Post subject: Get eth1 to load instead of eth0. |
|
|
Hello.
Everytime I boot it takes some time because my computer want to boot with eth0. I have to do dhcpd eth1 everytime I login to make it work. I have changed /etc/conf.d/net from config_eth0=( "dhcp" ) to config_eth1=( "dhcp" ) but its still the same. _________________ Workstation: CPU: AMD64 3500+ (250*10=2500MHz) MEMORY: 1024MB GFX: Ati Radeon x850xt (Core: 550MHz MEM: 1.2GHz) OS: Gentoo x86_64 |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Aug 29, 2005 6:25 pm Post subject: |
|
|
rc-update add net.eth1 default _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
Farner n00b
Joined: 14 Feb 2005 Posts: 45 Location: Malmö, Sweden
|
Posted: Mon Aug 29, 2005 6:30 pm Post subject: |
|
|
Thank you for the answer. I get this error when I did what you said:
rc-update add net.eth1 default
* /sbin/rc-update: /etc/init.d/net.eth1 not found; aborting. _________________ Workstation: CPU: AMD64 3500+ (250*10=2500MHz) MEMORY: 1024MB GFX: Ati Radeon x850xt (Core: 550MHz MEM: 1.2GHz) OS: Gentoo x86_64 |
|
Back to top |
|
|
opqdan Guru
Joined: 13 Dec 2004 Posts: 429 Location: Redmond, WA, USA
|
Posted: Mon Aug 29, 2005 6:34 pm Post subject: |
|
|
Code: | cp /etc/init.d/net.eth0 /etc/init.d/net.eth1
rc-update add net.eth1 default
rc-update del net.eth0 default
|
That will add net.eth1 to default, and remove net.eth0 (so you don't have to wait). You may also have to go tell eth1 to use dhcp. There are directions in the handbook about how to do this, I can't remember the file to edit. |
|
Back to top |
|
|
Farner n00b
Joined: 14 Feb 2005 Posts: 45 Location: Malmö, Sweden
|
Posted: Mon Aug 29, 2005 6:44 pm Post subject: |
|
|
Thank you for the answer. I am going to try that now. _________________ Workstation: CPU: AMD64 3500+ (250*10=2500MHz) MEMORY: 1024MB GFX: Ati Radeon x850xt (Core: 550MHz MEM: 1.2GHz) OS: Gentoo x86_64 |
|
Back to top |
|
|
opqdan Guru
Joined: 13 Dec 2004 Posts: 429 Location: Redmond, WA, USA
|
|
Back to top |
|
|
Farner n00b
Joined: 14 Feb 2005 Posts: 45 Location: Malmö, Sweden
|
Posted: Mon Aug 29, 2005 7:01 pm Post subject: |
|
|
Yes, thank you very much. It worked. _________________ Workstation: CPU: AMD64 3500+ (250*10=2500MHz) MEMORY: 1024MB GFX: Ati Radeon x850xt (Core: 550MHz MEM: 1.2GHz) OS: Gentoo x86_64 |
|
Back to top |
|
|
MighMoS Guru
Joined: 24 Apr 2003 Posts: 416 Location: @ ~
|
Posted: Mon Aug 29, 2005 9:24 pm Post subject: |
|
|
Actually, its better to symlink net.eth1 to net.eth0 rather than copy. That way when a new version of baselayout comes along, your eth1 is updated as well. _________________ jabber: MighMoS@jabber.org
localhost # export HOME=`which heart` |
|
Back to top |
|
|
|