Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-08-2004, 04:40 AM
|
#1
|
LQ Newbie
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18
Rep:
|
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.
|
|
|
07-08-2004, 06:19 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Rep: 
|
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?
|
|
|
07-08-2004, 07:13 AM
|
#3
|
Member
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430
Rep:
|
Have you filled DNS of ISP in resolv.conf
Is any name server running on your system
Any firewall?
|
|
|
07-08-2004, 08:05 AM
|
#4
|
Member
Registered: Jan 2004
Location: Utah
Posts: 54
Rep:
|
Quote:
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!!!
|
|
|
07-09-2004, 12:10 AM
|
#5
|
LQ Newbie
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
07-10-2004, 12:55 AM
|
#6
|
LQ Newbie
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
07-10-2004, 01:38 AM
|
#7
|
Member
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430
Rep:
|
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
|
|
|
07-12-2004, 11:07 PM
|
#8
|
LQ Newbie
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
07-14-2004, 03:14 AM
|
#9
|
LQ Newbie
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18
Original Poster
Rep:
|
is there any possibility of my lan card being faulty.
|
|
|
07-14-2004, 03:19 AM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
Ranjish
Can you pls post the output of
Check your /etc/hosts.allow and /etc/hosts.deny whether they are blocking telnetd.
|
|
|
07-14-2004, 07:39 AM
|
#11
|
Member
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327
Rep:
|
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
|
|
|
07-14-2004, 04:34 PM
|
#12
|
LQ Newbie
Registered: Jul 2004
Location: Texas
Distribution: suse9.3
Posts: 18
Rep:
|
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
|
|
|
07-14-2004, 11:27 PM
|
#13
|
LQ Newbie
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18
Original Poster
Rep:
|
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.
|
|
|
07-15-2004, 12:54 AM
|
#14
|
LQ Newbie
Registered: Jul 2004
Location: Texas
Distribution: suse9.3
Posts: 18
Rep:
|
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 02:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|