diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-14 20:30:12 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2008-01-14 20:30:12 +0000 |
commit | 53b09c13d3382621ccacf9895521750b40129701 (patch) | |
tree | 78c27531dc21e21a0b17065ff43247eccd1edbcd /packages/ppp-dsl/files | |
parent | 08ec30f38d9f84685109ccfd4fd4305017ca6b75 (diff) |
ppp-dsl: Separate meta and data.
Diffstat (limited to 'packages/ppp-dsl/files')
-rw-r--r-- | packages/ppp-dsl/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/ppp-dsl/files/dsl-provider | 71 | ||||
-rwxr-xr-x | packages/ppp-dsl/files/ppp_on_boot.dsl | 14 |
3 files changed, 85 insertions, 0 deletions
diff --git a/packages/ppp-dsl/files/.mtn2git_empty b/packages/ppp-dsl/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/ppp-dsl/files/.mtn2git_empty diff --git a/packages/ppp-dsl/files/dsl-provider b/packages/ppp-dsl/files/dsl-provider new file mode 100644 index 0000000000..6feaf55752 --- /dev/null +++ b/packages/ppp-dsl/files/dsl-provider @@ -0,0 +1,71 @@ +# Configuration file for PPP, using PPP over Ethernet +# to connect to a DSL provider. +# +# See the manual page pppd(8) for information on all the options. + +## +# Section 1 +# +# Stuff to configure... + +# MUST CHANGE: Uncomment the following line, replacing the user@provider.net +# by the DSL user name given to your by your DSL provider. +# (There should be a matching entry in /etc/ppp/pap-secrets with the password.) +# +# maybe helpful for germany: +# T-DSL business PAP "t-online-com/111111111111@t-online-com.de" +# T-DSL t-online PAP "[ANSCHLUSSKENNUNG][T_ONLINE_NUMMER]#[MITBENUTZER]@t-online.de" +# hansenet CHAP "net0815@hansenet.de" +# +#user "" + +# Use the pppoe program to send the ppp packets over the Ethernet link +# This line should work fine if this computer is the only one accessing +# the Internet through this DSL connection. This is the right line to use +# for most people. +pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452" + +# If the computer connected to the Internet using pppoe is not being used +# by other computers as a gateway to the Internet, you can try the following +# line instead, for a small gain in speed: +#pty "/usr/sbin/pppoe -I eth0 -T 80" + +# An even more conservative version of the previous line, if things +# don't work using -m 1452... +#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412" + + +# The following two options should work fine for most DSL users. + +# Assumes that your IP address is allocated dynamically +# by your DSL provider... +noipdefault +# Comment out if you already have the correct default route installed +defaultroute +replacedefaultroute +usepeerdns + +## +# Section 2 +# +# Uncomment if your DSL provider charges by minute connected +# and you want to use demand-dialing. +# +# Disconnect after 300 seconds (5 minutes) of idle time. + +#demand +#idle 300 + +## +# Section 3 +# +# You shouldn't need to change these options... + +hide-password +lcp-echo-interval 20 +lcp-echo-failure 3 +# Override any connect script that may have been set in /etc/ppp/options. +connect /bin/true +noauth +persist +mtu 1492 diff --git a/packages/ppp-dsl/files/ppp_on_boot.dsl b/packages/ppp-dsl/files/ppp_on_boot.dsl new file mode 100755 index 0000000000..f1d5183b38 --- /dev/null +++ b/packages/ppp-dsl/files/ppp_on_boot.dsl @@ -0,0 +1,14 @@ +#!/bin/sh +# + +# The location of the ppp daemon itself (shouldn't need to be changed) +PPPD=/usr/sbin/pppd + +# The Ethernet interface the DSL modem is connected to. If you change this, +# you also need to edit the file /etc/ppp/peers/dsl-provider. +INTERFACE=eth0 + +# Bring the interface up +/sbin/ifconfig $INTERFACE up + +$PPPD call dsl-provider |