[pptp-server] linux-client

Alaa Alamood aaa at netman.dk
Tue Jun 20 03:15:56 CDT 2000


Hi

When we tried to the pptp server from pptp client we got the following logs,
we have tested the server by using windows(95, 98 ,nt, 2000) clients, and it
working without any problems


1- PPTP server side logs

Jun 19 09:55:54 pptp_server pptpd[18938]: MGR: Launching /usr/sbin/pptpctrl
to handle client
Jun 19 09:55:54  pptp_server pptpd[18938]: CTRL: local address = 172.16.1.1
Jun 19 09:55:54 pptp_server pptpd[18938]: CTRL: remote address = 172.16.0.10
Jun 19 09:55:54 pptp_server pptpd[18938]: CTRL: pppd speed = 115200
Jun 19 09:55:54 pptp_server pptpd[18938]: CTRL: pppd options file =
/etc/ppp/options
Jun 19 09:55:54 pptp_server pptpd[18938]: CTRL: Client 213.237.2.96 control
connection started
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Received PPTP Control Message
(type: 1)
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Made a START CTRL CONN RPLY
packet
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: I wrote 156 bytes to the
client.
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Sent packet to client
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Received PPTP Control Message
(type: 7)
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Set parameters to 152 maxbps,
3 window size
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Made a OUT CALL RPLY packet
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: Starting call (launching
pppd, opening GRE)
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: pty_fd = 5
Jun 19 09:55:55 pptp_server pptpd[18938]: CTRL: tty_fd = 6
Jun 19 09:55:56 pptp_server pptpd[18939]: CTRL (PPPD Launcher): Connection
speed = 115200
Jun 19 09:55:56 pptp_server pptpd[18939]: CTRL (PPPD Launcher): local address
= 172.16.1.1
Jun 19 09:55:56 pptp_server pptpd[18939]: CTRL (PPPD Launcher): remote
address = 172.16.0.10
Jun 19 09:55:56 pptp_server pptpd[18938]: CTRL: I wrote 32 bytes to the
client.
Jun 19 09:55:56 pptp_server pptpd[18938]: CTRL: Sent packet to client
Jun 19 09:55:56 pptp_server modprobe: Note: /etc/conf.modules is more recent
than /lib/modules/2.2.14-5.0/modules.dep
Jun 19 09:55:58 pptp_server pptpd[18938]: GRE: Discarding duplicate packet
Jun 19 09:56:02 pptp_server pptpd[18938]: GRE:
read(fd=5,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
Input/o
utput error
Jun 19 09:56:02 pptp_server pptpd[18938]: CTRL: PTY read or GRE write failed
(pty,gre)=(5,6)
Jun 19 09:56:02 pptp_server pptpd[18938]: CTRL: Client 213.237.2.96 control
connection finished
Jun 19 09:56:02 pptp_server pptpd[18938]: CTRL: Exiting now
Jun 19 09:56:03 pptp_server pptpd[749]: MGR: Reaped child 18938


2- Client logs side

        Jun 19 19:23:04 arthur (unknown)[1108]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:531]: Client connection
established.
Jun 19 19:23:04 arthur (unknown)[1108]:
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:637]: Outgoing call established.
Jun 19 19:23:04 arthur pppd[1111]: pppd 2.3.10 started by root, uid 0
Jun 19 19:23:04 arthur pppd[1111]: Using interface ppp1
Jun 19 19:23:04 arthur pppd[1111]: Connect: ppp1 <--> /dev/ttya0
Jun 19 19:23:08 arthur pppd[1111]: peer refused to authenticate: terminating
link
Jun 19 19:23:08 arthur pppd[1111]: Connection terminated.
Jun 19 19:23:09 arthur pppd[1111]: Exit.


"Kenneth E. Lussier" wrote:

> I'm assuming that you are connecting to a poptop server. Do you log
> pptpd activity on the server side? If so that might be helpful. If not,
> enable it in /etc/syslogd.conf. As for having to reboot after each try,
> no you don't. Just delete /var/run/pptp/xxx.xxx.xxx.xxx (ip address of
> the server).
>
> Kenny
>
> --
> Kenny Lussier
> Systems Administrator
> Mission Critical Linux
> ***********************************
> The road to happiness is paved
> with potholes. The road to
> Hell is paved with good intentions.
> Does the DPW know about this??
> ***********************************
>
> Alaa Alamood wrote:
> >
> > Hi
> >
> > I have installed linux client 1.0.2, on my redhat 62 box,
> >
> > the following files look like
> >
> > 1- /etc/ppp/options
> >
> >     lock
> >     name my_pptp_server
> >     +chapms
> >     +chapms-v2
> >     mppe-40
> >     mppe-128
> >     mppe-stateless
> >
> > 2 - /etc/ppp/chap-secret
> >
> > Alaa                   my_pptp_server       secret         *
> > my_pptp_server       aaa                    secret                   *
> >
> > I tried to connect to the server with
> >
> > ../pptp xxx.xxx.xxx.xxx  name aaa remotename my_pptp_server
> >
> > I got
> >
> > (unknown)[721]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:531]: Client
> > connection established.
> > (unknown)[721]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:637]: Outgoing
> >
> > call established.
> >
> > and  after 40 secunt I get
> >  (unknown)[721]: log[pptp_read_some:pptp_ctrl.c:368]: read error: Broken
> >
> > pipe
> >
> > the connection of course will terminat and I have to reboot the mashine
> > before I can try again
> >
> > Regards
> > Alaa
> >
> > _______________________________________________
> > pptp-server maillist  -  pptp-server at lists.schulte.org
> > http://lists.schulte.org/mailman/listinfo/pptp-server
> > List services provided by www.schulteconsulting.com!
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulteconsulting.com!






More information about the pptp-server mailing list