Internet connection problem, able to ping but unable to get web page in browser
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.
Internet connection problem, able to ping but unable to get web page in browser
hi,
i have linux box running Rh 9 recently added second lan card on pci(eth1) with static ip provided by ISP with isps dns address. First one is used on private lan for local mail.
I am able to ping outside address but not able to access web page on the browser i have uninstlled the browser but it won't work. ifconfig shows both eth0-1.
Last edited by rajnishmishra; 07-14-2004 at 11:18 PM.
I would say this is probably a DNS-problem.
Try it: In the browser, type in an IP-number:
216.109.117.109 should take you to Yahoo's home page.
If it does, you know you have a DNS-problem.
Unfortunately, I'm not sitting at a Linux-box so I can't tell you how to check it.
But surely someone helse here can?
Originally posted by zulfilee Have you filled DNS of ISP in resolv.conf
Is any name server running on your system
Any firewall?
i just went through this with mandrake 10....i could go to ip addresses but not websites, i logged in as root, removed my network connections and readded them, then manually edited the resolv.conf putting in the two DNS servers my ISP gave me and BINGO, now it works!!!
friends, i have dns entries in the /etc/resolv.conf which i added using redhat gui tool. There is no firewall or dns server running on the server.
The same configuration is working perfect on the windows server. I have copied the configuration for second card form there only.
now, i will try again, first deleting all ip and dns entries and swapping previous ips of eth1 and eth0.
friends, i have swapped cable and ip addresses now internet is working but i am unable to telnet the server. But i am able to ping the server from another client in the lan.
first card is onboard, while second is a realtek 8039.
any ideas what to do next.
First type
ntsysv
on a console and see if telnet is enabled.
If not enable it and go for a
service xinetd restart
Also try this [if the above doent work]
service iptables stop
service ipchains stop
And try telnetting from the clients
If the latter is the problem you will have to reconfigure the ifrewall rules which you can do using
redhat-config-securitylevel
This is a graphical tool for default firewall configuration
friends,i don't have any iptables service running. Telnet was already running on the first on board interface, second one is creating problem.
i have checked running httpd service it also doesn't give any response.
any solutions.
the best thing to do to check if telnetd is running or not is to do:
nmap localhost on a shell.
this will list all the open ports on ur machine.
if port 23 is not open...this means that telnetd is not running. try to start it from /etc/init.d/telnetd start
after doing this, again run the nmap command. if again you do not see port 23 open, then some kind of firewall is blocking the port.
I have never used a dual card system but maybe you should check to see on which card telnetd runs is sessions(is this a stupid remark????)
also may i suggest using ssh and sshd instead of telnetd. ssh encrypts all ur connections in contrast to telnet which sends everything u type in plin text.
red hat should have a ssh server. try issuing the command: /etc/init.d/sshd start and then issue the nmap command again. if port 22 is open then you have a ssh server running on your machine. all you need to do now is download a ssh client(putty is realy good) and connect to your server. and dont worry, ssh is not slower than telnet.
best of luck
I spent all day yesterday fighting a similar problem, I could ping anything -FQDN or IP- but browsers and ftp apps wouldnt connect. Turned out the on-board nic failed. Stick another nic in and try again.
I noticed your ifconfig is showing rx/tx errors, mine showed tx errors on the failed NIC.
RA
hello friends, thanks for your participation,
we solved the problem, our network card is faulty. I changed the card and it worked.
thanks everybody.
But is there any way to detect first time whether lan card is faulty. Is there might be chances that lan card is perfect
but driver has problem.
The only sure way I know of is the substitution route. I have diagnostics for windows or dos but nothing for Linux. Perhaps someone will direct us to something????
ra
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.