>>>> "Andy" == Andy Piper <andyp(a)bea.com>
writes:
Andy> At 04:59 PM 7/23/01 +0900, Stephen J. Turnbull wrote:
> client does that already, and it should be reasonably easy to
> configure PPP that way too.
Andy> This is no good to me - I have a fixed net connection (no
Andy> dialup) - until I take my laptop on BART. So I have to have
Andy> the nameserver configured.
That's exactly my situation. The reference to DHCP is where you can
steal the code from. The solution is perfectly general, the only
problem is that the fastest way I've found to check for connectivity
is to wait 5 seconds for ping -c 1 to time out. This is particularly
annoying on the train.
> I have a patch for the IPv6 stupidity in hand, and a limited
> amount of time to fix any showstoppers before I leave on
> vacation. So I'm going to roll out 21.4.4 within a few hours.
Andy> BTW commenting out the code it canonicalize_host_name()
Andy> improved my situation but did not fix it - XEmacs without
Andy> packages then came up in 20 seconds rather than 2
Andy> minutes. Definining a fully qualified hostname vastly
Andy> improved things.
Did you not comment out the code in sysdep.c (init_system_name)?
I don't think an fqdn would help there, unless ... ah, what is in your
/etc/hosts.conf (or nsswitch.conf)? Is DNS files, dns? And you added
the fqdn to the /etc/hosts file?
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."