Re: A general (learning) query



On Mon, 2012-06-18 at 20:14 +0530, Ajay Garg wrote:
> Thanks Andrew.
> 
> I will surely follow your remarks.
> 
> Just some queries ::
> 
> a)
> Is unlocking the SIM via PUK/PIN a one-time process?

No, if a SIM PIN is set, you must unlock the SIM every time the modem is
powered on.

> b)
> Also, I believe (please correct me if I am wrong), that different SIM
> cards would have different PUK/PINs.
> So, each SIM card needs to be unlocked on an individual basis? 

Correct.  Each SIM may have a different PIN.  Operators often set this
PIN during manufacturing and provide the PIN on the snap-out card that
the SIM came in, or they have "standard" PINs.  But either way, you need
to know the PIN before the modem can be used with that SIM.

Dan

> 
> Thanks and Regards,
> Ajay
> 
> 
> 
> 
> 
> On Mon, Jun 18, 2012 at 8:06 PM, Andrew Bird (Sphere Systems)
> <ajb spheresystems co uk> wrote:
>         On Monday 18 June 2012, Ajay Garg wrote:
>         
>         > Thanks Andrew for the reply.
>         >
>         > I ran "AT+CFUN=1".
>         > Following are the outputs subsequently ::
>         >
>         >
>         >
>         ###########################################################################
>         
>         > ############################# Welcome to minicom 2.5
>         >
>         > OPTIONS: I18n
>         > Compiled on Feb 24 2011, 11:25:55.
>         > Port /dev/ttyUSB0
>         >
>         > Press CTRL-A Z for help on special
>         > keys
>         >
>         >
>         > AT S7=45 S0=0 L1 V1 X4 &c1 E1
>         > Q0
>         > OK
>         >
>         > AT+CFUN?
>         >
>         > +CFUN: 1
>         >
>         > OK
>         > AT&V
>         > &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4; Z:
>         0; S0: 0;
>         > S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10: 14;
>         S11: 95;
>         > +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS:
>         0,0,2048,6;
>         > +WS46: 12; +CBST: 0,0,1;
>         > +CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
>         > +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0;
>         +CGREG: 0;
>         > +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0;
>         +CGDCONT:
>         
>         >
>         (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.anc
>         > el1","0.0.0.0",0,0),() ; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
>         >
>         (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(3,
>         > 2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0",") ;
>         +CGEQMIN: ;
>         > +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: "A"; +CGSMS:
>         0; +CSMS: 0;
>         > +CMGF: 0; +CSCA: "",; +CSMP: ,,0,0; +CSDH: 0; +CSCB:
>         0,"",""; +FDD: 0;
>         > +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
>         > +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;  +CMEC:
>         0,0,0;
>         > +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM"; +CPMS:
>         "SM","SM","SM";
>         > +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH:
>         3; +FTM: 96;
>         > +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0; +CAOC: 1;
>         +CCWA: 0;
>         > +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0; +CTZR: 0;
>         +CLIP: 0;
>         > +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
>         > ^FREQLOCK: 10226476,12482272
>         >
>         > OK
>         > AT+CLAC
>         > ERROR
>         > AT+CPIN?
>         > +CPIN: SIM PIN
>         >
>         > OK
>         
>         >
>         ###########################################################################
>         > #############################
>         >
>         >
>         >
>         >
>         >
>         >
>         >
>         > However, the same old problem, when running "sudo
>         wvdial" ::::
>         >
>         >
>         ###########################################################################
>         
>         > ############################# -bash-4.1# sudo wvdial
>         > --> WvDial: Internet dialer version 1.61
>         > --> Cannot get information for serial port.
>         > --> Initializing modem.
>         > --> Sending: ATZ
>         > ATZ
>         > OK
>         > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
>         > ATQ0 V1 E1 S0=0 &C1 &D2
>         > OK
>         > --> Sending: AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0
>         > AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0
>         > ERROR
>         > --> Bad init string.
>         > --> Cannot get information for serial port.
>         > --> Initializing modem.
>         > --> Sending: ATZ
>         > ATZ
>         > OK
>         > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
>         > ATQ0 V1 E1 S0=0 &C1 &D2
>         > OK
>         > --> Sending: AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0
>         > AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0
>         > ERROR
>         > --> Bad init string.
>         > --> Cannot get information for serial port.
>         > --> Initializing modem.
>         > --> Sending: ATZ
>         > ATZ
>         > OK
>         > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
>         > ATQ0 V1 E1 S0=0 &C1 &D2
>         > OK
>         > --> Sending: AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0
>         > AT+CGDCONT=1,"IP","gprs.ancel","0.0.0.0",0,0
>         > ERROR
>         > --> Bad init string.
>         > -bash-4.1#
>         >
>         ###########################################################################
>         > #############################
>         >
>         >
>         >
>         >
>         > One thing I noticed, that the last line of output of ATI for
>         Dan's and my
>         > case, were different (Dan's output said "+GCAP: +CGSM,
>         +FCLASS,+DS", while
>         > my output said "+GCAP: +CGSM,+DS,+ES").
>         >
>         >
>         > Could that be an issue?
>         >
>         >
>         > Regards,
>         > Ajay
>         >
>         > On Mon, Jun 18, 2012 at 7:42 PM, Andrew Bird (Sphere
>         Systems) <
>         >
>         > ajb spheresystems co uk> wrote:
>         > > On Monday 18 June 2012, Ajay Garg wrote:
>         > > > Sorry,
>         > > >
>         > > > forgot ATI.
>         > >
>         > >
>         #########################################################################
>         > > ##
>         > >
>         > > > ############################### Welcome to minicom 2.5
>         > > >
>         > > > OPTIONS: I18n
>         > > > Compiled on Feb 24 2011, 11:25:55.
>         > > > Port /dev/ttyUSB0
>         > > >
>         > > > Press CTRL-A Z for help on special
>         > > > keys
>         > > >
>         > > >
>         > > > AT S7=45 S0=0 L1 V1 X4 &c1 E1
>         > > > Q0
>         > > > OK
>         > > >
>         > > > AT&V
>         > > >
>         > > > &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4;
>         Z: 0; S0: 0;
>         > > > S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10:
>         14; S11: 95;
>         > > > +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0;
>         +DS:
>         > > > 0,0,2048,6; +WS46: 12; +CBST: 0,0,1;
>         > > > +CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
>         > > > +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG:
>         0; +CGREG: 0;
>         > >
>         > > > +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0;
>         +CMEE: 0; +CGDCONT:
>         > >
>         (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.a
>         > > nc
>         > >
>         > > > el1","0.0.0.0",0,0),() ; +CGDSCONT: ; +CGTFT: ;
>         +CGEQREQ:
>         > >
>         (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(
>         > > 3,
>         > >
>         > > >
>         2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0",") ;
>         +CGEQMIN:
>         > > > ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: "A";
>         +CGSMS: 0;
>         > > > +CSMS: 0; +CMGF: 0; +CSCA: "",; +CSMP: ,,0,0; +CSDH: 0;
>         +CSCB:
>         > > > 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
>         > > > +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;
>          +CMEC: 0,0,0;
>         > > > +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM"; +CPMS:
>         "SM","SM","SM";
>         > > > +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3;
>         +FRH: 3; +FTM:
>         > > > 96; +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0;
>         +CAOC: 1; +CCWA:
>         > > > 0; +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0;
>         +CTZR: 0; +CLIP:
>         > > > 0; +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD:
>         0;
>         > > > ^FREQLOCK: 10226476,12482272
>         > > >
>         > > > OK
>         > > > AT+CLAC
>         > > > ERROR
>         > > > AT+CPIN?
>         > > > +CPIN: SIM PIN
>         > > >
>         > > > OK
>         > > > ATI
>         > > > Manufacturer: huawei
>         > > > Model: E226
>         > > > Revision: 11.310.15.00.255
>         > > > IMEI: xxxxxxxxxxxxxxxx
>         > > > +GCAP: +CGSM,+DS,+ES
>         > > >
>         > > > OK
>         > >
>         > >
>         #########################################################################
>         > > ##
>         > >
>         > > > ###############################
>         > > >
>         > > >
>         > > >
>         > > >
>         > > > Thanks and Regards,
>         > > > Ajay
>         > > >
>         > > > On Mon, Jun 18, 2012 at 7:07 PM, Ajay Garg
>         <ajaygargnsit gmail com>
>         > >
>         > > wrote:
>         > > > > Hi Dan.
>         > > > >
>         > > > > Here is the output of "AT+CPIN?" (along with other
>         commands, for
>         > >
>         > > brevity)
>         > >
>         > >
>         > >
>         > >
>         > >
>         > >
>         > >
>         #########################################################################
>         > >
>         > > > > ###########################################
>         > > > >
>         > > > > Welcome to minicom 2.5
>         > > > >
>         > > > > OPTIONS: I18n
>         > > > > Compiled on Feb 24 2011, 11:25:55.
>         > > > > Port /dev/ttyUSB0
>         > > > >
>         > > > > Press CTRL-A Z for help on special
>         > > > > keys
>         > > > >
>         > > > >
>         > > > > AT S7=45 S0=0 L1 V1 X4 &c1 E1
>         > > > > Q0
>         > > > > OK
>         > > > >
>         > > > > AT&V
>         > > > >
>         > > > > &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X:
>         4; Z: 0; S0: 0;
>         > > > > S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6;
>         S10: 14; S11: 95;
>         > >
>         > > > > +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR:
>         0; +DS:
>         > > 0,0,2048,6;
>         > >
>         > > > > +WS46: 12; +CBST: 0,0,1;
>         > > > > +CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
>         > > > > +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0;
>         +CREG: 0; +CGREG: 0;
>         > >
>         > > > > +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0;
>         +CMEE: 0; +CGDCONT:
>         > >
>         (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.a
>         > >
>         > > > > ncel1","0.0.0.0",0,0),() ; +CGDSCONT: ; +CGTFT: ;
>         +CGEQREQ:
>         > >
>         (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(
>         > >
>         > > > >
>         3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0",") ;
>         > >
>         > > +CGEQMIN:
>         > > > > ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: "A";
>         +CGSMS: 0;
>         > >
>         > > +CSMS:
>         > > > > 0; +CMGF: 0; +CSCA: "",; +CSMP: ,,0,0; +CSDH: 0;
>         +CSCB: 0,"","";
>         > > > > +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
>         > > > > +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;
>          +CMEC: 0,0,0;
>         > > > > +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM"; +CPMS:
>         "SM","SM","SM";
>         > >
>         > > > > +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3;
>         +FRH: 3; +FTM:
>         > > 96;
>         > >
>         > > > > +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0;
>         +CAOC: 1; +CCWA: 0;
>         > > > > +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0;
>         +CTZR: 0; +CLIP:
>         > > > > 0; +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,;
>         ^ATRECORD: 0;
>         > > > > ^FREQLOCK: 10226476,12482272
>         > > > >
>         > > > > OK
>         > > > > AT+CLAC
>         > > > > ERROR
>         > > > > AT+CPIN?
>         > > > > +CPIN: SIM PIN
>         > > > >
>         > > > > OK
>         > >
>         > >
>         #########################################################################
>         > >
>         > > > > ###########################################
>         > > > >
>         > > > >
>         > > > >
>         > > > > Is it, in fact, an issue with the SIM?
>         > > > >
>         > > > >
>         > > > >
>         > > > > Regards,
>         > > > > Ajay
>         > > > >
>         > > > > On Fri, Jun 15, 2012 at 10:39 PM, Dan Williams
>         <dcbw redhat com>
>         > >
>         > > wrote:
>         > > > >> On Thu, 2012-06-14 at 08:07 -0400, Ajay Garg wrote:
>         > > > >> > Hi Dan.
>         > >
>         > > > >> > The minicom output ::
>         > >
>         ########################################################################
>         > >
>         > > > >> ##########################
>         > > > >>
>         > > > >> > AT&V
>         > >
>         > > > >> > &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1;
>         X: 4; Z: 0; S0:
>         > > 0;
>         > >
>         > > > >> > S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6;
>         S10: 14; S11:
>         > > 95;
>         > >
>         > > > >> > +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200;
>         +DR: 0; +DS:
>         > > > >> > 0,0,2048,6;
>         > > > >> > +WS46: 12; +CBST: 0,0,1;
>         > > > >> > +CRLP:
>         (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
>         > >
>         > > > >> > +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0;
>         +CREG: 0; +CGREG:
>         > > 0;
>         > >
>         > > > >> > +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0; +CRC: 0;
>         +CMEE: 0;
>         > >
>         > > +CGDCONT:
>         > >
>         > >
>         (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.
>         > >
>         > > > >> ancel1)
>         > > > >>
>         > > > >> > ; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
>         > >
>         (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),
>         > >
>         > > > >> (3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0)
>         > > > >>
>         > > > >> > ; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0;
>         +CGCLASS: "A";
>         > > > >> > +CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA: "",;
>         +CSMP: ,,0,0; +CSDH: 0;
>         > > > >> > +CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL: 0; +FIT:
>         0,0; +ES: ,,;
>         > > > >> > +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU: 1; ;
>         +CPIN: ,;  +CMEC:
>         > > > >> > 0,0,0;
>         > >
>         > > > >> > +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: "SM";
>         +CPMS:
>         > > "SM","SM","SM";
>         > >
>         > > > >> > +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH:
>         3; +FRH: 3;
>         > >
>         > > +FTM:
>         > > > >> > 96;
>         > > > >> > +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,""; +CUSD: 0;
>         +CAOC: 1; +CCWA:
>         > > > >> > 0;
>         > >
>         > > > >> > +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0; +CPLS: 0;
>         +CTZR: 0; +CLIP:
>         > > 0;
>         > >
>         > > > >> > +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,;
>         ^ATRECORD: 0;
>         > > > >> > ^FREQLOCK: 10226476,12482272
>         > > > >> >
>         > > > >> > OK
>         > > > >> > AT+CLAC
>         > > > >> > ERROR
>         > > > >> > AT+CPIN
>         > > > >> > ERROR
>         > > > >>
>         > > > >> You want "AT+CPIN?" here.  Also, what does "ATI"
>         say?  For example,
>         > >
>         > > mine
>         > >
>         > > > >> says:
>         > > > >>
>         > > > >> Manufacturer: huawei
>         > > > >> Model: E226
>         > > > >> Revision: 11.310.15.00.150
>         > > > >> IMEI: xxxxxxxxxxxxxx
>         > > > >> +GCAP: +CGSM,+FCLASS,+DS
>         > > > >>
>         > > > >> But I also get a response for AT+CLAC, so...  The
>         only thing I can
>         > >
>         > > think
>         > >
>         > > > >> of is that the modem doesn't like your SIM.  Any
>         chance you can try
>         > > > >> another SIM?
>         > > > >>
>         > > > >> Dan
>         > >
>         > >
>         ########################################################################
>         > >
>         > > > >> ##########################
>         > > > >>
>         > > > >> > From the modem's labels ::
>         > >
>         ########################################################################
>         > >
>         > > > >> ##########################
>         > > > >>
>         > > > >> > HUAWEI E226
>         > > > >> > PIN:8518
>         > >
>         > >
>         ########################################################################
>         > >
>         > > > >> ##########################
>         > > > >>
>         > > > >> > Regards,
>         > > > >> > Ajay
>         > > > >> >
>         > > > >> > On Wed, Jun 13, 2012 at 5:44 PM, Dan Williams
>         <dcbw redhat com>
>         > >
>         > > wrote:
>         > > > >> >         On Wed, 2012-06-13 at 02:28 +0530, Ajay
>         Garg wrote:
>         > > > >> >         >         Two things to check:
>         > > > >> >         >
>         > > > >> >         >         1) is the SIM correctly inserted?
>         > > > >> >         >
>         > > > >> >         > I guess yes, since we do get the output
>         of AT&V.
>         > > > >> >
>         > > > >> >         What does "AT+CPIN?" say?
>         > > > >> >
>         > > > >> >         > Anyways, I rebooted. Same result as
>         follows ::
>         > >
>         ########################################################################
>         > >
>         > > > >> #############
>         > > > >>
>         > > > >> >         > Welcome to minicom 2.5
>         > > > >> >         >
>         > > > >> >         > OPTIONS: I18n
>         > > > >> >         > Compiled on Feb 24 2011, 11:25:55.
>         > > > >> >         > Port /dev/ttyUSB0
>         > > > >> >         >
>         > > > >> >         > Press CTRL-A Z for help on special
>         > > > >> >         > keys
>         > > > >> >         >
>         > > > >> >         > AT S7=45 S0=0 L1 V1 X4 &c1 E1
>         > > > >> >         > Q0
>         > > > >> >         > OK
>         > > > >> >         > AT&V
>         > > > >> >         >
>         > > > >> >         > &C: 1; &D: 2; &F: 0; E: 1; L: 1; M: 0; Q:
>         0; V: 1; X: 4;
>         > >
>         > > Z:
>         > > > >> >         0; S0: 0;
>         > > > >> >
>         > > > >> >         > S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8:
>         2; S9: 6; S10:
>         > > 14;
>         > >
>         > > > >> >         S11: 95;
>         > > > >> >
>         > > > >> >         > +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR:
>         115200; +DR: 0;
>         > >
>         > > +DS:
>         > > > >> >         > 0,0,2048,6;
>         > > > >> >         > +WS46: 12; +CBST: 0,0,1;
>         > > > >> >         > +CRLP:
>         (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
>         > > > >> >         > +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0;
>         +CSSN: 0,0; +CREG:
>         > > > >> >         > 0;
>         > > > >> >
>         > > > >> >         +CGREG: 0;
>         > > > >> >
>         > > > >> >         > +CFUN:; +CSCS: "IRA"; +CSTA: 129; +CR: 0;
>         +CRC: 0; +CMEE:
>         > > 0;
>         > >
>         > > > >> >         +CGDCONT:
>         > >
>         (1,"IP","","0.0.0.0",0,0),(2,"IP","Ceibal","0.0.0.0",0,0),(3,"IP","gprs.
>         > >
>         > > > >> ancel1","0.0.0.0",0,0),()
>         > > > >>
>         > > > >> >         > ; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
>         > >
>         (1,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(2,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),
>         > >
>         > > > >>
>         (3,2,0,0,0,0,2,0,"0E0","0E0",3,0,0),(4,2,0,0,0,0,2,0,"0E0",")
>         > > > >>
>         > > > >> >         > ; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ;
>         +CGEREP: 0,0;
>         > > > >> >
>         > > > >> >         +CGCLASS: "A";
>         > > > >> >
>         > > > >> >         > +CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA:
>         "",; +CSMP: ,,0,0;
>         > > > >> >
>         > > > >> >         +CSDH: 0;
>         > > > >> >
>         > > > >> >         > +CSCB: 0,"",""; +FDD: 0; +FAR: 0; +FCL:
>         0; +FIT: 0,0;
>         > > > >> >
>         > > > >> >         +ES: ,,;
>         > > > >> >
>         > > > >> >         > +ESA: 0,,,,0,0,255,; +CMOD: 0; +CVHU:
>         1; ; +CPIN: ,;
>         > >
>         > >  +CMEC:
>         > > > >> >         0,0,0;
>         > > > >> >
>         > > > >> >         > +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS:
>         "SM"; +CPMS:
>         > > > >> >         "SM","SM","SM";
>         > > > >> >
>         > > > >> >         > +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0;
>         +FRS: 0; +FTH: 3;
>         > >
>         > > +FRH:
>         > > > >> >         3; +FTM:
>         > > > >> >         > 96;
>         > > > >> >         > +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,"";
>         +CUSD: 0; +CAOC:
>         > > > >> >         > 1;
>         > > > >> >
>         > > > >> >         +CCWA: 0;
>         > > > >> >
>         > > > >> >         > +CLVL: 2; +CMUT: 0; +CPOL: 0,2,"",0,0,0;
>         +CPLS: 0; +CTZR:
>         > > 0;
>         > >
>         > > > >> >         +CLIP: 0;
>         > > > >> >
>         > > > >> >         > +COLP: 0; +CLIR: 0; ^PORTSEL: 0;
>         ^CPIN: ,; ^ATRECORD: 0;
>         > > > >> >         > ^FREQLOCK: 10226476,12482272
>         > > > >> >         >
>         > > > >> >         > OK
>         > > > >> >         > AT+CLAC
>         > > > >> >         > ERROR
>         > > > >> >         > AT+CGDCONT=?
>         > > > >> >         > ERROR
>         > >
>         > >
>         ########################################################################
>         > >
>         > > > >> #############
>         > > > >>
>         > > > >> >         >         2) Is this really a GSM/UMTS
>         modem?  What's the
>         > > > >> >
>         > > > >> >         brand and
>         > > > >> >
>         > > > >> >         >         model number?
>         > > > >> >         >
>         > > > >> >         > Again, I guess yes.
>         > > > >> >
>         > > > >> >         Unfortunately lsusb doesn't give us the
>         actual model
>         > > > >> >         number, since
>         > > > >> >         Huawei uses the same USB IDs for multiple
>         devices.  What's
>         > >
>         > > the
>         > >
>         > > > >> >         actual
>         > > > >> >         model number from the sticker on the modem
>         itself?
>         > > > >> >
>         > > > >> >         Dan
>         > >
>         > >
>         ########################################################################
>         > >
>         > > > >> #############
>         > > > >>
>         > > > >> >         > -bash-4.1# lsusb
>         > > > >> >         >
>         > > > >> >         > Bus 002 Device 002: ID 12d1:1003 Huawei
>         Technologies
>         > > > >> >         > Co.,
>         > > > >> >
>         > > > >> >         Ltd. E220
>         > > > >> >
>         > > > >> >         > HSDPA Modem / E230/E270 HSDPA/HSUPA Modem
>         > > > >> >         > Bus 002 Device 001: ID 1d6b:0001 Linux
>         Foundation 1.1
>         > > > >> >         > root
>         > > > >> >
>         > > > >> >         hub
>         > > > >> >
>         > > > >> >         > Bus 001 Device 002: ID 1286:2001 Marvell
>         Semiconductor,
>         > >
>         > > Inc.
>         > >
>         > > > >> >         88W8388
>         > > > >> >
>         > > > >> >         > 802.11a/b/g WLAN
>         > > > >> >         > Bus 001 Device 001: ID 1d6b:0002 Linux
>         Foundation 2.0
>         > > > >> >         > root
>         > > > >> >
>         > > > >> >         hub
>         > >
>         > >
>         ########################################################################
>         > >
>         > > > >> #############
>         > > > >>
>         > > > >> >         > Regards,
>         > > > >> >         > Ajay
>         > > > >> >         >
>         > > > >> >         >         Dan
>         > >
>         > > Hi Ajay,
>         > >
>         > >        In the AT&V the +CFUN value looks odd to me.
>         > >
>         > > What does AT+CFUN? show?
>         > >
>         > > If you do AT+CFUN=1 do things improve?
>         > >
>         > > Hope it helps
>         > >
>         > > Andrew
>         
>         Hi Ajay,
>                Ahh no difference, so it just looks like your SIM has
>         PIN code request
>         set. If you know the PIN you can unlock from the terminal like
>         AT+CPIN="0000" if the PIN is 0000 etc
>         You only get 3 tries at PIN, so if you don't know it then you
>         should call the
>         operator and get the PUK code first. This will unlock the SIM
>         in the event that
>         attempting to unlock it blocks the SIM card.
>         
>         Hope it helps,
>         
>         Andrew
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]