Koozali.org: home of the SME Server

PPTP no longer working after upgrade to 5.1.2

Joost

PPTP no longer working after upgrade to 5.1.2
« on: March 12, 2002, 02:15:49 PM »
I upgraded my home e-smith machine from 4.1.2 to 5.1.2 and after that I'm no longer able to connect my win machines on the home network to the 5.0 server on the other side. This is the /var/log/messages part on the 5.0 machine. If xxx out the real ip addressses
Joost

Mar 12 11:09:25 muro pptpd[4900]: MGR: Launching /usr/sbin/pptpctrl to handle client
Mar 12 11:09:25 muro pptpd[4900]: CTRL: local address = 192.168.2.1
Mar 12 11:09:25 muro pptpd[4900]: CTRL: remote address = 192.168.2.47
Mar 12 11:09:25 muro pptpd[4900]: CTRL: pppd speed = 460800
Mar 12 11:09:25 muro pptpd[4900]: CTRL: pppd options file = /etc/ppp/options.pptpd
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Received PPTP Control Message (type: 1)
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Made a START CTRL CONN RPLY packet
Mar 12 11:09:25 muro pptpd[4900]: CTRL: I wrote 156 bytes to the client.
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Sent packet to client
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Received PPTP Control Message (type: 7)
Mar 12 11:09:25 muro pptpd[4900]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Made a OUT CALL RPLY packet
Mar 12 11:09:25 muro pptpd[4900]: CTRL: Starting call (launching pppd, opening GRE)
Mar 12 11:09:25 muro pptpd[4900]: CTRL: pty_fd = 5
Mar 12 11:09:25 muro pptpd[4900]: CTRL: tty_fd = 6
Mar 12 11:09:25 muro pptpd[4901]: CTRL (PPPD Launcher): Connection speed = 460800
Mar 12 11:09:26 muro pptpd[4901]: CTRL (PPPD Launcher): local address = 192.168.2.1
Mar 12 11:09:26 muro pptpd[4901]: CTRL (PPPD Launcher): remote address = 192.168.2.47
Mar 12 11:09:25 muro pptpd[4900]: CTRL: I wrote 32 bytes to the client.
Mar 12 11:09:26 muro pptpd[4900]: CTRL: Sent packet to client
Mar 12 11:09:26 muro pptpd[4900]: CTRL: Received PPTP Control Message (type: 15)
Mar 12 11:09:26 muro pptpd[4900]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Mar 12 11:09:26 muro modprobe: modprobe: Can't locate module char-major-108
Mar 12 11:09:26 muro pppd[4901]: pppd 2.4.0 started by root, uid 0
Mar 12 11:09:26 muro pppd[4901]: Using interface ppp1
Mar 12 11:09:26 muro pppd[4901]: Connect: ppp1 <--> /dev/pts/2
Mar 12 11:09:56 muro pppd[4901]: LCP: timeout sending Config-Requests
Mar 12 11:09:56 muro pppd[4901]: Connection terminated.
Mar 12 11:09:56 muro pppd[4901]: Exit.
Mar 12 11:09:56 muro pptpd[4900]: Error reading from pppd: Input/output error
Mar 12 11:09:56 muro pptpd[4900]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
Mar 12 11:09:56 muro pptpd[4900]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
Mar 12 11:09:56 muro pptpd[4900]: CTRL: Exiting now
Mar 12 11:09:56 muro pptpd[4623]: MGR: Reaped child 4900

Dan G.

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #1 on: March 12, 2002, 05:48:39 PM »
Are all of your Windows 2000 systems running SP2, and all your Windows 98 systems running DUN 1.4 upgrade?

joost

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #2 on: March 12, 2002, 05:54:46 PM »
I'm running XP and everything was working fine until I upgraded the server on my end to 5.1.2 from 4.1.2 The other end stayed at version 5

Joost

Dan G.

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #3 on: March 12, 2002, 06:12:43 PM »
Try forcing compression OFF in the config on the XP side.

joost

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #4 on: March 12, 2002, 07:13:41 PM »
No use. The only variable that's changed is the SME server version. On the XP side, it stops when it says verifying username and password
Joost

Dan G.

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #5 on: March 12, 2002, 07:42:07 PM »
Hmmm...

The max retries for the connection defaults to 10, but on dodgy connections, it sometimes need more.  This might work:

mkdir -p /etc/e-smith/templates-custom/etc/ppp
cp -rp /etc/e-smith/templates/etc/ppp/options /etc/e-smith/templates-custom/ppp

edit /etc/e-smith/templates-custom/ppp/options

add: 'lcp-max-configure 20'  and save.

Expand the template:
sbin/e-smith/expand-template /etc/ppp/options

Update running config:
/sbin/e-smith/signal-event remoteaccess-update

Check /etc/ppp/options, and make sure the new setting appears there.  I believe the remoteaccess-update will restart everything necessary --- but I reboot certainly will.  Try one, then the other.

Since I don't have any clients exhibiting this symptom, I have no way to test.  Let your conscience be your guide :)

Dan

Steve Bush

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #6 on: March 13, 2002, 09:17:48 AM »
Did you have anything in your
etc/e-smith/templates-custom
that might interfere with the new version of SME?

robert

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #7 on: March 13, 2002, 01:05:56 PM »
OK, this is all pure speculation and actually highly unlikely, but what the heck:
Maybe the upgrade from e-smith 4.1.2 to SME 5.1.2 failed to remove ip_masq_vpn
Can you check on that?

Also, can you check to see what package owns ip_masq_pptp:
rpm -qf /lib/modules/2.2.19-7.0.8/ipv4/ip_masq_pptp.o

BTW, what does lsmod say? Is ip_masq_pptp loaded at all?

HTH,
Robert

joost

Re: PPTP no longer working after upgrade to 5.1.2
« Reply #8 on: March 14, 2002, 10:56:09 PM »
Hello all,

Thanks for the tips. After a lot of poking around, I found out it had something to do with my ip-lease from my cable DHCP server. I don't know what happened, but for safety, I just logged in as admin and ran the configuration process. Then I rebooted, checked my external IP address and ran an ip-change. I then (re)started httpd (this had also stopped, because the external IP address was left blank...) and pptpd, and now everything seems to be running fine.

Joost