Click to See Complete Forum and Search --> : Can't connect to internet through ISP


fbdelivers
08-08-2001, 02:31 PM
This is one of those problems that makes me feel like I'm back using a M$ product..."it worked before, and now it doesn't!" My ISP for my DSL has given me the following:

Static IP, SubNetmask, 2 Nameservers, Default Gateway, and Domain (if even needed).

I used netcfg to get it running before and I'm wondering if it my naming convention that I'm using for my Hostname and Domain, cause whenever I try and activate my eth0 card it gives me an error regarding my host name. I'm also wondering if I'm just putting this info provided by my ISP in the wrong spot. If someone could help me out that would be of great help. If more info is needed let me know and I'll try and fill in any gapping holes that I've left.

Also, don't be afraid to "dummy" down the instructions. I'm new to this world of Linux. One last thing, I'm using Red Hat 7.1

yard21
08-08-2001, 02:52 PM
Could you post the error message? I never set up DSL, but may be it's a general problem.

fbdelivers
08-08-2001, 09:33 PM
I'm not really getting an error per say. What is happening is that after I set up netcfg and save and exit out of it. What happens is that when I ping say yahoo.com, it tells me that the host is not reachable. The other thing that is weird is that when I type the command ifconfig it shows my IP address as an address that isn't the one that I set as the static IP.

bdl
08-08-2001, 09:43 PM
Well there ya go. If doing an 'ifconfig eth0' shows a different IP addy then it's supposed to, I'd say you've found the problem. What I'd do is take down eth0, reconfigure by hand and see what happens. Try this:

prompt# ifconfig eth0 down
prompt# ifconfig eth0 $STATICIP netmask $NETMASK up

prompt# route add default gw $GATEWAY eth0

prompt# ifconfig eth0

prompt# ping yahoo.com


Give it a shot, can't hurt. ;)

fbdelivers
08-08-2001, 09:52 PM
I'll give that a try, (anyone that quotes Dennis Miller can't be that far off base). This is one of the errors that I get when saving my netcfg...SIOCADDRT: Network is unreachable. I'll let you know if it works or not

fbdelivers
08-08-2001, 11:02 PM
That seemed to help out a lot. I'm in mozzilla now typing this reply. I did what you said and everything seems to be up and running. I also think that maybe I had too much info in netcfg...I'm used to being on a domain so for some reason I wanted to includeone. So I cleared that out and it seems to work. Thanks again for the quick reply.

bdl
08-09-2001, 01:09 AM
Good deal. ;)