From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 07:55:43 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFB9116A41B for ; Mon, 28 Jan 2008 07:55:43 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from mail.lokisworld.com (mail.lokisworld.com [202.64.77.56]) by mx1.freebsd.org (Postfix) with ESMTP id 541C213C4EB for ; Mon, 28 Jan 2008 07:55:43 +0000 (UTC) (envelope-from mailinglists@tca-cable-connector.com) Received: from munin.tcaportal.com (mail.tcaportal.com [121.10.3.66]) by mail.lokisworld.com (Postfix) with ESMTP id 54EFC12B02B for ; Mon, 28 Jan 2008 15:29:16 +0800 (HKT) Received: from tca102.tcaportal.com (tca102.tcaportal.com [10.0.1.102]) by munin.tcaportal.com (Postfix) with ESMTP id 3EB03A6C4C for ; Mon, 28 Jan 2008 15:28:14 +0800 (HKT) Message-Id: <7FC778E8-EA80-485A-8599-3BF5ACC096B8@tca-cable-connector.com> From: David Schulz To: questions@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Mon, 28 Jan 2008 15:30:39 +0800 X-Mailer: Apple Mail (2.915) Cc: Subject: Huawei 3g Modem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2008 07:55:44 -0000 Hello, i have a Huawei EC-325 Modem which is connected to my Computer running FreeBSD 6.3 with a mini-USB Cable, and supposedly is supported by the ubsa driver, as described here "http://www.freebsd.org/cgi/man.cgi?query=ubsa&sektion=4&manpath=FreeBSD+6.3-RELEASE ". I modified my /boot/loader.conf to yield the following: ubsa_load="YES" ucom_load="YES" After rebooting, kldstat shows the above modules loaded. When i re-insert my Huawei Modem, dmesg displays: ucom0: Huawei Technologies Huawei Mobile, rev 1.01/0.00, addr 2 My ppp.conf looks like this: default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0 set speed 230400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) three: set phone \#77 set authname card set authkey card disable ipv6cp set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR But when i run ppp -ddial three , ppp.log reports this output: Jan 28 15:32:57 testbed ppp[824]: Phase: Using interface: tun0 Jan 28 15:32:57 testbed ppp[824]: Phase: deflink: Created in closed state Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: ident user- ppp VERSION (built COMPILATIONDATE) Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set device / dev/cuaU0 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set speed 230400 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \dATDT\T TIMEOUT 40 CONNECT Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: set timeout 180 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: default: enable dns Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set phone #77 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authname card Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set authkey ******** Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: disable ipv6cp Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Jan 28 15:32:57 testbed ppp[824]: tun0: Command: three: add default HISADDR Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: PPP Started (ddial mode). Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: bundle: Establish Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: closed -> opening Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: Connected! Jan 28 15:32:57 testbed ppp[825]: tun0: Phase: deflink: opening -> dial Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Phone: #77 Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: ^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: AT&FE0V1X1&D2&C1S0=0^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Expect(5): OK Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: AT&FE0V1X1&D2&C1S0=0^M^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Received: OK^M Jan 28 15:32:57 testbed ppp[825]: tun0: Chat: Send: ATDT#77^M Jan 28 15:32:59 testbed ppp[825]: tun0: Chat: Expect(40): CONNECT Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: ^M Jan 28 15:33:12 testbed ppp[825]: tun0: Chat: Received: NO CARRIER^M Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: Chat script failed Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: dial -> hangup Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to set physical to speed 0 Jan 28 15:33:12 testbed ppp[825]: tun0: Phase: deflink: Disconnected! Jan 28 15:33:12 testbed ppp[825]: tun0: Warning: deflink: Unable to set physical to speed 0 Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Connect time: 17 secs: 0 octets in, 0 octets out Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: 0 packets in, 0 packets out Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jan 28 15:32:57 2008 Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: hangup -> opening Jan 28 15:33:14 testbed ppp[825]: tun0: Phase: deflink: Enter pause (30) for redialing. Additionally, after running ppp -ddial three, dmesg shows a lot of lines like these: ucom0: ubsa_request: STALLED ucom0: ubsa_request: STALLED .... Can anyone help me to get this to work? Thanks and best regards, David