in reply to CPANplus 5 minute timeout

5 minutes sounds like a default.

CPANPLUS uses File::Fetch, a bit of digging around has found that the following CPANPLUS configuration settings apply:

# Use passive mode for FTP connections CPAN Terminal> s conf passive 1 # Set network timeout (counted in seconds). CPAN Terminal> s conf timeout 300

That said, you may be better off selecting a different mirror, maybe one closer to yourself:

CPAN Terminal> s reconfigure =================> MAIN MENU <================= Welcome to the CPANPLUS configuration. Please select which parts you wish to configure Defaults are taken from your current configuration. If you would save now, your settings would be written to: CPANPLUS::Config::User 1> Select Configuration file 2> Setup CLI Programs 3> Setup CPANPLUS Home directory 4> Setup FTP/Email settings 5> Setup basic preferences 6> Setup installer settings 7> Select mirrors 8> Edit configuration file 9> Save & exit 10> Quit without saving Section to configure: [1]: 7

Replies are listed 'Best First'.
Re^2: CPANplus 5 minute timeout
by Wiggins (Hermit) on Jan 16, 2009 at 14:38 UTC
    Thank you for the pointer to the CPp options.

    If you look at packets 490 and 491, you will see that the IP for mirror1.kernel.org comes from CPAN's DNS server, not from any user configuration. They seem to have some dynamic mechanism to supply multiple values. Today 2 other IPs appear in answer to:

    [Sherlock]> host ftp.cpan.org ftp.cpan.org is an alias for ftp.cpan.ddns.develooper.com. ftp.cpan.ddns.develooper.com has address 69.31.115.210 ftp.cpan.ddns.develooper.com has address 207.57.106.5
    It is always better to have seen your target for yourself, rather than depend upon someone else's description.