View previous topic :: View next topic |
Author |
Message |
Dorza n00b
Joined: 25 Jul 2003 Posts: 23 Location: UK
|
Posted: Sun Jul 01, 2007 4:41 pm Post subject: [Solved] Change eth1 to eth0? |
|
|
During the boot sequence I get an error saying something along the lines of "eth0 could not be started" and the boot sequence continues. When I login I have to go to a terminal and type "dhcpcd eth1" to get my internet going. I know why this is happening; genkernel compiled Ethernet over firewire so eth0 went to that, I think and my regular, proper Ethernet device went to eth1. I have since removed Ethernet over firewire from my kernel and would like to map my proper Ethernet PCI card onto eth0. I have seen some ways of doing it on the net, but it seems that they don't apply to Gentoo.
Can someone point me in the right direction please?
Thanks
Last edited by Dorza on Sun Jul 01, 2007 10:39 pm; edited 1 time in total |
|
Back to top |
|
|
martin20450 Tux's lil' helper
Joined: 30 Sep 2005 Posts: 91
|
Posted: Sun Jul 01, 2007 5:41 pm Post subject: |
|
|
You could remove eth0 from starting at boot and add eth1 as the default to start
Code: | rc-update del net.eth0 default
rc-update add net.eth1 default |
|
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Sun Jul 01, 2007 5:42 pm Post subject: |
|
|
A custom udev rule should do the trick. Check out this post. You can also a udev page in the gentoo wiki. _________________ Let me guess, you picked out yet another colorful box with a crank that I'm expected to turn and turn until OOP! big shock, a jack pops out and you laugh and the kids laugh and the dog laughs and I die a little inside. |
|
Back to top |
|
|
gsoe Apprentice
Joined: 10 Dec 2006 Posts: 289 Location: Denmark
|
Posted: Sun Jul 01, 2007 6:00 pm Post subject: |
|
|
If you don't have an eth0 anymore, just remove the file Code: | /etc/udev/rules.d/70-persistent-net.rules | A fresh one will be generated at boot. |
|
Back to top |
|
|
Dorza n00b
Joined: 25 Jul 2003 Posts: 23 Location: UK
|
Posted: Sun Jul 01, 2007 10:38 pm Post subject: |
|
|
Thanks for your help, got this sorted now . |
|
Back to top |
|
|
|