Re: Troubles at 3G paradise



André Lemos wrote:
Hi Gang!


Although I can establish a connection using wvdial, lately I haven't been able to use NetworkManager. The logfiles have the following:

Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.402064] nm_serial_device_open(): (ttyUSB0) opening device... Jul 24 12:24:23 lapy NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete. Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.515751] serial_debug(): Sending: 'AT E0 ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.522776] serial_debug(): Got: ' OK ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.522883] serial_debug(): Sending: 'AT+CPIN? ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.532793] serial_debug(): Got: ' +CPIN: READY OK ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.532915] serial_debug(): Sending: 'AT+CREG? ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.543774] serial_debug(): Got: ' +CREG: 0,1 OK '
Jul 24 12:24:23 lapy NetworkManager: <info>  Registered on Home network
Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.543894] serial_debug(): Sending: 'AT+COPS? ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.554813] serial_debug(): Got: ' +COPS: 0,0,"Telecomunicacoes",0 OK ' Jul 24 12:24:23 lapy NetworkManager: <info> Associated with network: +COPS: 0,0,"Telecomunicacoes",0 Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.555213] serial_debug(): Sending: 'AT+CGDCONT=1, "IP", "internet" ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.616841] serial_debug(): Got: ' OK ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.617076] serial_debug(): Sending: 'ATD*99***1***1# ' Jul 24 12:24:23 lapy NetworkManager: <debug> [1216898663.634862] serial_debug(): Got: ' ERROR '


Any hints on this? This happens with revision 3846. I am not a big expert, but the number should be "*99***1#". Is the rest of it "***1#" part of the protocol?


Thanks



Hi again,

By changing:

               //g_string_append_printf (str, "***%d#", cid);
               g_string_append_printf (str, "#");

on line 185 on the src/nm-gsm-device.c I get to connect successfully. For what reason was that append in there? And why does it work for everybody else? I'm clueless.


Another thing is, I am asked for a password after it connects, even though the password is defined on the nm applet. Why is it so?

Is it related to this?

Could not acquire the NetworkManagerSystemSettings service. Message: 'Connection ":1.47" is not allowed to own the service "org.freedesktop.NetworkManagerSystemSettings" due to security policies in the configuration file'





Thanks




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