View previous topic :: View next topic |
Author |
Message |
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Wed Jan 11, 2006 3:55 am Post subject: [solved] Lost ability to connect to internet? eth0 no start |
|
|
Hello!
My friend has a tyan k8w motherboard that we're reasonably sure uses teh tg3 driver. He's had the internet and stuff working for a while.
He was emerge -u world'ing earlier when i had him reboot becuase he got a nvidia module version mismatch running something. Recompiled that, and the kernel so he could use the xpad driver.
Upon boot, his eth0 failed to start.
We moved his config to a newer kernel version, changed the linux symlink, built it, and booted into it. no better.
So I then had him install all the gigabit cards as compiled in. Just because i might have somehow been wrong with which driver to use (I was helping him over the phone - he lives far away). Booted into that.
Same thing.
Now - he can manually run dhcpcd and get an ip address, ping google, etc. but eth0 still won't start.
I'm not sure how well it keeps that IP address either.
His windows partition works fine.
His /etc/cond.d/net has only that line that tells the iface to use dhcp.
Any ideas what I should try / what could have happened?
--Matt
Last edited by Negated Void on Thu Jan 12, 2006 2:35 am; edited 1 time in total |
|
Back to top |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Wed Jan 11, 2006 11:40 am Post subject: |
|
|
Is it possible the board has a firewire port, which gets detected before the ehternet nic?
If you have support for ip over ieee1394 in the kernel this device will get recognized as eth0.
Try starting net.eth1.
(If necessary create a link from net.eth0) |
|
Back to top |
|
|
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Wed Jan 11, 2006 5:43 pm Post subject: |
|
|
Copied net.eth0 to net.eth1, added a dhcp line /etc/conf.d/net
started it, failed. Something about no modules that supply dhcp (i'm doing this logn distance.. ) |
|
Back to top |
|
|
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Wed Jan 11, 2006 5:56 pm Post subject: |
|
|
running dhcpcd manually does give him internet access.
so if you need him to paste something in .. just ask |
|
Back to top |
|
|
tecla n00b
Joined: 05 Apr 2004 Posts: 14
|
Posted: Wed Jan 11, 2006 6:00 pm Post subject: |
|
|
I had the same problem last week.
You mast delete /etc/init.d/net.eth0
Make a symlink from /etc/inti.d/net.eth0 to /etc/init.d/net.lo
Code: | ln -s /etc/init.d/net.lo /etc/init.d/net.eth0 |
And put your /etc/init.d/net.eth0 in /etc/conf.d/net.
Whish this help you |
|
Back to top |
|
|
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Wed Jan 11, 2006 6:06 pm Post subject: |
|
|
"put your /etc/init.d/net.eth0 in /etc/conf.d/net."
.. what exactly do you mean by putting that in there? |
|
Back to top |
|
|
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Wed Jan 11, 2006 6:13 pm Post subject: |
|
|
he got "Could not start service net.lo" or somesuch. |
|
Back to top |
|
|
tecla n00b
Joined: 05 Apr 2004 Posts: 14
|
Posted: Wed Jan 11, 2006 7:27 pm Post subject: |
|
|
sorry its a typo. I have my mind in other "world".
Sorry again, the phrase must be:
"put your eth0 config in /etc/conf.d/net"
In my gentooAMD64 last week I ran "emerge -uva world" and a new bash (between others) was emerged.
This new package changes the way the network starts.
Now, the /etc/init.d/net.ethX is a symlink to net.lo and not a copy of another net.ethX.
The old net.ethX may not work at all. _________________ --
Jesus Garcia Grande |
|
Back to top |
|
|
Negated Void l33t
Joined: 25 Dec 2002 Posts: 672
|
Posted: Thu Jan 12, 2006 2:34 am Post subject: |
|
|
dispatch-conf was our saviour. Thanks for the advice. |
|
Back to top |
|
|
|