[pptp-server] help, vpn error, boss is gonna kill me if i don't fix

Jason Osborne rage at sohonetworks.cc
Wed Oct 25 15:25:22 CDT 2000


Please help. Keep getting a "could not determine local ip address" error and
a "no network protocols running" error. what could be going wrong. if you
have any ideas or know where i can find the information i need, please
reply. u have searched this mailing list and found someone else with a
similar problem but his problem was never resolved.

i'm running the following versions
linux-2.2.12
pppd-2.3.10
pptpd-1.0.0

my pptpd.conf file
----------------------------------------
# TAG: speed
speed 115200

# TAG: option
option /etc/ppp/options.vpn

# TAG: debug
debug

# TAG: localip
# TAG: remoteip
localip 192.168.0.50-80
remoteip 192.168.1.50-80

# TAG: ipxnets
#ipxnets 00001000-00001FFF

# TAG: listen
#listen 192.168.0.1

# TAG: pidfile
pidfile /var/run/pptpd.pid
--------------------------------------

my options.vpn file
--------------------------------------
lock
debug
name server
auth
+chap
proxyarp
ms-wins 192.168.0.1
ms-dns 192.168.0.1
--------------------------------------

chap-secrets file
--------------------------------------
"user"       *       "passwd"	    *

speed 115200
localip 192.168.0.50-80
remoteip 192.168.1.50-80
--------------------------------------

ip-up
--------------------------------------
#!/bin/sh
INTERNAL_NET1="192.168.1.0/24"
REMOTE_IP_ADDRESS=$5

case $2
        in
        /dev/pts/*)
                echo "$(date): ip-up   1:$1 2:$2 3:$3 4:$4 5:$5 6:$6" >>
/var/log/pptpd.log
                /sbin/ipchains --insert forward -j MASQ -s $5 -i eth0
                #                                                 ^ local
interface
                /sbin/ipchains --insert forward -j MASQ -d $5 -i $1
                #                                                 ^ incoming
pptpd interface
                /sbin/ipchains --insert input  -i $1 -s $INTERNAL_NET1  -j
ACCEPT
                /sbin/ipchains --insert output -i $1 -d $INTERNAL_NET1  -j
ACCEPT
                date > /var/run/ppp.up
                echo "REMOTE_IP_ADDRESS = " $REMOTE_IP_ADDRESS >>
/var/run/ppp.up
#               /sbin/arp --set $REMOTE_IP_ADDRESS 00:20:78:15:F5:49 pub >>
/var/run/ppp.up
                echo "$(date): ip-up  Firewall rules set for $1:$5" >>
/var/log/pptpd.log
                ;;
esac
-----------------------------------------

ok, here is what i get in pptpd.log
----------------------------------------------------------------------------
----------------------------------------
Oct 25 10:10:01 legacycarpets pptpd[15277]: MGR: Launching
/usr/sbin/pptpctrl to handle client
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: local address =
192.168.0.50
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: remote address =
192.168.1.50
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: pppd speed = 115200
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: pppd options file =
/etc/ppp/options.vpn
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Client 4.40.159.70 control
connection started
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Received PPTP Control
Message (type: 1)
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Made a START CTRL CONN
RPLY packet
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: I wrote 156 bytes to the
client.
Oct 25 10:10:01 legacycarpets pptpd[15277]: CTRL: Sent packet to client
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Received PPTP Control
Message (type: 7)
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Set parameters to 0
maxbps, 16 window size
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Made a OUT CALL RPLY
packet
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Starting call (launching
pppd, opening GRE)
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: pty_fd = 6
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: tty_fd = 7
Oct 25 10:10:04 legacycarpets pptpd[15290]: CTRL (PPPD Launcher): Connection
speed = 115200
Oct 25 10:10:04 legacycarpets pptpd[15290]: CTRL (PPPD Launcher): local
address = 192.168.0.50
Oct 25 10:10:04 legacycarpets pptpd[15290]: CTRL (PPPD Launcher): remote
address = 192.168.1.50
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: I wrote 32 bytes to the
client.
Oct 25 10:10:04 legacycarpets pptpd[15277]: CTRL: Sent packet to client
Oct 25 10:10:04 legacycarpets pppd[15290]: pppd 2.3.10 started by root, uid
0
Oct 25 10:10:04 legacycarpets pppd[15290]: Using interface ppp1
Oct 25 10:10:04 legacycarpets pppd[15290]: Connect: ppp1 <--> /dev/pts/3
Oct 25 10:10:04 legacycarpets pppd[15290]: sent [LCP ConfReq id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0xccc4a489> <pcomp> <accomp>]
Oct 25 10:10:04 legacycarpets pppd[15290]: rcvd [LCP ConfReq id=0x1 <magic
0x34631a5> <pcomp> <accomp>]
Oct 25 10:10:04 legacycarpets pppd[15290]: sent [LCP ConfAck id=0x1 <magic
0x34631a5> <pcomp> <accomp>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0xccc4a489> <pcomp> <accomp>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CHAP Challenge id=0x1
<e1cad76f28ba06bb11ddedf7c18a058d21110a179f93b983874dcc6479d48515>, name =
"server"]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CHAP Response id=0x1
<60af5cae9da6328bea5b20500e1eaa32>, name = "rage"]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CHAP Success id=0x1
"Welcome to server."]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:10:05 legacycarpets pppd[15290]: CHAP peer authentication
succeeded for rage
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [IPCP ConfReq id=0x1
<compress VJ 0f 01> <addr 192.168.1.200> <ms-dns1 209.30.0.9> <ms-wins
192.168.0.1> <ms-dns3 209.30.0.100> <ms-wins 0.0.0.0>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [IPCP ConfNak id=0x1 <addr
192.168.1.50> <ms-dns1 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins
192.168.0.1>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CCP ConfReq id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfRej id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [IPCP ConfAck id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:10:05 legacycarpets pppd[15290]: rcvd [CCP ConfRej id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:10:05 legacycarpets pppd[15290]: sent [CCP ConfReq id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [IPCP ConfReq id=0x2
<compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:10:06 legacycarpets pppd[15290]: sent [IPCP ConfAck id=0x2
<compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:10:06 legacycarpets pppd[15290]: Could not determine local IP
address
Oct 25 10:10:06 legacycarpets pppd[15290]: sent [IPCP TermReq id=0x2 "Could
not determine local IP address"]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [CCP ConfAck id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [IPCP TermAck id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: sent [LCP TermReq id=0x2 "No
network protocols running"]
Oct 25 10:10:06 legacycarpets pppd[15290]: rcvd [LCP TermAck id=0x2]
Oct 25 10:10:06 legacycarpets pppd[15290]: Connection terminated.
Oct 25 10:10:06 legacycarpets pppd[15290]: Connect time 0.1 minutes.
Oct 25 10:10:06 legacycarpets pppd[15290]: Sent 460 bytes, received 403
bytes.
Oct 25 10:10:06 legacycarpets pppd[15290]: Exit.
Oct 25 10:10:06 legacycarpets pptpd[15277]: GRE:
read(fd=6,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
Input/output error
Oct 25 10:10:06 legacycarpets pptpd[15277]: CTRL: PTY read or GRE write
failed (pty,gre)=(6,7)
Oct 25 10:10:06 legacycarpets pptpd[15277]: CTRL: Client 4.40.159.70 control
connection finished
Oct 25 10:10:06 legacycarpets pptpd[15277]: CTRL: Exiting now
Oct 25 10:10:06 legacycarpets pptpd[15265]: MGR: Reaped child 15277
Oct 25 10:12:02 legacycarpets pptpd[15311]: MGR: Launching
/usr/sbin/pptpctrl to handle client
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: local address =
192.168.0.51
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: remote address =
192.168.1.51
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: pppd speed = 115200
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: pppd options file =
/etc/ppp/options.vpn
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Client 4.40.159.70 control
connection started
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Received PPTP Control
Message (type: 1)
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Made a START CTRL CONN
RPLY packet
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: I wrote 156 bytes to the
client.
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Sent packet to client
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Received PPTP Control
Message (type: 7)
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Set parameters to 0
maxbps, 16 window size
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Made a OUT CALL RPLY
packet
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Starting call (launching
pppd, opening GRE)
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: pty_fd = 6
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: tty_fd = 7
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: I wrote 32 bytes to the
client.
Oct 25 10:12:02 legacycarpets pptpd[15311]: CTRL: Sent packet to client
Oct 25 10:12:02 legacycarpets pptpd[15312]: CTRL (PPPD Launcher): Connection
speed = 115200
Oct 25 10:12:02 legacycarpets pptpd[15312]: CTRL (PPPD Launcher): local
address = 192.168.0.51
Oct 25 10:12:02 legacycarpets pptpd[15312]: CTRL (PPPD Launcher): remote
address = 192.168.1.51
Oct 25 10:12:03 legacycarpets pppd[15312]: pppd 2.3.10 started by root, uid
0
Oct 25 10:12:03 legacycarpets pppd[15312]: Using interface ppp1
Oct 25 10:12:03 legacycarpets pppd[15312]: Connect: ppp1 <--> /dev/pts/3
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [LCP ConfReq id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0x65f72f7b> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: rcvd [LCP ConfReq id=0x1 <magic
0x347ffc2> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [LCP ConfAck id=0x1 <magic
0x347ffc2> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: rcvd [LCP ConfAck id=0x1
<asyncmap 0x20a0000> <auth chap MD5> <magic 0x65f72f7b> <pcomp> <accomp>]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [CHAP Challenge id=0x1
<d734b60dd965d803877b01b71488701c5fb32a2e645b58ae58f3bc6b4e7eb217cd8794cffa6
b2bf36d99c5fa9f2ee2041349e9b13521ca5a6a>, name = "server"]
Oct 25 10:12:03 legacycarpets pppd[15312]: rcvd [CHAP Response id=0x1
<d3ae637756ef138006d469ed18744c21>, name = "rage"]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [CHAP Success id=0x1
"Welcome to server."]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:03 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:03 legacycarpets pppd[15312]: CHAP peer authentication
succeeded for rage
Oct 25 10:12:06 legacycarpets pppd[15312]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:06 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:08 legacycarpets pppd[15312]: rcvd [CHAP Response id=0x1
<d3ae637756ef138006d469ed18744c21>, name = "rage"]
Oct 25 10:12:08 legacycarpets pppd[15312]: sent [CHAP Success id=0x1
"Welcome to server."]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [IPCP ConfReq id=0x1
<compress VJ 0f 01> <addr 192.168.1.50> <ms-dns1 209.30.0.9> <ms-wins
192.168.0.1> <ms-dns3 209.30.0.100> <ms-wins 0.0.0.0>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [IPCP ConfNak id=0x1 <addr
192.168.1.51> <ms-dns1 192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins
192.168.0.1>]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [CCP ConfReq id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [CCP ConfRej id=0x1 < 12 06
01 00 00 01> < 11 05 00 01 04>]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [IPCP ConfReq id=0x2
<compress VJ 0f 01> <addr 192.168.1.51> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [IPCP ConfAck id=0x2
<compress VJ 0f 01> <addr 192.168.1.51> <ms-dns1 192.168.0.1> <ms-wins
192.168.0.1> <ms-dns3 192.168.0.1> <ms-wins 192.168.0.1>]
Oct 25 10:12:09 legacycarpets pppd[15312]: rcvd [CCP ConfReq id=0x2]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [CCP ConfAck id=0x2]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:09 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [IPCP ConfAck id=0x1 <addr
0.0.0.0> <compress VJ 0f 01>]
Oct 25 10:12:10 legacycarpets pppd[15312]: Could not determine local IP
address
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [IPCP TermReq id=0x2 "Could
not determine local IP address"]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [CCP ConfRej id=0x1 <deflate
15> <deflate(old#) 15> <bsd v1 15>]
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [CCP ConfReq id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [IPCP TermAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [LCP TermReq id=0x2 "No
network protocols running"]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [CCP ConfAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [CCP TermReq id=0x3]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [LCP TermReq id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: sent [LCP TermAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: rcvd [LCP TermAck id=0x2]
Oct 25 10:12:10 legacycarpets pppd[15312]: Connection terminated.
Oct 25 10:12:10 legacycarpets pppd[15312]: Connect time 0.2 minutes.
Oct 25 10:12:10 legacycarpets pppd[15312]: Sent 680 bytes, received 441
bytes.
Oct 25 10:12:10 legacycarpets pppd[15312]: Exit.
Oct 25 10:12:10 legacycarpets pptpd[15311]: GRE:
read(fd=6,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
Input/output error
Oct 25 10:12:10 legacycarpets pptpd[15311]: CTRL: PTY read or GRE write
failed (pty,gre)=(6,7)
Oct 25 10:12:10 legacycarpets pptpd[15311]: CTRL: Client 4.40.159.70 control
connection finished
Oct 25 10:12:10 legacycarpets pptpd[15311]: CTRL: Exiting now
Oct 25 10:12:10 legacycarpets pptpd[15265]: MGR: Reaped child 15311
Oct 25 10:12:23 legacycarpets named[524]: USAGE 972486743 972400343
CPU=0.17u/0.01s CHILDCPU=0u/0s
Oct 25 10:12:23 legacycarpets named[524]: NSTATS 972486743 972400343
Oct 25 10:12:23 legacycarpets named[524]: XSTATS 972486743 972400343 RR=1
RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0
SSysQ=1 SAns=0 SFwdQ=0 SDupQ=638 SErr=1 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0
SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0



--
Jason Osborne
Home and Office Network Solutions
Your total Internetworking solutions provider!
13000 Josey Ln STE 104
Farmers Branch, Texas 75234
Phone: 972-484-0013
Fax: 972-484-0114
Web: http://www.sohonetworks.cc
E-mail: sales at sohonetworks.cc




More information about the pptp-server mailing list