Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-09-2004, 01:51 PM   #1
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
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
Senior Member
Registered: Oct 2003
Posts: 2,540

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

$ ping -c3
PING ( 56(84) bytes of data.
64 bytes from ( icmp_seq=1 ttl=51 time=34.3 ms
64 bytes from ( icmp_seq=2 ttl=51 time=34.9 ms
64 bytes from ( icmp_seq=3 ttl=51 time=38.7 ms

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

If you can ping the numeric ip but not 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 < 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
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



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
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

All times are GMT -5. The time now is 08:43 PM.

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