From owner-freebsd-questions@FreeBSD.ORG Mon Apr 11 20:04:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F08D16A4CE; Mon, 11 Apr 2005 20:04:01 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58DE843D31; Mon, 11 Apr 2005 20:04:01 +0000 (GMT) (envelope-from wigglesworth02@comcast.net) Received: from [192.168.2.55] (c-24-125-177-237.hsd1.va.comcast.net[24.125.177.237]) by comcast.net (rwcrmhc11) with SMTP id <2005041120035301300kp566e>; Mon, 11 Apr 2005 20:03:54 +0000 From: Martes G Wigglesworth To: newbies freebsd list , freebsd-questions@freebsd.org, freebsd-usb@freebsd.org Content-Type: text/plain Message-Id: <1113249832.680.57.camel@Mobil1.276NET> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 11 Apr 2005 16:03:52 -0400 Content-Transfer-Encoding: 7bit Subject: Problems with ppp and pocketpc over usb connections.(long list at bottom) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: wigglesworth02@comcast.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 20:04:01 -0000 I am having difficulties using user-ppp for connecting my usb-cabled pocketpc to Freebsd. The chat script indicates that it cannot set speed to 0. Also, am I supposed to have the ppp.conf setup to host connections? I am very new to ppp and I am not sure. The howtos don't even begin to explain what is actually going on. They all just list simple configurations that seem to work for everyone but me. The tun0 device is used and given an ip address, however, I am not able to ping either address that is associated with the tun0 device interface. I am trying to get synce and multisync to work, however, I have discovered that RAPI is not initialized, meaning that the pda is never actually connected to the tun0 interface, hence never connected to synce-serial-start, and multisync instances. I was able to see ip address assignments when I started this email, and now that I have started the processes again, I am getting only a PID as shown below. Can someone please give me a clue as to what is going on? All the docs seem to assume that all is well, and people are using their PPcs with *nix, so what is wrong with my picture? Thanks for the assistance, in advance. I get the following, while connected, just after usbd has assigned the ucom0 device: >dmesg|grep ucom0 ucom0: Hewlett Packard product 0x1016, rev 1.00/0.00,addr 2 >ifconfig|grep tun tun0: flags=8051 mtu 1500 Opened by PID 3718 tun1: flags=8010 mtu 1500 tun2: flags=8010 mtu 1500 > sudo tail -f /var/log/ppp.log Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: 8 packets in, 10 packets out Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: total 15 bytes/sec, peak 24 bytes/sec on Mon Apr 11 15:38:07 2005 Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: hangup -> opening Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Phase: deflink: Enter pause (3) for redialing. Apr 11 15:38:19 Mobil1 ppp[3554]: tun0: Chat: deflink: Reconnect try 2 of 0 Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: Signal 15, terminate. Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: deflink: Disconnected! Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: deflink: opening -> closed Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: bundle: Dead Apr 11 15:38:21 Mobil1 ppp[3554]: tun0: Phase: PPP Terminated (normal). Apr 11 15:42:59 Mobil1 ppp[3711]: Phase: Using interface: tun0 Apr 11 15:42:59 Mobil1 ppp[3711]: Phase: deflink: Created in closed state Apr 11 15:42:59 Mobil1 ppp[3717]: Phase: Using interface: tun1 Apr 11 15:42:59 Mobil1 ppp[3717]: Phase: deflink: Created in closed state Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set device /dev/ucom0 Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set speed 115200 Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: set timeout 180 Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: default: enable dns Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set device /dev/ucom0 Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set speed 115200 Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set timeout 0 Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set dial Apr 11 15:42:59 Mobil1 ppp[3711]: tun0: Command: ppc: set ifaddr 192.168.2.104 192.168.2.202 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set device /dev/ucom0 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set speed 115200 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: set timeout 180 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: default: enable dns Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set device /dev/ucom0 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set speed 115200 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set timeout 0 Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set dial Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Command: ppc: set ifaddr 192.168.2.104 192.168.2.202 Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: PPP Started (ddial mode). Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: bundle: Establish Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: closed -> opening Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: PPP Started (background mode). Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: bundle: Establish Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: closed -> opening Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: /dev/ucom0 is in use Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Failed to open device (attempt 1 of 1) Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: deflink: opening -> closed Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: bundle: Dead Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Parent notified of redial Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Phase: PPP Terminated (normal). Apr 11 15:42:59 Mobil1 ppp[3717]: tun1: Phase: Parent: Child failed (errdead) Apr 11 15:42:59 Mobil1 ppp[3719]: tun1: Chat: Parent notified of failure Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: Connected! Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: opening -> dial Apr 11 15:42:59 Mobil1 ppp[3718]: tun0: Phase: deflink: dial -> carrier Apr 11 15:43:00 Mobil1 ppp[3718]: tun0: Phase: deflink: /dev/ucom0 doesn't support CD Apr 11 15:43:00 Mobil1 ppp[3718]: tun0: Phase: deflink: carrier -> login Apr 11 15:43:00 Mobil1 ppp[3718]: tun0: Phase: deflink: login -> lcp