Hello Kenneth , you wrote
> I'm not sure how many on this list are aware how I was able to get PPPoE to
> run correctly under Eigerstein and why I would like to come up with a
> cleaner solution....
> Basically the main problem under PPPoE was getting the interface to come up
> before the firewall rules are in place so what I did was basically just add
> a section in /etc/network.conf after the interface definitions saying simply
> "adsl-start" which is the start script for the Roaring Penguin PPPoE client.
> Not clean by any means...and I would like to fix this and I have two ideas
> on how to do so...
> Basically the main reason is I would like to make the PPPoE package as
> portable as possible and not rely on the core LRP version
> (Eigerstein/LRP2.9.8/?Oxygen?) and of course my Method 2 has nothing to do
> with keeping it portable ;-)
The second problem was that with /etc/init.d network stop a new
connection was tried.
I used another "dirty method"
in the Network.conf I added the pseudo Interface adsl0
IF_AUTO="adsl0 eth0 eth1"
commented your adsl-start out
in the routine if_up() added
# set up each interface
case $1 in
# new
adsl0)
adsl-start
;;
# end new
ppp0 .....................
-----------------------------------------------
and in if_down()
#new
adsl0)
adsl_stop
;;
# end new
ppp0.............................
-----------------------------------------------------
As far as I know are the Firewall settings taken from the Part in
the Network scripts below # IP FILTER SETUP
so this is not influenced
----------------------------------------------------------
I 'm not sure if the same construction works with the other variants
either.
> Method 2
> add pppoe support directly to /etc/network.conf
> This ones tricky because its beyond my current abilities but what I would
> like to do is figure out HOW DHCP is called within network.conf and setup a
> variable setting whether the external dynamic connection is DHCP or PPPoE
> and if its PPPoE call the external startup command "adsl-start" rather than
> DHCP
>
>
> Does anyone have any suggestions? Comments? through rotten tomatoes at me? ?
> ? :-)
>
> -Kenneth Hadley
>
Btw you can save some space with a few other "tricks"
In the adsl-scripts ifconfig is used a few times, so you added
ifconfig.
The same functions can be done by ip.
I also didn't found the place where wc and egrep are used, so you
can probably throw them out too.
Greetings Eric Wolzak
_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel