Computing.Net > Forums > Linux > Internet connection error

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Internet connection error

Reply to Message Icon

Name: jamesa3890
Date: January 27, 2006 at 15:51:26 Pacific
OS: Fedora Core 4
CPU/Ram: xx
Comment:

Hi,

I'm fairly new to linux, but have been running FC4 successfully for a while. I have been running updates using yum update, and suddenly have found my internet connection has stopped working. The ADSL modem is still showing a green light for a good ethernet connection.

On booting it returns ok for the "Determining IP information for eth0 ...", but fails on ntpd: synchronising with time server"

Can anyone help




Sponsored Link
Ads by Google

Response Number 1
Name: kk7av
Date: January 28, 2006 at 07:00:01 Pacific
Reply:

Does your machine indeed obtain a DHCP lease? If so, are you sure that the time server to which you are trying to synchronize, is available? Can you resolve any domain names? Can you ping any external addresses? In short, does your Internet connection work otherwise? If not, have you recently installed a firewall or made any changes to an existing firewall configuration?


k_Rob - kk7av


0

Response Number 2
Name: jamesa3890
Date: January 28, 2006 at 14:18:04 Pacific
Reply:

I am not 100% sure how to check for a DHCP lease, but in the configure network settings for the ethernet connection, the DHCP settings is greyed out and I can only manually select a static IP address.

It's not only the time server I cannot get to, I can't get any Internet connection.

I haven't changed or installed a firewall, but I have just done a yum update and haven't been able to get back on the net since. I am doing this from another machine



0

Response Number 3
Name: kk7av
Date: January 28, 2006 at 20:27:06 Pacific
Reply:

Apparently you are using some front end to configure your network settings. You might want to manually edit the configuration file if the gui won't give you the options you need. Anyway, open a shell and type, "ifconfig" and it will list all the active interfaces along with their settings. Make sure that the interface in question, has a valid IP address for your network. If it doesn't, then you probably just need to reconfigure your network interface settings. If it does, then move on to the other steps I suggested. Firewall, perhaps?


k_Rob - kk7av


0

Response Number 4
Name: 3Dave
Date: January 30, 2006 at 05:59:22 Pacific
Reply:

Have you tried resetting the ADSL router?

Check that your cables are still plugged in OK.

What are the outputs of "/sbin/ifconfig", "/sbin/route", "/usr/sbin/iptables --list" and "cat /etc/resolv.conf"? (NB You have to be root to run the iptables command)


0

Response Number 5
Name: jamesa3890
Date: February 1, 2006 at 19:19:39 Pacific
Reply:

Hi,

I've booted the machine using a knoppix CD and it connects fine, so all the hardware cables etc must be ok.

I'm not sure how to check the firewall...

Outputs..
/sbin/ifconfig

eth0 Link encap:Ethernet HWaddr 00:10:A4:8E:DC:E3
inet addr:220.238.5.182 Bcast:220.238.5.182 Mask:255.255.255.255
inet6 addr: fe80::210:a4ff:fe8e:dce3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1780 (1.7 KiB) TX bytes:3429 (3.3 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2139 errors:0 dropped:0 overruns:0 frame:0
TX packets:2139 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2593664 (2.4 MiB) TX bytes:2593664 (2.4 MiB)


/sbin/route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0


cat /etc/resolv.conf

; generated by /sbin/dhclient-script
nameserver 198.142.0.51
nameserver 211.29.132.12

There doesn't seem to be a /usr/sbin/iptables file....


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: February 2, 2006 at 00:55:04 Pacific
Reply:

OK from the above I can see that it probably doesn't work. The output of ifconfig says that your IP is 220.238.5.182 with a netmask of 255.255.255.255 ie just one IP in the subnet. The output of route says that your default gateway is 169.254.0.0 which is not in your subnet. You may also want to check the IPs for your DNS servers which are listed in resolv.conf. A simple fix may be to assign a DHCP lease to your nic (eth0). Try:
# ifconfig eth0 down
# dhclient eth0
or
# dhcpcd eth0
If that fixes it, post up the output from those commands again.


0

Response Number 7
Name: jamesa3890
Date: February 2, 2006 at 23:11:33 Pacific
Reply:

I ran
ifconfig eth0 down
dhclient etho

with no improvement.

dhcpcd eth0 returns an error (command not found)

unfortunately I'm going to have to leave it here for a while, as I'm going back to work offshore for the next few weeks... Thanks for your help


Cheers

Jim


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Internet connection error

Internet Connection? www.computing.net/answers/linux/internet-connection/4.html

configuring internet connection www.computing.net/answers/linux/configuring-internet-connection/24392.html

Sharing internet connection thu vmware www.computing.net/answers/linux/sharing-internet-connection-thu-vmware/8301.html