How to Get Public IP From LinkSys Router?

Bill Campbell freebsd at
Wed Sep 3 15:03:14 PDT 2003

On Wed, Sep 03, 2003, Drew Tomlinson wrote:
>> We have set up a server to return this since I got tired of
>> poking around to find it.  This will return the IP address.
>> ssh -l sshclient
>Thanks.  I will either go this route or use a suggestion by another get
>the html status page from the router and extract.  Is your server
>normally up?

Better be. is the T1 interface on our router (a
Linux box with a Sangoma card).  The login ``shell'' for the sshclient user
is a C program that simply gets the SSH_CLIENT environment variable, and
spits it out STDOUT.

INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``If you make yourselves sheep, the wolves will eat you'' -- Benjamin Franklin

More information about the freebsd-questions mailing list