Click to See Complete Forum and Search --> : Internet connection died ... still works from XP .. HELP!!!


dhurley
09-04-2002, 06:48 PM
I just installed Red Hat 7.3. Had the Red Hat Bible in my lap, blindly following the directions. Got the internet connection working <fast> (dsl, eth0 is local network, eth1 is to dsl modem). Then I started following the steps to set up ip routing to share the connection. Now it won't even connect to the internet. I started backing out all the changes I had made, but it still doesn't work. Anybody have a clue to share, please?

Thanks!

afterthefall
09-05-2002, 01:13 AM
The first thing to do is to check symptoms - as root, type ifconfig to get the status of your network connections. If your external connection doesn't show a legitimate IP address (0.x.x.x, 10.x.x.x, 126.x.x.x, 169.x.x.x, 255.x.x.x are all reserved - I think that list is inclusive) then you are having an error with connecting to your DNS server - check dhcp and inetd settings.

Hope this helps.

:D Brian

cowanrl
09-05-2002, 07:00 AM
Make sure you didn't change the default gateway for the Linux box from your DSL connection to the internal LAN. Take a look at your route table by executing the route -n command. You should see something like this:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.1.1.39 0.0.0.0 UG 0 0 0 eth0

The entry with 0.0.0.0 as the Destination is the default route. For yours, the Gateway address should be something relating to your DSL connection.

I've seen instances where you end up with 2 0.0.0.0 Destinations. The one listed first would take precedence.

If you're not sure about the contents of your route table, just post the output of route -n here.

Cadillac84
09-06-2002, 01:00 AM
Similar problem where eth_ would just "die" turned out to be BIOS setting for sleep. Be sure power features in BIOS are turned off.

This courtesy of someone else whose name I can't recall.

Just a thought.

C

dhurley
09-06-2002, 04:01 AM
Thanks, Caddy ... that seemed to be the answer. It was driving me nuts! Strange that it didn't bother me under XP, but then one can never tell just what exactly M$ is doing in your system anyway.

Thanks everyone for the suggestions!