1886530abSBrian Somers$FreeBSD$ 2886530abSBrian Somers 3d91d2861SBrian SomersThis file summarises changes made to ppp that effect 4d91d2861SBrian Somersits configuration. 5d91d2861SBrian Somers 6d91d2861SBrian SomersIt does not describe new features, rather it attempts 7d91d2861SBrian Somersto answer any `this used to work, why doesn't it now?' 8d91d2861SBrian Somersquestions. 9d91d2861SBrian Somers 10d91d2861SBrian Somerso The `set debug' command was replaced with `set log'. 11d91d2861SBrian Somerso The `set log LCP' command was split into LCP, IPCP and CCP logs. 12d91d2861SBrian Somerso Syslogd is used for logging. /etc/syslog.conf must be updated. 13d91d2861SBrian Somerso LQR is disabled by default. 14d91d2861SBrian Somerso Openmode is active by default. 15d91d2861SBrian Somerso Users must be a member of group `network' for ppp access. Furthermore, 16d91d2861SBrian Somers they must be `allow'ed to run ppp via the `allow' command in the 17d91d2861SBrian Somers configuration file. 18d91d2861SBrian Somers For a brief period, ppp could only be run as root. 19d91d2861SBrian Somerso No diagnostic socket is created by default. The `set server' command 20d91d2861SBrian Somers must be used. 21d91d2861SBrian Somerso The diagnostic socket password must be specified *only* on the `set 22d91d2861SBrian Somers server' command line. 23d91d2861SBrian Somerso When `set server' is used to re-select a diagnostic port, all existing 24d91d2861SBrian Somers diagnostic connections are dropped. 25d91d2861SBrian Somerso pppd-deflate is now called deflate24. 26d91d2861SBrian Somerso Filter IPs of 0.0.0.0 have a default width of 0, not 32. 27d91d2861SBrian Somerso Errors in `add' and `delete' are logged as warnings rather than being 28d91d2861SBrian Somers written to the TCP/IP log. 29d91d2861SBrian Somerso Any number of diagnostic prompts are allowed, and they are allowed in 30d91d2861SBrian Somers interactive mode. 31d91d2861SBrian Somerso The default `device' is cuaa1, then cuaa0 32d91d2861SBrian Somerso A password of "*" in ppp.secret causes a passwd database lookup in 33d91d2861SBrian Somers pap mode. 34d91d2861SBrian Somerso The value of the CONNECT environment variable is logged in the 35d91d2861SBrian Somers utmp host field in -direct mode. 36d91d2861SBrian Somerso Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default. 37d91d2861SBrian Somerso Reconnect values are used after an LQR timeout. 38d91d2861SBrian Somerso ^C works on the parent in -background mode. 3905dbe14bSBrian Somerso The dial/call/open command works asynchronously. As a result, prompts 40d91d2861SBrian Somers do not lose control while dialing. 41d91d2861SBrian Somerso The `display' command has been removed. All information is available 42d91d2861SBrian Somers with the appropriate `show' command. 43d91d2861SBrian Somerso Msext does not need to be enabled/disabled. Setting the NBNS (set nbns) 44d91d2861SBrian Somers will auto enable it. The DNS side may be enabled/disabled, and if 45645b7985SBrian Somers enabled without a `set dns' (was `set ns') will use values from 46645b7985SBrian Somers /etc/resolv.conf. 47d91d2861SBrian Somerso Filters are now called `allow', `dial', `in' and `out'. `set 48d91d2861SBrian Somers ifilter ...' becomes `set filter in ...' etc. 49d91d2861SBrian Somerso Authname and Authkey may only be `set' in phase DEAD. 50d91d2861SBrian Somerso Set encrypt is no longer necessary. Ppp will respond to M$CHAP 51d91d2861SBrian Somers servers correctly if it's built with DES. 52d91d2861SBrian Somerso Throughput statistics are enabled by default. 53d91d2861SBrian Somerso `Set stopped' only has two parameters. It's no longer possible to 54d91d2861SBrian Somers have an IPCP stopped timer. 55dade2407SBrian Somerso `Set timeout' only has one or two parameters. Use `set lqrperiod' and 56dade2407SBrian Somers `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout 57dade2407SBrian Somers values can be seen using the relevant show commands. 58d91d2861SBrian Somerso `set loopback' is now `enable/disable loopback'. 59d91d2861SBrian Somerso `show auto', `show loopback' and `show mtu' are all part of `show bundle'. 60d91d2861SBrian Somerso `show mru' is part of `show lcp' 61d91d2861SBrian Somerso `show msext' and `show vj' are part of `show ipcp' 62d91d2861SBrian Somerso `show reconnect' and `show redial' are part of `show link' 63d91d2861SBrian Somerso A signal 15 (TERM) will now shut down the link gracefully. 64d91d2861SBrian Somerso A signal 2 (HUP) will drop all links immediately. 65d91d2861SBrian Somerso Signal 30 (USR1) is now ignored. 66d91d2861SBrian Somerso Add & delete commands are not necessary in ppp.linkup if they are 67d91d2861SBrian Somers `sticky routes' (ie, contain MYADDR or HISADDR). 68d91d2861SBrian Somerso LINK and CARRIER logging are no longer available. 69d91d2861SBrian Somerso Timer based DEBUG messages are now logged in the new TIMER log. 70d91d2861SBrian Somerso Ppp can use tun devices > tun255. 71d91d2861SBrian Somerso Protocol-compressed packets are accepted even if they were denied 72d91d2861SBrian Somers at LCP negotiation time. 73d91d2861SBrian Somerso Passwords aren't logged when logging the ``set server'' line. 7405dbe14bSBrian Somerso Command line options only need enough characters to uniquely identify 7505dbe14bSBrian Somers them. -a == -auto, -dd == -ddial etc. -interactive is also allowed. 7680b2397cSBrian Somerso If you don't like seeing additional interface aliases when running in 7780b2397cSBrian Somers -auto -alias mode, add ``iface clear'' to your ppp.linkdown file - 7880b2397cSBrian Somers check the sample file. 796b4286e0SBrian Somerso Ppp waits for 1 second before checking whether the device supports 806b4286e0SBrian Somers carrier. This is controllable with ``set cd''. 81b5c347a3SBrian Somerso Random dial timeouts are now between 1 and 30 seconds inclusive rather 82b5c347a3SBrian Somers than between 0 and 29. 83516bf2ccSBrian Somerso Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this 84516bf2ccSBrian Somers is not required, you must ``deny chap05 chap80''. 85a8d7acdcSBrian Somerso The ``set device'' command now expects each device to be specified as an 86a8d7acdcSBrian Somers argument rather than concatentating all arguments and splitting based 87a8d7acdcSBrian Somers on commas and spaces. 88886530abSBrian Somerso The ``show modem'' command is deprecated and has been changed to 895d9e6103SBrian Somers ``show physical''. 90cad7e742SBrian Somerso The words ``host'' and ``port'' are no longer accepted by the ``set filter'' 91cad7e742SBrian Somers command. Removing them should yield the same results as before. 92886530abSBrian Somerso The ``set weight'' command has been deprecated. The ``set bandwidth'' 93ab2de065SBrian Somers command should now be used instead. 94ab2de065SBrian Somerso The ``set autoload'' command syntax and implementation have changed as the 95ab2de065SBrian Somers old implementation was mis-designed and dysfunctional. 96eb6e5e05SBrian Somerso Ppp now waits either the full ``set cd'' time or until carrier is detected 97eb6e5e05SBrian Somers before running the login script (whichever comes first). 98886530abSBrian Somerso The -alias flag has been deprecated. The -nat flag should be used instead. 99