From owner-freebsd-questions Thu Jul 11 10:42:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA21778 for questions-outgoing; Thu, 11 Jul 1996 10:42:44 -0700 (PDT) Received: from isgate.is (isgate.is [193.4.58.51]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA21756; Thu, 11 Jul 1996 10:42:07 -0700 (PDT) Received: from hummer.islandia.is by isgate.is (8.7.5-M/ISnet/14-10-91); Thu, 11 Jul 1996 17:41:51 GMT Received: from hummer.islandia.is by hummer.islandia.is (8.7.5/ISnet/12-09-94); Thu, 11 Jul 1996 17:42:32 GMT Date: Thu, 11 Jul 1996 17:42:31 +0000 () From: Stefan Thor Hreinsson To: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org, freebsd-isp@freebsd.org Subject: Problems with PPP and cyclades (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greetings, I hope somebody can help with this problem. I'm trying to get ppp-iij using the tun device to work. I can connect to it and everything seems fine until I hangup, the ppp daemon doesn't terminate and just holds the device open. This happens only when using Cyclades 16-Ye DB25-DB25 device with 16 modems connected (from dmesg: cy0 irq 5 maddr 0xd4000 msize 8192 on isa). But when using sio everything works fine and ppp terminates. I'm using the same modem on both devices. I'm running FreeBSD 2.1-STABLE (Now named 2.1.5-GAMMA). Has anyone here had a problem similar like this ? Could this be a problem with the Cyclades card or the device driver ? Currently I'm using sliplogin.dynamic with the Cy-16 with the external connector box, and there are no trouble with that setup. But some of my users want to use ppp to connect to my server. Below are samples from the ppp.log while using ttyd0 and ttycf , and my ppp config file. (BTW. I'm using Trumpet 2.0f to connect.) -- /etc/ppp.conf default: set authname hummer.islandia.is enable lqr set debug phase lcp accept proxy enable proxy ttyd0: set device /dev/cuaa0 set ifaddr 194.144.233.1 194.144.233.36 set debug chat phase accept proxy enable proxy ttycf: set device /dev/cuacf set ifaddr 194.144.233.1 194.144.233.35 set debug chat phase accept proxy enable proxy stty -f /dev/ttycf speed 57600 baud; lflags: -icanon -isig -iexten -echo iflags: -icrnl -ixon -ixany -imaxbel -brkint oflags: -opost -onlcr -oxtabs cflags: cs8 -parenb crtscts stty -f /dev/ttyd0 speed 9600 baud; lflags: -icanon -isig -iexten -echo iflags: -icrnl -ixon -ixany -imaxbel -brkint oflags: -opost -onlcr -oxtabs cflags: cs8 -parenb ^^^^^^ No crtscts ? Is that normal ? This is what i get in ppp.log when connecting to /dev/ttycf 07-11 02:33:10 [14040] Using interface: tun0 07-11 02:33:10 [14040] Listening at 3000. 07-11 02:33:10 [14040] PPP Started. 07-11 02:33:10 [14040] Packet mode enabled 07-11 02:33:11 [14040] Phase: Authenticate 07-11 02:33:11 [14040] his = 0, mine = 0 07-11 02:33:11 [14040] Phase: Network 07-11 02:33:11 [14040] Phase: Terminate 07-11 02:33:11 [14040] Phase: Authenticate 07-11 02:33:11 [14040] his = 0, mine = 0 07-11 02:33:11 [14040] Phase: Network 07-11 02:33:11 [14040] Phase: Terminate 07-11 02:33:11 [14040] found interface ep0 for proxy arp 07-11 02:33:11 [14040] OsLinkup: 194.144.233.35 07-11 02:33:11 [14040] Phase: Authenticate 07-11 02:33:11 [14040] his = 0, mine = 0 07-11 02:33:11 [14040] Phase: Network 07-11 02:33:11 [14040] *Connected! 07-11 02:35:31 [14040] SIGTERM Here i had to kill the ppp daemon after hanging up on in Trumpet and the ppp proccess didn't die. 07-11 02:35:31 [14040] OsLinkdown: 194.144.233.35 07-11 02:35:31 [14040] Phase: Terminate 07-11 02:35:31 [14040] PPP Terminated. And this is what i get when i connect to /dev/ttyd0 07-11 02:37:12 [14073] Using interface: tun0 07-11 02:37:12 [14073] Listening at 3000. 07-11 02:37:12 [14073] PPP Started. 07-11 02:37:12 [14073] Packet mode enabled 07-11 02:37:12 [14073] Phase: Authenticate 07-11 02:37:12 [14073] his = 0, mine = 0 07-11 02:37:12 [14073] Phase: Network 07-11 02:37:13 [14073] found interface ep0 for proxy arp 07-11 02:37:13 [14073] OsLinkup: 194.144.233.36 07-11 02:37:13 [14073] *Connected! 07-11 02:37:27 [14073] Disconnected! 07-11 02:37:27 [14073] Connect time: 14 secs 07-11 02:37:27 [14073] Phase: Dead 07-11 02:37:27 [14073] OsLinkdown: 194.144.233.36 07-11 02:37:28 [14073] PPP Terminated. Everything is normal and the ppp proccess downs itself when I do BYE in Trumpet. Any help will be greatly appreciated, Med kvedju fra Islandi Sincerely Stefan Thor Hreinsson