[pptp-server] Re: PoPToP/SaMBa problems

Jonathan Finnecy jfinnecy at merical.com
Tue Oct 12 12:33:00 CDT 1999


Thanks for the many replies to my previous post.  They are too numerous to 
mention (and answer) here, but the gist of it is, most of the stuff people 
recommended I was already doing.  I think my problem essentially boils down 
to this:  I am not getting WINS server information to my client.  I have 
included much documentation in the efforts that someone can notice 
something that is out of whack:

The internal subnet that has the samba server I am trying to attach to is 
192.168.4.0.  The samba server is 192.168.4.2.  My smb.conf follows.  I 
have edited out any "obviously irrelevant" configs:

[global]
    workgroup = MERICAL
    security = user
    os level = 34
    preferred master = yes
    domain master = yes
    wins support = yes
    wins proxy = yes
    domain logons = yes
    logon script = login.bat

This works fine for the entire 192.168.4 subnet as well as the 192.168.2 
subnet that is served over a WAN connection.

Furthermore, I have DHCP running on the samba server, although only my 
mobile clients use it.  My desktop clients are given permanent 
addresses.  I have included one sample host config for a laptop.  My 
/etc/dhcpd.conf file:

default-lease-time 1200;
max-lease-time 1200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.4.255;
option routers 192.168.4.1;
option domain-name "merical.com";
option netbios-name-servers 192.168.4.2;

subnet 192.168.4.0 netmask 255.255.255.0 {
         range 192.168.4.151 192.168.4.160;
}

host wksmob01 {
         hardware ethernet <address>;
         fixed-address 192.168.4.161;
         option domain-name-servers <server1>, <server2>;
}

My firewall has one interface (eth0) on the 192.168.4.0 network, and one 
interface (eth1) on the internet.

It has the following /etc/ppp/options file:

debug
name merical-1
auth
require-chap
proxyarp
ms-wins 192.168.4.2

It has the following /etc/pptpd.conf file:

speed 115200
localip 192.168.4.254
remoteip 192.168.4.101-102

I have also tried this using numbers from the 192.168.5 subnet to no 
avail.  In both cases ping and telnet work bidirectionally throughout the 
network, but I cannot log on to samba resources.

My win95 client has the following network components installed:

Client for Microsoft Networks
Dial-up Adapter
Dial-Up Adapter #2 (VPN Support)
Microsoft Virtual Private Networking Adapter
Xircom CredCard Ethernet Adapter 10/100
NDISWAN->Microsoft Virtual Private Networking Adapter
TCP/IP->Dial-Up Adapter
TCP/IP->Dial-Up Adapter #2 (VPN Support)
TCP/IP->Xircom CreditCard Ethernet Adapter 10/100

The client is identified as "WKSMOB01" and is in Workgroup 
"MERICAL".  Access Control is share-level access control.  Primary network 
logon is "Client for Microsoft Networks".  At bootup a logon dialog box is 
presented and I enter the same username and password as is reflected in 
/etc/passwd on the samba server.  The registry key 
\HKEY_CURRENT_USER\Network\Persistent\I\UserName is correct, as is the 
RemotePath key.

The configuration for each network component is as follows:

Client for Microsoft Networks:
	Log on to Windows NT Domain is checked.
	Windows NT Domain = "MERICAL"
	Set to quick network logons.

TCP/IP->Dial-up Adapter
	Obtain IP Address Automatically
	WINS Configuration is disabled (I have tried this disabled, enabled 
explicit, and DHCP assigned)
	Gateway is not listed
	DNS is enabled with host WKSMOB01 and no other information
	Bound to Client for Microsoft Networks
	Netbios over TCP/IP is enabled (and the selection is greyed out)

TCP/IP->Dial-Up Adapter #2 (VPN Support)
	Obtain IP Address Automatically
	WINS Configuration is Enabled with address 192.168.4.2 (I have tried this 
in every combination)
	Gateway is not listed
	DNS is enabled with host WKSMOB01 and no other information
	Bound to Client for Microsoft Networks
	Netbios over TCP/IP is enabled and the selection box is greyed out

The configuration for my ISP connection is:
	No Advanced options selected (I have tried it with and without "Log on to 
network" checked)
	Allowed network protocols is TCP/IP.
	TCP/IP Settings:
		Server Assigned IP Address
		Server Assigned name server address
		Use IP Header Compression On
		Use default gateway on remote network On

The configuration for my VPN connection is:
	"Log on to Network" checked.
	Allowed network protocol is TCP/IP.
	TCP/IP settings:
		Server Assigned IP Address
		Server Assigned name server addresses (I have tried explicitly WINS 
servers here)
		Use default gateway on remote network is ON

I make a connection to my ISP and get an internet IP address, and DNS 
servers for use with this connection.  I then run VPN connection and get 
the specified IP address (192.168.4.101) but no WINS server addresses, and 
the client pauses for a long time at "Status: Loggin on to network..." 
before finishing up the connection.  The strange part is that both server 
and client record that they have negotiated WINS server addresses in their 
logs, but there is no WINS server entry under winipcfg.  Here is the pptpd.log:

Oct 12 10:36:15 merical-1 pptpd[10094]: MGR: Launching /usr/local/sbin/pptpctrl
to handle client
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: local address = 192.168.4.254
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: remote address = 192.168.4.101
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: pppd speed = 115200
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Client 209.245.78.83 control 
conne
ction started
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Received PPTP Control Message 
(typ
e: 1)
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Made a START CTRL CONN RPLY 
packet
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: I wrote 156 bytes to the client.
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Sent packet to client
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Received PPTP Control Message 
(typ
e: 7)
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Set parameters to 0 maxbps, 
16 win
dow size
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Made a OUT CALL RPLY packet
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Starting call (launching 
pppd, ope
ning GRE)
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: pty_fd = 4
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: tty_fd = 5
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: I wrote 32 bytes to the client.
Oct 12 10:36:15 merical-1 pptpd[10094]: CTRL: Sent packet to client
Oct 12 10:36:15 merical-1 pptpd[10096]: CTRL (PPPD Launcher): Connection 
speed =
  115200
Oct 12 10:36:15 merical-1 pptpd[10096]: CTRL (PPPD Launcher): local address 
= 19
2.168.4.254
Oct 12 10:36:15 merical-1 pptpd[10096]: CTRL (PPPD Launcher): remote 
address = 1
92.168.4.101
Oct 12 10:36:15 merical-1 pppd[10096]: pppd 2.3.7 started by root, uid 0
Oct 12 10:36:15 merical-1 pppd[10096]: Using interface ppp0
Oct 12 10:36:15 merical-1 pppd[10096]: Connect: ppp0 <--> /dev/pts/4
Oct 12 10:36:15 merical-1 pppd[10096]: sent [LCP ConfReq id=0x1 <asyncmap 
0x0> <
auth chap MD5> <magic 0xb9adb5f8> <pcomp> <accomp>]
Oct 12 10:36:15 merical-1 pppd[10096]: rcvd [LCP ConfReq id=0x1 <magic 
0x183445>
  <pcomp> <accomp>]
Oct 12 10:36:15 merical-1 pppd[10096]: sent [LCP ConfAck id=0x1 <magic 
0x183445>
  <pcomp> <accomp>]
Oct 12 10:36:16 merical-1 pppd[10096]: rcvd [LCP ConfAck id=0x1 <asyncmap 
0x0> <
auth chap MD5> <magic 0xb9adb5f8> <pcomp> <accomp>]
Oct 12 10:36:16 merical-1 pppd[10096]: sent [CHAP Challenge id=0x1 
<063807f5dd74
43b8b8401f5da04585ba718acb120241257ae199a82cf590350a8bb7c94ae7c5e646c2b146cd 
d3>,
  name = "merical-1"]
Oct 12 10:36:16 merical-1 pppd[10096]: rcvd [CHAP Response id=0x1 
<5097d0a97bacd
f113b026e76ca620db4>, name = "jpf"]
Oct 12 10:36:16 merical-1 pppd[10096]: sent [CHAP Success id=0x1 "Welcome 
to mer
ical-1.firstworld.net."]
Oct 12 10:36:16 merical-1 pppd[10096]: sent [IPCP ConfReq id=0x1 <addr 
192.168.4
.254> <compress VJ 0f 01>]
Oct 12 10:36:16 merical-1 modprobe: can't locate module ppp-compress-21
Oct 12 10:36:16 merical-1 modprobe: can't locate module ppp-compress-26
Oct 12 10:36:17 merical-1 modprobe: can't locate module ppp-compress-24
Oct 12 10:36:17 merical-1 pppd[10096]: CHAP peer authentication succeeded 
for jp
f
Oct 12 10:36:17 merical-1 pppd[10096]: rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<ms-dns 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns 0.0.0.0> <ms-wins 0.0.0.0>]
Oct 12 10:36:17 merical-1 pppd[10096]: sent [IPCP ConfRej id=0x1 <ms-dns 
0.0.0.0
 > <ms-dns 0.0.0.0>]
Oct 12 10:36:17 merical-1 pppd[10096]: rcvd [IPCP ConfRej id=0x1 <compress 
VJ 0f
  01>]
Oct 12 10:36:17 merical-1 pppd[10096]: sent [IPCP ConfReq id=0x2 <addr 
192.168.4
.254>]
Oct 12 10:36:17 merical-1 pppd[10096]: rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0>
<ms-wins 0.0.0.0> <ms-wins 0.0.0.0>]
Oct 12 10:36:17 merical-1 pppd[10096]: sent [IPCP ConfNak id=0x2 <addr 
192.168.4
.101> <ms-wins 192.168.4.2> <ms-wins 192.168.4.2>]
Oct 12 10:36:17 merical-1 pppd[10096]: rcvd [IPCP ConfAck id=0x2 <addr 
192.168.4
.254>]
Oct 12 10:36:17 merical-1 pppd[10096]: rcvd [IPCP ConfReq id=0x3 <addr 
192.168.4
.101> <ms-wins 192.168.4.2> <ms-wins 192.168.4.2>]
Oct 12 10:36:17 merical-1 pppd[10096]: sent [IPCP ConfAck id=0x3 <addr 
192.168.4
.101> <ms-wins 192.168.4.2> <ms-wins 192.168.4.2>]
Oct 12 10:36:17 merical-1 pppd[10096]: found interface eth0 for proxy arp
Oct 12 10:36:17 merical-1 pppd[10096]: local  IP address 192.168.4.254
Oct 12 10:36:17 merical-1 pppd[10096]: remote IP address 192.168.4.101
Oct 12 10:36:17 merical-1 pppd[10096]: Script /etc/ppp/ip-up started; pid = 
1010
0
Oct 12 10:36:18 merical-1 pppd[10096]: Script /etc/ppp/ip-up finished (pid 
10100
), status = 0x0
Oct 12 10:37:15 merical-1 pptpd[10094]: CTRL: Received PPTP Control Message 
(typ
e: 5)
Oct 12 10:37:15 merical-1 pptpd[10094]: CTRL: Made a ECHO RPLY packet
Oct 12 10:37:15 merical-1 pptpd[10094]: CTRL: I wrote 20 bytes to the client.
Oct 12 10:37:15 merical-1 pptpd[10094]: CTRL: Sent packet to client
Oct 12 10:38:15 merical-1 pptpd[10094]: CTRL: Received PPTP Control Message 
(typ
e: 5)
Oct 12 10:38:15 merical-1 pptpd[10094]: CTRL: Made a ECHO RPLY packet
Oct 12 10:38:15 merical-1 pptpd[10094]: CTRL: I wrote 20 bytes to the client.
Oct 12 10:38:15 merical-1 pptpd[10094]: CTRL: Sent packet to client


And here is ppplog.txt from the client:

10-12-1999 10:34:26.82 - Microsoft Dial Up Adapter log opened.
10-12-1999 10:34:26.82 - Server type is  PPP (Point to Point Protocol).
10-12-1999 10:34:26.82 - FSA : Software compression disabled.
10-12-1999 10:34:26.82 - FSA : Protocol not bound - skipping control 
protocol 803f (NBFCP).
10-12-1999 10:34:26.82 - FSA : Adding Control Protocol 8021 (IPCP) to 
control protocol chain.
10-12-1999 10:34:26.82 - FSA : Protocol not bound - skipping control 
protocol 802b (IPXCP).
10-12-1999 10:34:26.82 - FSA : Adding Control Protocol c029 (CallbackCP) to 
control protocol chain.
10-12-1999 10:34:26.82 - FSA : Adding Control Protocol c027 (no 
description) to control protocol chain.
10-12-1999 10:34:26.82 - FSA : Adding Control Protocol c023 (PAP) to 
control protocol chain.
10-12-1999 10:34:26.82 - FSA : Adding Control Protocol c223 (CHAP) to 
control protocol chain.
10-12-1999 10:34:26.82 - FSA : Adding Control Protocol c021 (LCP) to 
control protocol chain.
10-12-1999 10:34:26.82 - LCP : Callback negotiation enabled.
10-12-1999 10:34:26.82 - LCP : Layer started.
10-12-1999 10:34:26.82 - PPP : Transmitting Control Packet of length: 25
10-12-1999 10:34:26.82 - Data 0000: c0 21 01 01 00 17 02 06 | .!.....
10-12-1999 10:34:26.82 - Data 0008: 00 0a 00 00 05 06 00 17 | .......
10-12-1999 10:34:26.82 - Data 0010: f4 71 07 02 08 02 0d 03 | .q......
10-12-1999 10:34:26.82 - Data 0018: 06 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:29.83 - PPP : Transmitting Control Packet of length: 25
10-12-1999 10:34:29.83 - Data 0000: c0 21 01 02 00 17 02 06 | .!.....
10-12-1999 10:34:29.83 - Data 0008: 00 0a 00 00 05 06 00 17 | .......
10-12-1999 10:34:29.83 - Data 0010: f4 71 07 02 08 02 0d 03 | .q......
10-12-1999 10:34:29.83 - Data 0018: 06 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:29.98 - PPP : Received Control Packet of length: 42
10-12-1999 10:34:29.98 - Data 0000: c0 21 01 01 00 28 00 04 | .!...(..
10-12-1999 10:34:29.98 - Data 0008: 00 00 01 04 05 f4 02 06 | ........
10-12-1999 10:34:29.98 - Data 0010: 00 00 00 00 03 05 c2 23 | .......#
10-12-1999 10:34:29.98 - Data 0018: 05 07 02 08 02 11 04 05 | ........
10-12-1999 10:34:29.98 - Data 0020: f4 13 09 03 00 c0 7b 8b | ......{.
10-12-1999 10:34:29.98 - Data 0028: 88 63 00 00 00 00 00 00 | .c......
10-12-1999 10:34:29.98 - LCP : Rejecting unknown option 0.
10-12-1999 10:34:29.98 - PPP : Transmitting Control Packet of length: 23
10-12-1999 10:34:29.98 - Data 0000: c0 21 04 01 00 15 00 04 | .!.....
10-12-1999 10:34:29.98 - Data 0008: 00 00 11 04 05 f4 13 09 | ........
10-12-1999 10:34:29.98 - Data 0010: 03 00 c0 7b 8b 88 63 00 | ...{..c.
10-12-1999 10:34:29.98 - PPP : Received Control Packet of length: 9
10-12-1999 10:34:29.98 - Data 0000: c0 21 04 02 00 07 0d 03 | .!......
10-12-1999 10:34:29.98 - Data 0008: 06 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:29.98 - LCP : Received configure reject for callback 
control protocol option.
10-12-1999 10:34:29.98 - PPP : Transmitting Control Packet of length: 22
10-12-1999 10:34:29.98 - Data 0000: c0 21 01 03 00 14 02 06 | .!......
10-12-1999 10:34:29.98 - Data 0008: 00 0a 00 00 05 06 00 17 | .......
10-12-1999 10:34:29.98 - Data 0010: f4 71 07 02 08 02 00 00 | .q......
10-12-1999 10:34:30.12 - PPP : Received Control Packet of length: 25
10-12-1999 10:34:30.12 - Data 0000: c0 21 01 02 00 17 01 04 | .!.....
10-12-1999 10:34:30.12 - Data 0008: 05 f4 02 06 00 00 00 00 | ........
10-12-1999 10:34:30.12 - Data 0010: 03 05 c2 23 05 07 02 08 | ...#....
10-12-1999 10:34:30.12 - Data 0018: 02 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:30.12 - LCP : Received and accepted MRU of 1524.
10-12-1999 10:34:30.12 - LCP : Received and accepted ACCM of 0.
10-12-1999 10:34:30.12 - LCP : Received and accepted authentication 
protocol c223 (CHAP).
10-12-1999 10:34:30.12 - LCP : Received and accepted protocol field 
compression option.
10-12-1999 10:34:30.12 - LCP : Received and accepted address+control field 
compression option.
10-12-1999 10:34:30.12 - PPP : Transmitting Control Packet of length: 25
10-12-1999 10:34:30.12 - Data 0000: c0 21 02 02 00 17 01 04 | .!.....
10-12-1999 10:34:30.12 - Data 0008: 05 f4 02 06 00 00 00 00 | ........
10-12-1999 10:34:30.12 - Data 0010: 03 05 c2 23 05 07 02 08 | ...#....
10-12-1999 10:34:30.12 - Data 0018: 02 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:30.12 - PPP : Received Control Packet of length: 22
10-12-1999 10:34:30.12 - Data 0000: c0 21 02 03 00 14 02 06 | .!......
10-12-1999 10:34:30.12 - Data 0008: 00 0a 00 00 05 06 00 17 | .......
10-12-1999 10:34:30.13 - Data 0010: f4 71 07 02 08 02 00 00 | .q......
10-12-1999 10:34:30.13 - LCP : Layer up.
10-12-1999 10:34:30.13 - CHAP : Layer started.
10-12-1999 10:34:30.24 - PPP : Received Control Packet of length: 43
10-12-1999 10:34:30.24 - Data 0000: c2 23 01 01 00 29 10 a5 | .#...)..
10-12-1999 10:34:30.24 - Data 0008: 90 ae b3 58 da 39 03 85 | ...X.9..
10-12-1999 10:34:30.24 - Data 0010: 19 6b 5a cf cf fe f4 6e | kZ....n
10-12-1999 10:34:30.24 - Data 0018: 61 73 38 2e 6c 61 78 31 | as8.lax1
10-12-1999 10:34:30.24 - Data 0020: 2e 6c 65 76 65 6c 33 2e | .level3.
10-12-1999 10:34:30.24 - Data 0028: 6e 65 74 00 00 00 00 00 | net.....
10-12-1999 10:34:30.24 - PPP : Transmitting Control Packet of length: 35
10-12-1999 10:34:30.24 - Data 0000: c2 23 02 01 00 21 10 d8 | .#...!..
10-12-1999 10:34:30.24 - Data 0008: 19 f0 40 79 5f 90 de f4 | . at y_...
10-12-1999 10:34:30.24 - Data 0010: 5a ee 4b 3e dc 26 e4 45 | Z.K>.&.E
10-12-1999 10:34:30.24 - Data 0018: 4c 4e 2f 6a 66 69 6e 6e | LN/jfinn
10-12-1999 10:34:30.24 - Data 0020: 65 63 79 00 00 00 00 00 | ecy.....
10-12-1999 10:34:35.25 - PPP : Transmitting Control Packet of length: 35
10-12-1999 10:34:35.25 - Data 0000: c2 23 02 01 00 21 10 d8 | .#...!..
10-12-1999 10:34:35.25 - Data 0008: 19 f0 40 79 5f 90 de f4 | . at y_...
10-12-1999 10:34:35.25 - Data 0010: 5a ee 4b 3e dc 26 e4 45 | Z.K>.&.E
10-12-1999 10:34:35.25 - Data 0018: 4c 4e 2f 6a 66 69 6e 6e | LN/jfinn
10-12-1999 10:34:35.25 - Data 0020: 65 63 79 00 00 00 00 00 | ecy.....
10-12-1999 10:34:38.34 - PPP : Received Control Packet of length: 7
10-12-1999 10:34:38.34 - Data 0000: c2 23 03 01 00 05 00 00 | .#......
10-12-1999 10:34:38.34 - CHAP : Login was successful.
10-12-1999 10:34:38.34 - CHAP : Layer up.
10-12-1999 10:34:38.34 - IPCP : Layer started.
10-12-1999 10:34:38.34 - IPCP : IP address is 0.
10-12-1999 10:34:38.34 - PPP : Transmitting Control Packet of length: 42
10-12-1999 10:34:38.34 - Data 0000: 80 21 01 01 00 28 02 06 | .!...(..
10-12-1999 10:34:38.34 - Data 0008: 00 2d 0f 01 03 06 00 00 | .-......
10-12-1999 10:34:38.34 - Data 0010: 00 00 81 06 00 00 00 00 | ........
10-12-1999 10:34:38.34 - Data 0018: 82 06 00 00 00 00 83 06 | ........
10-12-1999 10:34:38.34 - Data 0020: 00 00 00 00 84 06 00 00 | ........
10-12-1999 10:34:38.34 - Data 0028: 00 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:38.36 - PPP : Received Control Packet of length: 18
10-12-1999 10:34:38.36 - Data 0000: 80 21 01 01 00 10 02 06 | .!......
10-12-1999 10:34:38.36 - Data 0008: 00 2d 0f 01 03 06 d1 f4 | .-......
10-12-1999 10:34:38.36 - Data 0010: 2a 48 00 00 00 00 00 00 | *H......
10-12-1999 10:34:38.36 - IPCP : Received and accepted compression protocol 
request f 1.
10-12-1999 10:34:38.36 - IPCP : Received and accepted IP address of d1f42a48.
10-12-1999 10:34:38.36 - PPP : Transmitting Control Packet of length: 18
10-12-1999 10:34:38.36 - Data 0000: 80 21 02 01 00 10 02 06 | .!......
10-12-1999 10:34:38.36 - Data 0008: 00 2d 0f 01 03 06 d1 f4 | .-......
10-12-1999 10:34:38.36 - Data 0010: 2a 48 00 00 00 00 00 00 | *H......
10-12-1999 10:34:38.47 - PPP : Received Control Packet of length: 18
10-12-1999 10:34:38.47 - Data 0000: 80 21 04 01 00 10 82 06 | .!......
10-12-1999 10:34:38.47 - Data 0008: 00 00 00 00 84 06 00 00 | ........
10-12-1999 10:34:38.47 - Data 0010: 00 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:38.47 - PPP : Transmitting Control Packet of length: 30
10-12-1999 10:34:38.47 - Data 0000: 80 21 01 02 00 1c 02 06 | .!.....
10-12-1999 10:34:38.47 - Data 0008: 00 2d 0f 01 03 06 00 00 | .-......
10-12-1999 10:34:38.47 - Data 0010: 00 00 81 06 00 00 00 00 | ........
10-12-1999 10:34:38.47 - Data 0018: 83 06 00 00 00 00 00 00 | ........
10-12-1999 10:34:38.58 - PPP : Received Control Packet of length: 24
10-12-1999 10:34:38.58 - Data 0000: 80 21 03 02 00 16 03 06 | .!.....
10-12-1999 10:34:38.58 - Data 0008: d1 f5 4e 53 81 06 d1 f4 | ..NS....
10-12-1999 10:34:38.58 - Data 0010: 00 03 83 06 d1 f4 00 04 | ........
10-12-1999 10:34:38.58 - IPCP : Changing IP address from 0 to d1f54e53.
10-12-1999 10:34:38.58 - IPCP : Accepting primary DNS d1f40003.
10-12-1999 10:34:38.58 - IPCP : Accepting backup DNS d1f40004.
10-12-1999 10:34:38.58 - PPP : Transmitting Control Packet of length: 30
10-12-1999 10:34:38.58 - Data 0000: 80 21 01 03 00 1c 02 06 | .!.....
10-12-1999 10:34:38.58 - Data 0008: 00 2d 0f 01 03 06 d1 f5 | .-......
10-12-1999 10:34:38.58 - Data 0010: 4e 53 81 06 d1 f4 00 03 | NS......
10-12-1999 10:34:38.58 - Data 0018: 83 06 d1 f4 00 04 00 00 | ........
10-12-1999 10:34:38.69 - PPP : Received Control Packet of length: 30
10-12-1999 10:34:38.69 - Data 0000: 80 21 02 03 00 1c 02 06 | .!.....
10-12-1999 10:34:38.69 - Data 0008: 00 2d 0f 01 03 06 d1 f5 | .-......
10-12-1999 10:34:38.69 - Data 0010: 4e 53 81 06 d1 f4 00 03 | NS......
10-12-1999 10:34:38.69 - Data 0018: 83 06 d1 f4 00 04 00 00 | ........
10-12-1999 10:34:38.69 - IPCP : Layer up.
10-12-1999 10:34:38.69 - FSA : Last control protocol is up.
10-12-1999 10:34:43.16 - Microsoft Dial Up Adapter log opened.
10-12-1999 10:34:43.16 - Server type is  PPP (Point to Point Protocol).
10-12-1999 10:34:43.16 - FSA : Software compression disabled.
10-12-1999 10:34:43.16 - FSA : Protocol not bound - skipping control 
protocol 803f (NBFCP).
10-12-1999 10:34:43.16 - FSA : Adding Control Protocol 8021 (IPCP) to 
control protocol chain.
10-12-1999 10:34:43.16 - FSA : Protocol not bound - skipping control 
protocol 802b (IPXCP).
10-12-1999 10:34:43.16 - FSA : Adding Control Protocol c029 (CallbackCP) to 
control protocol chain.
10-12-1999 10:34:43.16 - FSA : Adding Control Protocol c027 (no 
description) to control protocol chain.
10-12-1999 10:34:43.16 - FSA : Adding Control Protocol c023 (PAP) to 
control protocol chain.
10-12-1999 10:34:43.16 - FSA : Adding Control Protocol c223 (CHAP) to 
control protocol chain.
10-12-1999 10:34:43.16 - FSA : Adding Control Protocol c021 (LCP) to 
control protocol chain.
10-12-1999 10:34:43.16 - LCP : Layer started.
10-12-1999 10:34:43.16 - PPP : Transmitting Control Packet of length: 16
10-12-1999 10:34:43.16 - Data 0000: c0 21 01 01 00 0e 05 06 | .!......
10-12-1999 10:34:43.16 - Data 0008: 00 18 34 45 07 02 08 02 | .4E....
10-12-1999 10:34:43.33 - PPP : Received Control Packet of length: 27
10-12-1999 10:34:43.33 - Data 0000: c0 21 01 01 00 19 02 06 | .!.....
10-12-1999 10:34:43.33 - Data 0008: 00 00 00 00 03 05 c2 23 | .......#
10-12-1999 10:34:43.33 - Data 0010: 05 05 06 b9 ad b5 f8 07 | ........
10-12-1999 10:34:43.33 - Data 0018: 02 08 02 00 00 00 00 00 | ........
10-12-1999 10:34:43.33 - LCP : Received and accepted ACCM of 0.
10-12-1999 10:34:43.33 - LCP : Received and accepted authentication 
protocol c223 (CHAP).
10-12-1999 10:34:43.33 - LCP : Received and accepted magic number b9adb5f8.
10-12-1999 10:34:43.33 - LCP : Received and accepted protocol field 
compression option.
10-12-1999 10:34:43.33 - LCP : Received and accepted address+control field 
compression option.
10-12-1999 10:34:43.33 - PPP : Transmitting Control Packet of length: 27
10-12-1999 10:34:43.33 - Data 0000: c0 21 02 01 00 19 02 06 | .!.....
10-12-1999 10:34:43.33 - Data 0008: 00 00 00 00 03 05 c2 23 | .......#
10-12-1999 10:34:43.33 - Data 0010: 05 05 06 b9 ad b5 f8 07 | ........
10-12-1999 10:34:43.33 - Data 0018: 02 08 02 00 00 00 00 00 | ........
10-12-1999 10:34:43.33 - PPP : Received Control Packet of length: 16
10-12-1999 10:34:43.33 - Data 0000: c0 21 02 01 00 0e 05 06 | .!......
10-12-1999 10:34:43.33 - Data 0008: 00 18 34 45 07 02 08 02 | .4E....
10-12-1999 10:34:43.33 - LCP : Layer up.
10-12-1999 10:34:43.33 - CHAP : Layer started.
10-12-1999 10:34:43.52 - PPP : Received Control Packet of length: 61
10-12-1999 10:34:43.52 - Data 0000: c2 23 01 01 00 3b 2d 06 | .#...;-.
10-12-1999 10:34:43.52 - Data 0008: 38 07 f5 dd 74 43 b8 b8 | 8...tC..
10-12-1999 10:34:43.52 - Data 0010: 40 1f 5d a0 45 85 ba 71 | @].E..q
10-12-1999 10:34:43.52 - Data 0018: 8a cb 12 02 41 25 7a e1 | ....A%z.
10-12-1999 10:34:43.52 - Data 0020: 99 a8 2c f5 90 35 0a 8b | ..,..5..
10-12-1999 10:34:43.52 - Data 0028: b7 c9 4a e7 c5 e6 46 c2 | ..J...F.
10-12-1999 10:34:43.52 - Data 0030: b1 46 cd d3 6d 65 72 69 | .F..meri
10-12-1999 10:34:43.52 - Data 0038: 63 61 6c 2d 31 00 00 00 | cal-1...
10-12-1999 10:34:43.52 - PPP : Transmitting Control Packet of length: 26
10-12-1999 10:34:43.52 - Data 0000: c2 23 02 01 00 18 10 50 | .#....P
10-12-1999 10:34:43.52 - Data 0008: 97 d0 a9 7b ac df 11 3b | ...{...;
10-12-1999 10:34:43.52 - Data 0010: 02 6e 76 ca 62 0d b4 6a | .nv.b..j
10-12-1999 10:34:43.52 - Data 0018: 70 66 00 00 00 00 00 00 | pf......
10-12-1999 10:34:43.71 - PPP : Received Control Packet of length: 42
10-12-1999 10:34:43.71 - Data 0000: c2 23 03 01 00 28 57 65 | .#...(We
10-12-1999 10:34:43.71 - Data 0008: 6c 63 6f 6d 65 20 74 6f | lcome to
10-12-1999 10:34:43.71 - Data 0010: 20 6d 65 72 69 63 61 6c |  merical
10-12-1999 10:34:43.71 - Data 0018: 2d 31 2e 66 69 72 73 74 | -1.first
10-12-1999 10:34:43.71 - Data 0020: 77 6f 72 6c 64 2e 6e 65 | world.ne
10-12-1999 10:34:43.71 - Data 0028: 74 2e 00 00 00 00 00 00 | t.......
10-12-1999 10:34:43.71 - CHAP : Login was successful.
10-12-1999 10:34:43.71 - CHAP : Layer up.
10-12-1999 10:34:43.71 - IPCP : Layer started.
10-12-1999 10:34:43.71 - IPCP : IP address is 0.
10-12-1999 10:34:43.71 - PPP : Transmitting Control Packet of length: 36
10-12-1999 10:34:43.71 - Data 0000: 80 21 01 01 00 22 03 06 | .!..."..
10-12-1999 10:34:43.71 - Data 0008: 00 00 00 00 81 06 00 00 | ........
10-12-1999 10:34:43.71 - Data 0010: 00 00 82 06 00 00 00 00 | ........
10-12-1999 10:34:43.71 - Data 0018: 83 06 00 00 00 00 84 06 | ........
10-12-1999 10:34:43.71 - Data 0020: 00 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:43.71 - PPP : Received Control Packet of length: 18
10-12-1999 10:34:43.71 - Data 0000: 80 21 01 01 00 10 03 06 | .!......
10-12-1999 10:34:43.71 - Data 0008: c0 a8 04 fe 02 06 00 2d | .......-
10-12-1999 10:34:43.71 - Data 0010: 0f 01 00 00 00 00 00 00 | ........
10-12-1999 10:34:43.71 - IPCP : Received and accepted IP address of c0a804fe.
10-12-1999 10:34:43.71 - PPP : Transmitting Control Packet of length: 12
10-12-1999 10:34:43.71 - Data 0000: 80 21 04 01 00 0a 02 06 | .!......
10-12-1999 10:34:43.71 - Data 0008: 00 2d 0f 01 00 00 00 00 | .-......
10-12-1999 10:34:44.51 - PPP : Received Control Packet of length: 18
10-12-1999 10:34:44.51 - Data 0000: 80 21 04 01 00 10 81 06 | .!......
10-12-1999 10:34:44.51 - Data 0008: 00 00 00 00 83 06 00 00 | ........
10-12-1999 10:34:44.51 - Data 0010: 00 00 00 00 00 00 00 00 | ........
10-12-1999 10:34:44.51 - PPP : Transmitting Control Packet of length: 24
10-12-1999 10:34:44.51 - Data 0000: 80 21 01 02 00 16 03 06 | .!.....
10-12-1999 10:34:44.51 - Data 0008: 00 00 00 00 82 06 00 00 | ........
10-12-1999 10:34:44.51 - Data 0010: 00 00 84 06 00 00 00 00 | ........
10-12-1999 10:34:44.51 - PPP : Received Control Packet of length: 12
10-12-1999 10:34:44.51 - Data 0000: 80 21 01 02 00 0a 03 06 | .!......
10-12-1999 10:34:44.51 - Data 0008: c0 a8 04 fe 00 00 00 00 | ........
10-12-1999 10:34:44.51 - IPCP : Received and accepted IP address of c0a804fe.
10-12-1999 10:34:44.51 - PPP : Transmitting Control Packet of length: 12
10-12-1999 10:34:44.51 - Data 0000: 80 21 02 02 00 0a 03 06 | .!......
10-12-1999 10:34:44.51 - Data 0008: c0 a8 04 fe 00 00 00 00 | ........
10-12-1999 10:34:44.67 - PPP : Received Control Packet of length: 24
10-12-1999 10:34:44.67 - Data 0000: 80 21 03 02 00 16 03 06 | .!.....
10-12-1999 10:34:44.67 - Data 0008: c0 a8 04 65 82 06 c0 a8 | ...e....
10-12-1999 10:34:44.67 - Data 0010: 04 02 84 06 c0 a8 04 02 | ........
10-12-1999 10:34:44.67 - IPCP : Changing IP address from 0 to c0a80465.
10-12-1999 10:34:44.67 - IPCP : Accepting primary WINS c0a80402.
10-12-1999 10:34:44.67 - IPCP : Accepting backup WINS c0a80402.
10-12-1999 10:34:44.67 - PPP : Transmitting Control Packet of length: 24
10-12-1999 10:34:44.67 - Data 0000: 80 21 01 03 00 16 03 06 | .!.....
10-12-1999 10:34:44.67 - Data 0008: c0 a8 04 65 82 06 c0 a8 | ...e....
10-12-1999 10:34:44.67 - Data 0010: 04 02 84 06 c0 a8 04 02 | ........
10-12-1999 10:34:44.84 - PPP : Received Control Packet of length: 24
10-12-1999 10:34:44.84 - Data 0000: 80 21 02 03 00 16 03 06 | .!.....
10-12-1999 10:34:44.84 - Data 0008: c0 a8 04 65 82 06 c0 a8 | ...e....
10-12-1999 10:34:44.84 - Data 0010: 04 02 84 06 c0 a8 04 02 | ........
10-12-1999 10:34:44.84 - IPCP : Layer up.
10-12-1999 10:34:44.84 - FSA : Last control protocol is up.

Notice specifically these lines from the logs:

Oct 12 10:36:17 merical-1 pppd[10096]: rcvd [IPCP ConfReq id=0x3 <addr 
192.168.4
.101> <ms-wins 192.168.4.2> <ms-wins 192.168.4.2>]
Oct 12 10:36:17 merical-1 pppd[10096]: sent [IPCP ConfAck id=0x3 <addr 
192.168.4
.101> <ms-wins 192.168.4.2> <ms-wins 192.168.4.2>]

and

10-12-1999 10:34:44.67 - IPCP : Accepting primary WINS c0a80402.
10-12-1999 10:34:44.67 - IPCP : Accepting backup WINS c0a80402.

which would seem to indicate to me that the client is getting WINS server 
addresses, but they do not appear under winipcfg (for either the ISP or the 
VPN PPP connection). :P

All TCP/IP applications work fine over the VPN link... I can ping/telnet to 
any machine on any of my subnets.  My only problem is with SaMBa... my 
client just is not logging in.  What am I missing?  I'm sure it's something 
really simple....

By the way, I've tried using tcpdump (3.4-10) on various interface 
combinations on the firewall and on the samaba server, and I have not 
detected any traffic going to the samba server from the remote client 
during it's VPN-connection establishment period.  I have so many tcpdump 
logs that I could fill a book with them... If anyone wants to see one, let 
me know what options you want and I will run it and send you the output.

-Jon

	




More information about the pptp-server mailing list