From owner-freebsd-stable@FreeBSD.ORG Thu Jan 18 13:29:07 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B09A716A415 for ; Thu, 18 Jan 2007 13:29:07 +0000 (UTC) (envelope-from derwood@naebunny.net) Received: from azathoth.naebunny.net (azathoth.naebunny.net [67.38.156.19]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBFE13C442 for ; Thu, 18 Jan 2007 13:29:04 +0000 (UTC) (envelope-from derwood@naebunny.net) Received: from azathoth.naebunny.net (azathoth [127.0.0.1]) by azathoth.naebunny.net (Naebunny Mail Server. Spammers will be reported) with ESMTP id 09FFB22837 for ; Thu, 18 Jan 2007 08:05:16 -0500 (EST) Received: from [192.168.0.249] (unknown [192.168.0.249]) by azathoth.naebunny.net (Naebunny Mail Server. Spammers will be reported) with ESMTP id E156A22836 for ; Thu, 18 Jan 2007 08:05:15 -0500 (EST) Message-ID: <45AF707C.6050509@naebunny.net> Date: Thu, 18 Jan 2007 08:05:00 -0500 From: Darin User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP Subject: PPP oddity with 6.2-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 13:29:07 -0000 This system has been running 5.x for over a year with no problems. Last weekend, I cvsuped, and did buildworld using RELENG_6_2. This machine is set up to connect to my isp via PPPOE upon boot. Now, when it boots, it does the connection fine, and TUN0 is set up. But, immediately after that, it starts another PPP process, and tries to reconnect using TUN1. It keeps re-trying until I kill the second pid. Nothing has changed in my config files. Any ideas??? Darin - Here is a sample from the /var/log/ppp.log: ===================================================== Jan 14 23:38:46 bsd ppp[344]: tun0: Phase: Pap Input: SUCCESS () Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: FSM: Using "deflink" as a transport Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: deflink: State change Initial --> Closed Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: deflink: LayerStart. Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: MPPE: Not usable without CHAP81 Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: deflink: SendConfigReq(1) state = Closed Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: DEFLATE[4] win 15 Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: PRED1[2] Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: deflink: State change Closed --> Req-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: Phase: deflink: lcp -> open Jan 14 23:38:46 bsd ppp[344]: tun0: Phase: bundle: Network Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: FSM: Using "deflink" as a transport Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: State change Initial --> Closed Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: LayerStart. Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 10.0.0.2 Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: State change Closed --> Req-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: RecvConfigReq(51) state = Req-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 67.38.156.1 Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: SendConfigAck(51) state = Req-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 67.38.156.1 Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: CCP: deflink: State change Req-Sent --> Stopped Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 10.0.0.2 Jan 14 23:38:46 bsd ppp[344]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 67.38.156.22 Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] changing address: 10.0.0.2 --> 67.38.156.22 Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 67.38.156.22 Jan 14 23:38:46 bsd ppp[344]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: IPADDR[6] 67.38.156.22 Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: State change Ack-Sent --> Opened Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: deflink: LayerUp. Jan 14 23:38:46 bsd ppp[344]: tun0: IPCP: myaddr 67.38.156.22 hisaddr = 67.38.156.1 Jan 14 23:38:49 bsd ppp[344]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Jan 14 23:38:52 bsd ppp[344]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Jan 14 23:38:53 bsd ppp[766]: Phase: Using interface: tun1 Jan 14 23:38:53 bsd ppp[766]: Phase: deflink: Created in closed state Jan 14 23:38:53 bsd ppp[766]: tun1: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Jan 14 23:38:53 bsd ppp[766]: tun1: Command: default: set ifaddr 10.0.0.2/0 10.0.0.3/0 Jan 14 23:38:53 bsd ppp[766]: tun1: Command: Ameritech: set device PPPoE:txp0 Jan 14 23:38:53 bsd ppp[766]: tun1: Command: Ameritech: set authname xxxxx@xxxxxxxxx.xxx Jan 14 23:38:53 bsd ppp[766]: tun1: Command: Ameritech: set authkey ******** Jan 14 23:38:53 bsd ppp[766]: tun1: Command: Ameritech: set dial Jan 14 23:38:53 bsd ppp[766]: tun1: Command: Ameritech: set login Jan 14 23:38:53 bsd ppp[766]: tun1: Command: Ameritech: add default HISADDR Jan 14 23:38:53 bsd ppp[766]: tun1: Warning: Add route failed: 0.0.0.0/0 already exists ========================================================== Here is my /etc/ppp/ppp.conf: ========================================================== default: set log Phase Chat IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set ifaddr 10.0.0.2/0 10.0.0.3/0 # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # Ameritech: set device PPPoE:txp0:SBC set authname xxxxxx@xxxxxxx.xxx set authkey ****** set dial set login add default HISADDR nat enable yes nat same_ports yes nat addr 192.168.0.5 aa.bb.bb.dd nat addr 192.168.0.6 aa.bb.cc.dd nat addr 192.168.0.7 aa.bb.cc.dd nat port udp 192.168.0.250:4500 4500 nat port udp 192.168.0.250:500 500 accept dns set dns 192.168.0.6 192.168.0.5 disable ipv6cp ============================================================ And, here is my /etc/rc.conf: ========================================================== gateway_enable="YES" hostname="xxx.xxxxxxxxxxx.xxx" ifconfig_txp0="inet 10.0.0.3 netmask 255.255.255.0" ifconfig_txp1="inet 192.168.0.1 netmask 255.255.255.0" dhcpd_enable="YES" dhcpd_conf=/usr/local/etc/dhcpd.conf dhcpd_ifaces="txp1" defaultrouter="192.168.0.1" ppp_enable="YES" ppp_mode="ddial" ppp_profile="Ameritech" natd_enable="YES" natd_interface="txp1" natd_flags="-f /etc/natd.conf" nfs_client_enable="YES" sshd_enable="YES" sendmail_enable="NONE" firewall_enable="YES" firewall_script="/etc/ipfw.newset" firewall_logging="YES" log_in_vain="YES" inetd_enable="NO" kern_securelevel_enable="NO" ==========================================================