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. |
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? |
Have you filled DNS of ISP in resolv.conf
Is any name server running on your system Any firewall? |
Quote:
|
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. thanks for your suggestions. |
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. thanks. |
May be due to a lot of reasons.
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 Cheers Z |
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. thanks. |
is there any possibility of my lan card being faulty.
|
Ranjish
Can you pls post the output of Code:
iptables -nvL |
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. thanks. |
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 |
All times are GMT -5. The time now is 10:49 PM. |