Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-12-2009
Member
 
Join Date: Jul 2009
Posts: 188
Problem with wget

Hello,
I developed a script that runs on a small box (an HD movie player, like a NAS). In this script, I use the command "wget" to download files. Everything works fine when I enter a local IP on my network, but when I use a domain name that will tap the NET, then wget can not find the destination. I'm no computer novice, but in Linux, just. and there it is a distribution board (using Busybox) functionality rather limited. Does someone could tell me where to start looking to solve this problem? Thank in advance.
Note- no worries config network, all my PCs arrive to access the net via my router.
Reply With Quote
  #2  
Old 12-12-2009
Member
 
Join Date: Jan 2006
Posts: 3,782
Re: Problem with wget

Hello
Quote:
Everything works fine when I enter a local IP on my network, but when I use a domain name that will tap the NET, then wget can not find the destination.
I think you should inform your dns? And then see if it works fluently.
Is that if you type the ip site it works better?
Reply With Quote
  #3  
Old 12-12-2009
Member
 
Join Date: Jul 2009
Posts: 188
Re: Problem with wget

Hello
Quote:
Is that if you type the ip site it works better?
Yes, the site IP, it works better.
Quote:
I think you should inform your dns? And then see if it works fluently.
How do I pass the information on the DNS? Sorry I have no idea about this.
Thank you!
Reply With Quote
  #4  
Old 12-12-2009
Member
 
Join Date: Jul 2009
Posts: 188
Re: Problem with wget

Hi
Okay, I added the DNS IP mentioned in my Windows network configuration in the file / usr / local / etc / resolv.conf. And now it is working good. I have another question in mind, Is it possible to automatically obtain the DNS address?
In the Windows config is checked "obtain IP automatically" and "obtain DNS address automatically", is there any Linux equivalent?
Thank you!
Reply With Quote
  #5  
Old 12-12-2009
Member
 
Join Date: Jan 2006
Posts: 3,782
Re: Problem with wget

Hi
Quote:
In the Windows config is checked "obtain IP automatically" and "obtain DNS address automatically", is there any Linux equivalent?
I know I'm always like that with the addresses given by my ISP, but if you find the answer then please post back.
Reply With Quote
  #6  
Old 12-12-2009
Member
 
Join Date: Jan 2006
Posts: 4,215
Re: Problem with wget

Hi
Your Windows obtains the address automatically by dhcp from your router which in turn gets them automatically from your ISP. Linux can use dhclient to do likewise, configuring it to automatically start will depend on your distribution. The most user-friendly do this automatically by default, but if this is not your case it would be good to ask in the appropriate forum. A static configuration is still rather more appropriate if your computer is not supposed to move in the future.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with wget"
Thread Thread Starter Forum Replies Last Post
How to quickly copy file between NAS storage via Wget GuruT Windows Software 5 27-03-2012 02:13 PM
Blackberry Tour Youtube problem/facebook and phone freezing problem Lohitaksha Portable Devices 6 27-07-2010 12:10 AM
Toshiba satellite L305D-S5893 shutdown problem or bios update problem Colter Portable Devices 4 10-04-2010 04:19 PM
Need GNU Wget for Windows CALANTHIA Windows Software 3 23-09-2009 04:50 PM
Need to know a wget command for php Nihir Software Development 3 28-05-2009 05:00 PM


All times are GMT +5.5. The time now is 10:53 PM.