summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRobbie Smith <zoqaeski@gmail.com>2013-04-01 09:26:03 +0200
committerRobbie Smith <zoqaeski@gmail.com>2013-04-08 06:43:55 +0200
commit754a4c1094338bec4b07abe06948ac51843b07ca (patch)
treeabba626a160f149ecc8eaa7798410650a9933ad1 /docs
parent11a2b4d455d5d996b78a3fa5f72b6728b470338f (diff)
downloadnetctl-754a4c1094338bec4b07abe06948ac51843b07ca.tar.gz
netctl-754a4c1094338bec4b07abe06948ac51843b07ca.tar.xz
Added ppp mobile by porting from netcfg.
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/mobile37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/examples/mobile b/docs/examples/mobile
new file mode 100644
index 0000000..e78c595
--- /dev/null
+++ b/docs/examples/mobile
@@ -0,0 +1,37 @@
+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
+