Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 appears ok, but cannot ping anything other than itself
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
shuuhen
n00b
n00b


Joined: 12 Feb 2005
Posts: 49

PostPosted: Mon Jan 16, 2006 3:05 am    Post subject: eth0 appears ok, but cannot ping anything other than itself Reply with quote

kernel: 2.6.12-gentoo-r6
ethernet: tulip based (driver compiled into the kernel, not as a module)

I've been trying to use my PowerBook 3400 as a router/bridge to get internet access to computers that do not have wireless NICs and cannot reach my Belkin router with an ethernet cable. This worked before when I was running a different distro with a 2.4 kernel, so I know it's possible. I also know that ethernet once worked on this machine, because I used it when I emerged the HostAP drivers right after installing Gentoo.

I did read that people were having issue with kernels 2.6.10 and newer if they had tulip based ethernet. While I did have problems with ethernet and the kernel modules on the 2005.1 disk, the problem seemed to be fixed when I was booted from my new install (same kernel version). My guess is that compiling the tulip driver into the kernel fixed whatever the problem was.

For some reason, when I try to ping another computer on my network, I get the "host unreachable" message. I can use my ethernet interface to ping itself, but for some reason I cannot ping any other machine on my network with it. Wireless is working fine, I'm even using the computer with the ethernet issue to post.

Code:
# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:00:94:7B:C2:A7
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::200:94ff:fe7b:c2a7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:560 errors:0 dropped:0 overruns:0 frame:0
          TX packets:171 errors:0 dropped:59 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:63010 (61.5 Kb)  TX bytes:16630 (16.2 Kb)
          Interrupt:60 Base address:0x4000


Any ideas about why ethernet would stop working correctly?
Back to top
View user's profile Send private message
shuuhen
n00b
n00b


Joined: 12 Feb 2005
Posts: 49

PostPosted: Mon Jan 16, 2006 3:31 am    Post subject: Reply with quote

Man, I feel like a newbie now. I completely forgot to test components like my ethernet hub. :oops: For some reason it wasn't working. Sorry if I wasted anyone's time.

EDIT - kernel issue. I've been able to switch back to the components that didn't seem to work. dmesg sometimes tells me that there was a DMA timeout issue. Other times I get kernel panics for connecting (or disconnecting) an ethernet cable.
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