On Fri, 16 Jul 2004, Borislav Petkov wrote:

> we have a wlan at our dorm and we get all itnernal IPs DHCP-ed. Everything
> works fine but I'd like to run an internal www and therefore need my external
> IP.

You don't need your external IP to run an internal web server. If your
DHCP assigned address is changing often then that's a hassle though...

> The problem is, I don't have access to the D-Link router/DHCP server so
> that i could run ifconfig on it. Any ideas are appreciated.

The way I do it with my Linksys router is to parse the output from its
status page which contains the modem IP. I get the text of the page using:

links -dump http://192.168.1.1/Status_Router.htm

Maybe there is a better way.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to