RH 9 Internet Connx Problem
I have just installed Red Hat 9 (Publishers Edition). I now have a dual boot win98/linux box. I also have a home network with a LinkSys router and one other win98 box. The router is connected to a cable modem. My ISP is adelphia cable. The only issue I'm having with Linux is the fact that I can not load web pages. Everything else is very cool so far!
Using the ping command, when I've booted into linux, I can ping my router, and I can ping my other win98 machine. With linux I can also load the router admin page. Using my win98 machine I can ping my linux box. So, my home network is working. When I ping anything outside of my home network it times out. I've tried cnn dot com and yahoo dot com. Should I have tried to ping IP's instead? Would that make a difference? I've googled to try and find things that may be wrong. I looked at my resolv.conf file and the primary and secondary DNS IP's are correct. In my host.conf file I have order bind, host. When I type in ifconfig (inside the /sbin/ or outside of it) I get a "bad command or file not found" message. Same thing with arp. I've even tried ifconfig eth0 up and ifconfig eth0 down. I get the same error message. This morning I realized this may be because I was not logged in as root.?.?. When linux starts I have to enter a username and password. The password is not the same as my root password. I'm guessing, if I use my root password, I will be into linux as root?.?.? Does anyone on the list have any other ideas or suggestions? TIA, Roger |
look into firewall settings I had that problem for a bit to and my firewall settings that are built into linux were set to high so unless it had a cert it wouldn't load
|
Thank you for your reply.
Should I use the Kickstart window to adjust the firewall setting? Thanks, Roger |
It sounds like your you possibly don't have a default route (or the correct route) - can you post the output from:
/sbin/route -n What is the address of your router? To discount DNS problems you may want to try browsing by IP as well - can you get either of: http://www.linuxquestions.org http://64.179.4.149 |
I went into kickstart and changed the firewall settings.
I can now load web pages if type in the direct IP to the site. Of course none of the links work, they are words, not IP's.... |
I'm posting this from my linux box!!!! :-)
Believe me though, it's a pain trying to use IP numbers instead of names.... Here's what I get from route -n Code:
Kernel IP routing table Code:
[root@localhost root]# ifconfig -a My router is 192.168.1.1 My computer is 192.168.1.100 I'm still unable to load pages by name. I have to do it by IP address. Any other suggestions or can you tell anything from the above commands? Thanks, Roger |
If you can only retreive webpages by IP and not by name you have a DNS problem, as in you do not have one.
Usually you want to use your ISPs Domain Name Servers. I don't know the Ret Hat specific method, but normally this information goes into "/etc/resolv.conf" "man resolv.conf" should give you the idea. Mine has a "domain" entry and two "nameserver" entries. Good Luck |
Here's my resolv.conf file
SEARCH clvdoh.adelphia.net PRIMARY 68.168.204.2 SECONDARY 68.168.204.5 I can't recall the IP numbers exactly, but that is what the file looks like. Thanks, Roger |
Here's the results when I run route -n
Code:
Kernel IP routing table When I look at my router's set up, via the web interface, the 192.168.1.0 is the starting number in the set of IP's that the router assigns. Should I change this on my router? Should I erase the 169 IP number? Thanks, Roger |
I have solved all of my linux/internet problems.
I reinstalled Red Hat 9 publishers edition. This time I chose "desktop" instead of "server" for my install type. Works like a charm now!!!! Thanks for all of the blood, sweat, and tears! Roger |
All times are GMT -5. The time now is 06:10 AM. |