Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Lost ability to connect to internet? eth0 no start
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
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Jan 11, 2006 3:55 am    Post subject: [solved] Lost ability to connect to internet? eth0 no start Reply with quote

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
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Wed Jan 11, 2006 11:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Jan 11, 2006 5:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Jan 11, 2006 5:56 pm    Post subject: Reply with quote

running dhcpcd manually does give him internet access.

so if you need him to paste something in .. just ask
Back to top
View user's profile Send private message
tecla
n00b
n00b


Joined: 05 Apr 2004
Posts: 14

PostPosted: Wed Jan 11, 2006 6:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Jan 11, 2006 6:06 pm    Post subject: Reply with quote

"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
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Wed Jan 11, 2006 6:13 pm    Post subject: Reply with quote

he got "Could not start service net.lo" or somesuch.
Back to top
View user's profile Send private message
tecla
n00b
n00b


Joined: 05 Apr 2004
Posts: 14

PostPosted: Wed Jan 11, 2006 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Negated Void
l33t
l33t


Joined: 25 Dec 2002
Posts: 672

PostPosted: Thu Jan 12, 2006 2:34 am    Post subject: Reply with quote

dispatch-conf was our saviour. Thanks for the advice.
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