Re: Custom device plugin

2012-09-18 Thread Aleksander Morgado
I'll assume these are the Yota LTE (LU150?) USB sticks based on the GCT chipset, vid 1076 That's right. pid 8003. If not please elighten me :) At least my modem has pid 8002. I'm happy to take a patch for these devices, but first we'd want a bit more information about it. How do

Re: Ad hoc mode via Dbus

2012-09-18 Thread ppulibero
Hi Larry The GUI is not the problem ... I know it must work. The problem is that my application must do this automatically without any GUI So if you can find out how the GUI does it... I could do the same ... codewise On Mon, Sep 17, 2012 at 10:18 PM, Larry Finger larry.fin...@lwfinger.netwrote:

Re: Ad hoc mode via Dbus

2012-09-18 Thread Derek Atkins
Hi, ppulib...@libero.it writes: Hi Larry The GUI is not the problem ... I know it must work. The problem is that my application must do this automatically without any GUI So if you can find out how the GUI does it... I could do the same ... codewise It uses DBUS to communicate to the NM

Re: Ad hoc mode via Dbus

2012-09-18 Thread ppulibero
Derek, I know it uses DBus to communicate to NM! The problem is I need to code code the configuration of wifi directly via network manager over the DBus interface. I was able to configure it, but I wasn't able to set it to ad hoc mode.This task must be automatically performed by my

Re: Ad hoc mode via Dbus

2012-09-18 Thread Derek Atkins
ppulib...@libero.it writes: Derek, I know it uses DBus to communicate to NM! The problem is I need to code code the configuration of wifi directly via network manager over the DBus interface. I was able to configure it, but I wasn't able to set it to ad hoc mode.This task must be

Re: Ad hoc mode via Dbus

2012-09-18 Thread ppulibero
nothing at all! this is exactly what one could do to figure it out...if none diid it before and knows how to do it, which was my question Il giorno martedì 18 settembre 2012, Derek Atkins ha scritto: ppulib...@libero.it javascript:; writes: Derek, I know it uses DBus to communicate to

[MM] Power down during init (was: Re: [MM master] Re: [MM06] [PATCH] sierra: use +CFUN=4 for powering down)

2012-09-18 Thread Aleksander Morgado
Hey Dan and Marius, Power Up = enabled Power Down = disabled So we already have those states in ModemManager via the Enable() method and the modem states. It's just that not all devices actually implement the low-power mode when disabling, partially because we're not always sure of the

Re: Ad hoc mode via Dbus

2012-09-18 Thread Larry Finger
On 09/18/2012 03:58 AM, ppulib...@libero.it wrote: The GUI is not the problem ... I know it must work. The problem is that my application must do this automatically without any GUI So if you can find out how the GUI does it... I could do the same ... codewise Set verbose logging on the DBus

Re: Ad hoc mode via Dbus

2012-09-18 Thread Nathanael D. Noblet
Does the adhoc network settings change? I've created a connection configuration for an AdHoc network that many devices I manage can use. They are set to automatically connect once they see it. I have a different app that turns it on when I need to administer them. In any case, if you provide

Re: Ad hoc mode via Dbus

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 16:21 +0200, ppulib...@libero.it wrote: nothing at all! this is exactly what one could do to figure it out...if none diid it before and knows how to do it, which was my question Some resources that may help you: Examples in many languages of communicating with

Can I configure a specified PEAP wireless in network-manager

2012-09-18 Thread Frank
Here's the wpa_supplicant.conf file: |ap_scan=1 network={ ssid=SSID Name proto=WPA2 key_mgmt=WPA-EAP pairwise=CCMP group=CCMP eap=PEAP phase1=peaplabel=0 phase2=auth=GTC identity=User name password=Password } | I can use wpa_supplicant to connect the

Re: Can I configure a specified PEAP wireless in network-manager

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 14:45 +0800, Frank wrote: Here's the wpa_supplicant.conf file: ap_scan=1 network={ ssid=SSID Name proto=WPA2 key_mgmt=WPA-EAP pairwise=CCMP group=CCMP eap=PEAP phase1=peaplabel=0 phase2=auth=GTC identity=User name

Re: Two WLANs with the same SSID but different connection names

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 18:14 +0200, Alexander Karlstad wrote: Hi I've added two WLANs to my list in NM, both with the same SSID (eduroam) but I've given them different names, e.g. «eduaroam (foo)» and «eduroam (bar)». In nm-applet, «eduroam» appears, but with a sub list which shows both

Re: dhcp6 and fqdn support (for dns)

2012-09-18 Thread Gene Czarcinski
On 09/17/2012 02:36 PM, Gene Czarcinski wrote: On 09/17/2012 02:24 PM, Gene Czarcinski wrote: On 09/17/2012 12:05 PM, Jiri Popelka wrote: On 09/16/2012 09:55 PM, Gene Czarcinski wrote: BTW, from the info in the dhcp-options man-page, I believe that NetworkManager should be doing send

Re: [MM] Power down during init (was: Re: [MM master] Re: [MM06] [PATCH] sierra: use +CFUN=4 for powering down)

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 19:45 +0200, Marius Kotsbak wrote: 2012/9/18 Aleksander Morgado aleksan...@lanedo.com Hey Dan and Marius, Power Up = enabled Power Down = disabled So we already have those states in ModemManager via the

Re: dhcp6 and fqdn support (for dns)

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 13:19 -0400, Gene Czarcinski wrote: On 09/17/2012 02:36 PM, Gene Czarcinski wrote: On 09/17/2012 02:24 PM, Gene Czarcinski wrote: On 09/17/2012 12:05 PM, Jiri Popelka wrote: On 09/16/2012 09:55 PM, Gene Czarcinski wrote: BTW, from the info in the dhcp-options

Re: [nm-applet] [PATCH] connection-editor: add support for 4G (LTE) connection type

2012-09-18 Thread Dan Williams
On Tue, 2012-09-11 at 11:48 -0500, Dan Williams wrote: On Sun, 2012-09-09 at 02:22 +0200, Marius Kotsbak wrote: Modes 4G preferred and 4G only added. --- src/connection-editor/ce-page-mobile.ui |6 ++ src/connection-editor/page-mobile.c | 14 ++ 2 files

Re: dhcp6 and fqdn support (for dns)

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 13:08 -0500, Dan Williams wrote: On Tue, 2012-09-18 at 13:19 -0400, Gene Czarcinski wrote: On 09/17/2012 02:36 PM, Gene Czarcinski wrote: On 09/17/2012 02:24 PM, Gene Czarcinski wrote: On 09/17/2012 12:05 PM, Jiri Popelka wrote: On 09/16/2012 09:55 PM, Gene

Re: dhcp6 and fqdn support (for dns)

2012-09-18 Thread Gene Czarcinski
On 09/18/2012 02:22 PM, Dan Williams wrote: On Tue, 2012-09-18 at 13:08 -0500, Dan Williams wrote: On Tue, 2012-09-18 at 13:19 -0400, Gene Czarcinski wrote: On 09/17/2012 02:36 PM, Gene Czarcinski wrote: On 09/17/2012 02:24 PM, Gene Czarcinski wrote: On 09/17/2012 12:05 PM, Jiri Popelka

Re: [MM] Power down during init (was: Re: [MM master] Re: [MM06] [PATCH] sierra: use +CFUN=4 for powering down)

2012-09-18 Thread Marius Kotsbak
2012/9/18 Marius Kotsbak marius.kots...@gmail.com 2012/9/18 Aleksander Morgado aleksan...@lanedo.com Hey Dan and Marius, Power Up = enabled Power Down = disabled So we already have those states in ModemManager via the Enable() method and the modem states. It's just that not all

Re: dhcp6 and fqdn support (for dns)

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 14:59 -0400, Gene Czarcinski wrote: On 09/18/2012 02:22 PM, Dan Williams wrote: On Tue, 2012-09-18 at 13:08 -0500, Dan Williams wrote: On Tue, 2012-09-18 at 13:19 -0400, Gene Czarcinski wrote: On 09/17/2012 02:36 PM, Gene Czarcinski wrote: On 09/17/2012 02:24 PM,

Re: [MM master] Re: [MM06] [PATCH] sierra: use +CFUN=4 for powering down

2012-09-18 Thread Marius Kotsbak
2012/9/10 Aleksander Morgado aleksan...@lanedo.com See patch attached. sierra: use +CFUN=4 for powering down plugins/mm-modem-sierra-gsm.c | 32 1 file changed, 32 insertions(+) This also needs to be intregrated in the master branch version.

Re: [MM master] Re: [MM06] [PATCH] sierra: use +CFUN=4 for powering down

2012-09-18 Thread Dan Williams
On Tue, 2012-09-18 at 22:15 +0200, Marius Kotsbak wrote: 2012/9/10 Aleksander Morgado aleksan...@lanedo.com See patch attached. sierra: use +CFUN=4 for powering down plugins/mm-modem-sierra-gsm.c | 32

Re: [MM] Power down during init (was: Re: [MM master] Re: [MM06] [PATCH] sierra: use +CFUN=4 for powering down)

2012-09-18 Thread Ben Chan
I briefly tested the patch on Samsung/Icera Y3300/Y3400 modems. Planning to do some more stress tests later this week. It may not be a bad idea to allow a plugin to override the power-down-on-initialization behavior. Thanks, Ben On Tue, Sep 18, 2012 at 7:24 AM, Aleksander Morgado

Re: Two WLANs with the same SSID but different connection names

2012-09-18 Thread Alexander Karlstad
Den 18. sep. 2012 19:21, skrev Dan Williams: On Tue, 2012-09-18 at 18:14 +0200, Alexander Karlstad wrote: I've added two WLANs to my list in NM, both with the same SSID (eduroam) but I've given them different names, e.g. «eduaroam (foo)» and «eduroam (bar)». In nm-applet, «eduroam» appears, but

Re: [MM] Power down during init

2012-09-18 Thread Aleksander Morgado
I briefly tested the patch on Samsung/Icera Y3300/Y3400 modems. Planning to do some more stress tests later this week. I'm assuming the tests went well? :-) It may not be a bad idea to allow a plugin to override the power-down-on-initialization behavior. Not a big deal I guess; given

Re: [MM] Power down during init

2012-09-18 Thread Aleksander Morgado
Hey Dan and Marius, Power Up = enabled Power Down = disabled So we already have those states in ModemManager via the Enable() method and the modem states. It's just that not all devices actually implement

Re: [MM] Power down during init

2012-09-18 Thread Ben Chan
On Tue, Sep 18, 2012 at 10:05 PM, Aleksander Morgado aleksan...@lanedo.com wrote: I briefly tested the patch on Samsung/Icera Y3300/Y3400 modems. Planning to do some more stress tests later this week. I'm assuming the tests went well? :-) Except for the issue that CFUN+4 can occasionally

Re: [MM] Power down during init

2012-09-18 Thread Aleksander Morgado
I briefly tested the patch on Samsung/Icera Y3300/Y3400 modems. Planning to do some more stress tests later this week. I'm assuming the tests went well? :-) Except for the issue that CFUN+4 can occasionally take a long time to finish :( Still haven't found the root cause or a

Re: [MM] Power down during init

2012-09-18 Thread Aleksander Morgado
On 09/18/2012 08:03 PM, Dan Williams wrote: Btw, is this expected?: model: '+CGMM: MF820D' A bug, the handler code here probably needs to strip out the CGMM if found. Most devices don't actually prefix the CGMM response with +CGMM so the code wasn't built to handle that, either in 05/06