Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network with liveCD, none after installation!
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
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Wed Dec 05, 2007 10:46 pm    Post subject: Network with liveCD, none after installation! Reply with quote

*Please* help... I'm pulling my hair out. :?

I'm installing Gentoo on a new Dell Optiplex 745, and eth0 came-up fine with the live CD, but I *cannot* get the networking to work on the installation!

I'm using the same network driver as the liveCD picked: "tg3" (Broadcom NetXtreme 57xx gigabit). The messages in syslog look *identical*, *except* when, after getting an IP address from the DHCP server, the "route" to the gateway is added. With the liveCD, the route to the gw is added successfully. Booting my installation, however, results in:
Code:

dhcpcd: eth0: adding default route via 10.101.103.254 metric 0
dhcpcd: eth0: netlink: Network is unreachable

and I cannot ping the gateway, or anything else. That gw IP address is correct, BTW.

I've tried to *manually* add the route, but I can't because the "network is unreachable."

I've tried using the "tigon3" as a module (as is recommended), and also compiling it in into the kernel. I've looked at *all* the modules loaded with the liveCD, and I don't see anything else that could make the difference. What am I missing? *Please* help...! :?

What else can I do to help diagnose the problem?

Thanks much!

Bruce.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Wed Dec 05, 2007 11:45 pm    Post subject: Reply with quote

weird - though I have a hunch - what does ifconfig -a say?

poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Dec 05, 2007 11:52 pm    Post subject: Reply with quote

At a guess it's a problem with the dhcpcd versions in use. What version do you have installed?
I'm guessing it's because the DHCP server isn't sending the right static route anyway - older dhcpcd versions made a guess, which was sometimes wrong so newer ones don't guess and rely on correct DHCP server settings.

To see what routes you had, copy here the contents of /var/lib/dhcpcd-eth0.info
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Thu Dec 06, 2007 12:37 am    Post subject: Reply with quote

poly_poly-man wrote:
weird - though I have a hunch - what does ifconfig -a say?

poly-p man


Yeah... Nothing different. Just "eth0" and "lo". It includes the correctly-issued IP addr from the DHCP server: 10.100.103.30 (and correct bcast and mask).

Interestingly, though, i keep seeing the received-bytes count go up: RX packets: 6075... RX packets: 6077... RX packets: 6079... But the TX packet-count is 7 (1020 bytes) and that is all she wrote!

Thanks for the reply! I know one of you guys/gals will save me! :)

Bruce.
Back to top
View user's profile Send private message
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Thu Dec 06, 2007 12:42 am    Post subject: Reply with quote

UberLord wrote:
At a guess it's a problem with the dhcpcd versions in use. What version do you have installed?
I'm guessing it's because the DHCP server isn't sending the right static route anyway - older dhcpcd versions made a guess, which was sometimes wrong so newer ones don't guess and rely on correct DHCP server settings.

To see what routes you had, copy here the contents of /var/lib/dhcpcd-eth0.info


Code:

dhcpcd-3.1.5-r1


But why can't I even *ping* the gateway? Am I missing something? I can't even add the route manually, because I can't ping the gateway...

I tell you, I'm really stumped. Is there *anything* else I can compare between the liveCD configuration and the installation? I've scoured "/etc/sysconfig" for all the system configuration information (verifying that I had the correct network driver). I've written-down *every* module loaded in the liveCD setup. Everything I can find looks the same.

What else can I do?

Thanks for the help!

Bruce.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Thu Dec 06, 2007 12:49 am    Post subject: Reply with quote

To tell if it's a dhcp problem, try setting a static address temporarily, and see if you can ping.


poly-p man

BTW, can someone else ping you?
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Thu Dec 06, 2007 1:10 am    Post subject: Reply with quote

poly_poly-man wrote:
To tell if it's a dhcp problem, try setting a static address temporarily, and see if you can ping.

poly-p man

BTW, can someone else ping you?


I just changed /etc/conf.d/net to use 'ifconfig', a static address, and add the 'route'. I then restarted /etc/init.d/eth0. The IP address is set, then I get an:
Code:

SIOCADDRT: Network is unreachable


And no, I cannot 'ping' that box from another.

Any other ideas?

Thanks again for the help!

Bruce.
Back to top
View user's profile Send private message
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Thu Dec 06, 2007 3:42 pm    Post subject: Reply with quote

So, I believe that means that this is not a DHCP problem.

Does anyone have any ideas on what else I could look at?

Thanks!
Bruce.
Back to top
View user's profile Send private message
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Thu Dec 06, 2007 7:34 pm    Post subject: Reply with quote

OK. After more time of banging my head against the wall... :?

I've noticed two tiny differences between the liveCD environment and my fresh install:

FIRST: dmesg difference:
Install with "Network unreachable":
Code:

$grep eth[0-9] /var/log/dmesg
   ...
   RXcsums[1]  LinkChgREG[0]  MIirq[0]  ASF[0]  WireSpeed[1]  TSOcap[1]
   ...


LiveCD with working network:
Code:

$grep eth[0-9] /var/log/dmesg
   ...
   RXcsums[1]  LinkChgREG[1]  MIirq[1]  ASF[0]  Split[0]  WireSpeed[1]  TSOcap[1]
   ...


Note that:
"LinkChgREG" "MIirq" are "[0]" for the non-working install, and "[1]" for the working liveCD, and
"Split[0]" doesn't exist for the non-working install.

SECOND: ifconfig difference:
Install with "Network unreachable":
Code:

$ ifconfig -a
   ...
   UP BROADCAST RUNNING MULTICAST ...
   ...


LiveCD with working network:
Code:

$ ifconfig -a
   ...
   UP BROADCAST NOTRAILERS RUNNING MULTICAST ...
   ...


Note that:
"NOTRAILERS" is missing on the non-working install.

This is *all* that I can see that is different!

Any NIC expert out there that can help?

Thanks!
Bruce.
Back to top
View user's profile Send private message
maguire
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2004
Posts: 103
Location: Longmont, Colorado

PostPosted: Thu Dec 06, 2007 9:51 pm    Post subject: Reply with quote

Wow... :( My fall-back solution didn't work either...

I figured that if the liveCD had network, then worst-case, I could use 'genkernel' (for the first time) to configure my kernel for me. I just did that, and I *still* get
Code:

SIOCADDRT: Network is unreachable


How can this be? Isn't the purpose of 'genkernel' to generate a kernel like the one you are running on the liveCD? How can I have network on the liveCD, but not after configuring/compiling/installing with 'genkernel'?

Anyone?

Thanks,
Bruce.
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