summaryrefslogtreecommitdiffstats
path: root/docs/examples/mobile-ppp
diff options
context:
space:
mode:
authorRobbie Smith <zoqaeski@gmail.com>2013-04-03 07:15:33 +0200
committerRobbie Smith <zoqaeski@gmail.com>2013-04-08 06:47:37 +0200
commit7cd83d3db74606f6a7a881e123b0c3e49f497ed8 (patch)
tree1e2f81c80ae6bbc710881f208f85f46d51741d9f /docs/examples/mobile-ppp
parente34538b84fee1ba1b98952bb07f2343ea88141c1 (diff)
downloadnetctl-7cd83d3db74606f6a7a881e123b0c3e49f497ed8.tar.gz
netctl-7cd83d3db74606f6a7a881e123b0c3e49f497ed8.tar.xz
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.
Diffstat (limited to 'docs/examples/mobile-ppp')
-rw-r--r--docs/examples/mobile-ppp34
1 files changed, 34 insertions, 0 deletions
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