LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-13-2011, 04:03 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
wget error with resolve host name


I have installed wget 1.12 But it cant resolve host names, I have openssl installed but it sayes these are optional, There must be something I need any advice thks
 
Old 03-13-2011, 04:06 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
So wget is the only application on the system unable to resolve hostnames? Are you saying you can ping a hostname, but not download something from it with wget?
 
Old 03-13-2011, 04:12 PM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
That was quick i,m building blfs I have not tried host names at all yet also this is the 1st time I have used wget, i,m working my way through book Xorg suggests using wget so that is why I installed it. Just tried ping google.com unkown host
 
Old 03-13-2011, 04:14 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
What DNS servers are you using? Have you verified the contents of /etc/resolv.conf are correct?
 
Old 03-13-2011, 04:26 PM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Okn thats the problem no resolv.conf, where have i missed that from
 
Old 03-13-2011, 04:33 PM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Quote:
Originally Posted by spiky0011 View Post
Okn thats the problem no resolv.conf, where have i missed that from
7.13. Configuring the network Script (7.13.3)
 
Old 03-13-2011, 04:49 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Ok do I have to do all that as I use a lan from another machine I think thats why I did'nt do that thinking it was for Modem use, or can I just create the resolv.conf file and add nameserver 10.42.43.1. I have checked my other laptop and thats what they have, if i need to go back then so be it.
 
Old 03-13-2011, 05:12 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Ok I created the file as I said all works thks
 
  


Reply

Tags
lfs, network, wget



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
'sudo -i' and resolve host brownflamigo1 Linux - General 11 03-13-2011 08:43 AM
host issue to resolve itself karlochacon Linux - Newbie 3 02-17-2011 12:03 PM
Regarding error unable to resolve host address while using wget jayamurugan Linux - Newbie 2 01-15-2009 08:22 AM
Unable to resolve host name MistaT Linux - Server 5 07-16-2007 04:22 PM
DHCP not able to resolve host rmcastil Linux - Newbie 8 08-10-2005 06:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:46 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