Cannot access Internet (but server requests are being responded to.)
I operate a JSP server on Slackware for a charity. I am not a huge linux head, nor a network guru, so any help is hugely appreciated by myself and our clients.
I had a hard drive crash, so I recently reinstalled all software/data as necessary. * I cannot seem to get outside internet access from the server console (if i type lynx i get "unable to locate remote host" or whatever. * if i ping anything i get no response Now what is confusing me: * If I ping the server from another machine I get a response * I am able to load JSP pages remotely (even across Web, not just locally on the network) * Certain server functions that depend on accessing a website are reporting error, which agrees with problem above: the server itself does not seem to be able to "get out" So, the problem is that: I can get to the server from outside, but can't get outside from the server. Any suggestions are HUGELY APPRECIATED. I have run this same install procedure countless times over the years and never had this happen before. Thanks !!!!! |
Quote:
3 things 1 if your machine has 2 NICs or even 2 NICs at some stage the gateway ethernet device might be wrong. 2 If your in Australia or your provider uses Heartheat this was common to me. Heartbeat assignes an IP and all DNS however if you do not login or login fails you cant use anything. 3 Gateway IP address is probably wrong |
Quote:
3 things 1 if your machine has 2 NICs or even 2 NICs at some stage the gateway ethernet device might be wrong. 2 If your in Australia or your provider uses Heartheat this was common to me. Heartbeat assignes an IP and all DNS however if you do not login or login fails you cant use anything. 3 Gateway IP address is probably wrong |
thanks - that makes sense. The motherboard actually has two LAN ports, neither of which originally worked for me, so I put in a card.
Could you suggest how to get the Gateway address configured properly ? I am using a linksys router and a cable modem, but have no network knowledge on linux. If you can help, that would be really great. thanks ! |
Sounds very much like you have bad DNS info. If you couldn't get out and traffic couldn't come in, that sounds more like a gateway problem, but if remote machines can reach in to you, the gateway needs to be correct.
You say, "* if i ping anything i get no response" Are you pinging by name, or IP address? If it is just ping google.com that fails, then that is DNS. The DNS file is /etc/resolv.conf. Take a look in there, and see if you have something like Code:
nameserver 11.22.33.44 Peace, JimBass |
thanks
thanks Jim Bass - i updated the DNS entries in that file.
works like a charm ! |
No problem, you're very welcome!
Peace, JimBass |
All times are GMT -5. The time now is 05:01 PM. |