View previous topic :: View next topic |
Author |
Message |
jesso Guru
Joined: 27 Oct 2004 Posts: 397 Location: Canada
|
Posted: Fri Aug 11, 2006 11:56 am Post subject: no network when installing |
|
|
I'm trying to install Gentoo, but I cannot ping anything after I get into the Live CD.
I have my PC connected to a router. I also have another PC connected to it where I installed Gentoo with no problem. DHCP worked for it, but not for this new PC.
The new PC has a onboard nVidia ethernet controller.
When I do "ifconfig eth0" I get "Link encap:UNSPEC". When I do "ifconfig eth1" I get "Link encap:Ethernet HWaddr 'mac addr'". So I assume eth1 is the one of interest.
The ip address of my router is "192.168.2.1". I tried the following manual settings:
My IP address : 192.168.2.33
Netmask: 255.255.255.0
Broadcast: 192.168.2.255
Gateway: 192.168.2.1
Nameserver: 192.168.2.1
I used ifconfig and route to setup and also tried net-setup.
I cannot even ping my router, 192.168.2.1, I get "Destination not reachable".
Can someone help? |
|
Back to top |
|
|
tomasm Tux's lil' helper
Joined: 15 Dec 2005 Posts: 104
|
Posted: Fri Aug 11, 2006 12:13 pm Post subject: |
|
|
Please post the output of
|
|
Back to top |
|
|
jesso Guru
Joined: 27 Oct 2004 Posts: 397 Location: Canada
|
Posted: Fri Aug 11, 2006 12:18 pm Post subject: |
|
|
i'll try that, but I believe there would be lots of output to post. I would have to type in the output on a another computer.
Is there anything in particluar I am looking for?
If the card was not recgonize "ifconfig" would say "error fetching interface information: Device not found"
Thanks |
|
Back to top |
|
|
james_uk n00b
Joined: 10 Aug 2006 Posts: 3
|
Posted: Fri Aug 11, 2006 1:44 pm Post subject: |
|
|
please try following command if you have not tried it so far :-
route add default gw 192.168.2.1 dev eth1
This should sort your problem. |
|
Back to top |
|
|
Sedrik l33t
Joined: 08 Apr 2005 Posts: 655 Location: Uppsala, Sweden
|
Posted: Fri Aug 11, 2006 1:47 pm Post subject: |
|
|
Do you use dhcp? In that case have you tried dhcpd eth0 ? or the net-setup tool? _________________ From Gentoo with love |
|
Back to top |
|
|
jesso Guru
Joined: 27 Oct 2004 Posts: 397 Location: Canada
|
Posted: Fri Aug 11, 2006 1:49 pm Post subject: |
|
|
webhosting.uk.com wrote: | please try following command if you have not tried it so far :-
route add default gw 192.168.2.1 dev eth1
This should sort your problem. |
I have already tried that.
I am stumped why DHCP seems not to work. I don't get any error from "dhcpcd eth1", but don't get a IP address.
My other PC was ok. My router has a dhcp server with pool 192.168.2.2 - 192.168.2.40 |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Fri Aug 11, 2006 2:41 pm Post subject: |
|
|
I have the same problem. I can connect from laptop to my desktop computer, but not when I boot laptop from livecd. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Fri Aug 11, 2006 2:58 pm Post subject: |
|
|
I just solved my problem. I had eth1394 (firewire) driver at eth0 and my network card driver at eth1. So logically connecting through eth0 did not work.
You can try Code: | ethtool -i eth0
ethtool -i eth1 |
to see which driver is on which eth*. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
jesso Guru
Joined: 27 Oct 2004 Posts: 397 Location: Canada
|
Posted: Fri Aug 11, 2006 3:10 pm Post subject: |
|
|
zxy wrote: | I just solved my problem. I had eth1394 (firewire) driver at eth0 and my network card driver at eth1. So logically connecting through eth0 did not work.
You can try Code: | ethtool -i eth0
ethtool -i eth1 |
to see which driver is on which eth*. |
Ya, makes sense. I try again this evening, but I did try eth1 last night with DHCP and didn't work.
Is ethtool on the liveCD? |
|
Back to top |
|
|
BodyART n00b
Joined: 11 Aug 2006 Posts: 3
|
Posted: Fri Aug 11, 2006 8:03 pm Post subject: Collateral assistance! |
|
|
Hello!
This isn't a thread Hijack, but a big Thank you out to Tomasm and Zxy. I had the exact same trouble as the OP. I knew it was my firewire on eth0 and didn't have a problem getting the route to stick for eth1 when doing my config from the minimal install CD. However when I rebooted into my newly made kernel I had no network support, and realized my network driver didn't autodetect like it did on the CD. I assumed using genkernel with udev and coldplug it would see it.
Thanks for the tips to troubleshoot the problem.
I'm a complete linux novice after not having worked with any distro in close to 5 years. God how things have changed in that timespan.
ethtool is on the minimal install CD, so I assume it'll be on the other one.
-BA _________________ Full Time Dabbler. I get things done by beating it repeatedly with a big club, which normally only takes a few seconds. The problem is getting the motivation to pick up that club. |
|
Back to top |
|
|
|