On Sat, Sep 06, 2008 at 07:39:04PM +0300, Martin Michlmayr wrote:
> * Jérémy Bobbio <[EMAIL PROTECTED]> [2008-09-01 13:58]:
> > If this makes easier to support NAS devices, I think it should go in.
> > Might worth another line on the preseeding appendix as well.
> >
> > JFTR: "ptr" should probably
Package: netcfg
It seems it's not possible to tell netcfg via preseeding that no
gateway should be used. I thought this was possible but I cannot
figure out how and the code suggests that it's not possible.
joeyh made the following change in 2005 to allow preseeding:
Index: static.c
===
On Sunday 31 August 2008, Martin Michlmayr wrote:
> This sets netcfg/get_gateway to the calculated gateway if
> netcfg/get_gateway is empty. So when you preseed an empty value, the
> calculated gateway will be used.
>
> Wouldn't it make sense to check if the seen flag is set?
That would conflict
* Frans Pop <[EMAIL PROTECTED]> [2008-08-31 17:09]:
> > Wouldn't it make sense to check if the seen flag is set?
>
> That would conflict with the option to preseed a value but still
> have the question asked. Having a question preseeded does NOT
> automatically mean that the seen flag is set. Hav
I think it's as simple as this. Would this be acceptable for lenny?
Index: static.c
===
--- static.c(revision 55364)
+++ static.c(working copy)
@@ -146,7 +146,8 @@
debconf_get(client, "netcfg/get_gateway");
On Sun, Aug 31, 2008 at 07:08:51PM +0300, Martin Michlmayr wrote:
> I think it's as simple as this. Would this be acceptable for lenny?
>
> Index: static.c
> ===
> --- static.c (revision 55364)
> +++ static.c (working copy)
> @@ -1
* Jérémy Bobbio <[EMAIL PROTECTED]> [2008-09-01 13:58]:
> If this makes easier to support NAS devices, I think it should go in.
> Might worth another line on the preseeding appendix as well.
>
> JFTR: "ptr" should probably be used as first argument of strcmp().
You're right. How about the patche
On Saturday 06 September 2008, Martin Michlmayr wrote:
> netcfg will choose +an appropriate address (the
> .1 address of your network) +if
> netcfg/get_gateway is not set.
IIRC the actual logic is a bit more complex than that depending on the
netmask. In most cases it will result in .1, but not i
* Frans Pop <[EMAIL PROTECTED]> [2008-09-06 19:03]:
> On Saturday 06 September 2008, Martin Michlmayr wrote:
> > netcfg will choose +an appropriate address (the
> > .1 address of your network) +if
> > netcfg/get_gateway is not set.
>
> IIRC the actual logic is a bit more complex than that dependin
* Martin Michlmayr <[EMAIL PROTECTED]> [2008-09-06 21:01]:
> Ok, I'll remove that part of the text.
i.e.
Index: appendix/preseed.xml
===
--- appendix/preseed.xml(revision 55630)
+++ appendix/preseed.xml(working copy)
10 matches
Mail list logo