summaryrefslogtreecommitdiffstats
path: root/docs
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
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')
-rw-r--r--docs/examples/mobile-ppp (renamed from docs/examples/mobile)9
1 files changed, 3 insertions, 6 deletions
diff --git a/docs/examples/mobile b/docs/examples/mobile-ppp
index e78c595..b624175 100644
--- a/docs/examples/mobile
+++ b/docs/examples/mobile-ppp
@@ -1,15 +1,11 @@
Description='Example PPP mobile connection'
-Interface=ppp0
-Connection=mobile
-Peer=mobile-broadband
+Interface=ttyUSB0
+Connection=mobile-ppp
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)
@@ -35,3 +31,4 @@ AccessPointName=apn
# These only work for Huawei USB modems; all other devices should use None
Mode=3Gpref
+# vim:ft=dosini