On Monday, June 10, 2002, at 09:48 PM, Todd Wade wrote:
> > "Bob Ackerman" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> > >> i can't quite figure out how to do this in perl. i have: >> use LWP::UserAgent; >> >> # Fetch the page >> $admin = ARGV[0]; #password >> print $admin,"\n"; >> my $ua = LWP::UserAgent->new; >> my $req = HTTP::Request->new(GET => 'http://192.168.0.1/status.htm'); > > The line above will work to fetch a document from a linksys BEFSR41 and > the > like. Are you sure thats right for a D-Link router? note the ip was slightly different for linksys. it was 192.168.1.1. above is the ip i use to manually login. the html file is what the python code names to get the data correctly. > Todd W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]