Subject: PPP Network Devices
To: NetBSD Users <netbsd-users@netbsd.org>
From: J. Buck Caldwell <buckaroo@liveround.com>
List: netbsd-users
Date: 11/05/2002 20:37:24
So I've got a NetBSD/i386 1.6Stable system set up with PoPToP to do VPN. It works
fine, but for two users only. I recompiled the kernel with 'OPTIONS ppp 8' rather
than 2, but I still only see two ppp devices in 'ifconfig -a', and when I try to
connect a third session, I get:
First connection, good:
Oct 31 11:30:16 gatekeeper pptpd[18676]: CTRL: Client <client IP> control connection started
Oct 31 11:30:16 gatekeeper pptpd[18676]: CTRL: Starting call (launching pppd, opening GRE)
Oct 31 11:30:16 gatekeeper pppd[18678]: pppd 2.3.9 started by root, uid 0
Oct 31 11:30:16 gatekeeper pppd[18678]: Using interface ppp0
Oct 31 11:30:16 gatekeeper pppd[18678]: Connect: ppp0 <--> /dev/ttyp1
Oct 31 11:30:17 gatekeeper pppd[18678]: MSCHAP-v2 peer authentication succeeded for washu
Oct 31 11:30:17 gatekeeper pppd[18678]: Cannot determine ethernet address for proxy ARP
Oct 31 11:30:17 gatekeeper pppd[18678]: local IP address 192.168.0.51
Oct 31 11:30:17 gatekeeper pppd[18678]: remote IP address 192.168.254.51
Oct 31 11:30:17 gatekeeper pppd[18678]: MPPE 128 bit, stateless compression enabled
Oct 31 11:30:19 gatekeeper /netbsd: mppe_comp_reset
Second connection, good:
Oct 31 11:31:20 gatekeeper pptpd[18788]: CTRL: Client 192.168.16.163 control connection started
Oct 31 11:31:20 gatekeeper pptpd[18788]: CTRL: Starting call (launching pppd, opening GRE)
Oct 31 11:31:20 gatekeeper pppd[18789]: pppd 2.3.9 started by root, uid 0
Oct 31 11:31:20 gatekeeper pppd[18789]: Using interface ppp1
Oct 31 11:31:20 gatekeeper pppd[18789]: Connect: ppp1 <--> /dev/ttyp2
Oct 31 11:31:20 gatekeeper pppd[18789]: MSCHAP-v2 peer authentication succeededfor jcaldwell
Oct 31 11:31:20 gatekeeper pppd[18789]: Cannot determine ethernet address for proxy ARP
Oct 31 11:31:20 gatekeeper pppd[18789]: local IP address 192.168.0.50
Oct 31 11:31:20 gatekeeper pppd[18789]: remote IP address 192.168.254.50
Oct 31 11:31:20 gatekeeper pppd[18789]: MPPE 40 bit, stateless compression enabled
Third client attempt, fails:
Oct 31 11:32:17 gatekeeper pptpd[18797]: CTRL: Client <another client IP> control connection started
Oct 31 11:32:17 gatekeeper pptpd[18797]: CTRL: Starting call (launching pppd, opening GRE)
Oct 31 11:32:17 gatekeeper pppd[18798]: pppd 2.3.9 started by root, uid 0
Oct 31 11:32:17 gatekeeper pppd[18798]: ioctl(TIOCSETD): Device not configured
Oct 31 11:32:17 gatekeeper pppd[18798]: Exit.
Oct 31 11:32:17 gatekeeper pptpd[18797]: GRE: read(fd=4,buffer=804dec0,len=8196) from PTY failed: status = 0 error = No error
Oct 31 11:32:17 gatekeeper pptpd[18797]: CTRL: PTY read or GRE write failed (pty,gre)=(4,5)
Oct 31 11:32:17 gatekeeper pptpd[18797]: CTRL: Client <another client IP> control connection finished
Obviously, ppp2 - ppp7 aren't around. Is there anything special I need to do to create
these devices? Or does the kernel ignore the setting in the config file?
--
- J. Buck Caldwell
"Every year, we pass the anniversary of our own death."
- B. Banzai