Extra spaces in the "AT+CGDCONT" command causes connection to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
modemmanager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: modemmanager
Hello,
I am trying to use a Sierra Wireless AC775 modem, but the connection fails with an "DEBUG: Got failure code 100: Unknown error" error.
The problem seems to be that the modem manager is inserting spaces between the parameters for the "AT+CGDCONT" command.
** (modem-
** (modem-
** (modem-
** (modem-
If I use "kermit" to manually execute the "AT+CGDCONT" command without the space then it is successful.
AT+CGDCONT=1, "IP", "vdata"
ERROR
AT+CGDCONT=
OK
Best regards
Willem Brown
ProblemType: Bug
Architecture: amd64
Date: Tue Nov 10 23:27:33 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: modemmanager 0.2.git.
ProcEnviron:
PATH=(custom, user)
LANG=en_ZA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: modemmanager
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors:
(gnome-
(gnome-
(nautilus:3729): Eel-CRITICAL **: eel_preferences
(polkit-
(gnome-
Well, right now in mm-generic- gsm.c:3567:
command = g_strdup_printf ("+CGDCONT= %d,\"IP\ ",\"%s\ "", cid, apn);
mm_at_ serial_ port_queue_ command (port, command, 3, set_apn_done, info);
There are no spaces in the command. I'll assume this was since fixed upstream, and is currently fixed at least in Oneiric, but also probably in Natty and other releases. Marking this bug Fix Released.