|
|||||||||||
|
Re: How to preseed install via pppoe (for A-DSL)?
From: Frans Pop <elendil(at)planet.nl>
Date: Sun Dec 09 2007 - 16:07:41 EST
Let's reward your persistence with some information. Both ppp-udeb and netcfg have "Provides: configured-network" in their package info. Some other packages depend on "configured network". This means that when both ppp-udeb and netcfg are present, the first that completes successfully will satisfy that dependency and the other no longer needs to be run. As ppp-udeb is "higher" in the menu than netcfg, this indeed does effectively mean that ppp-udeb replaces netcfg. > Shouldn't it ask for netcfg/get_domain then? I'm not sure that it's useful if I look at the way the udeb currently works. The most important use of the domain name is for the "search" option in /etc/resolv.conf. For ppp-udeb that file is updated by the /etc/ppp/ip-up script. Note that it is _updated_, not written from scratch. I expect that ppp-udeb assumes it is the task of dhcp to correctly update /etc/resolv.conf and thus that dhcp should provide the correct domain name. Thus asking for it would be redundant. Having D-I set the name could even be incorrect as it could well be that it would get removed or overwritten when the system is rebooted and ppp/dhcp are started and create a new /etc/resolv.conf. A quick look at /sbin/dhclient-script tells me that indeed an old "search" option is removed, while there is support to keep old nameservers. Note also that for normal netcfg, D-I basically works the same way when dhcp is used: if the domain name is entered manually, it is ignored. See for example #328646.
Cheers,
-- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Sun Dec 9 16:08:12 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:40:08 EDT |
||||||||||
|
|||||||||||