Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Networking problems!
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
Zupo
n00b
n00b


Joined: 18 Dec 2006
Posts: 16
Location: Ljubljana, Slovenia

PostPosted: Sun Mar 11, 2007 2:10 pm    Post subject: Networking problems! Reply with quote

Hi!

I've installed Gentoo a while ago, it worked for a few days, when after an update the networking wasn't working any more. I tried to repar it by following some of the threads in this forums. The problem was sth. with firewire over ethernet taking over the eth0... Anyhow, I didn't manage to get it working again and left it as it was for a few weeks, due to lack of time.

Today I decided to give it a try again. So, when I do /etc/init.d/net.eth0 start, the error is: Network interface eth0 does not exist, please verify hardware or kernel module (driver). Ok, I booted the LiveCD, and got the module that's used for my NIC: 8139too (its integrated on a Ati Xpress 200p motherboard). Booted back to Gentoo, modprobed it and.... well nothing happened, same error. Then I tried to recompile my kernel, and use this driver as built-in. Didn't help at all....



So, I am out of ideas, any help appreciated!
Zupo
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Sun Mar 11, 2007 2:27 pm    Post subject: Reply with quote

Could you post logs like dmesg when you modprobe 8139too?
Back to top
View user's profile Send private message
Zupo
n00b
n00b


Joined: 18 Dec 2006
Posts: 16
Location: Ljubljana, Slovenia

PostPosted: Mon Mar 12, 2007 7:15 pm    Post subject: Reply with quote

Ok I recompiled the kernel back to use the drivers as modules.

At startup the modules 8139cp and 8139too were already loaded. So I unloaded and reloaded them with modprobe, just for the sake of getting some dmesg output. Here it is:

Code:
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 18 (level, low) -> IRQ 20
eth0: RealTek RTL8139 at 0xe800, 00:13:d3:af:c2:d3, IRQ 20
eth0:  Identified 8139 chip type 'RTL-8101'
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Mon Mar 12, 2007 8:28 pm    Post subject: Reply with quote

Ok lol, please post output of ifconfig and /var/log/messages. Use http://rafb.net/paste/

I would first recommend you to read the handbook entirely again. Even rebooting in the live cd and repeat every network step (don't forget to copy dns info). (I believe you need to create net.ethX files which are links/copies of net.eth0 for each card, it's ok to have more than one working I think). Why did the firewire stopped taking control of net.eth0?

edit: mistype


Last edited by Pseudonimo on Tue Mar 13, 2007 4:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Mon Mar 12, 2007 8:41 pm    Post subject: Reply with quote

I know it's easy to send you back to the handbook but the thing is, if you installed it recently and it's not working then there's like 90% likely you did something wrong. First things first, post ifconfig, you can confirm if the card is loaded by checking if it's there. Make sure it's the right driver by reading the help in the kernel menu (the livecd uses an older kernel, so it doesn't mean the module is correct)
Back to top
View user's profile Send private message
defenderBG
l33t
l33t


Joined: 20 Jun 2006
Posts: 817

PostPosted: Mon Mar 12, 2007 9:09 pm    Post subject: Reply with quote

apperantly some modules are "happy" to coexist with others...

post: "lsmod", "ifconfig -a",
what version of udevd do you use?
Back to top
View user's profile Send private message
Zupo
n00b
n00b


Joined: 18 Dec 2006
Posts: 16
Location: Ljubljana, Slovenia

PostPosted: Tue Mar 13, 2007 11:49 am    Post subject: Reply with quote

One thing I forgot to mention. If I chroot to gentoo from Ubuntu or from Gentoo Minimal CD, the networking works fine....
Ubuntu uses 8139cp and 8139too, also...


Here are the links to outputs of lsmod, dmesg, ifconfig, /etc/conf.d/net.....

/etc/conf.d/net - http://rafb.net/p/L6v5iA33.html
ifconfi - http://rafb.net/p/Xnt3sP16.html
lsmod - http://rafb.net/p/m7qIuV92.html
dmesg - http://rafb.net/p/o0Py0i24.html
/etc/init.d/net.eth0 start - http://rafb.net/p/HpwI0232.html
resolv.conf - http://rafb.net/p/A70uge66.html


I went through the handbook again. Didn't help at all. When you add net.eth0 to runlevel with rc-update it said that it is already in there.....
Back to top
View user's profile Send private message
Zupo
n00b
n00b


Joined: 18 Dec 2006
Posts: 16
Location: Ljubljana, Slovenia

PostPosted: Tue Mar 13, 2007 12:13 pm    Post subject: Reply with quote

Argh! :roll:

Ifconfig -a did the trick.I actually had a working interface, but it was eth2. I started it with no configuration at all (so, dhcp) and it now works :)

Thanks for the help! :)
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