Posts

Showing posts from December, 2009

SSH and Strawberry Perl

Image
Strawberry Perl doesn't come with SSH modules pre-installed. Here is how to insall C:\>perl -MCPAN -e shell cpan shell -- CPAN exploration and modules installation (v1.9304) ReadLine support enabled cpan> install Net::SSH Fetching with LWP: http://cpan.strawberryperl.com/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to cpan.strawberryperl.com:80 (connect: timeout)] As a last ressort we now switch to the external ftp command 'C:\WINDOWS\system32\ftp.EXE' to get 'C:\strawberry\cpan\sources\authors\01mailrc.txt.gz.tmp3104'. Doing so often leads to problems that are hard to diagnose. If you're victim of such problems, please consider unsetting the ftp config variable with o conf ftp "" o conf commit I would like to connect to one of the following sites to get 'authors/01mailrc.txt.gz': http://www.perl.org/CPAN/ ftp://ftp.perl.org/pub/CPAN/ Is it OK to try to connect to the Internet? [yes] yes Fetching with LWP...

ADSL on Ubuntu 9.10 (Karmic Koala)

Image
Working with ADSL modems on Ubuntu 9.10: Configure: pppoeconf sudo pppoeconf Check: rohit@lenovo:/etc/network$ more interfaces auto lo iface lo inet loopback iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider auto eth0 iface eth0 inet manual Start: pon rohit@lenovo:/etc/network$ sudo pon dsl-provider Plugin rp-pppoe.so loaded. RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5 Stop:poff sudo poff Log:plog rohit@lenovo:/etc/network$ plog Dec 8 16:37:45 lenovo pppd[11102]: Plugin rp-pppoe.so loaded. Dec 8 16:37:45 lenovo pppd[11102]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5 This method works well for BSNL's ADSL lines in Kolkata.