From owner-freebsd-questions@FreeBSD.ORG Wed Mar 27 20:09:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C12D4700 for ; Wed, 27 Mar 2013 20:09:23 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-ia0-x233.google.com (mail-ia0-x233.google.com [IPv6:2607:f8b0:4001:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id 96732D34 for ; Wed, 27 Mar 2013 20:09:23 +0000 (UTC) Received: by mail-ia0-f179.google.com with SMTP id x24so7613731iak.38 for ; Wed, 27 Mar 2013 13:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=G8EMxofLeK2YfGwheAwo8toKI7WDDydYpOufUa9m3dg=; b=SqwgU+lgL4MiR21pH12JEap/KEA98T8HoDUAGHVe4zwuowPRBD4bKgc1DsbnqZNzM4 UtM8/rLzuqZpP3QoSXgT43s9K3Vz31yjTdK3Ns9vEt74OuCLDv47L8+U4t+HFCb6y6cx JLJ3wLBiQ/f/VsQKfLc/GwjR1E+8q83eOc3uAwwA/fJ/Jj79mMaOcH1zGmF5X18gv1qI 5L3xK5Gu5gq3Y6+Tv1p7CKtHXzE+BnGeBzaMSws+Q8ivYwhZ634cFC1M0HeMApZv4TgA 9JajC6+OsiXaH1Jw73+AHeSeGrdDjqf6ku3MvT0M2v9JRqfj3CNAZ8U8lOY2+Vnp8+qp TZSg== MIME-Version: 1.0 X-Received: by 10.50.209.4 with SMTP id mi4mr5228326igc.40.1364414963044; Wed, 27 Mar 2013 13:09:23 -0700 (PDT) Received: by 10.64.233.65 with HTTP; Wed, 27 Mar 2013 13:09:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 27 Mar 2013 17:09:22 -0300 Message-ID: Subject: Re: Release 9.1 and 3G usb Modem From: Leonardo Santagostini To: Odhiambo Washington Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 20:09:23 -0000 Hello Odhiambo . The 3G model is Huawei E173 with Movistar Argentina. Ive tried but i cant see in windows de USB port to have a serial link :( Saludos / Regards Leonardo Santagostini 2013/3/27 Odhiambo Washington > > On 27 March 2013 16:29, Leonardo Santagostini wrote: > >> Hello all. >> >> I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB >> modem working. >> >> I tried with umodem, u3g but no luck :( >> > > [snip] > > >> ugen7.2: at usbus7 >> ugen7.2: at usbus7 (disconnected) >> ugen7.2: at usbus7 >> umodem0: on >> usbus7 >> umodem0: data interface 0, has no CM over data, has no break >> umodem1: on >> usbus7 >> umodem1: data interface 1, has no CM over data, has no break >> umodem2: on >> usbus7 >> umodem2: data interface 2, has no CM over data, has no break >> umass0: on usbus7 >> umass0: SCSI over Bulk-Only; quirks = 0x0000 >> umass0:9:0:-1: Attached to scbus9 >> cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0 >> cd1: Removable CD-ROM SCSI-2 device >> cd1: 40.000MB/s transfers >> cd1: Attempt to query device size failed: NOT READY, Medium not present >> umass1: on usbus7 >> umass1: SCSI over Bulk-Only; quirks = 0x0000 >> umass1:10:1:-1: Attached to scbus10 >> da0 at umass-sim1 bus 1 scbus10 target 0 lun 0 >> da0: Removable Direct Access SCSI-2 device >> da0: 40.000MB/s transfers >> da0: Attempt to query device size failed: NOT READY, Medium not present >> > > > [snip] > > Huawei modem, as I can see. That should be easy. > > Connect to the modem through HyperTerminal or Putty on a different machine > Issue the command: AT^U2DIAG=0 > That should disable the virtual CD-ROM and FreeBSD will see the modem. > > Here are some commands you'll need to know about: > Do you have a Windows PC near you? If you plug the device into it and the > virtualCD pops up, then it means command was not successful. The fact that > fake CD still shows means command did not succeed! > > AT^u2diag=0 (all off) > AT^u2diag=1 (CD on, SD off) > AT^u2diag=256 (CD off, SD is on) > AT^u2diag=255 (all on - including SD Card) > AT^u2diag=276 (Factory Reset) > A+CLAC - Display all available commands. However it does not tell you how > to use them > > > > And here is a working ppp.conf - but you need to change the *bolded* values > to match your end of the environment:) > > u3g: > set device */dev/cuaU0.0* > set server /var/run/3g-internet "" 0177 > set speed 921600 > set timeout 0 > set authname *saf* > set authkey *data* > set dial "ABORT BUSY ABORT NO\\sTIMEOUT 2 \ > \"\" \ > AT OK-AT-OK \ > AT+CFUN=1 OK-AT-OK \ > AT+CMEE=2 OK-AT-OK \ > AT+CSQ OK \ > AT+CGDCONT=1,\\\"IP\\\",\\\"*APN*\\\" OK \ > ATD**99#* CONNECT" > set crtscts on > disable vjcomp > disable acfcomp > disable deflate > disable deflate24 > disable pred1 > disable protocomp > disable mppe > disable ipv6cp > disable lqr > disable echo > #nat enable yes > enable dns > resolv writable > set dns 8.8.8.8 > set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 > add default HISADDR # See ppp.link* > > > Lemme know if you get stuck. > > Also, always give details about modem - manufacturer, model... > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > "I can't hear you -- I'm using the scrambler." >