How to preseed install via pppoe (for A-DSL)?

2007-11-23 Thread Josef Wolf
Hello! I am trying to create a customized install cd (based on ubuntu-7.10 alternate install cd). Everything works as desired so far. Just one problem remains: On the installed box, d-i needs to run "pppoeconfig eth1" before it configures apt-sources. Without this, apt configuration fails beca

Re: How to preseed install via pppoe (for A-DSL)?

2008-05-22 Thread Josef Wolf
I am sorry for warming up an old thread. But I got somewhat confused about one detail of this patch to ppp-udeb: On Wed, Dec 12, 2007 at 11:39:33PM +0100, Frans Pop wrote: > On Monday 10 December 2007, Josef Wolf wrote: > > IMHO, the setting in /etc/resolv.conf is mostly for convenience. It > >

Re: How to preseed install via pppoe (for A-DSL)?

2008-05-22 Thread Frans Pop
On Thursday 22 May 2008 14:04:40 Josef Wolf wrote: > I am curious whether it is really a good idea to point > $HOSTNAME.$DOMAINNAME to 127.0.1.1. While this works fine for services > on the local host, it fails if the address is provided to other hosts. > For example, if one installs dnsmasq, the $

Re: How to preseed install via pppoe (for A-DSL)?

2008-05-22 Thread Josef Wolf
On Thu, May 22, 2008 at 03:05:13PM +0200, Frans Pop wrote: > On Thursday 22 May 2008 14:04:40 Josef Wolf wrote: > > I am curious whether it is really a good idea to point > > $HOSTNAME.$DOMAINNAME to 127.0.1.1. While this works fine for services > > on the local host, it fails if the address is pr

Re: How to preseed install via pppoe (for A-DSL)?

2008-05-22 Thread Geert Stappers
Op 22-05-2008 om 16:50 schreef Josef Wolf: > On Thu, May 22, 2008 at 03:05:13PM +0200, Frans Pop wrote: > > No. You currently use either ppp-udeb or netcfg, never both. If you use > > ppp-udeb, the PPPoE interface is expected to be your primary (and in most > > cases only) network interface. > >

Re: How to preseed install via pppoe (for A-DSL)?

2008-05-22 Thread Frans Pop
On Thursday 22 May 2008 16:50:59 Josef Wolf wrote: > But wasn't ppp originally intended to connect multiple networks? In > this (IMHO _very_ common) scenario you would always have at least two > interfaces: ppp to the provider and a statically configured interface > to the local network. Further,

Re: How to preseed install via pppoe (for A-DSL)?

2008-05-22 Thread Josef Wolf
On Thu, May 22, 2008 at 07:12:22PM +0200, Frans Pop wrote: > On Thursday 22 May 2008 16:50:59 Josef Wolf wrote: > > But wasn't ppp originally intended to connect multiple networks? In > > this (IMHO _very_ common) scenario you would always have at least two > > interfaces: ppp to the provider and

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-23 Thread Eddy Petrișor
Josef Wolf wrote: > Hello! > > I am trying to create a customized install cd (based on ubuntu-7.10 > alternate install cd). > > Everything works as desired so far. Just one problem remains: On the > installed box, d-i needs to run "pppoeconfig eth1" before it configures > apt-sources. Without

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-23 Thread Frans Pop
On Saturday 24 November 2007, Eddy Petrișor wrote: > If you need to use pppoe, then you need to load the ppp-udeb module in > d-i. A link to the relevant documentation would probably help: http://www.debian.org/releases/etch/i386/apds05.html.en > But, as far as I know currently the script is brok

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-25 Thread Josef Wolf
On Sat, Nov 24, 2007 at 02:00:59AM +0100, Frans Pop wrote: > On Saturday 24 November 2007, Eddy Petrișor wrote: > > If you need to use pppoe, then you need to load the ppp-udeb module in > > d-i. > > A link to the relevant documentation would probably help: > http://www.debian.org/releases/etch/i3

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-25 Thread Joey Hess
Josef Wolf wrote: > d-i anna/choose_modules ppp-udeb That's not formatted correctly. d-i anna/choose_modules string ppp-udeb -- see shy jo signature.asc Description: Digital signature

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-26 Thread Josef Wolf
On Sun, Nov 25, 2007 at 10:24:06PM -0500, Joey Hess wrote: > Josef Wolf wrote: > > d-i anna/choose_modules ppp-udeb > > That's not formatted correctly. > > d-i anna/choose_modules string ppp-udeb Arghs silly me. I have copy+pasted the output from debconf-get-selections. Thanks for the h

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-26 Thread Josef Wolf
On Mon, Nov 26, 2007 at 06:46:43PM +0100, Josef Wolf wrote: >Nov 26 16:51:44 main-menu[2970]: INFO: Menu item 'ppp-udeb' selected >Nov 26 16:51:44 DEBUG:ppp-udeb: eth0 was not configured. ppp-udeb will > bring it up >Nov 26 16:51:44 kernel: [ 415.264747] eth0: setting full-duplex. >

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-27 Thread Eddy Petrișor
Josef Wolf wrote: > On Mon, Nov 26, 2007 at 06:46:43PM +0100, Josef Wolf wrote: > >>Nov 26 16:51:44 main-menu[2970]: INFO: Menu item 'ppp-udeb' selected >>Nov 26 16:51:44 DEBUG:ppp-udeb: eth0 was not configured. ppp-udeb will >> bring it up >>Nov 26 16:51:44 kernel: [ 415.264747] eth

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-27 Thread Josef Wolf
On Tue, Nov 27, 2007 at 02:41:11PM +0200, Eddy Petrișor wrote: > Josef Wolf wrote: [ ... ] > Did you try to manually retry the configuration? Thanks for your replies and your suggestions, Eddy! Yes, I tried "udpkg --configure --force-configure ppp-udeb". But the menus were messed up. Looks like

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-27 Thread Eddy Petrișor
Josef Wolf wrote: > On Tue, Nov 27, 2007 at 02:41:11PM +0200, Eddy Petrișor wrote: >> Josef Wolf wrote: > [ ... ] >> Did you try to manually retry the configuration? > > Thanks for your replies and your suggestions, Eddy! > > Yes, I tried "udpkg --configure --force-configure ppp-udeb". But the >

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-27 Thread Josef Wolf
On Wed, Nov 28, 2007 at 02:01:31AM +0200, Eddy Petrișor wrote: > Josef Wolf wrote: > > On Tue, Nov 27, 2007 at 02:41:11PM +0200, Eddy Petrișor wrote: > >> Josef Wolf wrote: > > [ ... ] > >> Did you try to manually retry the configuration? > > > > Thanks for your replies and your suggestions, Eddy!

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-28 Thread Eddy Petrișor
Josef Wolf wrote: > On Wed, Nov 28, 2007 at 02:01:31AM +0200, Eddy Petrișor wrote: >> Josef Wolf wrote: >>> On Tue, Nov 27, 2007 at 02:41:11PM +0200, Eddy Petrișor wrote: >> Did you try a regular image without any preseeding? Maybe there's >> something that breaks ppp-udeb (I am just braindumping,

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-28 Thread Josef Wolf
On Wed, Nov 28, 2007 at 02:01:31AM +0200, Eddy Petrișor wrote: > Did you try a regular image without any preseeding? I could now test regular images. And they both (debian-40r1 and ubuntu-7.10 alternate) work as expected. > There is the possiblity to set the debugging level of debconf to > DEBC

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-28 Thread Eddy Petrișor
Josef Wolf wrote: > On Wed, Nov 28, 2007 at 02:01:31AM +0200, Eddy Petrișor wrote: > >> Did you try a regular image without any preseeding? > > I could now test regular images. And they both (debian-40r1 and > ubuntu-7.10 alternate) work as expected. Ok >> There is the possiblity to set the de

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-29 Thread Josef Wolf
On Thu, Nov 29, 2007 at 03:23:47AM +0200, Eddy Petrișor wrote: > Josef Wolf wrote: > > Well, here's the reason why postinst returns error code 30. According to > > debconf-devel(7), error code 30 from "dh_input high netcfg/get_hostname" > > means that debconf will not present the question to the

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-29 Thread Frans Pop
On Thursday 29 November 2007, Eddy Petrișor wrote: > Change line 172 from ppp-udeb's postinst (should be > /var/lib/dpkg/info/ppp-udeb.postinst after the ppp-udeb udeb has been > loaded): > db_input high netcfg/get_hostname > into > db_input high netcfg/get_hostname || [ $? -eq 30 ] I

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-29 Thread Eddy Petrișor
Josef Wolf wrote: > On Thu, Nov 29, 2007 at 03:23:47AM +0200, Eddy Petrișor wrote: >> Josef Wolf wrote: >> Oops, apprently ppp-udeb's postinst should handle this return code (30) for >> preseeding to work correctly (but I'll need a second oppinon from either >> Joey, Frans or Colin about this, sinc

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-29 Thread Eddy Petrișor
Frans Pop wrote: > On Thursday 29 November 2007, Eddy Petrișor wrote: >> Change line 172 from ppp-udeb's postinst (should be >> /var/lib/dpkg/info/ppp-udeb.postinst after the ppp-udeb udeb has been >> loaded): >> db_input high netcfg/get_hostname >> into >> db_input high netcfg/get_hostna

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-30 Thread Eddy Petrișor
Josef Wolf wrote: > On Thu, Nov 29, 2007 at 01:20:30PM +0200, Eddy Petrișor wrote: > >> Please create a patch and submit it as a bug report[1] against ppp-udeb. >> [1] "preseeding the host name does not work for ppp-udeb" or something >> like that should be fine > > Done. > > Now I tried to crea

Re: How to preseed install via pppoe (for A-DSL)?

2007-11-29 Thread Josef Wolf
On Thu, Nov 29, 2007 at 01:20:30PM +0200, Eddy Petrișor wrote: > Please create a patch and submit it as a bug report[1] against ppp-udeb. > [1] "preseeding the host name does not work for ppp-udeb" or something > like that should be fine Done. Now I tried to create a fixed udeb. I did the follo

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-01 Thread Josef Wolf
On Fri, Nov 30, 2007 at 11:37:17AM +0200, Eddy Petrișor wrote: > Josef Wolf wrote: > > On Thu, Nov 29, 2007 at 01:20:30PM +0200, Eddy Petrișor wrote: > > > >> Please create a patch and submit it as a bug report[1] against ppp-udeb. > >> [1] "preseeding the host name does not work for ppp-udeb" or

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-06 Thread Josef Wolf
On Tue, Nov 27, 2007 at 02:41:11PM +0200, Eddy Petrișor wrote: > Josef Wolf wrote: [ ... ] > > The next interesting point is that eth0 is not configured at the time > > ppp-udeb runs. Seems like ppp-udeb is configured before netcfg. Could > > This is normal and that is the whole point. To make p

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-09 Thread Colin Watson
On Thu, Nov 29, 2007 at 01:23:22PM +0200, Eddy Petrișor wrote: > Frans Pop wrote: > > On Thursday 29 November 2007, Eddy Petrișor wrote: > >> Change line 172 from ppp-udeb's postinst (should be > >> /var/lib/dpkg/info/ppp-udeb.postinst after the ppp-udeb udeb has been > >> loaded): > >>db_input

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-09 Thread Frans Pop
On Thursday 06 December 2007, Josef Wolf wrote: > I am still somewhat confused. Is ppp-udeb meant to completely replace > netcfg? 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 o

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-09 Thread Frans Pop
On Friday 30 November 2007, Josef Wolf wrote: > On Thu, Nov 29, 2007 at 01:20:30PM +0200, Eddy Petrișor wrote: > > Please create a patch and submit it as a bug report[1] against > > ppp-udeb. [1] "preseeding the host name does not work for ppp-udeb" or > > something like that should be fine > > Don

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-10 Thread Geert Stappers
Op 09-12-2007 om 22:07 schreef Frans Pop: > On Thursday 06 December 2007, Josef Wolf wrote: > > I am still somewhat confused. Is ppp-udeb meant to completely replace > > netcfg? > > Let's reward your persistence with some information. > > Both ppp-udeb and netcfg have "Provides: configured-netwo

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-10 Thread Josef Wolf
On Sun, Dec 09, 2007 at 10:28:14PM +0100, Frans Pop wrote: > On Friday 30 November 2007, Josef Wolf wrote: > > On Thu, Nov 29, 2007 at 01:20:30PM +0200, Eddy Petrișor wrote: > > > Please create a patch and submit it as a bug report[1] against > > > ppp-udeb. [1] "preseeding the host name does not w

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-10 Thread Frans Pop
On Monday 10 December 2007, Josef Wolf wrote: > On Sun, Dec 09, 2007 at 10:28:14PM +0100, Frans Pop wrote: > > Are you sure that you submitted a Bug report for it? I cannot find any > > mention of it on the ppp BTS page. If you did, what's the bug number? > > I bet I've submitted it to the wrong BT

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-10 Thread Josef Wolf
On Sun, Dec 09, 2007 at 10:07:41PM +0100, Frans Pop wrote: > On Thursday 06 December 2007, Josef Wolf wrote: > > I am still somewhat confused. Is ppp-udeb meant to completely replace > > netcfg? > > Let's reward your persistence with some information. Thanks for the great explanation, Frans! >

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-12 Thread Frans Pop
On Monday 10 December 2007, Josef Wolf wrote: > IMHO, the setting in /etc/resolv.conf is mostly for convenience. It > saves me some typing, that's all. In contrast, the setting in /etc/hosts > is more important since it is needed to make "hostname -d" and > "hostname -f" work. Right. I'd forgott

Re: How to preseed install via pppoe (for A-DSL)?

2007-12-12 Thread Stephen Gran
This one time, at band camp, Frans Pop said: > > > 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. > > > > But isn't this considered to be a bug? > > I'm not sure as I'

Re: How to preseed install via pppoe (for A-DSL)?

2008-02-03 Thread Josef Wolf
On Wed, Dec 12, 2007 at 11:39:33PM +0100, Frans Pop wrote: First of all, I am very sorry for the big delay I have caused in this topic. I was not aware of your mail and that you are waiting for a response since I have not read this list for quite a while (I thought consensus was found since the p