Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] No networking on install disk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Wed Apr 22, 2009 11:53 pm    Post subject: [SOLVED] No networking on install disk Reply with quote

I cannot get a dhcp lease on the install disk. If I configure a static address, I am still unable to ping the gateway or any other hosts on the network (destination host unreachable).

The same machine currently has Arch64 installed and networking works on that install. I've never had ethernet networking issues with the machine in the past. Ethernet is 100Mb/s, onboard on an ASUS board.

I have tried the following:
* different cable
* different versions of the install disk - including 2007.0, 2008.0, 2008.0-r1 in AMD64 and 2008.0 x86
* static and dhcp
* the interface does appear when I issue ifconfig
* networking works fine on my existing OS install

dhcpcd eth0:
Code:
Error, eth0: timed out


dmesg:
Code:
eth0: no link during initialization


The machine has an ASUS P5N-e SLI board. lspci -v:
Code:
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
Subsystem: ASUSTeK Computer Inc. Unknown device 8221


Thanks for reading. Let me know if you need info or if I'm missing something obvious.

EDIT:
Oops. Based on research I've done, the card will require the forcedeth module, which runs by default on the install disk.


Last edited by forkbomb on Thu Apr 23, 2009 2:49 am; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Apr 23, 2009 12:07 am    Post subject: Reply with quote

There is nothing magical about the Gentoo installation cd. Use any Linux live cd/dvd that will work with your hardware. Then just follow the instructions in the installation handbook for a manual stage3 install. For that matter, if you are going to be keeping your Arch64 install and put Gentoo on a different partition, you can do the installation from your existing system.
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 12:12 am    Post subject: Reply with quote

yabbadabbadont wrote:
There is nothing magical about the Gentoo installation cd. Use any Linux live cd/dvd that will work with your hardware. Then just follow the instructions in the installation handbook for a manual stage3 install. For that matter, if you are going to be keeping your Arch64 install and put Gentoo on a different partition, you can do the installation from your existing system.

D'oh. Never thought of that. I am planning on a fresh install (my Arch install is marginally hosed but still mostly functional, I'm just scrapping it).

But is there any guarantee I won't have the same issue on the install?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Apr 23, 2009 12:16 am    Post subject: Reply with quote

did you run
Code:
net-setup eth0
after booting the install cd? none of the install cd's you are using are current. Get a current gentoo install cd from the /releases/<arch>/autobuilds/ directory on the gentoo mirrors; get a current stage 3 tarball there also.
Better still use a system rescue cd http://www.sysresccd.org/Download (rescue64 at the boot prompt for a 64 bit install) gentoo based with bonus GUI browser and other handy tools. Have the gentoo handbook open in a browser window side by side with a terminal window.


Last edited by DONAHUE on Thu Apr 23, 2009 12:26 am; edited 1 time in total
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 12:26 am    Post subject: Reply with quote

DONAHUE wrote:
did you run
Code:
net-setup eth0
after booting the install cd? what install cd are you using?

Yes. I also manually used ifconfig to assign a static IP (ifconfig eth0 <address> netmask <mask> up).

No matter what addressing method I use, I am not getting any connectivity. Oddly my Arch Live disk is giving the same problem with dhcp now...
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Apr 23, 2009 12:28 am    Post subject: Reply with quote

does ifconfig show eth0 up?
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 12:48 am    Post subject: Reply with quote

DONAHUE wrote:
does ifconfig show eth0 up?

Yes. There is no connectivity whether I manually use ifconfig, use net-setup, or dhcpcd. With DHCP I get no address and it falls back to APIPA/zeroconf. With static addresses, I receive "destination host unreachable" upon pinging anything on my LAN.

The problem reproduces on these:
AMD64: 2007.0 minimal, 2008.0 minimal, 2008.0-r1 minimal
x86: 2008.0

Oddly, I cannot get a DHCP lease using either System Rescue CD or the Arch64 live CD. As soon as I reboot back to my HDD install of Arch, all is well with the world and I immediately get a DHCP lease (posting from my HD install right now). Guess I may as well just build from here if that can be done.

EDIT: the more I dig, this isn't necessarily appearing to be a Gentoo-specific issue but it certainly is one of the weirdest I've seen. ;) I've never had problems getting ip addresses from LiveCDs before. I've tested the switchports on my router, my cables, my DHCP server configuration, etc. and I'm now seeing these issues only from Live disks. 8O
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Apr 23, 2009 12:59 am    Post subject: Reply with quote

forcedeth should be right and should load automatically but
you have tried modprobe forcedeth?
if in arch and if arch supports the -k option
Code:
lspci -nnk
should tell if arch uses forcedeth.
output looks like:
Quote:
00:08.0 Bridge [0680]: nVidia Corporation MCP55 Ethernet [10de:0373] (rev a2)
Kernel driver in use: forcedeth
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 1:04 am    Post subject: Reply with quote

DONAHUE wrote:
forcedeth should be right and should load automatically but
you have tried modprobe forcedeth?
if in arch and if arch supports the -k option
Code:
lspci -nnk
should tell if arch uses forcedeth.
output looks like:
Quote:
00:08.0 Bridge [0680]: nVidia Corporation MCP55 Ethernet [10de:0373] (rev a2)
Kernel driver in use: forcedeth

Well, it slipped my mind to try modprobe forcedeth on the Arch live disk but lspci confirms that forcedeth is being used on my HD install. I did ensure that forcedeth was running on the Gentoo disk while troubleshooting this.

EDIT:
from my Arch install, dhcpcd works without a hitch:
Code:

[root@coolhand ~]# dhcpcd eth0
eth0: dhcpcd 4.0.12 starting
eth0: broadcasting for a lease
eth0: offered 10.0.0.2 from 10.0.0.1
eth0: acknowledged 10.0.0.2 from 10.0.0.1
eth0: checking 10.0.0.2 is available on attached networks
eth0: leased 10.0.0.2 for infinity
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Apr 23, 2009 1:07 am    Post subject: Reply with quote

This one goes in my really wierd problem file.
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 1:09 am    Post subject: Reply with quote

Ditto... google hasn't been particularly forthcoming with help, either.

Downloading an iso of Ubuntu now. I'll see if that will work (I'd rather just build from a LiveCD so I can obliterate my partition table and keep my partitions straight).
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 1:50 am    Post subject: Reply with quote

No go on the Ubuntu Live CD either. Now I'm getting exasperated.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Thu Apr 23, 2009 1:57 am    Post subject: Reply with quote

Save the kernel config from your arch install so that you can use it with your gentoo one (if you ever get that far).
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Thu Apr 23, 2009 2:48 am    Post subject: Reply with quote

I looked in the boneyard and found an extra 10/100Mb NIC laying around. Put that in the machine, hooked everything back up and hooked up ethernet to both NICs, and booted the 2008.0 r1 Minimal Gentoo disk.

Both NICs now have DHCP leases. :?: :roll: I don't get it. Oh well, it works.

EDIT: Thanks for the assistance, btw.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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