[plug] Determining ip address
Cameron Patrick
cameron at patrick.wattle.id.au
Wed Dec 17 14:17:35 WST 2003
On Wed, Dec 17, 2003 at 02:08:17PM +0800, James Devenish wrote:
| In message <3FDFEF43.7000608 at wasp.net.au>
| on Wed, Dec 17, 2003 at 09:53:07AM +0400, Brad Campbell wrote:
| > I'm behind a Lucent Cellpipe 20A pppoa gateway up here,
| [...]
| > The other thing I'd like to look at is taking this thing out
| > of pppoa nat mode and handling the ppp on the linux gateway.
|
| Would that mean that you could grab the IP address (or at least
| a notification-of-change) out of a log file whenever it occurs
| (bonus?)
If you did it on Linux, it'd be passed as a command-line argument to
pppd's ip-up script. (In Debian, you get it as an environment variable
and each script in /etc/ppp/ip-up.d/ is processed in turn.)
Cameron.
More information about the plug
mailing list