[pptp-server] linux-client

Jeffrey Hummel jhummel at fulltiltsolutions.com
Wed Jun 21 09:29:31 CDT 2000


Gentlemen,

You need to specify options on the command line and in a specific order.

My command line would be like this ( I use the linux client to route my home
network to a NT box residing on our company lan.

pptp [server ip address] lock noauth debug user [username or
DOMAIN\\username] +chapms-v2 mppe-128 mppe-stateless noauth

You must also have the username or DOMAIN\\username and password specified
in the /etc/ppp/chap-secrets file like this

username	*	[Password]	*

That should do it.

The problem is that the linux client wants the server to authenticate
itself.  This is okay if you are doing a one to one PPTP connection with a
linux PPTP server.  NT PPTP server doesn't send out anything to
authenticate, so therefore you need to turn off authorization.  

I have noauth specified twice because it doesn't take just once for me.
Maybe only once for you.  Also, for testing purposes, you may not want to
turn on encryption until it works well without it.

-J

-----Original Message-----
From: Alaa Alamood [mailto:aaa at netman.dk]
Sent: Wednesday, June 21, 2000 9:17 AM
To: Kenneth E. Lussier
Cc: pptp-server at lists.schulte.org
Subject: Re: [pptp-server] linux-client


"Kenneth E. Lussier" wrote:


Hi

I still have the same problem



> try using this for an options file on the client side:
>
> debug
> user your_username_here
> password your_password_here
> noauth
> lock
> defaultroute
>
> I believe that the client will require the server to authenticate bey
> default, so the `noauth` option is required.
> 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
> >
> > 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!
> _______________________________________________
> 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