ModemManager / MBM / authentication



Hello, 

I'm using NetworkManager 0.8 / ModemManager 0.3 on Arch Linux in
Austria, my provider is A1 on an Ericsson F3507g HSPA card. It is
necessary to authenticate as user "ppp a1plus at". 

With the current NM/MM it is impossible to authenticate with this
username (because of the "@" symbol), the card needs to be put into
UTF-8 mode first (Thanks to Torgny Johansson for pointing this out on
the mbm-devel list). The attached patch forces UTF-8 if an
authentication is requested. It is against MM 0.3 as found in Arch, but
it should apply with a small offset to the current git as well.

I'm not sure if it is safe to force UTF-8 for everyone, but at least it
works for me!

However, I'm experiencing another small problem with the Ericsson card:
I have to enter the password manually everytime I fire up the
connection. If I use a Huawei K3715 HSPA stick, it connects happily
without asking first. Is this a known problem with the Ericsson card?

andy


-- 
Andreas Böhler, Ebensee
andy (dot) boehler (at) gmx (dot) at
http://klasseonline.dyndns.org
--- ModemManager-0.3/plugins/mm-modem-mbm.c.orig	2010-02-28 21:22:24.000000000 +0100
+++ ModemManager-0.3/plugins/mm-modem-mbm.c	2010-03-01 19:03:06.000000000 +0100
@@ -661,6 +661,10 @@ mbm_modem_authenticate (MMModemMbm *self
 
     if (username || password) {
         char *command;
+        
+        command = g_strdup_printf ("+CSCS=\"UTF-8\"");
+        
+        mm_serial_port_queue_command (primary, command, 3, NULL, NULL);
 
         command = g_strdup_printf ("*EIAAUW=%d,1,\"%s\",\"%s\"",
                                    mm_generic_gsm_get_cid (MM_GENERIC_GSM (self)),


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