LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-09-2004, 01:51 PM   #1
Detriamus
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Rep: Reputation: 15
Connecting to the internet problem


Hey all, I have just recently installed slack and I'm trying to get it to connect to the internet. I have done netconfig (using static ip) and entered everything correctly and I have loaded the modules for the driver.

However, when I run mozilla, it gets stuck on resolving host i.e. there is a connection but it cant load the page.

In /sbin/ifconfig -a eth0 is present (if that helps at all)

Please help me with simple answers, as i am new to linux :S

Thanks a lot

Last edited by Detriamus; 08-09-2004 at 01:54 PM.
 
Old 08-09-2004, 02:26 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
how are you connecting? what does cat /etc/resolv.conf return?
 
Old 08-09-2004, 02:32 PM   #3
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Open a console and try running these:

$ ping -c3 www.yahoo.com
PING www.yahoo.akadns.net (216.109.118.65) 56(84) bytes of data.
64 bytes from p2.www.dcn.yahoo.com (216.109.118.65): icmp_seq=1 ttl=51 time=34.3 ms
64 bytes from p2.www.dcn.yahoo.com (216.109.118.65): icmp_seq=2 ttl=51 time=34.9 ms
64 bytes from p2.www.dcn.yahoo.com (216.109.118.65): icmp_seq=3 ttl=51 time=38.7 ms

$ ping -c3 216.109.118.65
PING 216.109.118.65 (216.109.118.65) 56(84) bytes of data.
64 bytes from 216.109.118.65: icmp_seq=1 ttl=51 time=37.3 ms
64 bytes from 216.109.118.65: icmp_seq=2 ttl=51 time=33.3 ms
64 bytes from 216.109.118.65: icmp_seq=3 ttl=51 time=38.0 ms


If you can ping the numeric ip but not www.yahoo.com you don't have your domain name server setup correctly. That's configured in /etc/resolv.conf and should look like this:

nameserver <ip address of your isp's name server>
nameserver <ip of your isp's second name server>
search <ispname.com or .net>


The ip addresses in the above are numeric and should be available from your isp.
 
Old 08-09-2004, 02:51 PM   #4
Detriamus
LQ Newbie
 
Registered: Jul 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Ahhh you're absoluety right, thanks so much killgoretrout.

Thanks also peacedawg lol

Laters
 
  


Reply



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
problem connecting to internet ruzle0 Linux - Networking 2 11-28-2005 03:48 PM
problem connecting to the internet mentallysilent Linux - Laptop and Netbook 0 01-20-2005 09:41 PM
Problem connecting to the internet sabaum Linux - Networking 10 05-16-2004 05:59 PM
Problem connecting to the internet akarmis Linux - Newbie 1 10-02-2003 03:21 PM
Problem connecting to the internet! Ghettozn Debian 4 07-24-2003 01:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 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
Open Source Consulting | Domain Registration