LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2005, 01:36 PM   #1
scc1068
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Slack 10.1 Can't Connect to Internet


Hi all. I'm a Linux newbie and I'm having a problem connecting to the Internet with a fresh install of Slack 10.1. I'm on a DSL connection, through a router handing out DHCP. On my slack box, I can pull an ip address, I can ping my xp machine, I can ping my router, I can ping google by ip but not by name. I've been reading for hours but can't seem to find a solution for this. I've seen suggestions for adding the DNS nameservers to my hosts file, but I'm using a router running DHCP so I don't see what that would do. If anyone has any suggestions, I'd greatly appreciate it.
 
Old 09-18-2005, 01:40 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Have you configured your dns servers?

If not then make sure you add your dns servers to /etc/resolv.conf in the format:
nameserver ip.of.primary.dns
nameserver ip.of.secondry.dns
 
Old 09-18-2005, 01:43 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
I also use a router and get my IP via DHCP on Slack 10.1 and found it was necessary to add a nameserver entry to /etc/resolv.conf. All you need to do is use the IP of your router, eg.

nameserver 10.0.0.1

At least try it .

Edit: damn it David!
 
Old 09-18-2005, 01:47 PM   #4
scc1068
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
That did it. Thank you very much. I'm still learning...
 
  


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
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM
Can't connect to internet with Slack 9.0 abiagi Linux - Networking 4 12-04-2003 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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