On Fri, Sep 24, 2004 at 10:21:01AM +0200, Omer Zak wrote:
> Thanks Shachar,
> I'll need to have PPTP on hand before starting to install, because 
> otherwise I'll not have Internet connection to download the rest of 
> Debian packages.

You'll need to make basicdally two changes:

1. Add the package to the packages on the CD
2. modify the installer to configure a pptp connection before setting up
   the apt sources

(1) is fairly simple and technical and automatable. I can post a small
HOWTO later on.

(2) The debian installer has two main phases:

  1. basic configuration: very minimal settings and a debootstrap to
     install the base system, a boot loader, and reboot
  2. On the first boot the system runs 'base-config new' on the first
     console

     base-config basicaally runs scripts from /usr/lib/base-config/menu
     The .mnu files there give the order of running: 

       $ grep ^Order: /usr/lib/base-config/menu/*.mnu |sort  -k2 -n 
       /usr/lib/base-config/menu/debconf-seed.mnu:Order: 5
       /usr/lib/base-config/menu/intro.mnu:Order: 10
       /usr/lib/base-config/menu/keyboard.mnu:Order: 20
       /usr/lib/base-config/menu/timezone.mnu:Order: 30
       /usr/lib/base-config/menu/passwd.mnu:Order: 40
       /usr/lib/base-config/menu/hostname.mnu:Order: 50
       /usr/lib/base-config/menu/pon.mnu:Order: 60
       /usr/lib/base-config/menu/apt-setup.mnu:Order: 70
       /usr/lib/base-config/menu/pkgsel.mnu:Order: 80
       /usr/lib/base-config/menu/mta.mnu:Order: 100
       /usr/lib/base-config/menu/finish.mnu:Order: 120
       /usr/lib/base-config/menu/shell.mnu:Order: 9999

As you can see, 'pon' is run before apt-setup. The script allows
you to configure a ppp connection. So basically to accomplish (2)
you need to either create an extra menu entry in base-config, or
modify the script pon . I already have built a small installer udeb
package that can add and/or delete files to
/usr/lib/base-config/menu at install time, if you want it.

So what is now needed is a small procedure to set up a connection to
your ISP.

Basically what you need to do is to drop an appropriate peer file into
/etc/ppp/peers . See the current dsl-provider for an example for
something that should work with pppoe . Then you start the connection
with 'pon peer_file_name' where peer_file_name is the name of the file
in /etc/ppp/peers

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:[EMAIL PROTECTED]       +---------------------------+

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to