]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - sysconfig/interfaces/ifcfg-ppp0.tpsa
- merge my private tree
[projects/rc-scripts.git] / sysconfig / interfaces / ifcfg-ppp0.tpsa
index d03b1b11ab358c01cb798d0b294e005fd36ae051..af85ab2f523654d7a71d2d703126db627ee50135 100644 (file)
@@ -1,23 +1,37 @@
+# Example ppp0 configuration for connections with
+# TP NET using wvdial dialer (nicer than chat).
+
 DEVICE=ppp0
-CHATSCRIPT=/etc/sysconfig/interfaces/data/chat-ppp0.tpsa
 ONBOOT=no
 HARDFLOWCTL=yes
-MODEMPORT=/dev/ttyS1
+MODEMCTL=yes
+MODEMPORT=/dev/modem
 LINESPEED=115200
 QDISC="sfq quantum 1500b perturb 5"
-DEBUG=yes
+DEBUG=no
 PERSIST=no
 HOLDOFF=10
-#demand option not finished yet ;-(
-DEMAND=no
-#ACTIVEFILTER=
-#IDLE=
-PHONE=0w202122
-USER=ppp
-PASSWORD=ppp
-INITSTRING=ATe0s2=255
-DATAFORCHAT="USER PASSWORD INITSTRING"
+WVDIALSECT=TPNET
+# wvdial take care of auth
+AUTH=no
+REPORTFILE=/var/log/ppp-${DEVICE}
+
+# To get wvdial properly configured run wvdialconf; you will get
+# something like:
+#
+# [Dialer Defaults]
+# Modem = /dev/ttyS3
+# Baud = 115200
+# Init1 = ATZ
+# Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
+#
+# and then place in /etc/wvdial.conf TPNET config:
+#
+# [Dialer TPNET]:
+# Phone = 0202122
+# Username = ppp
+# Password = ppp
+#
+# and that's all!
 
-REPORTFILE=/var/log/ppp0.log
-               
 
This page took 0.024185 seconds and 4 git commands to generate.