Date: Sat, 11 Dec 1999 21:22:01 -0600 From: Jon Hamilton <hamilton@pobox.com> To: current@freebsd.org Subject: ppp over pty: trying to detect CD Message-ID: <19991212032201.5BF1150@woodstock.monkey.net>
next in thread | raw e-mail | index | archive | help
Running -current from this afternoon, I am having a strange symptom with ppp over a pty; ppp does not detect that the pty does not support carrier, and will cycle once per second waiting for CD to appear. Putting ``set cd off'' in my ppp.conf for that target fixed the problem, but I thought I'd mention it nonetheless, since that didn't used to be required. Certainly not all that big a deal, but I thought it was worth a mention. FreeBSD 4.0-CURRENT #13: Sat Dec 11 20:31:42 CST 1999 The section from my ppp.conf: vpn: set ipcpretry 1000 set lcpretry 1000 set timeout 0 set ifaddr 192.168.1.2/0 192.168.1.1/0 255.255.255.0 set cd off <- this guy fixed the problem enable lqr accept lqr set openmode passive set log phase ipcp Connect tun Command add 192.168.2.0/24 HISADDR and the syslog with debugging turned on, with no "set cd" in the config: Dec 11 20:48:20 woodstock ppp[3106]: Phase: Using interface: tun1 Dec 11 20:48:20 woodstock ppp[3106]: Phase: deflink: Created in closed state Dec 11 20:48:20 woodstock ppp[3106]: tun1: Command: vpn: add 192.168.2.0/24 HISADDR Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: wrote 140: cmd = Add, dst = 2a8c0, gateway = 101a8c0 Dec 11 20:48:20 woodstock ppp[3106]: tun1: Phase: PPP Started (direct mode). Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: Select changes time: no Dec 11 20:48:20 woodstock ppp[3106]: tun1: Phase: bundle: Establish Dec 11 20:48:20 woodstock ppp[3106]: tun1: Phase: deflink: closed -> opening Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: deflink: Input is a tty (/dev/ttyp0) Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: deflink: tty_Create: physical (get): fd = 0, iflag = 0, oflag = 2, cflag = 4b00 Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: deflink: physical (put): iflag = 201, oflag = 2, cflag = 3cb00 Dec 11 20:48:20 woodstock ppp[3106]: tun1: Phase: deflink: Connected! Dec 11 20:48:20 woodstock ppp[3106]: tun1: Phase: deflink: opening -> carrier Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: deflink: Using tty_Timeout [0x8072d44] Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: Waiting for carrier Dec 11 20:48:21 woodstock ppp[3106]: tun1: Debug: deflink: Using tty_Timeout [0x8072d44] Dec 11 20:48:21 woodstock ppp[3106]: tun1: Debug: Waiting for carrier [ and on and on and on ] -- Jon Hamilton hamilton@pobox.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991212032201.5BF1150>