From 7cd83d3db74606f6a7a881e123b0c3e49f497ed8 Mon Sep 17 00:00:00 2001 From: Robbie Smith Date: Wed, 3 Apr 2013 16:15:33 +1100 Subject: Code tidying up. Renamed mobile connection to mobile-ppp. Also: - Replaced echos with invocations of cat, where possible. - Fixed PIDFILE to point to the file ppp creates. This ensures the interface can be brought down. - Fixed setting of InterfaceRoot. - Removed vim syntax highlighting from ethernet connection. --- docs/examples/mobile | 37 ------------------------------------- docs/examples/mobile-ppp | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 37 deletions(-) delete mode 100644 docs/examples/mobile create mode 100644 docs/examples/mobile-ppp (limited to 'docs') diff --git a/docs/examples/mobile b/docs/examples/mobile deleted file mode 100644 index e78c595..0000000 --- a/docs/examples/mobile +++ /dev/null @@ -1,37 +0,0 @@ -Description='Example PPP mobile connection' -Interface=ppp0 -Connection=mobile -Peer=mobile-broadband -IdleTimeout=30 - -# Debug pppd / chat output (separately from netctl) -#PPPDebug=true - -# The device will usually be /dev/ttyUSB* (default: ttyUSB0 -Device=ttyUSB0 - -# Use default route provided by the peer (default: true) -#DefaultRoute=true -# Use DNS provided by the peer (default: true) -#UsePeerDNS=true - -# Always keep a connection established -ConnectionMode='persist' -# Establish connection on demand -#ConnectionMode='demand' -#IdleTimeout=300 - -# The user and password are not always required -#User='example@yourprovider.com' -#Password='very secret' - -# The access point name you are connecting to -AccessPointName=apn - -# If your device has a PIN code, set it here. Defaults to None -#Pin=None - -# Mode can be one of 3Gpref, 3Gonly, GPRSpref, GPRSonly, None -# These only work for Huawei USB modems; all other devices should use None -Mode=3Gpref - diff --git a/docs/examples/mobile-ppp b/docs/examples/mobile-ppp new file mode 100644 index 0000000..b624175 --- /dev/null +++ b/docs/examples/mobile-ppp @@ -0,0 +1,34 @@ +Description='Example PPP mobile connection' +Interface=ttyUSB0 +Connection=mobile-ppp +IdleTimeout=30 + +# Debug pppd / chat output (separately from netctl) +#PPPDebug=true + +# Use default route provided by the peer (default: true) +#DefaultRoute=true +# Use DNS provided by the peer (default: true) +#UsePeerDNS=true + +# Always keep a connection established +ConnectionMode='persist' +# Establish connection on demand +#ConnectionMode='demand' +#IdleTimeout=300 + +# The user and password are not always required +#User='example@yourprovider.com' +#Password='very secret' + +# The access point name you are connecting to +AccessPointName=apn + +# If your device has a PIN code, set it here. Defaults to None +#Pin=None + +# Mode can be one of 3Gpref, 3Gonly, GPRSpref, GPRSonly, None +# These only work for Huawei USB modems; all other devices should use None +Mode=3Gpref + +# vim:ft=dosini -- cgit v1.2.3-24-g4f1b