[pptp-server] Almost there! =) A few more helpful hints will get me on my way...
Dread Boy
dreadboy at hotmail.com
Thu Feb 8 18:56:26 CST 2001
>>I've made SaMBa the main WINS server assigned by DHCPD on the Linux box,
>>etc. - the way it's always been, anyway.
>
>WINS server assignment through DHCP is valid, but only for clients
>configured to use DHCP to configure the TCP/IP stack. Keep in mind, when
>using a PopTop PPTP server - PPTP clients are configured through pppd
>options, not DHCP. Although - On the other side of the coin, Microsoft's
>PPTP server can be configured to use DHCP to configure remote PPTP clients.
Right. I only use DHCP for local connections, I don't expect it to work for
PPTP.
>>
>>I edited /etc/pptpd.conf with the line:
>>
>> ms-wins 192.168.0.2
>
>BZZT! I hope the above is a type-o, but ms-wins is a pppd option, not a
>PPTP
>option. FYI: from man pppd
OK. I didn't realize this. Should I then put the ms-wins statement in
/etc/ppp/options vs /etc/ppp/options/pptp ?
>>
>>I've changed the samba resolve order to wins, lmhosts, blah, blah, blah...
>>I've even added corresponding entries to
>>/etc/lmhosts for a few machines on my network.
>
>The default search order should be fine. Also, its rather hard to debug
>WINS
>related problems when you add entries to the lmhosts file.
OK, I'll toast the lmhosts file then. Should I also toast the hosts file?
>Based on your post, it sounds like you do not have WINS/Samba setup
>properly. Without seeing your smb.conf file, I would only be guessing at
>what the problem.
OK, I'll post all of the related files at the bottom of this message.
Thanks to everyone who's muddled me through this stuff. =)
P.S. Is there anyway to "follow up" a message directly on the message
board? I seem to have to mail my message each time.
--- /etc/smb.conf ---
workgroup = WestLogic
server string = Linux Samba Server
hosts allow = 192.168.0. 127.
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/smbusers
include = /etc/smb.conf.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#eth0 and eth1 - so don't want NetBIOS hanging its arse off my ext eth
interfaces = 192.168.0.0/24
bind interfaces only = yes
remote announce = 192.168.0.255
local master = yes
domain master = yes
preferred master = yes
name resolve order = wins lmhosts bcast
wins support = yes
wins proxy = yes
preserve case = yes
case sensitive = yes
--- /var/lock/samba/browse.dat ---
"WESTLOGIC" c0001000 "WL2" "WESTLOGIC"
"WL2" 400d9a03 "Linux Samba Server" "WESTLOGIC"
"WL1" 40019603 "WestLogic Server" "WESTLOGIC"
"MICKEY" 40412203 "Craig's Hunk Of Ham" "WESTLOGIC"
"CRAIG" 40011003 "" "WESTLOGIC"
--- /var/lock/samba/wins.dat ---
VERSION 1 140101
"__MSBROWSE__#01" 982124812 255.255.255.255 e4R
"CRAIG#00" 982192619 192.168.0.16 64R
"CRAIG#20" 982192619 192.168.0.16 64R
"CRAIG#6a" 982192636 192.168.0.16 64R
"CRAIG#87" 982192636 192.168.0.16 64R
"INET~SERVICES#1c" 982197525 192.168.0.1 e4R
"IS~WL1#00" 982197524 192.168.0.1 64R
"MICKEY#00" 982192017 192.168.0.19 4R
"MICKEY#03" 982192017 192.168.0.19 4R
"MICKEY#20" 982192017 192.168.0.19 4R
"WESTLOGIC#00" 982197525 255.255.255.255 c4R
"WESTLOGIC#1b" 982197427 192.168.0.2 44R
"WESTLOGIC#1e" 982197427 255.255.255.255 c4R
"WL1#00" 982197525 192.168.0.1 64R
"WL1#03" 982197525 192.168.0.1 64R
"WL1#06" 982197525 192.168.0.1 64R
"WL1#20" 982197525 192.168.0.1 64R
"WL1#6a" 982197525 192.168.0.1 64R
"WL1#87" 982197525 192.168.0.1 64R
"WL2#00" 982197427 192.168.0.2 46R
"WL2#03" 982197427 192.168.0.2 46R
"WL2#20" 982197427 192.168.0.2 46R
"WORKGROUP#00" 982124604 255.255.255.255 e4R
"WORKGROUP#1e" 982124604 255.255.255.255 e4R
--- /etc/pptpd.conf ---
option /etc/ppp/options.pptp
debug
localip 192.168.0.128-135
remoteip 192.168.0.136-143
--- /etc/ppp/options.pptp ---
debug
name wl2
mru 1450
mtu 1450
auth
require-chap
#lock
proxyarp
+chap
+chapms
+chapms-v2
mppe-40
mppe-128
mppe-stateless
#ms-wins 192.168.0.2
--- /etc/ppp/chap-secrets ---
# Force IPs with next two lines
#craig wl2 password 192.168.0.201
#westlogic\\craig wl2 password 192.168.0.202
craig wl2 password *
westlogic\\craig wl2 password *
--- /etc/dhcpd.conf ---
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.2;
option subnet-mask 255.255.255.0;
option domain-name "westlogic";
# External ISP's name servers below
option domain-name-servers w.x.y.z,a.b.c.d;
option time-offset -7; # Mountain Standard Time
option netbios-name-servers 192.168.0.2;
range dynamic-bootp 192.168.0.16 192.168.0.127;
default-lease-time 21600;
max-lease-time 43200;
}
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the pptp-server
mailing list