Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2013 21:53:53 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        Odhiambo Washington <odhiambo@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: Problems getting my Huawei 0x140b USB modem to speak to internet
Message-ID:  <BLU0-SMTP113364D6338CD605EC4F9C0F6700@phx.gbl>
In-Reply-To: <CAAdA2WP%2BuT3oLm77X8Eo5EkMm82P%2BmaUgR=HvhTQv=EA0Vfwgg@mail.gmail.com>
References:  <mailman.69.1372593602.41866.freebsd-questions@freebsd.org> <BLU0-SMTP1154F8AC51BAB1184F9305DF6700@phx.gbl> <CAAdA2WP%2BuT3oLm77X8Eo5EkMm82P%2BmaUgR=HvhTQv=EA0Vfwgg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello Odhiambo/All,

I seem to have made some progress but final success still eludes me. 
With modem symlinked to cuaU0.0, this is what happens is minicom :

AT^GETPORTMODE
^GETPORTMODE:TYPE:EV-DO:Qualcomm,MDM:0,DIAG:1,PCUI:2,CDROM:3

OK
AT^SETPORT="A1;1,2,3"
COMMAND NOT SUPPORT

AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get "COMMAND 
NOT SUPPORT". So how to disable the CD mode and make FreeBSD treat it 
purely as a modem ? Some of the commands the modem supports (as reported 
by Windows' device manager) are as follows :

ATQ0V1E0 - OK
AT+GMM - EC156
AT+FCLASS=? - 0,2.0
AT#CLS=? - COMMAND NOT SUPPORT
        ^HRSSILVL:80
        ^HDRRSSI: 31
        ^HRSSILVL:60
        ^HDRRSSI: 31


Thanks for any help.

Regards,

Manish Jain
+91-88064-38388

On 30-Jun-13 19:41, Odhiambo Washington wrote:
> Hi Manish,
>
> If you have a Windows PC, use putty.exe and point the config to the COM
> port on which the modem is detected to be attached to.
> That's how I do it, unfortunately.
>
>
>
> On 30 June 2013 16:51, Manish Jain <bourne.identity@hotmail.com
> <mailto:bourne.identity@hotmail.com>> wrote:
>
>     Hello Odhiambo/All,
>
>     I installed and ran minicom. There are 2 devices which are possible
>     candidates as the modem : cuaU0.0 and cuaU0.2
>
>     I symlinked modem to each of the 2 devices and ran minicom. With
>     both devices, the AT command returns OK, but AT^U2DIAG=0 returns
>     COMMAND NOT SUPPORT
>
>     Any tips on what to do next ?
>
>
>     Thanks &
>     Regards,
>
>     Manish Jain
>     +91-88064-38388
>
>     On 30-Jun-13 17:30, freebsd-questions-request@__freebsd.org
>     <mailto:freebsd-questions-request@freebsd.org> wrote:
>
>         Send freebsd-questions mailing list submissions to
>         freebsd-questions@freebsd.org <mailto:freebsd-questions@freebsd.org>
>
>         To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions
>         <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>;
>         or, via email, send a message with subject or body 'help' to
>         freebsd-questions-request@__freebsd.org
>         <mailto:freebsd-questions-request@freebsd.org>
>
>         You can reach the person managing the list at
>         freebsd-questions-owner@__freebsd.org
>         <mailto:freebsd-questions-owner@freebsd.org>
>
>         When replying, please edit your Subject line so it is more specific
>         than "Re: Contents of freebsd-questions digest..."
>
>
>         Today's Topics:
>
>              1. question, following error Shared object "libc.so.6" not
>                 found, required by "fortune" (Rev Herbert Miller)
>              2. Re: question, following error Shared object "libc.so.6" not
>                 found, required by "fortune" (Polytropon)
>              3. ALT key problem with Virtual Box? (Scott Ballantyne)
>              4. Re: ALT key problem with Virtual Box? (Polytropon)
>              5. Problems getting my Huawei 0x140b USB modem to speak to
>                 internet (Manish Jain)
>              6. Re: ALT key problem with Virtual Box? (Scott Ballantyne)
>              7. Baker Invites freebsd-questions@freebsd.org
>         <mailto:freebsd-questions@freebsd.org> to spend holiday
>                 in Goa (John Baker)
>              8.  (Upali Kulasekara)
>              9. Re: your mail (Daniel Feenberg)
>             10. RE: Problems getting my Huawei 0x140b USB modem to speak to
>                 internet (Manish Jain)
>             11. Re: Problems getting my Huawei 0x140b USB modem to speak to
>                 internet (Odhiambo Washington)
>
>
>         ------------------------------__------------------------------__----------
>
>         Message: 1
>         Date: Sat, 29 Jun 2013 10:48:38 -0400
>         From: Rev Herbert Miller <herbertmiller@me.com
>         <mailto:herbertmiller@me.com>>
>         To: questions@FreeBSD.org
>         Subject: question, following error Shared object "libc.so.6" not
>                  found, required by "fortune"
>         Message-ID: <650F01CA-F62F-49E7-957F-__9BFDC06D6E72@me.com
>         <mailto:650F01CA-F62F-49E7-957F-9BFDC06D6E72@me.com>>
>         Content-Type: text/plain; charset=us-ascii
>
>         I was trying to use the content management system for our
>         website.  I needed to restart on terminal but I keep coming up
>         with the following error:  I don't know programing at all, so
>         don't know if this is something I can fix.
>
>
>         Shared object "libc.so.6" not found, required by "fortune"
>
>         Neither the JAVA_HOME nor the JRE_HOME environment variable is
>         defined
>         At least one of these environment variable is needed to run this
>         program
>         root@psumc:/usr/local/tomcat5.__5 # bin/startup.sh
>         Neither the JAVA_HOME nor the JRE_HOME environment variable is
>         defined
>         At least one of these environment variable is needed to run this
>         program
>         root@psumc:/usr/local/tomcat5.__5 # su -c 'killall -9 java'
>
>         ------------------------------
>
>         Message: 2
>         Date: Sat, 29 Jun 2013 17:58:31 +0200
>         From: Polytropon <freebsd@edvax.de <mailto:freebsd@edvax.de>>
>         To: Rev Herbert Miller <herbertmiller@me.com
>         <mailto:herbertmiller@me.com>>
>         Cc: questions@freebsd.org <mailto:questions@freebsd.org>
>         Subject: Re: question, following error Shared object "libc.so.6" not
>                  found, required by "fortune"
>         Message-ID: <20130629175831.b2bf7fcb.__freebsd@edvax.de
>         <mailto:20130629175831.b2bf7fcb.freebsd@edvax.de>>
>         Content-Type: text/plain; charset=US-ASCII
>
>         On Sat, 29 Jun 2013 10:48:38 -0400, Rev Herbert Miller wrote:
>
>             I was trying to use the content management system for our
>             website.
>             I needed to restart on terminal but I keep coming up with the
>             following error:  I don't know programing at all, so don't know
>             if this is something I can fix.
>
>
>         In worst case, notify your system administrator.
>
>
>
>             Shared object "libc.so.6" not found, required by "fortune"
>
>
>         This kind of error often indicates an incomplete system update
>         were libraries are "out of date" or missing. What way of system
>         update has been performed?
>
>
>
>             root@psumc:/usr/local/tomcat5.__5 # bin/startup.sh
>             Neither the JAVA_HOME nor the JRE_HOME environment variable
>             is defined
>             At least one of these environment variable is needed to run
>             this program
>
>
>         That can be a side effect, maybe some accidentally overwritten
>         configuration file or a program that's unable to run due to a
>         missing dependency?
>
>         What happens if you manually define those variables to the proper
>         valies and try again, e. g.
>
>                  # setenv JAVA_HOME=/usr/local/<where your JAVA stuff is>
>                  # setenv JRE_HOME=/usr/local/<where your runtime lives>
>                  # bin/startup,sh
>
>         Does this produce a different result?
>
>
>
>             root@psumc:/usr/local/tomcat5.__5 # su -c 'killall -9 java'
>
>
>         That command doesn't make sense. The prompt indicates that you
>         are already root. The -c parameter for the su command is missing
>         an argument, the class". See "man su" for details, no programming
>         knowledge required. ;-)
>
>
>
>
>
> --
> 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP113364D6338CD605EC4F9C0F6700>