[pptp-server] obtain an ip address for the client.

Sylvain de Tilly sdetilly at mandrakesoft.com
Thu Aug 2 11:45:50 CDT 2001


Hi,

I use pptp-server-1.0.1 on a Linux mandrake 8.1 cooker (beta) and I
want to connect to my server a win2000 or win98 (2nd edition)
client. All clients are on the same subnet (192.168.1.0/24) But I
can't obtain an ip address automaticaly (if I fix it, that's work well
with two os).  win2000 error message is 
        - ERROR 738 THE SERVER DID NOT ASSIGN AN ADDRESS !

This is my /etc/ppptp.conf on test6 computer :

: debug
: localip 192.168.1.107
: remoteip 192.168.1.108

and my /etc/ppp/options :

: debug
: name ici.mandrakesoft.com
: auth
: require-chap
: proxyarp

Even my /etc/ppp/chat-secrets :
: # Secrets for authentication using CHAP
: # client	server	secret			IP addresses
: stilly		test6.mandrakesoft.com    coucou			*

Here my log message with a win2000 client :

Aug  2 11:39:21 test6 pptpd[14054]: MGR: Manager process started
Aug  2 11:39:30 test6 nmbd[1285]: [2001/08/02 11:39:30, 0] nmbd/nmbd_incomingdgrams.c:process_master_browser_announce(387)
Aug  2 11:39:30 test6 nmbd[1285]:   process_master_browser_announce: Not configured as domain master - ignoring master announce.
Aug  2 11:39:31 test6 pptpd[14055]: MGR: Launching /usr/sbin/pptpctrl to handle client
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Client 192.168.1.249 control connection started
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Received PPTP Control Message (type: 1)
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Made a START CTRL CONN RPLY packet
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: I wrote 156 bytes to the client.
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Sent packet to client
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Received PPTP Control Message (type: 7)
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Set parameters to 1525 maxbps, 64 window size
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Made a OUT CALL RPLY packet
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Starting call (launching pppd, opening GRE)
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: pty_fd = 4
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: tty_fd = 5
Aug  2 11:39:31 test6 pptpd[14056]: CTRL (PPPD Launcher): Connection speed = 115200
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: I wrote 32 bytes to the client.
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Sent packet to client
Aug  2 11:39:31 test6 pppd[14056]: pppd 2.4.1 started by root, uid 0
Aug  2 11:39:31 test6 pppd[14056]: using channel 23
Aug  2 11:39:31 test6 pppd[14056]: Using interface ppp0
Aug  2 11:39:31 test6 pppd[14056]: Connect: ppp0 <--> /dev/pts/2
Aug  2 11:39:31 test6 pppd[14056]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x6f26da34> <pcomp> <accomp>]
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Received PPTP Control Message (type: 15)
Aug  2 11:39:31 test6 pptpd[14055]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Aug  2 11:39:31 test6 pptpd[14055]: GRE: Discarding duplicate packet
Aug  2 11:39:33 test6 pppd[14056]: rcvd [LCP ConfReq id=0x1 <magic 0x3c0678f0> <pcomp> <accomp>]
Aug  2 11:39:33 test6 pppd[14056]: sent [LCP ConfAck id=0x1 <magic 0x3c0678f0> <pcomp> <accomp>]
Aug  2 11:39:34 test6 pppd[14056]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x6f26da34> <pcomp> <accomp>]
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Received PPTP Control Message (type: 15)
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug  2 11:39:34 test6 pppd[14056]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x6f26da34> <pcomp> <accomp>]
Aug  2 11:39:34 test6 pppd[14056]: sent [CHAP Challenge id=0x1 <927259274fa937e31f0a4f5fb051e0dc42bd>, name = "test6.mandrakesoft.com"]
Aug  2 11:39:34 test6 pppd[14056]: rcvd [CHAP Response id=0x1 <66444841fd384a61039cf252a707784a>, name = "stilly"]
Aug  2 11:39:34 test6 pppd[14056]: sent [CHAP Success id=0x1 "Welcome to test6.mandrakesoft.com."]
Aug  2 11:39:34 test6 pppd[14056]: sent [IPCP ConfReq id=0x1 <addr 192.168.1.107> <compress VJ 0f 01>]
Aug  2 11:39:34 test6 pppd[14056]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Aug  2 11:39:34 test6 pppd[14056]: CHAP peer authentication succeeded for stilly
Aug  2 11:39:34 test6 pppd[14056]: rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Aug  2 11:39:34 test6 pppd[14056]: rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Aug  2 11:39:34 test6 pppd[14056]: sent [IPCP ConfRej id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Aug  2 11:39:34 test6 pppd[14056]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
Aug  2 11:39:34 test6 pppd[14056]: sent [IPCP ConfReq id=0x2 <addr 192.168.1.107>]
Aug  2 11:39:34 test6 pppd[14056]: rcvd [IPCP ConfReq id=0x4 <addr 0.0.0.0>]
Aug  2 11:39:34 test6 pppd[14056]: sent [IPCP ConfRej id=0x4 <addr 0.0.0.0>]
Aug  2 11:39:34 test6 pppd[14056]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.1.107>]
Aug  2 11:39:34 test6 pppd[14056]: rcvd [IPCP TermReq id=0x5 "<\006x\37777777760\000<\37777777715t\000\000\002\37777777742"]
Aug  2 11:39:34 test6 pppd[14056]: sent [IPCP TermAck id=0x5]
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Received PPTP Control Message (type: 15)
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug  2 11:39:34 test6 pppd[14056]: rcvd [LCP TermReq id=0x6 "<\006x\37777777760\000<\37777777715t\000\000\000\000"]
Aug  2 11:39:34 test6 pppd[14056]: LCP terminated by peer (<^FxM-p^@<M-Mt^@^@^@^@)
Aug  2 11:39:34 test6 pppd[14056]: sent [LCP TermAck id=0x6]
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Received PPTP Control Message (type: 12)
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Made a CALL DISCONNECT RPLY packet
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Received CALL CLR request (closing call)
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: I wrote 148 bytes to the client.
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Sent packet to client
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Error with select(), quitting
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Client 192.168.1.249 control connection finished
Aug  2 11:39:34 test6 pptpd[14055]: CTRL: Exiting now
Aug  2 11:39:34 test6 pptpd[14054]: MGR: Reaped child 14055
Aug  2 11:39:34 test6 pppd[14056]: Modem hangup
Aug  2 11:39:34 test6 pppd[14056]: Connection terminated.
Aug  2 11:39:34 test6 pppd[14056]: Connect time 0.1 minutes.
Aug  2 11:39:34 test6 pppd[14056]: Sent 89 bytes, received 80 bytes.
Aug  2 11:39:34 test6 pppd[14056]: Exit.


I try the same configuration with samba as the domain master but this
change anythings.


Thank for your time.



More information about the pptp-server mailing list