Re: PATCH: Auto-Enable WWAN after PIN entry

2012-07-30 Thread Marius Kotsbak
Den 30. juli 2012 23:47, skrev Marius Kotsbak: Den 27. juli 2012 16:13, skrev Marius Kotsbak: Den 27. juli 2012 15:07, skrev rich...@ecos.de: Program received signal SIGSEGV, Segmentation fault. gsm_add_menu_item (device=0x811d380, n_devices=1, active=0x0, menu=0x81b72e8, applet=0x80e6038)

[MM] [PATCH] cli, libmm-glib: set default timeout on manager DBus proxy

2012-07-30 Thread Ben Chan
This patch fixes mmcli to set the default timeout on the manager proxy interface (MmGdbusOrgFreedesktopModemManager1) instead of MMManager itself. The later is not a GDBusProxy object. --- This is what 'mmcli -L' currently prints out: (mmcli:4689): GLib-GObject-WARNING **: invalid cast from `MMM

Re: Network-manager and VLAN

2012-07-30 Thread Dan Williams
On Fri, 2012-07-27 at 08:56 -0400, Pavel Simerda wrote: > Hi, > > > Thanks for the answer, but as I said, I am using Ubuntu and do not > > have > > the rhel configuration scripts. > > > > I have finally managed to get a VLAN connection working with the > > following keyfile: > > > > [connection]

Re: PATCH: Auto-Enable WWAN after PIN entry

2012-07-30 Thread Dan Williams
On Fri, 2012-07-20 at 07:16 +0200, rich...@ecos.de wrote: > Hi, > > there seems to be a lot of questions about automatically starting GSM > connections, but not so much answers.. > > Here is a patch that solves it at least for me. It does the following: > > - Wait for starting of the devices un

Re: The NetworkManager does not run dispatch script

2012-07-30 Thread Dan Williams
On Wed, 2012-07-25 at 13:44 -0600, Chengyu Fan wrote: > Hi~ > I figured it out. That is because I replace the '01ifupdown' with my > script, and I forgot to make the file owner as root. The execution > permissions must be 755 as well. Yes, this is detailed in 'man NetworkManager' if anyone wants t

Re: PATCH: Add stub mode

2012-07-30 Thread Dan Williams
On Thu, 2012-07-26 at 04:03 -0400, Pavel Simerda wrote: > Hi, > > this was a case with many applications in the past. And it is probably > going to return at any time. > > It would be fine to have some connectivity status override in > NetworkManager.conf > to be able to fake the connectivity st

Re: Problem automatically unmounting VPN shares

2012-07-30 Thread Dan Williams
On Sat, 2012-07-28 at 18:18 -0300, Lamarque V. Souza wrote: > Em Saturday 28 July 2012, Robby Workman escreveu: > > > On Sat, 28 Jul 2012 12:50:13 +0100 > > > > > > Peter Rockett wrote: > > > > Hi > > > > > > > > I am trying to automatically mount and unmount a share at my > office. > > >

Re: Network-manager and VLAN

2012-07-30 Thread Dan Williams
On Fri, 2012-07-27 at 11:31 -0400, Pavel Simerda wrote: > > It isn't documented (perhaps in the literate source), but ifupdown > > supports tagged interfaces transparently. If you want an ethernet > > interfaces on VLAN 5, this will do the trick: > > > > iface iface.X inet ... > > The long-term

Re: IPv6 default routes / NM vs. kernel autoconfig

2012-07-30 Thread Dan Williams
On Tue, 2012-07-24 at 09:38 -0400, Ross Vandegrift wrote: > On Mon, 2012-07-23 at 20:12 -0400, Pavel Simerda wrote: > > > ::/0 fe80::21b:2bff:fec1:dcc1 UG 1 0 0 em1 > > > ::/0 fe80::217:e0ff:fe43:5941 UGDAe 1024 0 0 em1 > > > ::/0 fe80::21b:2bf

Re: PATCH: Auto-Enable WWAN after PIN entry

2012-07-30 Thread Marius Kotsbak
Den 27. juli 2012 16:13, skrev Marius Kotsbak: Den 27. juli 2012 15:07, skrev rich...@ecos.de: Program received signal SIGSEGV, Segmentation fault. gsm_add_menu_item (device=0x811d380, n_devices=1, active=0x0, menu=0x81b72e8, applet=0x80e6038) at applet-device-gsm.c:463 463 text = mobile_he

Re: IPv6 default routes / NM vs. kernel autoconfig

2012-07-30 Thread Stuart D Gathman
On 07/23/2012 08:12 PM, Pavel Simerda expounded in part: NM is working around lack of information from kernel and it works only in basic situations. There are solutions to this. While it doesn't actually break, I have a related issue with DHCP6. When RA enables DHCP6 (and NM set to "Automatic"),

Re: [MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-30 Thread Thieu Le
Hi Aleksander, I've tried your patch below and mm-next did not hang during my test runs. Although it didn't happen during my test passes, I am wondering if the bearer DISCONNECTING status can be overwritten if the modem changes state after the call to mm_bearer_disconnect()? If there is no possi

Re: [MM 0.5] Limit the number of deferred tasks

2012-07-30 Thread Aleksander Morgado
> Following a recent issue found with Huawei modems, it seems we cannot > assume that usbif 0 will always be an AT port we can probe. If such a > modem gets plugged, it will end up looping forever as no port will get > probed before usbif 0, which never gets probed. > > Attached is a patch for MM

Re: [MM] [PATCH] bearer: deny disconnect request if there is a cancel outstanding

2012-07-30 Thread Aleksander Morgado
Hey Ben & Thieu, > --- > src/mm-bearer.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/src/mm-bearer.c b/src/mm-bearer.c > index 3cce948..3b1be8c 100644 > --- a/src/mm-bearer.c > +++ b/src/mm-bearer.c > @@ -450,7 +450,8 @@ mm_bearer_disconnect (MMBearer *self, >

Re: Network-manager and VLAN

2012-07-30 Thread Ross Vandegrift
On Fri, 2012-07-27 at 11:31 -0400, Pavel Simerda wrote: > > It isn't documented (perhaps in the literate source), but ifupdown > > supports tagged interfaces transparently. If you want an ethernet > > interfaces on VLAN 5, this will do the trick: > > > > iface iface.X inet ... > > The long-term