Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I have been trying to download files in linux using "wget" command. However, every time i try to download, the connection is timed out. As an example, while trying to download a page from wikipedia, following message appeared.
"#wget en.wikipedia.org/wiki/Base_station
--2013-01-23 14:19:47-- http://en.wikipedia.org/wiki/Base_station
Resolving en.wikipedia.org... 208.80.154.225, 2620:0:861:ed1a::1
Connecting to en.wikipedia.org|208.80.154.225|:80... failed: Connection timed out.
Connecting to en.wikipedia.org|2620:0:861:ed1a::1|:80... failed: Network is unreachable.
"
I don't understand what the problem is??
Last edited by linuxgeek8; 01-23-2013 at 03:02 AM.
Can you reach that site with Firefox or whatever web browser you are using?
Can you ping the sites you are trying to use wget to download from? For example, post the output of:
Hello Chris,
Thank you for you reply but i am not proxied.
Hello tommcd,
I am trying to download via a terminal. I tried to ping the site before as well and the ping request was successful. As you want me to provide you an output, I tried again and the result was like this:
# ping 208.80.154.225
PING 208.80.154.225 (208.80.154.225) 56(84) bytes of data.
64 bytes from 208.80.154.225: icmp_seq=1 ttl=48 time=276 ms
64 bytes from 208.80.154.225: icmp_seq=2 ttl=48 time=277 ms
64 bytes from 208.80.154.225: icmp_seq=3 ttl=48 time=280 ms
64 bytes from 208.80.154.225: icmp_seq=4 ttl=48 time=280 ms
64 bytes from 208.80.154.225: icmp_seq=5 ttl=48 time=287 ms
64 bytes from 208.80.154.225: icmp_seq=6 ttl=48 time=279 ms
64 bytes from 208.80.154.225: icmp_seq=7 ttl=48 time=278 ms
64 bytes from 208.80.154.225: icmp_seq=8 ttl=48 time=277 ms
64 bytes from 208.80.154.225: icmp_seq=9 ttl=48 time=276 ms
--- 208.80.154.225 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8002ms
rtt min/avg/max/mdev = 276.638/279.472/287.397/3.210 ms
I am trying to download via a terminal. I tried to ping the site before as well and the ping request was successful. As you want me to provide you an output, I tried again and the result was like this:
# ping 208.80.154.225
PING 208.80.154.225 (208.80.154.225) 56(84) bytes of data.
64 bytes from 208.80.154.225: icmp_seq=1 ttl=48 time=276 ms
64 bytes from 208.80.154.225: icmp_seq=2 ttl=48 time=277 ms
64 bytes from 208.80.154.225: icmp_seq=3 ttl=48 time=280 ms
64 bytes from 208.80.154.225: icmp_seq=4 ttl=48 time=280 ms
64 bytes from 208.80.154.225: icmp_seq=5 ttl=48 time=287 ms
64 bytes from 208.80.154.225: icmp_seq=6 ttl=48 time=279 ms
64 bytes from 208.80.154.225: icmp_seq=7 ttl=48 time=278 ms
64 bytes from 208.80.154.225: icmp_seq=8 ttl=48 time=277 ms
64 bytes from 208.80.154.225: icmp_seq=9 ttl=48 time=276 ms
--- 208.80.154.225 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8002ms
rtt min/avg/max/mdev = 276.638/279.472/287.397/3.210 ms
Your ping times are slower than mine, but this may be because your internet connection is slower than mine.
For comparison, here is my ping times for that IP address:
Code:
bash-4.2$ ping 208.80.154.225
PING 208.80.154.225 (208.80.154.225) 56(84) bytes of data.
64 bytes from 208.80.154.225: icmp_req=1 ttl=54 time=22.1 ms
64 bytes from 208.80.154.225: icmp_req=2 ttl=53 time=18.2 ms
64 bytes from 208.80.154.225: icmp_req=3 ttl=53 time=16.3 ms
...
^C
--- 208.80.154.225 ping statistics ---
21 packets transmitted, 21 received, 0% packet loss, time 20023ms
rtt min/avg/max/mdev = 15.339/23.851/117.661/21.362 ms
Try running the wget command with the -c option and with the IP address in the command like this:
Code:
wget -c 208.80.154.225
Here is what I get when I run the above command:
Code:
bash-4.2$ wget -c 208.80.154.225
--2013-01-23 06:33:39-- http://208.80.154.225/
Connecting to 208.80.154.225:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 875 [text/html]
Saving to: 'index.html'
100%[========================================================================================================>] 875 --.-K/s in 0s
2013-01-23 06:33:39 (56.1 MB/s) - 'index.html' saved [875/875]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.