Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ethernet connection can get an IP, but can't connect
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
SithMaddox
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 149

PostPosted: Sun Mar 26, 2006 3:48 am    Post subject: Ethernet connection can get an IP, but can't connect Reply with quote

All of a sudden my ethernet connection has gone to shit. I can get IP on eth0, but I can't connect to anything or ping anything. My wireless connection works fine though on eth1.
I dual boot with XP and it has no problems with either connection.
Back to top
View user's profile Send private message
benster
n00b
n00b


Joined: 30 Nov 2005
Posts: 67
Location: Funkytown

PostPosted: Sun Mar 26, 2006 5:05 am    Post subject: Reply with quote

You don't give a lot of information to aid those reading your post, but I will try.

What about disabling eth1 and seeing if a plain DHCP'd eth0 will work?

Seems strange since it seems to be saying that you are successfully using DHCP to acquire an address. Have you made any system changes recently?
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Sun Mar 26, 2006 5:47 am    Post subject: Reply with quote

Are all your routes setup properly? Type
Code:
route
and see if everything is as expected.
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
SithMaddox
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 149

PostPosted: Mon Mar 27, 2006 12:45 am    Post subject: Reply with quote

Could it be the new 2.6.16 kernel?

Here is my routing information and some other stuff.

Code:

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
128.61.47.0     *               255.255.255.0   U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
default         128.61.47.1     0.0.0.0         UG    0      0        0 eth0

$ ifconfig
genkyle kyle # ifconfig             
eth0      Link encap:Ethernet  HWaddr 00:C0:9F:92:92:ED 
          inet addr:128.61.47.18  Bcast:128.61.47.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11705 (11.4 Kb)  TX bytes:1846 (1.8 Kb)
          Interrupt:10

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

$ cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"
dhcpcd_eth0="-t 10"
modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-D wext"
Back to top
View user's profile Send private message
SithMaddox
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jul 2004
Posts: 149

PostPosted: Mon Mar 27, 2006 1:33 am    Post subject: Reply with quote

Ok, I figured out what it was.

Apparently the wireless connection overwrote my resolv.conf.
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