1 |
Hi, |
2 |
|
3 |
I'm wondering if it would be possible to make the ppp scripts more |
4 |
generic. I looked at /etc/init.d/net.ppp0 and noticed that this script |
5 |
is merely used for making connections through "normal" modems. |
6 |
|
7 |
Wouldn't it be better if /etc/init.d/net.ppp0 would also be used for making |
8 |
DSL connections? I believe it's fairly easy to do so (in fact I use this |
9 |
approach). For each connection type (56k, DSL,...), a PEER is created in |
10 |
/etc/ppp/peers and a connection is made using "pppd call <peer-name>". |
11 |
|
12 |
I know that the current script also uses "pppd call ...", but it also |
13 |
contains parameters like MODEMPORT="/dev/ttyS1", NUMBER="9180000" and |
14 |
LINESPEED="115200". |
15 |
|
16 |
So I would propose to move the "peer specific" parameters to the |
17 |
corresponding peer files in /etc/ppp/peers. This way |
18 |
/etc/init.d/net.ppp0 becomes more clean and all types of ppp connections |
19 |
are established using the same approach with corresponding config files |
20 |
in the same place... |
21 |
|
22 |
In case of rp-pppoe you wouldn't have to use adsl-start and adsl-stop. |
23 |
|
24 |
Best regards, |
25 |
Ivan Melotte |