-----Original Message----- From: Tambet Ingo [mailto:[EMAIL PROTECTED] Sent: Tue 10/21/2008 11:19 AM To: Per Hallsmark Cc: Main, Craig; networkmanager-list@gnome.org Subject: Re: Mobile Broadband - how do I trace/debug the modem initialisation? On Tue, Oct 21, 2008 at 12:14 PM, Per Hallsmark <[EMAIL PROTECTED]> wrote: > Yes, this is definitly a modem that falls into the mbm plugin. > I've submitted a patch for it earlier to this list, although that > one requires another NetworkManager patch (changing a bit > how iface/ip_iface is used) as well as a driver which unfortunally > isn't submitted yet (but will hopefully be in the nearest days!)
I committed your patches from last week yesterday. > Tambet, what about the plugins beeing able to specify a > init string and close string? (if the standard wont work that is) Yeah, it's probably a good idea. Overriding the whole Enable() is a bit too much work if you only need to use a different init string. I'll have that later today. Don't know if this will help... I patched the version that comes with Ubuntu Intrepid (0.7~~svn20081018t105859-0ubuntu1) and replaced all ATZ commands with AT&F. This time things got further, here is the output from the debug trace.... NetworkManager: <info> Activation (ttyACM0) starting connection 'Vodacom' NetworkManager: <info> (ttyACM0): device state change: 3 -> 4 NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) started... NetworkManager: <debug> [1224608780.039115] nm_serial_device_open(): (ttyACM0) opening device... NetworkManager: <info> Activation (ttyACM0) Stage 1 of 5 (Device Prepare) complete. NetworkManager: <debug> [1224608780.142898] nm_serial_debug(): Sending: 'AT&F E0 V1 X4 &C1 +FCLASS=0 ' NetworkManager: <debug> [1224608780.172375] nm_serial_debug(): Got: 'AT&F E0 V1 X4 &C1 +FCLASS=0 ' NetworkManager: <debug> [1224608780.201187] nm_serial_debug(): Got: 'AT&F E0 V1 X4 &C1 +FCLASS=0 OK ' NetworkManager: <debug> [1224608780.201297] nm_serial_debug(): Sending: 'AT+CPIN? ' NetworkManager: <debug> [1224608780.216403] nm_serial_debug(): Got: ' +CPIN: READY ' NetworkManager: <debug> [1224608780.218096] nm_serial_debug(): Got: ' +CPIN: READY OK ' NetworkManager: <info> (ttyACM0): powering up... NetworkManager: <debug> [1224608780.218226] nm_serial_debug(): Sending: 'AT+CFUN=1 ' NetworkManager: <debug> [1224608780.231653] nm_serial_debug(): Got: ' OK ' NetworkManager: <debug> [1224608780.231737] nm_serial_debug(): Sending: 'AT+CREG? ' NetworkManager: <debug> [1224608780.246281] nm_serial_debug(): Got: ' +CREG: 0,1 ' NetworkManager: <debug> [1224608780.247648] nm_serial_debug(): Got: ' +CREG: 0,1 OK ' NetworkManager: <info> Registered on Home network NetworkManager: <debug> [1224608780.247765] nm_serial_debug(): Sending: 'AT+COPS? ' NetworkManager: <debug> [1224608780.355308] nm_serial_debug(): Got: ' +COPS: 0,0,"VodaCom",2 ' NetworkManager: <debug> [1224608780.356733] nm_serial_debug(): Got: ' +COPS: 0,0,"VodaCom",2 OK ' NetworkManager: <info> Associated with network: +COPS: 0,0,"VodaCom",2 NetworkManager: <debug> [1224608780.356885] nm_serial_debug(): Sending: 'AT+CGDCONT=1, "IP", "internet" ' NetworkManager: <debug> [1224608780.429051] nm_serial_debug(): Got: ' OK ' NetworkManager: <debug> [1224608780.429255] nm_serial_debug(): Sending: 'ATD*99***1# ' NetworkManager: <debug> [1224608780.474146] nm_serial_debug(): Got: '~' NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: Invalid byte sequence in conversion input NetworkManager: <WARN> dial_done(): Dialing timed out NetworkManager: <info> (ttyACM0): device state change: 4 -> 9 NetworkManager: <debug> [1224608841.000446] nm_serial_device_close(): Closing device 'ttyACM0' NetworkManager: <info> Marking connection 'Vodacom' invalid. NetworkManager: <info> Activation (ttyACM0) failed. NetworkManager: <info> (ttyACM0): device state change: 9 -> 3 NetworkManager: <info> (ttyACM0): deactivating device (reason: 0). This looks much more promising, but there still seems to be an issue when it tries to dial. Here is the trace of my wvdial exchange that works... [EMAIL PROTECTED]:~$ wvdial 5530 --> Ignoring malformed input line: "aler Defaults]" --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: AT AT OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Modem initialized. --> Sending: ATDT*99***1# --> Waiting for carrier. ATDT*99***1# [EMAIL PROTECTED] }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&mG!;J[1d]~ CONNECT --> Carrier detected. Waiting for prompt. [EMAIL PROTECTED]"} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&mG!;[06]p~ --> PPP negotiation detected. --> Starting pppd at Tue Oct 21 19:10:07 2008 --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied --> --> PAP (Password Authentication Protocol) may be flaky. --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied --> --> CHAP (Challenge Handshake) may be flaky. --> Pid of pppd: 27901 Thanks Craig To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: https://www.fnb.co.za/disclaimer.html If you are unable to access the Disclaimer, send a blank e-mail to [EMAIL PROTECTED] and we will send you a copy of the Disclaimer.
_______________________________________________ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list