Re: query dialup-hostsname
>> "MB" == Martin Bialasinski <martin@internet-treff.uni-koeln.de> writes:
>> "MG" == Marcus Geiger <Marcus.Geiger@bigfoot.com> writes:
MG> does anyone knows a possibility to query the hostname (dns) that will
MG> be assigned after dialing into a internet service provider ?
MB> ifconfig ppp0 will show you the address you got. Then simply do a
MB> nslookup w.x.y.z
I hate to follow up to myself, but I forgot to mention, that you have
this address already extracted.
/etc/ppp/ip-up:
# These variables are for the use of the scripts run by run-parts
PPP_IFACE="$1"
PPP_TTY="$2"
PPP_SPEED="$3"
PPP_LOCAL="$4" ### This one
[...]
Ciao,
Martin
Reply to: