Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2013 23:17:28 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Leonardo Santagostini <lsantagostini@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Release 9.1 and 3G usb Modem
Message-ID:  <CAAdA2WPy4=q9ofHdKB176ZCzMBjt8NVL-0iwafaz=rheZdk+hA@mail.gmail.com>
In-Reply-To: <CADmnP4MbkfongaXgTQjpMNvV82yjqggtkTHypHWVCzVwi60Yxw@mail.gmail.com>
References:  <CADmnP4Nh27_KQBiMi-n7e7EzWzRSnVrZpBuLmTuH=6qvqZon0A@mail.gmail.com> <CAAdA2WNJ5GZtaJ4--62M3=CD4aaJkzZtFhJ2EQTQ=ovzOnyerg@mail.gmail.com> <CADmnP4MbkfongaXgTQjpMNvV82yjqggtkTHypHWVCzVwi60Yxw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <ENTER>
atz <ENTER>

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 <lsantagostini@gmail.com>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 <odhiambo@gmail.com>
>
>>
>> On 27 March 2013 16:29, Leonardo Santagostini <lsantagostini@gmail.com>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: <HUAWEI> at usbus7
>>> ugen7.2: <HUAWEI> at usbus7 (disconnected)
>>> ugen7.2: <HUAWEI> at usbus7
>>> umodem0: <HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2> on
>>> usbus7
>>> umodem0: data interface 0, has no CM over data, has no break
>>> umodem1: <HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2> on
>>> usbus7
>>> umodem1: data interface 1, has no CM over data, has no break
>>> umodem2: <HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2> on
>>> usbus7
>>> umodem2: data interface 2, has no CM over data, has no break
>>> umass0: <HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2> 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: <HUAWEI Mass Storage 2.31> Removable CD-ROM SCSI-2 device
>>> cd1: 40.000MB/s transfers
>>> cd1: Attempt to query device size failed: NOT READY, Medium not present
>>> umass1: <HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2> 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: <HUAWEI SD Storage 2.31> 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."



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAAdA2WPy4=q9ofHdKB176ZCzMBjt8NVL-0iwafaz=rheZdk+hA>