LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2002, 03:57 PM   #1
chaoticanuck
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Rep: Reputation: 0
No Internet Connection


Hello,

Problem: cannot connect to any websites

Hardware: IBM 300 PL running Red Hat 7.3
Connected directly to 3Com 810 Remote ADSL Router/Modem

The status light on the modem is green and the light on my NIC is green. So there is a connection from the PC to the modem.

Any suggestions on what to look for to troubleshoot?

Thanks,
C
 
Old 12-02-2002, 04:09 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Can you ping by IP ? If yes then,

Can you ping by name ? If no, then

Check your /etc/resolv.conf file and see if it lists your DNS entries from your ISP. If yes, then

type ifconfig at the command prompt and post it here ?

Also to add, what type of NIC are you using ?
 
Old 12-02-2002, 04:10 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Has this machine ever connected with this configuration or is this the first time?

Have you checked that you are running DHCP (and that your ISP supports it, etc)?

What checks have you performed and what did you get back from them?
 
Old 12-03-2002, 11:54 AM   #4
chaoticanuck
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
trickykid --

Thanks for your time. Just so you know what you are dealing with ... I am a novice with Linux. I can move around with KDE, but am hesitant to make changes due to not knowing the outcome. That doesnt mean I havent looked around and done some minor changes like the "ipconfig". So, please read on and your help would be appreciated.

Q: "Can you ping by IP ? If yes then,"
A: If I ping the IP address of the router I get:

64 bytes from 207.194.###.####(Router IP Address): icmp_seq #(this number incremts by one with each new line) ttl=255 time=0.### (number changes) ms

Q: "Can you ping by name ? If no, then"
A: No, I get a "host not found"

Q: "Check your /etc/resolv.conf file and see if it lists your DNS entries from your ISP"
A: when I open the resolv.conf file I see:

nameserver: 207.34.###.## (IP Address)
search localdomain

Q: "Also to add, what type of NIC are you using"
A: The computer has onboad ethernet. When I use the "Hardware Browser", I see under "Network":

82557/8/9 (Ethernet Pro 100)
Manufacture: Intel Corp
Driver: eepro100

What is the first thing I need to do/change?

Thanks,
C.
 
Old 12-03-2002, 02:42 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Ok, you can ping your router, can you ping by IP address beyond your router.. ?? Try maybe your DNS servers ?
If you can't get beyond your router, most likely your machine is not picking up a gateway or the such.. are you using DHCP or assigning a static IP to your machine ?

What do you get with the route command ?
 
Old 12-03-2002, 03:09 PM   #6
chaoticanuck
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
trickykid,

I cant ping outside the router. When I ping NS2.AITCOM.NET (this is the hosting company that hosts my domains) I get: unknown host NS2.AITCOM.NET.

When I ping 208.234.1.36 (AITCOM) I get the same kind of response as mentioned in my last post. - By the way, how do you stop it from pinging? It just keeps going and going, I have to shut down and restart the computer to stop it.

I have Static IP's (six of them). The ADSL router has four ports. One port for a Windows network, one port goes to a Mac, one port is empty, and the final port is for the Linux box.

I have not done a "route" command ... please advise.

Thanks,
C.
 
Old 12-03-2002, 09:15 PM   #7
jhorvath
Member
 
Registered: Sep 2002
Location: OH, USA
Distribution: 2.6.16-1.2096_FC5 #1
Posts: 245

Rep: Reputation: 30
ping ping ping ping ping pong

ping -c 4 208.234.1.36

will ping 4 times...." -c <number of times>"

also for future reference...if you find you need to quit a program that 'stopped responding' or went apeshit or whatever...try switching to another console and killall -KILL <process name> (man kill & man killall) or try `CTRL-C`
 
Old 12-03-2002, 09:59 PM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Please post
/sbin/ifconfig -a
and
/bin/netstat -rn
also what is the netmask you use and gateway (give a fake IP xxx.xxx.xxx.xxx, and gateway xxx.xxx.xxx.1)
 
Old 12-04-2002, 11:02 AM   #9
chaoticanuck
LQ Newbie
 
Registered: Dec 2002
Posts: 7

Original Poster
Rep: Reputation: 0
No Internet Connection - SOLVED

Thanks for the guidence. It had to do with the right IP and Subnet mask. I will be back ... cause I dont know a thing about this OS.
 
  


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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 05:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 12:48 PM
Messed up my internet settings (NO internet connection) :( Almazick Linux - Networking 2 09-08-2004 01:05 PM
My internet apps cannot detect my internet connection esthon_wood Mandriva 5 08-30-2004 09:38 PM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 08:02 PM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration