[pptp-server] WIN98 BlackMagic

Cowles, Steve Steve at SteveCowles.com
Wed Jun 6 14:11:46 CDT 2001


> -----Original Message-----
> From: mduran at bamo.com [mailto:mduran at bamo.com]
> Sent: Wednesday, June 06, 2001 12:34 PM
> To: pptp-server at lists.schulte.org
> Subject: RE: [pptp-server] WIN98 BlackMagic
> 
> 
> Hello,
> 
> RE: the options file-
> The /etc/ppp/options file does contain the IP of my WINS server (NT4
> server); ms-wins 192.168.1.2

I know... dumb question, but are you sure the WINS service is running on
this NT box?? 

Also, the linux box running Samba - is it configured to register with the
WINS server at 192.168.1.2. i.e. in smb.conf:

   wins server = 192.168.1.2
   remote announce = 192.168.1.255

How about the workgroup/domain registration?? Is the linux box running Samba
registering its workgroup/domain association properly with the WINS server.
FWIW: Every SMB client on your LAN should be registering with the WINS
server.

With regards to the Win98 client establishing the PPTP VPN - is its
workgroup and/or domain set to match that of your LAN. This system should
also register with the WINS server.

Finally, have you checked the WINS server's database to see if all of these
systems (including your WIN 98 box) have a registration entry?????

> 
> RE: The client IP address-
> A 'route print' and a 'winipcfg' reports a valid IP address 
> given by the WINS server, the correct subnet, etc.  It all
> checks out fine.  I can telnet into the WINS server, no problem,
> as well as the Linux VPN server.  I can ping all other clients,
> plus printers, inside the network. The other Unix boxen see me
> as one of the internal IPs.

Based on the above - it looks as though you have TCP/IP, PPTP/PPP and
routing setup properly.

> 
> RE: lmhost file-
> I included the ip address of the samba file server I wish to 
> map a drive to (192.168.1.200) followed by its name 'pc01' in
> my lmhost.sam file.  This machine has a share called "server".
> My lmhost file looks like this;
> 192.168.1.200   pc01

If your WINS server (and all the client registrations) are properly setup
and running, you should NOT have to edit the LMHOSTS file. This would be an
adminsitration nightmare....

> 
> When I try to map a drive as \\192.168.1.200\server I get the 
> same error message "the computer or sharename could not be
> found. Make sure you typed it in correctly and try again".
> The same when trying \\pc01\server .

This is odd. Another dumb question - are you sure Samba is running on this
box? If so, what is the "hosts allow" parameter set to in smb.conf?? Also,
have you checked the samba log files to see it your SMB request (from the
WIN 98 PPTP client) is being rejected?

> 
> I found a post
> (http://lists.schulte.org/pipermail/pptp-server/1999-July/005473.html)
> from July 99 where this person suggests the only way to browse the
> network, let alone just map a drive to the samba box, is to configure
> the samba box as a WINS server.   This may be my next step.

FWIW: I have never agreed with the "ole saying" that you "must" run WINS on
the Samba server. 

I run WINS on my NT server, not on my Samba server. My Samba server is
configured to register with the WINS server running on the NT box. I also
run PoPToP on my linux box and connect into my LAN using PPTP from my WIN 98
laptop. I have had no problems at all in browsing any PC/Server (including
Samba) on the internal LAN. <PERIOD> In fact, I have many of my customers
setup in the same way. i.e. WINS running an a NT server and Poptop running
on linux.

If for some reason this works... please let me know. I would be interested
in understanding "WHY"

Steve Cowles



More information about the pptp-server mailing list