LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,687
Blog Entries: 1

Rep: Reputation: 243Reputation: 243Reputation: 243
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
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,687
Blog Entries: 1

Original Poster
Rep: Reputation: 243Reputation: 243Reputation: 243
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
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,687
Blog Entries: 1

Original Poster
Rep: Reputation: 243Reputation: 243Reputation: 243
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: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,687
Blog Entries: 1

Original Poster
Rep: Reputation: 243Reputation: 243Reputation: 243
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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,687
Blog Entries: 1

Original Poster
Rep: Reputation: 243Reputation: 243Reputation: 243
Ok I created the file as I said all works thks
 
  


Reply

Tags
lfs, network, wget


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


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

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