Find the answer to your Linux question:
Results 1 to 2 of 2
I'm trying to download android sources from the following link ,when I try to connect internet from the terminal using the Curl command it is not able to connect to ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    1

    To connect to the internet from terminal to download the packages

    I'm trying to download android sources from the following link ,when I try to connect internet from the terminal using the Curl command it is not able to connect to the internet.

    Link : http://android.git.kernel.org/repo >~/bin/repo

    Command used : curl -a -v --max-time 50 http://android.git.kernel.org/repo >~/bin/repo

    curl -v --max-time 50 http://android.git.kernel.org/repo >~/bin/repo


    Error displayed :

    * About to connect() to android.git.kernel.org port 80 (#0)
    * Trying 130.239.17.12... Timeout
    * Trying 149.20.20.141... Timeout
    * Trying 199.6.1.176... Timeout
    * Trying 204.152.191.45... Timeout
    * connect() timed out!
    * Closing connection #0

    curl: (2 connect() timed out!





    * About to connect() to android.git.kernel.org port 80 (#0)
    * Trying 149.20.20.141... Timeout
    * Trying 130.239.17.12... Timeout
    * Trying 199.6.1.176... Timeout
    * Trying 204.152.191.45... Timeout
    * couldn't connect to host
    * Closing connection #0

    curl: (7) couldn't connect to host

  2. #2
    Linux Newbie sdimhoff's Avatar
    Join Date
    Jan 2007
    Posts
    191
    A you having any other network connectivity problems besides when using curl? Can you ping your router, or any other webpage?

    I guess what I'm asking is if you are wondering about the "timeout error" or if you need help setting up your network interface.
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    Translation:
    I fix things until they break.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...