Koozali.org: home of the SME Server

vpn and win98se on sme 6.0

SSBN

vpn and win98se on sme 6.0
« on: January 22, 2004, 10:03:16 PM »
I am tring to connected to sme 6.0 from windows 98. I can connect to the server from my windows xp computer. I have installed all the updates for win 98 including the 1.4 dialer update. But I keep getting 629 errors.

Have any of you connected a win 98 to 6.0 by vpn
If so can you tell me what you did and what your settings are.

shanen

vpn and win98se on sme 6.0
« Reply #1 on: January 22, 2004, 11:30:14 PM »
From memory, you need the dun128 update.
Uninstall dun and reboot, reinstall from the win98 disk then upgrade. The upgrade comes with an "ini" file that you right click on and select install.
Search google for dun128 and it will work a treat.
You have to display the propertys of "Pppmac.vxd" in windows/system directory, and make sure the version number is 4.10.200. It also has the following disclamer "PPPMAC (US/Canada Only, Not for Export)"
If the version number is not right, you can just replace the files manually.
This site will help you.
http://www.knowplace.org/pptp-hints.html

ssbn

vpn and win98se on sme 6.0
« Reply #2 on: January 23, 2004, 04:08:40 AM »
Tell me if this is not strange. I added the dun128 stuff. I still can’t connect to the vpn server from win 98. Now here is the strange part. I tried to connected from my xp computer (had been working) and I get error 619. Now I can't get my xp to connect any more.

Could I have broke vpn by tiring to log in with windows 98. Have any of you run into the same thing. I made no changes to my xp computer that was working this morning.

shanen

vpn and win98se on sme 6.0
« Reply #3 on: January 23, 2004, 04:48:29 AM »
Error Code 619 =A connection to remote could not be established so the port used for this connection was closed.

Double check you have pptp enabled in server manager and set number of clients to whatever you need. (I know you had it working, but check anyway and maybe increase connections)

Are you using the internel ip of SME as the server address for the connection?
Can you ping it?
Have you looked in the logs? Messages log will tell you.
Have you installed and mods?

SSBN

vpn and win98se on sme 6.0
« Reply #4 on: January 23, 2004, 06:29:23 AM »
Thanks for you help.
I have pptp clients set to 15 I upped it from 6. I can contact the server as I can SSH into it. I am using the external ip.  
What log file do i look in?
What mods are their for 6.0 VPN.

shanen

vpn and win98se on sme 6.0
« Reply #5 on: January 23, 2004, 08:34:19 AM »
No probs...
In server manager:
Logs
Messages

You may be able to see some error messages then search the forums and google.

How is your SME setup?
Are you using a modem/router?
Does it allow vpn passthrough?
Does your external nic have an external address?
I presume you are connnecting from the internet.

If you could give us a more detailed description of the enviroment, that would be great.

Shane

SSBN

vpn and win98se on sme 6.0
« Reply #6 on: January 23, 2004, 07:14:49 PM »
This is really starting to baffle me. Here is my setup.

Remote location.(where I am trying to connect from)(my office)
I have a smoothwall 2.0 firewall and two SME servers. One in a DMZ for email and web pages. The other is just a file server. I have two client computers I use for testing. One is windows XP pro with all the updates. The other is win 98 with all the updates and is for testing win98 VPN’s. I have a cable internet connection. I use my xp computer to connect to 3 SME 5.6 servers and two windows servers one 2000 server and the other SBS 2000.
I can VPN to any of these servers from my xp computer with no problem. All of the servers are not local to my network. They are all in remote locations connected via the web.

Now I have one site that I set up SME 6.0 to se how well it worked. They have a DSL connection with a static ip. The internet connection is plugged into the sme server directly. I can ping the server just fine and can even ssh into the server. I am the only person making any changes to the server. I do all this off site from my office.

Here is my strange problem. From my office windows XP computer I can connect to the server most of the time. But every now and then it tells me the port is closed and will deny my connection. It seems to deny me when I try to connect from my windows 98 computer and it fails. It will then prevent my XP computer from connection after that. Restarting the 6.0 server doesn’t seem to fix it. But if a hold off for a day it will start to let me connect again. I do not use the same vpn account on both my computers. I make sour my xp vpn is not connected when I try to connect my 98 computer as the would both have the same ip and that may confuse the 6.0 computer.

I also try to connect to the 6.0 server from a win 98 lap top with dial up to be sour it is not my network. I get a 629 error on both 98 computers.  

Win 98 computers
They are both win 98 SE
They both have all the updates
+the 1.4 dialer update and the don128 update

The vpn dialer has the proper ip address of the 6.0 server
In properties under server type I have
Log on to network checked
Require secure passwords checked
Just the tcip protocol checked

In  tcip settings I have just ip header compression checked. All ip info is set to auto detect.

I have played with different configurations of this setup.
I will post the log files shortly.

SSBN

vpn and win98se on sme 6.0
« Reply #7 on: January 23, 2004, 09:16:32 PM »
Here is the log file. I also confirmed with the ISP there dsl router is working and not blocking any ports. I am also starting to think my xp loose of connection problem may be due to the server blocking the ip temporally because the 98 computer is trying to log on so much and failing. They would both have the same external IP from my office. Jo just getting the 98 computer to log on is my only problem.

This log file should have the windows 98 filed log and then the xp log on that works.

Jan 23 16:06:16 server001 pptpd[26445]: CTRL: Made a ECHO RPLY packet
Jan 23 16:06:16 server001 pptpd[26445]: CTRL: I wrote 20 bytes to the client.
Jan 23 16:06:16 server001 pptpd[26445]: CTRL: Sent packet to client
Jan 23 16:07:16 server001 pptpd[26445]: CTRL: Received PPTP Control Message (type: 5)
Jan 23 16:07:16 server001 pptpd[26445]: CTRL: Made a ECHO RPLY packet
Jan 23 16:07:16 server001 pptpd[26445]: CTRL: I wrote 20 bytes to the client.
Jan 23 16:07:16 server001 pptpd[26445]: CTRL: Sent packet to client
Jan 23 16:08:16 server001 pptpd[26445]: CTRL: Received PPTP Control Message (type: 5)
Jan 23 16:08:16 server001 pptpd[26445]: CTRL: Made a ECHO RPLY packet
Jan 23 16:08:16 server001 pptpd[26445]: CTRL: I wrote 20 bytes to the client.
Jan 23 16:08:16 server001 pptpd[26445]: CTRL: Sent packet to client
Jan 23 16:09:16 server001 pptpd[26445]: CTRL: Received PPTP Control Message (type: 5)
Jan 23 16:09:16 server001 pptpd[26445]: CTRL: Made a ECHO RPLY packet
Jan 23 16:09:16 server001 pptpd[26445]: CTRL: I wrote 20 bytes to the client.
Jan 23 16:09:16 server001 pptpd[26445]: CTRL: Sent packet to client
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Received PPTP Control Message (type: 15)
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Jan 23 16:10:10 server001 pppd[26446]: LCP terminated by peer (G^M7^J^@<M-Mt^@^@^@^@)
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Received PPTP Control Message (type: 12)
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Made a CALL DISCONNECT RPLY packet
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Received CALL CLR request (closing call)
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: I wrote 148 bytes to the client.
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Sent packet to client
Jan 23 16:10:10 server001 pppd[26446]: Modem hangup
Jan 23 16:10:10 server001 pppd[26446]: Connection terminated.
Jan 23 16:10:10 server001 pppd[26446]: Connect time 10.9 minutes.
Jan 23 16:10:10 server001 pppd[26446]: Sent 2290175 bytes, received 79478 bytes.
Jan 23 16:10:10 server001 kernel: divert: no divert_blk to free, ppp0 not ethernet
Jan 23 16:10:10 server001 /etc/hotplug/net.agent: NET unregister event not supported
Jan 23 16:10:10 server001 e-smith[26895]: Processing event: ip-down ppp0 /dev/pts/0 460800 192.168.0.1 192.168.0.87 pptpd
Jan 23 16:10:10 server001 e-smith[26895]: Running event handler: /etc/e-smith/events/ip-down/S50isdn-down-notify
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Received PPTP Control Message (type: 3)
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Made a STOP CTRL CONN RPLY packet
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Received STOP CTRL CONN request (disconnecting)
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: I wrote 16 bytes to the client.
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Sent packet to client
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Client 24.230.193.170 control connection finished
Jan 23 16:10:10 server001 pptpd[26445]: CTRL: Exiting now
Jan 23 16:10:10 server001 pptpd[5120]: MGR: Reaped child 26445
Jan 23 16:10:10 server001 e-smith[26895]: S50isdn-down-notify=action|Event|ip-down|Action|S50isdn-down-notify|Start|1074888610 545775|End|1074888610 732426|Elapsed|0.186651
Jan 23 16:10:10 server001 e-smith[26895]: Running event handler: /etc/e-smith/events/ip-down/S70pptp-interface-access
Jan 23 16:10:10 server001 /etc/e-smith/events/ip-down/S70pptp-interface-access[26897]: /home/e-smith/configuration: OLD pptpd=service|Interfaces|ppp0|StartIP|3232235606|sessions|15|status|enabled
Jan 23 16:10:10 server001 /etc/e-smith/events/ip-down/S70pptp-interface-access[26897]: /home/e-smith/configuration: NEW pptpd=service|Interfaces||StartIP|3232235606|sessions|15|status|enabled
Jan 23 16:10:10 server001 e-smith[26895]: S70pptp-interface-access=action|Event|ip-down|Action|S70pptp-interface-access|Start|1074888610 732653|End|1074888610 913221|Elapsed|0.180568
Jan 23 16:10:10 server001 e-smith[26895]: Running event handler: /etc/e-smith/events/ip-down/S80conf-masq
Jan 23 16:10:11 server001 e-smith[26895]: S80conf-masq=action|Event|ip-down|Action|S80conf-masq|Start|1074888610 913478|End|1074888611 337473|Elapsed|0.423995
Jan 23 16:10:11 server001 e-smith[26895]: Running event handler: /etc/e-smith/events/ip-down/S85adjust-masq
Jan 23 16:10:12 server001 e-smith[26895]: S85adjust-masq=action|Event|ip-down|Action|S85adjust-masq|Start|1074888611 337686|End|1074888612 33312|Elapsed|0.695626
Jan 23 16:10:12 server001 pppd[26446]: Connect time 10.9 minutes.
Jan 23 16:10:12 server001 pppd[26446]: Sent 2290175 bytes, received 79478 bytes.
Jan 23 16:10:12 server001 pppd[26446]: Exit.
Jan 23 16:10:37 server001 pptpd[27089]: MGR: Launching /usr/sbin/pptpctrl to handle client
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: local address = 192.168.0.1
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: remote address = 192.168.0.86
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: pppd speed = 460800
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: pppd options file = /etc/ppp/options.pptpd
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: Client 24.230.193.170 control connection started
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: Received PPTP Control Message (type: 1)
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: Made a START CTRL CONN RPLY packet
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: I wrote 156 bytes to the client.
Jan 23 16:10:37 server001 pptpd[27089]: CTRL: Sent packet to client
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: Received PPTP Control Message (type: 7)
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: Set parameters to 0 maxbps, 16 window size
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: Made a OUT CALL RPLY packet
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: Starting call (launching pppd, opening GRE)
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: pty_fd = 5
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: tty_fd = 6
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: I wrote 32 bytes to the client.
Jan 23 16:10:38 server001 pptpd[27089]: CTRL: Sent packet to client
Jan 23 16:10:38 server001 pptpd[27090]: CTRL (PPPD Launcher): Connection speed = 460800
Jan 23 16:10:38 server001 pptpd[27090]: CTRL (PPPD Launcher): local address = 192.168.0.1
Jan 23 16:10:38 server001 pptpd[27090]: CTRL (PPPD Launcher): remote address = 192.168.0.86
Jan 23 16:10:38 server001 pppd[27090]: pppd 2.4.2b1 started by root, uid 0
Jan 23 16:10:38 server001 pppd[27090]: Starting negotiation on /dev/pts/0
Jan 23 16:11:08 server001 pppd[27090]: LCP: timeout sending Config-Requests
Jan 23 16:11:08 server001 pppd[27090]: Connection terminated.
Jan 23 16:11:08 server001 pppd[27090]: Exit.
Jan 23 16:11:08 server001 pptpd[27089]: GRE: read(fd=5,buffer=804d940,len=8196) from PTY failed: status = -1 error = Input/output error
Jan 23 16:11:08 server001 pptpd[27089]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Jan 23 16:11:08 server001 pptpd[27089]: CTRL: Client 24.230.193.170 control connection finished
Jan 23 16:11:08 server001 pptpd[27089]: CTRL: Exiting now
Jan 23 16:11:08 server001 pptpd[5120]: MGR: Reaped child 27089
Jan 23 16:11:20 server001 pptpd[27109]: MGR: Launching /usr/sbin/pptpctrl to handle client
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: local address = 192.168.0.1
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: remote address = 192.168.0.87
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: pppd speed = 460800
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: pppd options file = /etc/ppp/options.pptpd
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Client 24.230.193.170 control connection started
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Received PPTP Control Message (type: 1)
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Made a START CTRL CONN RPLY packet
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: I wrote 156 bytes to the client.
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Sent packet to client
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Received PPTP Control Message (type: 7)
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Set parameters to 1525 maxbps, 64 window size
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Made a OUT CALL RPLY packet
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Starting call (launching pppd, opening GRE)
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: pty_fd = 5
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: tty_fd = 6
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: I wrote 32 bytes to the client.
Jan 23 16:11:20 server001 pptpd[27109]: CTRL: Sent packet to client
Jan 23 16:11:20 server001 pptpd[27110]: CTRL (PPPD Launcher): Connection speed = 460800
Jan 23 16:11:20 server001 pptpd[27110]: CTRL (PPPD Launcher): local address = 192.168.0.1
Jan 23 16:11:20 server001 pptpd[27110]: CTRL (PPPD Launcher): remote address = 192.168.0.87
Jan 23 16:11:20 server001 pppd[27110]: pppd 2.4.2b1 started by root, uid 0
Jan 23 16:11:20 server001 pppd[27110]: Starting negotiation on /dev/pts/0
Jan 23 16:11:21 server001 pptpd[27109]: CTRL: Received PPTP Control Message (type: 15)
Jan 23 16:11:21 server001 pptpd[27109]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Jan 23 16:11:21 server001 pptpd[27109]: GRE: Discarding duplicate packet
Jan 23 16:11:23 server001 pptpd[27109]: CTRL: Received PPTP Control Message (type: 15)
Jan 23 16:11:23 server001 pptpd[27109]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Jan 23 16:11:23 server001 kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Jan 23 16:11:23 server001 pppd[27110]: Using interface ppp0
Jan 23 16:11:23 server001 pppd[27110]: New bundle ppp0 created
Jan 23 16:11:23 server001 pppd[27110]: CHAP peer authentication succeeded for ddrysdale
Jan 23 16:11:23 server001 /etc/hotplug/net.agent: assuming ppp0 is already up
Jan 23 16:11:23 server001 pppd[27110]: MPPE 128-bit stateless compression enabled
Jan 23 16:11:26 server001 pppd[27110]: found interface eth0 for proxy arp
Jan 23 16:11:26 server001 pppd[27110]: local  IP address 192.168.0.1
Jan 23 16:11:26 server001 pppd[27110]: remote IP address 192.168.0.87
Jan 23 16:11:26 server001 e-smith[27124]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.0.1 192.168.0.87 pptpd
Jan 23 16:11:26 server001 e-smith[27124]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Jan 23 16:11:26 server001 /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[27125]: /home/e-smith/configuration: OLD pptpd=service|Interfaces||StartIP|3232235606|sessions|15|status|enabled
Jan 23 16:11:26 server001 /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[27125]: /home/e-smith/configuration: NEW pptpd=service|Interfaces|ppp0|StartIP|3232235606|sessions|15|status|enabled
Jan 23 16:11:26 server001 e-smith[27124]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1074888686 381972|End|1074888686 566796|Elapsed|0.184824
Jan 23 16:11:26 server001 e-smith[27124]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S80conf-masq
Jan 23 16:11:27 server001 e-smith[27124]: S80conf-masq=action|Event|ip-up.pptpd|Action|S80conf-masq|Start|1074888686 567026|End|1074888687 11350|Elapsed|0.444324
Jan 23 16:11:27 server001 e-smith[27124]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S85adjust-masq
Jan 23 16:11:27 server001 e-smith[27124]: S85adjust-masq=action|Event|ip-up.pptpd|Action|S85adjust-masq|Start|1074888687 11565|End|1074888687 685226|Elapsed|0.673661

Anonymous

vpn and win98se on sme 6.0
« Reply #8 on: January 24, 2004, 12:27:23 AM »
Looks like it is a known bug.
Are you using the final release of 6?


A quick look around and found this thread:
http://www.mail-archive.com/devinfo@lists.e-smith.org/msg11972.html

and this

http://forums.contribs.org/index.php?topic=20218.msg79566#msg79566

Sooooo you are not the only one :-(
Sorry I can't be of help

shanen

vpn and win98se on sme 6.0
« Reply #9 on: January 24, 2004, 12:52:05 AM »
That was meeee...dead cookie

whistler

vpn and win98se on sme 6.0
« Reply #10 on: January 24, 2004, 11:32:15 AM »
Maybe reading these docs help:
http://poptop.sourceforge.net/dox/

I do not remember, what problems I once had with 5.6, but reading these instructions did help. Anyway, your log file reminds me the one I had during my problems.

NB!
No IP header compression
Do not use default gateway
Check TCP/IP
Use password encryption, data encryption and compression. MS-CHAP v2.

Windows 98 neended a correct patch too!
I remember, that I tried different patches before I got it working. I do not remember which one was the working one.

Offline raem

  • *
  • 3,972
  • +4/-0
vpn and win98se on sme 6.0
« Reply #11 on: January 27, 2004, 05:22:17 AM »
For Win98 you need to use dun14-98.exe

For Win98SE you should use dun14-SE.exe

Make sure you update using the correct patch for your version of Win98.

Regs
Ray
...

SSBN

vpn and win98se on sme 6.0
« Reply #12 on: January 27, 2004, 03:00:21 PM »
A quick question for those of you who have it working. What mode is your SME server in? Server or server/gateway.

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
vpn and win98se on sme 6.0
« Reply #13 on: January 27, 2004, 03:01:55 PM »
server-gateway
If you think you know whats going on, you obviously have no idea whats going on!

Anonymous

vpn and win98se on sme 6.0
« Reply #14 on: February 08, 2004, 12:00:38 AM »
test