View Full Version : Network is unreachable
PaulClarke
2005-09-12, 07:12 AM CDT
Hello,
I have just purchased a new laptop - a Pioneer and installed FC4 but the lan connection will not work. I have used my old laptop to check and the system is fine. On booting up the eth0 failed to get an IP address and if you try to ping the gateway you get a "Network is unreachable" error. In the network Configuration screen the eth0 is Inactive when you try to activate it the attempt fails.
Any ideas?
Regards
Paul
chili555
2005-09-12, 01:16 PM CDT
Please let us see the output of cat /etc/sysconfig/network-scripts/ifcfg-eth0
PaulClarke
2005-09-12, 02:44 PM CDT
Hello,
Thank you for your response
The file reads:
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:40:d0:7b:25:2e
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
IPV6INIT=no
NETMASK=255-255-255-0
IPADDR=192-168-0-056
GATEWAY=192-168-0-1
end
I think the last three lines are my poor attempt at a set IP address which did not work.
Again thank you
Paul
PaulClarke
2005-09-12, 02:49 PM CDT
Hello,
I changed the "-" to "." and the eth0 will now activate but the ping still fails.
Paul
chili555
2005-09-12, 03:49 PM CDT
I changed the "-" to "."
Did you change all of the last three lines? Also, you needn't specify an IP address if you use DHCP. Please eliminate the line IPADDR.
Then, as su - (not just su), do service network restart. You should be able to then do ifconfig eth0 and see an IP address...and ping!
Let us know.
PaulClarke
2005-09-13, 06:46 AM CDT
Hello,
No that did not work. When I did a ifconfig eth0 I rxed the following
Link necap:ethernet HWaddr 00:40:D0: 7B: 25: 2E
inet6 addr: fe80::240d0ff:fe7b:252e/64 Scope:Link
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:5 base address:0xa000
I don'y know a lot about this but it looks like it sending a great deal?
Regards
Paul
chili555
2005-09-14, 05:55 AM CDT
Let's try /sbin/dhclient eth0. If it appears successful, do ifconfig eth0 again and see if you got an IP address.
TX packets:0 tells us it's not sending at all.
PaulClarke
2005-09-14, 03:19 PM CDT
Hello,
I tried a solution from another threat and by putting a comment in the grub loader file the system worked (last night).
Thank you for your response
Paul
simonsez
2005-09-14, 06:44 PM CDT
What thread is that? I'd like to see it.
PaulClarke
2005-09-15, 02:06 AM CDT
Hello,
I cannot see it now but here is the email I recieved from the most helpful fellow that got my laptop working
Start
Quote:
Originally Posted by PaulClarke
Hello sailor,
I am having the same problem with a laptop not getting an IP address I saw you "acpi=ht" solution. Could you please excuse my ignorance and plase tell me where this is to go. I have opened the grub.conf file, can see the kernel line butt do you just add it there or what
Regards
Paul
Here is my /boot/grub/grub.conf
Code:
title Fedora Core (2.6.12-1.1447_FC4) root (hd0,0) kernel /vmlinuz-2.6.12-1.1447_FC4 ro root=/dev/VolGroup00/LogVol00 acpi=ht psmouse.proto=exps initrd /initrd-2.6.12-1.1447_FC4.img
hope this helps...
___________________________
sailor
Have you tried Linux Google
Check out the Fedora Faq and Fedora News
Please read the Fedora Forum Guidelines
End
It is the acpi=ht that appears to have done the trick
Regards
Paul
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.