RE: [SLUG] pine question

From: Grantham, Patrick (Patrick.Grantham@vacationclub.com)
Date: Fri Jul 27 2001 - 08:43:48 EDT


true it's not. there are some windows shareware apps published on linksys
web site. but I did not see any for Linux. I am not familiar with perl or
LWP (c++, js - a little, and vb.) Do you foresee it to be daunting in perl?

-----Original Message-----
From: billt [mailto:billt@ifelse.org]
Sent: Thursday, July 26, 2001 7:52 PM
To: slug@nks.net
Subject: Re: [SLUG] pine question

On Thu, Jul 26, 2001 at 04:14:02PM -0400, Grantham, Patrick wrote:
> Again I ask, how could I extract the IP from the linksys router? any
ideas

Hmm, that's a good one. I don't think it is listed in a traceroute,
but if the linksys router support 'record route' in icmp echo, then
you could do something like this:

IP=`ping -nRc 1 www.yahoo.com | grep "^RR" | awk {'print $2'}`

maybe that will work? works for me through a linux router, but who
knows with linksys. if there is a better way, please let me know!

Also, maybe you could use perl and LWP to authenticate you through
to the admin page and parse that for the ip address. ??

 good luck



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:03:14 EDT