K
KenK
Hi all,
I'm trying to use LWP on one of my Linux servers to reboot the speedstream
5200 router.
I'm sorta stuck at the authorization stage. (ie beginning).
One of the things I've tried is the following;
#!/usr/bin/perl
use HTTP::Request::Common qw/POST/;
$req = POST http://192.168.254.254;
$req->authorization_basic("user","pass");
use LWP;
my $browser = LWP::UserAgent->new;
$res = $browser->request($req);
Essentially the script just hangs. Any suggestions would be greatly
appreciated.
Thanks,
Ken
I'm trying to use LWP on one of my Linux servers to reboot the speedstream
5200 router.
I'm sorta stuck at the authorization stage. (ie beginning).
One of the things I've tried is the following;
#!/usr/bin/perl
use HTTP::Request::Common qw/POST/;
$req = POST http://192.168.254.254;
$req->authorization_basic("user","pass");
use LWP;
my $browser = LWP::UserAgent->new;
$res = $browser->request($req);
Essentially the script just hangs. Any suggestions would be greatly
appreciated.
Thanks,
Ken