Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread PongráczI
Any idea what command Gammu sends? Does it use PDU mode or text mode to send it? Is it possible for you to get a log of the serial traffic when using Gammu so we can compare to what ModemManager does? Dan Hi, In attached you can find the gammu log for a successfully sent sms. I had to turn

network-manager-iodine

2012-02-09 Thread Guido Günther
Hi I've written a small network-manager VPN plugin that uses iodine to tunnel through DNS which can be usefull in case you're behind a firewall but DNS queries are allowed: https://honk.sigxcpu.org/piki/projects/network-manager-iodine/ git clone

[PATCH 1/2] core: Report username in systemd uid_has_session

2012-02-09 Thread Benjamin Franzke
For nm_auth_uid_in_acl to be successfull its required that nm_session_monitor_uid_has_session returns a user_name. --- src/nm-session-monitor-systemd.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/nm-session-monitor-systemd.c b/src/nm-session-monitor-systemd.c

[PATCH 2/2] core: Fix undefined reference to assert in session-monitor-{systemd, null}

2012-02-09 Thread Benjamin Franzke
assert.h is not included, that results in an undefined reference to assert, just use g_assert instead. --- src/nm-session-monitor-null.c|2 +- src/nm-session-monitor-systemd.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nm-session-monitor-null.c

Re: [PATCH 1/2] core: Report username in systemd uid_has_session

2012-02-09 Thread Dan Williams
On Thu, 2012-02-09 at 15:37 +0100, Benjamin Franzke wrote: For nm_auth_uid_in_acl to be successfull its required that nm_session_monitor_uid_has_session returns a user_name. Both pushed, thanks! Dan --- src/nm-session-monitor-systemd.c |3 +++ 1 files changed, 3 insertions(+), 0

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Dan Williams
On Thu, 2012-02-09 at 09:05 +0100, PongráczI wrote: Any idea what command Gammu sends? Does it use PDU mode or text mode to send it? Is it possible for you to get a log of the serial traffic when using Gammu so we can compare to what ModemManager does? Dan Hi, In attached you can

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread PongráczI
Ok, so gammu is using PDU mode instead of text mode. It might be that even though the modem *says* it supports text mode, it really doesn't and wants PDU mode. Dan Hi, Great, one modem of the 1 could be ok soon :) Dan, Aleksander and others,I really appreciate your

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Aleksander Morgado
Any idea what command Gammu sends? Does it use PDU mode or text mode to send it? Is it possible for you to get a log of the serial traffic when using Gammu so we can compare to what ModemManager does? Dan Hi, In attached you can find the gammu log for a successfully sent sms. I had to

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Dan Williams
On Thu, 2012-02-09 at 18:12 +0100, Aleksander Morgado wrote: Any idea what command Gammu sends? Does it use PDU mode or text mode to send it? Is it possible for you to get a log of the serial traffic when using Gammu so we can compare to what ModemManager does? Dan Hi, In

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Dan Williams
On Thu, 2012-02-09 at 18:01 +0100, PongráczI wrote: Ok, so gammu is using PDU mode instead of text mode. It might be that even though the modem *says* it supports text mode, it really doesn't and wants PDU mode. Dan Hi, Great, one modem of the 1 could be ok soon

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Marcel Holtmann
Hi Dan, In attached you can find the gammu log for a successfully sent sms. I had to turn off the mobile broadband with nm-applet to get gammu work. In this case modem-manager released the modem ports (ttyUSB1 and ttyUSB2) and gammu was able to use it. If you need more

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Dan Williams
On Thu, 2012-02-09 at 20:22 +0100, Marcel Holtmann wrote: Hi Dan, In attached you can find the gammu log for a successfully sent sms. I had to turn off the mobile broadband with nm-applet to get gammu work. In this case modem-manager released the modem ports (ttyUSB1 and

Re: [back to this topic] Re: PIN handling problem on Connect automatically

2012-02-09 Thread Dan Williams
On Mon, 2012-02-06 at 10:48 -0600, Dan Williams wrote: On Fri, 2012-02-03 at 20:55 +, Sérgio Basto wrote: On Thu, 2011-10-27 at 11:29 -0500, Dan Williams wrote: On Thu, 2011-10-27 at 06:25 +0100, Sérgio Basto wrote: On Wed, 2011-10-26 at 19:53 -0500, Dan Williams wrote: On

Re: [back to this topic] Re: PIN handling problem on Connect automatically

2012-02-09 Thread Sérgio Basto
On Thu, 2012-02-09 at 14:50 -0600, Dan Williams wrote: On Mon, 2012-02-06 at 10:48 -0600, Dan Williams wrote: On Fri, 2012-02-03 at 20:55 +, Sérgio Basto wrote: On Thu, 2011-10-27 at 11:29 -0500, Dan Williams wrote: On Thu, 2011-10-27 at 06:25 +0100, Sérgio Basto wrote: On

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread PongráczI
eredeti üzenet- Feladó: Dan Williams d...@redhat.com Címzett: PongráczI CC: networkmanager-list@gnome.org Dátum: Thu, 09 Feb 2012 11:19:13 -0600 - Should I watch the cgit to get the latest patch against this

Re: Modemmanager - how to send sms? - receiving is ok

2012-02-09 Thread Dan Williams
On Thu, 2012-02-09 at 23:26 +0100, PongráczI wrote: eredeti üzenet- Feladó: Dan Williams d...@redhat.com Címzett: PongráczI CC: networkmanager-list@gnome.org Dátum: Thu, 09 Feb 2012 11:19:13 -0600 -

[RFC] [PATCH] core: flush timestamp cache to disk only on activate/deactivate

2012-02-09 Thread Dan Williams
To suppress periodic disk wakeups, only write timestamps to disk when a device gets activated or deactivated. Timestamps are still updated periodically in memory, just not flushed to disk at that time. Obviously if NM crashes timestamps won't be preserved, but that shouldn't happen, right? :)