Tomato 1.28
[tomato.git] / release / src / router / pptp-client / USING
blob18dcf173d19fda8823c947fcedc87e5c8ad75871
1 $Id: USING,v 1.1.1.1 2002/07/25 06:52:39 honor Exp $    
3 pptp is started as a psuedo-tty child process using pppd's pty option:
5         pppd call provider [pppd-options] \
6         pty "/usr/sbin/pptp hostname --nolaunchpppd [pptp-options]"
8 where hostname is the host name or IP address of the PPTP server.
10 pptp can also start pppd itself:
12         pptp hostname [pptp-options] [pppd-options]
14 Note the unusual order of arguments, the hostname comes before the
15 pptp options, and the pppd options come last.
17 So, for example:
19         pptp my.pptp.host debug name cananian \
20         remotename ntdialup 172.18.0.2:172.18.0.3
22         route add -net 172.18.0.0 netmask 255.255.0.0 gw 172.18.0.3
24 You will see three pptp-related processes in your process list: a call
25 manager, a GRE/PPP en/decapsulator, and pppd.  To shut down the pptp
26 connection, kill the pppd process.
28 NOTE THAT PPTP MUST BE RUN AS ROOT.
30 Most trouble with pptp will probably be due to incorrect pppd
31 configuration.  Be sure you thoroughly understand MS-CHAP support in
32 pppd.  Use the 'debug' option to pppd to log connection information;
33 this will help you trouble-shoot the pppd side of pptp.
35 QUIRKS HANDLING:
37 Some ADSL providers and some ADSL hardware are buggy or not conforming
38 to the RFC, and require special handling.  To this end, pptp supports
39 a 'quirks' mechanism.  Currently, only '--quirks BEZEQ_ISRAEL' is
40 defined, for connecting to Bezeq (the Israeli phone company) ADSL
41 service.
43 Only *some* of the equipment used by Bezeq needs this option, but even
44 the equipment that does not need it works fine with it.  If you use
45 Bezeq, you probably want the '--quirks BEZEQ_ISRAEL' switch.
47 More information on Bezeq's ADSL service can be found at
48 http://www.pointer.co.il/~mulix/adsl-howto.txt and
49 http://damyen.technion.ac.il/~dani/adsl-howto.txt.