From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 23 11:27:40 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7594A106564A for ; Wed, 23 Feb 2011 11:27:40 +0000 (UTC) (envelope-from knowtree@aloha.com) Received: from mail006.50.12.a.static.mtka.securence.com (mail006.50.12.A.static.MTKA.securence.com [216.17.12.50]) by mx1.freebsd.org (Postfix) with ESMTP id 33AC08FC14 for ; Wed, 23 Feb 2011 11:27:39 +0000 (UTC) received: from usi-mail08-mtka.usinternet.com. (216.17.3.12) by mta5.mtka.securence.com (securence); wed, 23 feb 2011 05:13:33 -0600 (cst) Received: from [10.0.1.10] (atm-251-63.pixi.com [206.127.251.63]) by usi-mail08-mtka.usinternet.com (Postfix) with ESMTP id C8EE52204AA; Wed, 23 Feb 2011 05:13:23 -0600 (CST) From: Gary Dunn To: Maciej Milewski In-Reply-To: <201102192242.35920.milu@dat.pl> References: <1298129174.1540.7.camel@slate01> <201102192242.35920.milu@dat.pl> Content-Type: text/plain; charset="iso-8859-2" Date: Wed, 23 Feb 2011 01:13:29 -0800 Message-ID: <1298452409.1549.0.camel@slate01> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit x-securence-id: 1298459613877-005-00429986 x-securence-country-code: us - united states x-securence-odset: main.outbound.usinternet.com x-securence-remote-host: usi-mail08-mtka.usinternet.com. x-securence-remote-addr: 216.17.3.12 x-securence-rfc2821-mail-from: knowtree@aloha.com x-securence-pp1t: 1 x-securence-trat: 4 x-securence-omc: 0 x-securence-tsist: 6 x-securence-urt: 2 x-securence-art: 0 x-securence-drt: 7 x-securence-info: d6; 0orl0; 99otrp0; 2opp10; 0osrb12; 0ous175; 12oavs0; 0ovxr0; 100oclm101; 98ocom0; 100obsp0; 100ovrc0; 0ophc0; 2isd0; 99dds0; 14domsplt0; 94vac0; 95dogp0; 97med0; 1fsqd0; 46fsdd2; 54dod0; 0dds0; 0domsplt0; 99vac0; 40dogp0; 62med0; 27fsqd0; 98fsdd2; 11dod0; 61cld0; 39lrd0; 63dlv0; dmqq1; s328; t329 x-securence-defer-note-1: attempted to deliver at 2011-02-23 05:13:38 (cst) x-securence-defer-note-2: attempted to deliver at 2011-02-23 05:14:40 (cst) x-securence-defer-note-3: attempted to deliver at 2011-02-23 05:16:40 (cst) x-securence-defer-note-4: attempted to deliver at 2011-02-23 05:20:40 (cst) X-Securence-Latseq: <5-1298459615211> Cc: freebsd-mobile@freebsd.org Subject: Re: Bluetooth DUN tun0 IP setting X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 11:27:40 -0000 On Sat, 2011-02-19 at 22:42 +0100, Maciej Milewski wrote: > Dnia sobota, 19 lutego 2011 o 16:26:14 Gary Dunn napisał(a): > > Previously sent to freebsd-questions and received no response. Hopefully > > someone here has solved this. > > > > Freebsd 8.0-RELEASE-p2. > > Fujitsu Lifebook T1010. > > T-Mobile myTouch 3G slide. > > Android 2.1. > > PDA Net tether app. > > > > I get to where I can run rfcomm -a ... and PDA Net on phone responds > > that it is running, shows byte count, but a few seconds my console > > displays error. > > > > tun0: Error: ipcp_InterfaceUp: unable to set ip address. > I had such error when there was a mistake(one letter missing) in my ppp.conf. > If you search the net you'll see similar errors. Check your ppp.conf or > provide it here to look into it. One more pair of eyes can see that error > eventually :) Here is my ppp.conf. My googling returns two trends, 1) info about rfcomm ON Android, 2) a lot of people having problems with PDA Net in DUN mode. The developers appear to be focused on the Windows and Mac USB tether configuration, which requires a custom app on the PC. ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.11.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuau0 = COM1, cuau1 = COM2) # set device /dev/cuau1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route rfcomm-dialup: # This is IMPORTANT option enable force-scripts # You might want to change these set authname set authkey #set phone "*99***1#" set phone "123" # You might want to adjust dial string as well set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set login set timeout 30 enable dns resolv rewrite set ifaddr 10.10.0.1/0 10.10.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR -- Gary Dunn, Honolulu Open Slate Project http://openslate.org http://www.facebook.com/garydunn808 http://e9erust.blogspot.com Twitter @garydunn808 Sent from Slate001 From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 23 12:05:25 2011 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B04ED106564A for ; Wed, 23 Feb 2011 12:05:25 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 39EF58FC08 for ; Wed, 23 Feb 2011 12:05:24 +0000 (UTC) Received: from jab.dat.pl (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 232367B; Wed, 23 Feb 2011 13:05:23 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by jab.dat.pl (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id D3iL7gFwFjMF; Wed, 23 Feb 2011 13:05:21 +0100 (CET) Received: from snifi.localnet (unknown [212.69.68.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id E30EF3A; Wed, 23 Feb 2011 13:05:20 +0100 (CET) From: Maciej Milewski To: Gary Dunn Date: Wed, 23 Feb 2011 13:05:36 +0100 User-Agent: KMail/1.13.6 (Linux/2.6.37-ARCH; KDE/4.6.0; x86_64; ; ) References: <1298129174.1540.7.camel@slate01> <201102192242.35920.milu@dat.pl> <1298452409.1549.0.camel@slate01> In-Reply-To: <1298452409.1549.0.camel@slate01> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201102231305.37013.milu@dat.pl> Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-mobile@freebsd.org Subject: Re: Bluetooth DUN tun0 IP setting X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2011 12:05:25 -0000 Dnia =B6roda, 23 lutego 2011 o 10:13:29 Gary Dunn napisa=B3(a): > Here is my ppp.conf. My googling returns two trends, 1) info about > rfcomm ON Android, 2) a lot of people having problems with PDA Net in > DUN mode. The developers appear to be focused on the Windows and Mac USB > tether configuration, which requires a custom app on the PC. Well, I don't know what you mean by 1) but if there is much problems with d= un=20 on different systems there may be a deeper problem in the pda net. Could you provide additionaly a full ppp log of the session? And maybe in the /var/log/messages will be sth interesting. Maciej