On 17/06/06, James <[EMAIL PROTECTED]> wrote:
On 6/17/06, Philip Dillon-Thiselton <[EMAIL PROTECTED]> wrote:
>  Well, the wiki has information on how to set ppp up - surely reading that
> is a start ;)  Obviously you can't test it though.  I was going to take a
> look at this as well, though I don't have pp atm.

Looking at the wiki... correct me if I'm wrong, but all that seems
that needs to be done is to have the 'ppp' daemon start, when the
profile starts...

so an extra option could be added, and when enabled, it causes pppd to
be started and stopped with the profile.

eg: PPPD="yes"

Or.... looking around, is there some sort profile system that pppd
uses? Would it be better to add an option PPP_PROFILE="" and the user
puts their correct pppd profile in?

Is there a difference in the method of starting PPP for PPPoE and PPP?

I'll take another look in the morning when i've had some sleep, im
hardly making any sense to myself right now. If there's anyone using
PPP/PPPoE, please give me some feedback, let me know how you start it,
if it has multiple configs, and if i'm on the right path.

If so, I can hack up a patch in a few minutes really easily for either
of those options tommorow that should work right out of the box. If it
works, there probably wont be any problem with including it in the
next initscripts release or two

James
--
iphitus - Beyond Maintainer, Arch Trusted User, Arch Developer.
Home:iphitus.loudas.com

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Well, afaik, all the configuration and set up can only be done in /etc/ppp, which is a shame because the profile couldn't be entirely self contained.  However, once these files are setup you just need to call pppd (by which ever method) with the name of the peers file you wish to use.  The files in /etc/ppp/peers are the equivalent of profiles but some of their details, like passwords, are stored in a separate file.

What cases netcfg to use IWOPTS?  I think it is simply
if [ "$IWOPTS" ]; then
Can't we simply add $PPPOPTS to the network profile and bring up $INTERFACE if that appears but then quit out of the script so we don't go through the ifconfig up stuff?  I could have more of a look at my setup later (not home atm) if someone doesn't fill in some details before that.
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to