I was thinking about setting up a remote printer, using my AOL account
as the ISP, but it dynamically changes from dial up to dial up. I know
I can run winipcfg to find out what it is when I'm logged in, then
somehow
get that info to our main system to program the IP into the /etc/hosts
so the remote printer will function (I'm running lpd on the PC). I would
think this question would apply to not just AOL, but any PPP connection
to an ISP with a dynamic IP addressing.
Since usually I have only one phone line, I can't really shutdown AOL
remote dial in, fix the file, logoff, connect AOL again, since the IP
will be different now. email isn't really an option since our main
system
doesn't receive email (only sends), email goes to an email server, which
doesn't forward mail to the main system (it must be pulled), I thought
about pinging, but our main is behind a firewall with a 10.10 address so
pinging won't work.
Is there anyway that say, every x minutes, our system could poll the
internet for something that would tell it that AOL account is online
and what IP address it's using? which then could reconfigure the
/etch/hosts
and restart the remote queue?
Just out of curiosity, I checked my ipcfg on the AOL adapter, and on
both
machines I have my account installed on the machine address is the same
(44-45-53-54-61-6F). Do all AOL adapters have this Machine address? I
know
it's not the same MAC address that comes across from tcpdump
(00-01-fa-7e-ca-c8)
from AOL.
Any way to do this?
TIA
George Gallen
ggallen_at_slackinc.com
Received on Mon Aug 23 1999 - 18:22:10 NZST