Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello to everyone. I guess you all know I am here because I need help. Here is the lowdown. I have a DSL connection to the internet. I share the internet to two computers using a Linksys router. Pc number one is running Windows 98SE.
Pc number two is a dual boot box. It runs Windows 98SE and Red Hat 8.0.
Here is my problem, when I boot into Linux, I am able to ping any web site with no problems, however I cannot surf the internet. When I try to surf, my requests just time out after several minutes. Using "lokkit" I can see that the firewall is set to "high". When I try to change it to "medium", the iptables file does not get saved with my changes. I have even tried shutting down the firewall for testing purposes. I can not surf the internet even with the firewall down. I am able to receive my mail using Mozilla.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
Well, I wouldn't run a firewall on it while you test this. Your Linksys router should have a firewall on it, so I don't see why you would need one on the Linux box.
service iptables stop
should turn it off completely I think.
You say you can ping websites.... do you mean the hostname or the IP address?
Sorry, I should have written down the correct sintax. However, I did shutdown the service. I have done it both ways, by using the "Service" button and selecting iptables and pressing the "stop" button as well as by going to the "rc.5" subdirectory and issuing the stop command. I am currently on the dual boot box under Windows.
I had this same problem, in my case it was that the gateway wasn't set. Type "netconfig" and then just go through the screens and make sure to set the default gateway to your routers IP, also it would be a good idea to have iptables turned off while you run netconfig and test is.
Thanks for your suggestion. I tried it however it did not solve my problem. The request comes back after several minutes with the
"The document contains no data" response.
When I went through the "netconfig", I tried both giving it a static IP address and switching to dhcp. While I ran the tests, the firewall was down. I went to "/etc/rc.d/rc5.d" and executed:
"./Sxxiptables stop" where xx is the number given to the link file.
I ran all of the different versions of "chkconfig" you suggested. None of them returned any value. I did reboot after that. I then tried to access the web using mozilla, no go. I am able to use "gftp" to download/upload files to the web. I will try to down load "netscape" and try it.
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
yes... they are both text based HTML browsers.... You can't do a whole lot with them other than troubleshoot because of all the complicated websites people put up today, but they are very good for troubleshooting.
Perfect for testing and the site was made to look readable under lynx as well as internet exploder or netscrape.
A couple other things...
I think you need the NAT part of your firewall on to surf so you may not want to turn it off.
If you can ping an internet name like www.3com.com but a web browser doesn't work then that usually ends up being someone put proxy settings in the web browser which need to be taken out.
You can use the text ftp client instead of lynx to troubleshoot also, try "ftp ftp.cdrom.com" and see if it works.
I installed lynx off the Red Hat installation cd. I then executed the following:
lynx www.google.com
Looking up www.google.com
Making HTTP connection to www.google.com
Seding HTTP request
HTTP request sent: waiting for response
Alert: Unexpected network read error: connection aborted
Cant access www.google.com'
Alert: Unable to access document.
I also tried to do a command line ftp to the ftp.cdrom.com.
I connected with no problems. I then checked the proxie section of mozilla. It is set to connect directly to the internet.
This is progress, you can ftp but not http that tells something.
You're IP addresses and related settings like DNS and gateway are probably all set fine. You could even see if the other machine can also FTP, you can type ftp.cdrom.com in a web browser and see if that works.
I've never had a problem like that but my guess would be that you have some rules in your firewall that block http (www sites) from working properly. The fix would be to go through the settings in your firewall, some RH or "lokkit" guru will have to help with suggestions for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.