John:
Maybe one way would be after you've dialed in, you could pipe the
output of ifconfig into grep and look for 'inet addr:' then cut the ip
address out to a file. After that you could read that file for whatever
your needs. Just a thought!
73 es .mark
=================================================
Mark Schoonover KA6WKE IS Manager
Trail Runner,HAM [EMAIL PROTECTED]
ka6wke@wb6dgr.#sca.ca.usa.noam
http://www.qsl.net/ka6wke ka6wke-1 145.05
Mobile: 146.52 & 28.470
Long: 32.85380 Lat: -117.00980 Grid: DM12LU
=================================================
>----------
>From: John Feist[SMTP:[EMAIL PROTECTED]]
>Sent: Tuesday, June 08, 1999 10:00 AM
>To: LINUX-HAMS
>Subject: Dynamic addr for a axip or ipip tunnel?
>
>I am sure that I am not the only guy who dials into an ISP and receives
>an dynamic IP address for the outside interface with ipfwadm and running
>Amateur tcpip applications. Aside from hand editing source and
>destination address's each time the system kicks off, is there a better
>mouse trap? I tried the tunnel-munge script but could not get it to
>work.
>
>The system here runs diald (dial on demand) which auto creates the ppp0
>circuit and default gw. I would like to link the internal nos network
>to other gateways via axip or even ipip using the ISP dynamic address
>(which changes with each login).
>
>Is there anyone doing this? Thank you in advance.
>
>73, John
>
>