From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 2 11:15:58 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58E7816A41F for ; Sun, 2 Oct 2005 11:15:58 +0000 (GMT) (envelope-from guru@Sisis.de) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B37143D45 for ; Sun, 2 Oct 2005 11:15:57 +0000 (GMT) (envelope-from guru@Sisis.de) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id NAA17940 for ; Sun, 2 Oct 2005 13:14:49 +0200 (CEST) (envelope-from guru@Sisis.de) From: guru@Sisis.de Received: from hermes.sisis.de(193.31.10.38) by hunter.Sisis.de via smap (V2.1) id xma017938; Sun, 2 Oct 05 13:14:48 +0200 Received: from rebelion.Sisis.de (torwart.Sisis.de [193.31.10.94]) by hermes.sisis.de (8.8.8/8.8.8) with ESMTP id NAA15036 for ; Sun, 2 Oct 2005 13:15:54 +0200 (CEST) (envelope-from guru@Sisis.de) Received: (from guru@localhost) by rebelion.Sisis.de (8.13.3/8.13.3/Submit) id j92BFoje001442 for freebsd-mobile@freebsd.org; Sun, 2 Oct 2005 13:15:50 +0200 (CEST) (envelope-from guru@Sisis.de) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to guru@Sisis.de using -f Date: Sun, 2 Oct 2005 13:15:50 +0200 To: freebsd-mobile@freebsd.org Message-ID: <20051002111550.GA1042@rebelion.Sisis.de> References: <20050930125924.GA1100@rebelion.Sisis.de> <20050930142445.P9959@server.arg.sj.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050930142445.P9959@server.arg.sj.co.uk> User-Agent: Mutt/1.4.2.1i Subject: Re: 5.4-REL && pcmcia card Option N.V. Fusion UMTS Quad-GPRS X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: guru@Sisis.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2005 11:15:58 -0000 El día Friday, September 30, 2005 a las 02:47:38PM +0100, Andrew Gordon escribió: ... > I hacked up a crude driver to make my card work by making a copy of the > 'uftdi' driver and ripping the guts out of it (not because this card has > anything in common with the FTDI chips, just that I happen to know a lot > about them and hence know my way around the uftdi driver - any of the > other ucom sub-drivers would work equally well). ... With the help of Andrew's example I modified the 'uftdi' driver and it seems to work as it should. The remaining thing is the PPPD negotiating with Vodafone's UMTS. It should work somehow, because it worked some weeks ago with the Linux PPPD (unfortunately I don't saved the debug log files of this to check the difference in detail and I don't have any other Linux notebook sitting around). I'm attaching the PPPD debug.log and the options if someone has an idea what's going wrong. For example, why the peer sends an LCP-DiscReq? And why they don't agree in IP addrs in the IPCP-negotiating? Thx in advance Matthias /etc/ppp/peers: ucom0 230400 crtscts connect '/usr/bin/chat -V -f /etc/ppp/chat-umts ; \ sleep 5' name xxxxxxxxxxxxxx passive noipdefault novj noccp defaultroute lcp-echo-interval 10 ipcp-accept-local ipcp-accept-remote ipcp-max-configure 10 # /usr/local/sbin/pppd --version pppd version 2.3.11 # /usr/local/sbin/pppd debug call umts AT+CGDCONT=1,"IP","web.vodafone.de" OK ATD*99***1# CONNECT 384000 Serial connection established. Using interface ppp0 Connect: ppp0 <--> /dev/ucom0 sent [LCP ConfReq id=0x1 ] rcvd [LCP ConfReq id=0x1b ] sent [LCP ConfAck id=0x1b ] rcvd [LCP ConfAck id=0x1 ] sent [LCP EchoReq id=0x0 magic=0x5ec4cac0] rcvd [LCP DiscReq id=0x1c magic=0x815b0e3] rcvd [CHAP Challenge id=0x1 <4a8f13a7f69824f536bcb635c698fe6f>, name = "xxxxxxxxxxxxxx"] sent [CHAP Response id=0x1 , name = "xxxxxxxxxxxxxx"] rcvd [LCP EchoRep id=0x0 magic=0x815b0e3 f5 36 bc b6] rcvd [CHAP Success id=0x1 ""] sent [IPCP ConfReq id=0x1 ] rcvd [IPCP ConfNak id=0x1 ] sent [IPCP ConfReq id=0x2 ] rcvd [IPCP ConfNak id=0x2 ] sent [IPCP ConfReq id=0x3 ] rcvd [IPCP ConfNak id=0x3 ] sent [IPCP ConfReq id=0x4 ] rcvd [IPCP ConfNak id=0x4 ] sent [IPCP ConfReq id=0x5 ] rcvd [IPCP ConfReq id=0x4a] sent [IPCP ConfNak id=0x4a ] rcvd [IPCP ConfNak id=0x5 ] sent [IPCP ConfReq id=0x6 ] rcvd [IPCP ConfReq id=0x4b] sent [IPCP ConfAck id=0x4b] rcvd [IPCP ConfAck id=0x6 ] Could not determine remote IP address sent [IPCP TermReq id=0x7 "Could not determine remote IP address"] rcvd [IPCP TermAck id=0x7] sent [LCP TermReq id=0x2 "No network protocols running"] rcvd [LCP TermAck id=0x2] Connection terminated. Connect time 0.1 minutes. Sent 278 bytes, received 341 bytes. -- Matthias Apitz / Sisis Informationssysteme GmbH Gruenwalder Weg 28g / D-82041 Oberhaching Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211 http://www.sisis.de/