From 53b09c13d3382621ccacf9895521750b40129701 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 14 Jan 2008 20:30:12 +0000 Subject: ppp-dsl: Separate meta and data. --- packages/ppp-dsl/dsl-provider | 71 ---------------------------------- packages/ppp-dsl/files/.mtn2git_empty | 0 packages/ppp-dsl/files/dsl-provider | 71 ++++++++++++++++++++++++++++++++++ packages/ppp-dsl/files/ppp_on_boot.dsl | 14 +++++++ packages/ppp-dsl/ppp-dsl_0.1.bb | 2 +- packages/ppp-dsl/ppp_on_boot.dsl | 14 ------- 6 files changed, 86 insertions(+), 86 deletions(-) delete mode 100644 packages/ppp-dsl/dsl-provider create mode 100644 packages/ppp-dsl/files/.mtn2git_empty create mode 100644 packages/ppp-dsl/files/dsl-provider create mode 100755 packages/ppp-dsl/files/ppp_on_boot.dsl delete mode 100755 packages/ppp-dsl/ppp_on_boot.dsl (limited to 'packages/ppp-dsl') diff --git a/packages/ppp-dsl/dsl-provider b/packages/ppp-dsl/dsl-provider deleted file mode 100644 index 6feaf55752..0000000000 --- a/packages/ppp-dsl/dsl-provider +++ /dev/null @@ -1,71 +0,0 @@ -# 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/.mtn2git_empty b/packages/ppp-dsl/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 diff --git a/packages/ppp-dsl/ppp-dsl_0.1.bb b/packages/ppp-dsl/ppp-dsl_0.1.bb index 8796da86da..250d78e90c 100644 --- a/packages/ppp-dsl/ppp-dsl_0.1.bb +++ b/packages/ppp-dsl/ppp-dsl_0.1.bb @@ -4,7 +4,7 @@ LICENSE = "PD" DEPENDS = "ppp rp-pppoe" RDEPENDS = "ppp rp-pppoe" RRECOMMENDS = "kernel-module-ppp-async kernel-module-ppp-generic kernel-module-slhc" -PR = "r2" +PR = "r3" SRC_URI = "file://dsl-provider \ file://ppp_on_boot.dsl" diff --git a/packages/ppp-dsl/ppp_on_boot.dsl b/packages/ppp-dsl/ppp_on_boot.dsl deleted file mode 100755 index f1d5183b38..0000000000 --- a/packages/ppp-dsl/ppp_on_boot.dsl +++ /dev/null @@ -1,14 +0,0 @@ -#!/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 -- cgit v1.2.3