LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-08-2004, 04:40 AM   #1
rajnishmishra
LQ Newbie
 
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18

Rep: Reputation: 1
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.
 
Old 07-08-2004, 06:19 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,293

Rep: Reputation: 123Reputation: 123
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?
 
Old 07-08-2004, 07:13 AM   #3
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Have you filled DNS of ISP in resolv.conf

Is any name server running on your system

Any firewall?
 
Old 07-08-2004, 08:05 AM   #4
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Rep: Reputation: 15
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!!!
 
Old 07-09-2004, 12:10 AM   #5
rajnishmishra
LQ Newbie
 
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18

Original Poster
Rep: Reputation: 1
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.
 
Old 07-10-2004, 12:55 AM   #6
rajnishmishra
LQ Newbie
 
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18

Original Poster
Rep: Reputation: 1
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.
 
Old 07-10-2004, 01:38 AM   #7
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
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
 
Old 07-12-2004, 11:07 PM   #8
rajnishmishra
LQ Newbie
 
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18

Original Poster
Rep: Reputation: 1
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.
 
Old 07-14-2004, 03:14 AM   #9
rajnishmishra
LQ Newbie
 
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18

Original Poster
Rep: Reputation: 1
is there any possibility of my lan card being faulty.
 
Old 07-14-2004, 03:19 AM   #10
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 47
Ranjish

Can you pls post the output of

Code:
iptables -nvL
Check your /etc/hosts.allow and /etc/hosts.deny whether they are blocking telnetd.
 
Old 07-14-2004, 07:39 AM   #11
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
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
 
Old 07-14-2004, 04:34 PM   #12
ratcheson
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: suse9.3
Posts: 18

Rep: Reputation: 0
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
 
Old 07-14-2004, 11:27 PM   #13
rajnishmishra
LQ Newbie
 
Registered: Jul 2004
Location: rishikesh(india)
Distribution: red hat
Posts: 18

Original Poster
Rep: Reputation: 1
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.
 
Old 07-15-2004, 12:54 AM   #14
ratcheson
LQ Newbie
 
Registered: Jul 2004
Location: Texas
Distribution: suse9.3
Posts: 18

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 12:41 AM
ping gets dns but not web browser darkfire55 Linux - Wireless Networking 35 05-27-2005 08:03 PM
PROBLEM WITH ACCESSING WEB PAGE FROM INTERNET EXPLORER ON A XP MACHINE TO SuSE 9.0 Adrian13 Linux - Networking 2 10-19-2004 11:17 PM
web server, unable to view test page gigya Linux - Software 1 01-30-2004 10:34 AM
Can't access user account web page in browser - ~username DogTags Mandriva 6 01-29-2004 08:29 AM


All times are GMT -5. The time now is 01:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration