Re: NM 0.9 with Sierra USB 305 modem connection problems
- From: Arief M Utama <arief utama gmail com>
- To: Dan Williams <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: NM 0.9 with Sierra USB 305 modem connection problems
- Date: Fri, 26 Aug 2011 05:47:11 +0700
On 08/26/2011 04:28 AM, Dan Williams wrote:
On Thu, 2011-08-25 at 16:09 -0500, Dan Williams wrote:
On Fri, 2011-08-26 at 03:48 +0700, Arief M Utama wrote:
On 08/26/2011 03:27 AM, Dan Williams wrote:
On Fri, 2011-08-26 at 02:55 +0700, Arief M Utama wrote:
Hi all,
I'm using Debian's NM 0.9 with MM 0.5 (from experimental repo),
with Sierra Wireless modem USB 305 (USB id: 1199:68a3) mobile broadband
connection does not work.
When the modem is inserted, is the 'sierra_net' driver loaded? Any
chance you can get ModemManager debug logging so we can diagnose?
Yep, it is loaded.
http://live.gnome.org/NetworkManager/Debugging
the instructions under "Debugging NetworkManager 0.8.x 3G connections"
still apply to 0.9. FYI I have a 306 that I've tested with so at least
we expect it to work.
Following that instructions, herewith I attached the log result. Bit
more info, I already created a "Telkomsel Flash" connection using
nm-connection-editor, connecting by clicking on it from the gnome-shell
applet.
Tried twice, same result no connection. On first try it shows "you are
connected" notification but it's actually not connected (probably a
gnome-shell issue). On second try it just went to disconnected message
quickly.
I left my WiFi connection up during the test.
One more thing, I noted from the debug log, so many AT commands was sent
to the modem. Wondered about this, as with my ppp chatscripts, basically
I only use following AT commands to make it work flawlessly:
Using wvdial doesn't allow use of the network port the modem exposes,
which limits the connection speed; at the higher 3G/4G speeds we're
seeing these days, PPP just doesn't allow full throughput. Plus, when
using the network port, we can get connection status and signal strength
on the AT command port, which you can't do when you're using PPP on a
lot of devices. Basically, MM does a lot more than just connect, it
also delivers status updates, signal strength, SMS, etc.
--- start chatscript snippet ---
# cease if the modem is not attached to the network yet
ABORT "+CGATT: 0"
"" AT
TIMEOUT 12
OK ATH
OK ATE1
OK AT+CGDCONT=1,"IP","\T","",0,0
OK ATD*99#
TIMEOUT 22
CONNECT ""
--- end chatscript snippet ---
Hope this helps, let me know if more is needed and thanks for the help.
So the core problem is this:
modem-manager[27390]:<debug> [1314304573.585330] [mm-at-serial-port.c:298] debug_log(): (ttyUSB0): --> 'AT$QCPDPP=1,1,"wap123","wap"<CR>'
modem-manager[27390]:<debug> [1314304573.619827] [mm-at-serial-port.c:298] debug_log(): (ttyUSB0):<-- '<CR><LF>ERROR<CR><LF>'
Grr. You've got the USB Lightning, which appears to use an Icera
chipset, not a Qualcomm one:
http://sierrawireless.custhelp.com/app/answers/detail/a_id/641/~/can-i-use-a-sierra-wireless-modem-on-linux-machines-%28direct-ip-modems%29%3F
So we need to update ModemManager to use "AT%IPDPCFG" in this case
instead of AT$QCPDPP like we do for Option NV modems that also use Icera
chipsets.
Any chance you can check something for me quickly with minicom or screen
or such? I'm interested in the response to the following commands:
Sure, here they are
AT&V
AT&V
ACTIVE PROFILE
E: 1
L: 0
M: 0
Q: 0
V: 1
X: 4
S0: 0
S2: 43
S3: 13
S4: 10
S5: 8
S6: 2
S7: 60
S8: 2
S10: 15
+CRC: 0
+CR: 0
+FCLASS: 0
+IMODE: 0
+CMGF: 0
+CSDH: 0
+ILRR: 0
+CRLP: 61,61,128,6,1,3
+CMEE: 2
+CBST: 116,1,0
+CNMI: 2,1,0,0,0
+CSTA: 129
+CSCS: "IRA"
+CSNS: 0
+DS: 3,0,512,20
&C: 1
&D: 2
+CCWE: 0
*TDTX: 0
+CTZU: 0
+CTZR: 0
+CV120: 1,1,1,0,0,0
+CGAUTO: 3
*TGMTPCACT: 0
*TGMTPCA: 1
*THCFG: 0
*TTS61: 1
*TLDCA: 1
*TFFOS: 0
+CHSN: 0,0,0,0
*TLLC: 0
*TESTCSD: 0
*TRLP: 0,0
*TGPPPLOG: 0
*TSIMINS: 0
+CMUX: 0
+CCUG: 0,0,0
+CLIP: 0
+COLP: 0
+CCWA: 0
+CAOC: 1
+CLIR: 0
+CUSD: 0
+CSSU: 0
+CSSI: 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ESET
%MODE
!BCINF
!SWOCMODE
!SWOCINVALIDATE
!SWOCINFO
!NE
!NESIG
!RSSI
OK
AT%IPSYS?
AT%IPSYS?
%IPSYS: 5,2
OK
AT!SELRAT?
AT!SELRAT?
ERROR
Thanks!
Dan
Thank you for looking into this Dan :)
All the best.
-arief
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]