Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: crusader on August 05, 2007, 11:56:02 PM
-
I've done a newly setup for a sme 7.2 server. I've configured anything as it was on the old 7.1.x system, but now I can't establish no pptp connection. Every time I try to connect I get this error in /var/log/messages
Aug 5 21:43:40 officeserver pptpd[4994]: CTRL: Client 87.163.110.73 control con
nection started
Aug 5 21:43:40 officeserver pptpd[4994]: CTRL: Starting call (launching pppd, o
pening GRE)
Aug 5 21:43:40 officeserver pppd[4995]: Plugin radius.so loaded.
Aug 5 21:43:40 officeserver pppd[4995]: RADIUS plugin initialized.
Aug 5 21:43:40 officeserver kernel: CSLIP: code copyright 1989 Regents of the U
niversity of California
Aug 5 21:43:40 officeserver kernel: PPP generic driver version 2.4.2
Aug 5 21:43:40 officeserver pppd[4995]: pppd 2.4.4 started by root, uid 0
Aug 5 21:43:40 officeserver kernel: divert: not allocating divert_blk for non-e
thernet device ppp0
Aug 5 21:43:40 officeserver pppd[4995]: Using interface ppp0
Aug 5 21:43:40 officeserver pppd[4995]: Connect: ppp0 <--> /dev/pts/1
Aug 5 21:43:40 officeserver pptpd[4994]: CTRL: Ignored a SET LINK INFO packet w
ith real ACCMs!
Aug 5 21:43:50 officeserver pppd[4995]: Peer admin failed CHAP authentication
Aug 5 21:43:50 officeserver pppd[4995]: Connection terminated.
Aug 5 21:43:50 officeserver kernel: divert: no divert_blk to free, ppp0 not eth
ernet
Aug 5 21:43:50 officeserver pppd[4995]: Exit.
Aug 5 21:43:50 officeserver pptpd[4994]: GRE: read(fd=6,buffer=804e5a0,len=8196
) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Aug 5 21:43:50 officeserver pptpd[4994]: CTRL: PTY read or GRE write failed (pt
y,gre)=(6,7)
Aug 5 21:43:50 officeserver pptpd[4994]: CTRL: Reaping child PPP[4995]
Aug 5 21:43:50 officeserver pptpd[4994]: CTRL: Client 87.163.110.73 control con
nection finished
-
Aug 5 21:43:50 officeserver pppd[4995]: Peer admin failed CHAP authentication
Aug 5 21:43:50 officeserver pppd[4995]: Connection terminated.
This pretty much tells you what is wrong. Make sure your username and password are correct by retyping them into your client machine and that the user has vpn access enabled in the server-manager.
-
The problem is that I have only ssh access from outside, so what do I hat to set in "db accounts" and which "signal-events" do I have to trigger. To get my user vpn connectable.
-
The problem is that I have only ssh access from outside, so what do I hat to set in "db accounts" and which "signal-events" do I have to trigger. To get my user vpn connectable.
Have you set the number of allowed pptp connections to > 0 in the remote access panel of server-manager?
And then selected VPN Client Access=Yes on the modify users screen?
Trevor B
-
Yes I know how to do that on the sme server-manager webgui, but how can I do that on command line level?
-
The problem is that I have only ssh access from outside, so what do I hat to set in "db accounts" and which "signal-events" do I have to trigger. To get my user vpn connectable.
You would look in the config & accounts db's most probably. No need to do that though.
You can access a text based server manager using ssh.
Once logged in as root, or a user with root privileges, type
console
then select server manager and log in as admin and make your changes.
Alternatively log in as admin at the ssh prompt, then select server manager as above.
Edit your users to enable VPN and edit the Remote Access panel to enable the number of permissable VPN connections.
You should also check/confirm that your router passes the gre protocol correctly.
-
Yes I know how to do that on the sme server-manager webgui, but how can I do that on command line level?
The easiest (and safest) way to make sure you get everything right is to log on as "admin" through ssh. Go to #6 "Access server manager" and use the text based server manager.
Otherwise you can try the following, I think it has all the steps required:
config setprop pptpd access public sessions 5 status enabled
db accounts setprop username1 VPNClientAccess yes
db accounts setprop username2 VPNClientAccess yes
signal-event remoteaccess-update
signal-event user-modify
-
Hey Ray,....Ditto :-)
-
paul
....Ditto :-)
great minds think alike !!
-
Thank you that was the solution I searched for. It works now.