View previous topic :: View next topic |
Author |
Message |
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Wed Dec 21, 2005 2:53 pm Post subject: Live CD Install Network is unreachable |
|
|
Hello, another newbie trying to install.
I am attempting to setup the network after booting from the 2005.1-r1 AMD 64 release. Get Network is unreachable when I try to ping my DNS. NIC is on the MB, and seems to be detected. ifconfig never gives me an ip address. Network works fine under XP and Knoppix.
Command details:
ifconfig:
::::::::::::::
eth0 Link encap:Ethernet HWaddr 00:15:F2:3A:78:24
BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x8000
lsmod:
Module Size Used by
parport_pc 30952 0
parport 27788 1 parport_pc
pcspkr 4056 0
8139too 20352 0
mii 4352 1 8139too
lspci:
0000:02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139
C/8139C+ (rev 10)
Hope someone can help. Thanks. |
|
Back to top |
|
|
chrism Guru
Joined: 15 Jul 2004 Posts: 526
|
Posted: Wed Dec 21, 2005 3:52 pm Post subject: |
|
|
Have you tried setting your IP up manually?
Code: |
ifconfig eth0 xxx.xxx.xxx.xxx |
whereas "x" stands for your IP.
What does the output of look like?
Chris |
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Wed Dec 21, 2005 4:41 pm Post subject: |
|
|
Ran ifconfig eth0 192.168.2.35
route -n gives:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
Looking at the DHCP log on the router I never see a request from the PC
Thanks,
Shaun |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Dec 21, 2005 6:35 pm Post subject: |
|
|
If the knoppix cd works, you can use that to do the install.
There's even some documentation on it here: http://www.gentoo.org/doc/en/altinstall.xml#doc_chap3 _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Wed Dec 21, 2005 7:29 pm Post subject: |
|
|
Couple of issue with Knoppix. First when I attempt to run chroot as described in chap. 6. I get an error of Exec format error. I assume this is caused from Knoppix being 32 bit and my tarball is 64 bit. Second, if I can't get networking running when I install Gentoo - I'm thinking it won't be working once Gentoo is installed. Would kinda like to have a connection with Gentoo. Maybe there are more network config tools available once up and running. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Dec 21, 2005 7:36 pm Post subject: |
|
|
Yeah, you've got a point with 32 v. 64 bits there. Ok, if the livecd can't seem to get an ip number from the livecd try assigning one yourself. Like you did with ifconfig, but you may need to add the ip of the router as gateway. And you need to create /etc/resolv.conf and add one or more nameservers (your isp's nameservers) to it.
Code: | nameserver 216.223.224.6
nameserver 216.223.224.7 |
_________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Dec 21, 2005 8:00 pm Post subject: |
|
|
Hi and welcome to the forums stay.
Are you sure that you're not having a problem with the nic module? Please post the output from the following
Code: | # ifconfig -a
# lspci
# lsmod |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Wed Dec 21, 2005 8:04 pm Post subject: |
|
|
I assigned the IP manually, ran route add default gw <router-ip>, and have my DNS ip's in the /etc/resolv.conf.
Error message from ping <router-ip> changes from Network is unreachable to Destination Host Unreachable.
route -n now gives me
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0 |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Dec 21, 2005 8:19 pm Post subject: |
|
|
Can you ping your router? Can you ping other hosts in your network?
Look at the output of the following
If your system can't connect to the forums, try the following
Code: | # traceroute 140.211.166.170 |
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Wed Dec 21, 2005 11:04 pm Post subject: |
|
|
Not sure why, but traceroute doesn't seem to exist in the Liveboot CD nor the traball 3 image. Maybe it's not in the standard path. and I have to do some digging. |
|
Back to top |
|
|
mutex Tux's lil' helper
Joined: 04 Sep 2003 Posts: 146
|
Posted: Wed Dec 21, 2005 11:12 pm Post subject: |
|
|
Easy way to find out
Code: | find / -name traceroute |
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Wed Dec 21, 2005 11:43 pm Post subject: |
|
|
Thanx, that saved me some research time. Traceroute does not exist as an executable. Found a directory under portage. |
|
Back to top |
|
|
mutex Tux's lil' helper
Joined: 04 Sep 2003 Posts: 146
|
Posted: Wed Dec 21, 2005 11:54 pm Post subject: |
|
|
Try tracert not traceroute, depends on which package you get I think |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Dec 22, 2005 12:01 am Post subject: |
|
|
mutex wrote: | Try tracert not traceroute, depends on which package you get I think |
Nice try. But as far as I know, tracert is the name under Windows.
I don't know if the live-cd includes traceroute. Replace traceroute with ping and let us know the result. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Thu Dec 22, 2005 12:49 pm Post subject: |
|
|
Ping gives me Network is unreachable after dhcpcd is run.
Ping gives me destination Host Unreachable if ip is manually assigned. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Dec 22, 2005 12:55 pm Post subject: |
|
|
stay wrote: | Ping gives me Network is unreachable after dhcpcd is run.
Ping gives me destination Host Unreachable if ip is manually assigned. |
Who does the reply come from? Is it the router? Or is it somewhere else?
Can you ping your router? Can you ping any other host? If you can, post the output of ifconfig -a after you do the tests. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Thu Dec 22, 2005 2:44 pm Post subject: |
|
|
Reply comes from the IP I assigned to the computer. Can't ping router or anything else.
ifconfig -a output:
eth0 Link encap:Ethernet HWaddr 00:15:F2:3A:78:24
inet addr:192.168.2.35 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x8000
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:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Dec 22, 2005 2:55 pm Post subject: |
|
|
If you get that output after conducting the tests, then you need to use a different driver for your nic. If you look closely, the nic didn't send or receive a single packet.
What driver are you using? What card do you have? You can check that with
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Thu Dec 22, 2005 3:13 pm Post subject: |
|
|
lsmod and lspci output are in the first post.
This is interesting however. Below is the lsmod from booting knoppix. Couple of differences from the gentoo lsmod.
Module Size Used by Not tainted
ext3 64388 1 (autoclean)
jbd 46804 1 (autoclean) [ext3]
autofs4 8756 1
af_packet 13544 0 (autoclean)
8139too 13800 1
mii 2240 0 [8139too]
crc32 2816 0 [8139too] |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Dec 22, 2005 3:37 pm Post subject: |
|
|
stay wrote: | lsmod and lspci output are in the first post. |
Sorry, I didn't look closely enough.
stay wrote: | This is interesting however. Below is the lsmod from booting knoppix. Couple of differences from the gentoo lsmod.
Code: | Module Size Used by Not tainted
ext3 64388 1 (autoclean)
jbd 46804 1 (autoclean) [ext3]
autofs4 8756 1
af_packet 13544 0 (autoclean)
8139too 13800 1
mii 2240 0 [8139too]
crc32 2816 0 [8139too] |
|
If you're using a realtek clone, you could try with the different modules and see if any of them works. You have besides the 8139too at least the 8139 module. This could also be releated to the kernel module options defined for live-cd.
If you could use another nic for the installation, it would be simpler. After you fnished installing, you would compile the kernel and tweak the driver module for your nic. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
stay n00b
Joined: 21 Dec 2005 Posts: 16
|
Posted: Thu Dec 22, 2005 5:13 pm Post subject: |
|
|
Thanks for the advise, was thinking I would probably have to try another nic. Wish I hadn't thrown out my old one. Time to open up my wife's computer. |
|
Back to top |
|
|
|