From owner-freebsd-questions@FreeBSD.ORG Wed Mar 27 20:18:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 27406865 for ; Wed, 27 Mar 2013 20:18:11 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 8EDABD9B for ; Wed, 27 Mar 2013 20:18:10 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id eb20so16489205lab.31 for ; Wed, 27 Mar 2013 13:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=ryW+nAsTJOuYW3kdPPP0Z7PqDgkSXucUOr7Xru1T8Mc=; b=kCqFveWo+PsGKp2yNpBDRiQamAmA9T3qJFRK5O6Dy/8HKvtl6JEolO8M5mlKz8+gp2 qMaJF+PobXhawkGjlpzLeVzsQ4u/uJ0SyNFZkeo+S8l7zDzbs346hBolXNAyz5/s+1B5 dTiBTdKJbnbf6K4zC8Oo3Ydoelp0OYn6HFWa3D36u2ncdwyg0krvufrii06oibj7RpRL mdzLdIb44prqNnN32Y6wijvby6q4MQXbreLzvBqD3SEXzX6o1orF4QBnIGR2nZdyd4BQ fH5MwtameCQPU7A2pCUqw+A9PkFEi7HTH3qiD+f3UIOCi3jXQyKm+jkwIjVGb4uhLI8+ PLCA== X-Received: by 10.112.10.138 with SMTP id i10mr10977774lbb.24.1364415488827; Wed, 27 Mar 2013 13:18:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.101.169 with HTTP; Wed, 27 Mar 2013 13:17:28 -0700 (PDT) In-Reply-To: References: From: Odhiambo Washington Date: Wed, 27 Mar 2013 23:17:28 +0300 Message-ID: Subject: Re: Release 9.1 and 3G usb Modem To: Leonardo Santagostini Content-Type: text/plain; charset=ISO-8859-1 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:18:11 -0000 On Windows, install the modem drivers and make it usable. Then connect to the port on which it is installed using putty or HyperTerminal. I am hoping you know how to do that. Then type the commands: at^u2diag=0 atz Disconnect modem and connect to FreeBSD. You will see the modem correctly identified and connected to a port. On Windows, when you go to Hardware->Device Manager, look at the Serial ports available. One of them MUST be the one the modem is using! On 27 March 2013 23:09, Leonardo Santagostini wrote: > 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." >> > > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler."