
This is the first release of the setup  utility. I spent about half
a day on it. It is more than likely buggy if you try to do out of
the ordinary things. Send me a comment, bug-report or patch (preferable)

These are sample answers to questions. They work as-is with RH-like
systems (with /etc/rc.d/init.d). Unfortunately a RH7.0 is
the only machine i had access to when i made the changes this fine
sunday morning. I prefer SUSE these days.
The prepended "INST>" shows what the Install_pppoe would be displaying
"jamal>" are comments i am making to explain the steps

INST>    -------- Linux 2.2 PPPOEd Configuration --------
INST>
INST>The default responses for each question are correct for most users.
INST>Consult the docs/INSTALL for additional info about each option.
INST>
INST>Linux source directory[where kernel headers are found] [/usr/src/linux]: 

jamal> This actually looks for kernel headers. Debian and RH systems
jamal> for example tend to install kernel sources but not headers.
jamal> If you have 2.2 kernel sources somewhere else point there
jamal> for the most part this is OK as is

[More stuff here deleted for brevity]

INST>
INST>Module install dir [/lib/modules/2.2.17/net]: 

jamal> modules will be installed based on what your header sources say the
jamal> kernel version is

INST>RH-like init directory [/etc/rc.d/init.d]: 

jamal> start scripts will be placed here
jamal> the above is fine for RH-like systems. eg for Debian it is /etc/init.d
jamal>

INST>compiler for modules. If you have RH7.0, select kgcc instead of gcc [gcc]: 

jamal> Unfortunately RH was creative in the compiler selection for 7.0
jamal> If you are not using RH7 just hit enter 

INST>collected information
INST>
INST>Kernel source: /usr/src/linux
INST>init_dir: /etc/rc.d/init.d
INST>module install directory: /lib/modules/2.2.17/net
INST>Compiler for modules : kgcc

jamal> This displays the collected information thus far

INST>is this correct?(answer y/n only) [y]: 

jamal> you may choose to say "n" here and go back and over-write things
jamal> if you say y, we move to the next step down

INST>
INST>installing pppoe module .....
INST>

jamal> a few things will be spewed here as the pppox modules gets created

INST>
INST>installing firewall clamper module .....

jamal> a few things will be spewed here as the mssclampfw modules gets created

INST>
INST>installing pppoed ...

jamal> a few things will be spewed here as the pppoed daemon gets created

INST>
INST>updating the module configuration .....

jamal> the module information is updated below so that on bootup 
jamal> the appropriate modules will be created

INST>
INST> PPPOED installation complete at this point 
INST> I can proceed to setup your ppp-options and DNS
INST> I dont believe in setting up the firewall for you 
INST>If you insist on automated firewalling setup use lokit available at:
INST>      ftp://ftp.linux.org.uk/pub/linux/alan/Lokkit/

jamal> I think you owe it to yourself to at least understand what you are
jamal> doing given the increasing number of script-kiddies looming out there. 
jamal> also to avoid suprises such as "how come telnet doesnt work?"
jamal> Lokkit does a very good job. 

INST> 
INST>Do you want me to setup PPP for you?(answer y/n only) [y]: 

jamal> If you say "n" at this point the installations next question asks 
jamal> you whether you want to start a pppoe session for the first time
jamal> look further below. If you say "y", then the step below becomes next

INST>
INST> Please enter your Username for your ISP []: xxxxxxx

jamal> enter the supplied user name by your ISP

INST>Please enter your Password for your ISP []: yyyyyyy

jamal> enter the supplied password by your ISP
jamal> this will be displayed in clear-text so that you can
jamal> verify it. This reduces the risk of something going wrong 
jamal> so be wary if you are concerned of someone seeing your password

INST>Please enter your domain name
INST>This is often trailing the @ in your email address
INST>If your email was John@Doe.com, then most often, your
INST>domain name would be: Doe.com
INST>domain name : []: 

jamal> Enter domainname e.g sympatico.ca

INST> 
INST>
INST>collected information
INST>
INST>User Name : xxxxxxx
INST>passWord: yyyyyy
INST>domainName: sympatico.ca
INST> 
INST>is this correct?(answer y/n only) [y]: 

jamal> you may choose to say "n" here and go back and over-write things
jamal> if you say y, we move to the next step down
jamal> again note your password vbeing dispalyed

INST>setting ppp-options ....
INST>Setting /etc/ppp/pap-secrets* perms to 600
INST> 
INST>Do you want me to setup DNS for you?(answer y/n only) [y]: 

jamal> If you say "n" at this point the installations next question asks 
jamal> you whether you want to start a pppoe session for the first time
jamal> look further below. If you say "y", then the step below becomes next

INST> 
INST>Please enter your Primary DNS server
INST>It should be in the form ###.###.###.###
INST>Where the "#" is either a number or blank space
INST> Primary DNS server:  []: 04.01.51.12
INST> 
INST>If you have a Secondary DNS server please enter it
INST>If none, just press enter
INST> Secondary DNS server:  []: 04.10.21.12
INST> 

jamal> The above two are self explanatory. The isp will supply
jamal> you with one or two DNS servers

INST>
INST>collected information
INST>
INST>nameServer1 Name : 04.01.51.12
INST>second nameserver: 04.10.21.12 
INST> 
INST>is this correct?(answer y/n only) [y]: 

jamal> you may choose to say "n" here and go back and over-write things
jamal> if you say "y", we move to the next step down

INST>setting DNS .... domainName: sympatico.ca
INST>Setting /etc/resolv.conf perms to 644
INST>
INST>installing init scripts .....

jamal> This just sets bootup scripts for you so that pppox and mssclampfw
jamal> are installed when you bootup. It also installs a passive
jamal> pppoed startup script. It is annoying to have pppoed startup
jamal> everytime you boot (eg when you carry a laptop)

INST>
INST>would you like to start pppoed?(answer y/n only) [y]: 
INST>
INST>Shutting down pppoed:
INST>Starting pppoed: 
INST> 
INST>pppoed installation complete 
INST>==================================

Congratulations. You have installed pppoed and its associated software.
If you run into problems which are not immediately resolvable you might
want to consult the hard-way of installing this.
Look at pppoed/DEBUG-INSTALL for starters
try to do ifconfig and see if you have ppp0 installed.

The man pages on pppoed are also helpful
type "man pppoed" without the quotes 
or pppoed --help

