Re: [PATCH 2/2] device: add statistics interface

2016-06-07 Thread Thomas Haller
On Fri, 2016-06-03 at 18:44 +0200, Alfonso Sanchez-Beato wrote: > Add statistics interface to all device instances. When active, the > properties of this interface are refreshed whenever there is network > activity for the device. > > Activation is performed by changing RefreshRateMs property. If

Re: pppd DNS update issue in NM 1.0.12

2016-06-07 Thread Samuel Casa
On Sun, May 29, 2016 at 3:14 PM, Thomas Haller wrote: > On Fri, 2016-05-27 at 09:59 +0200, Samuel Casa wrote: >> On Mon, Apr 18, 2016 at 8:02 PM, Thomas Haller >> wrote: >> > >> The pppd connection is handled by the NM. >> The problem with the connection

Re: NetworkManager WiFi AP Mode

2016-06-07 Thread Dan Williams
On Mon, 2016-06-06 at 15:06 -0700, Ali Nematollahi wrote: > Hi Dan > > Here are the outputs: > > root@beaglebone:~# nmcli radio > WIFI-HW  WIFI WWAN-HW  WWAN > enabled  enabled  enabled  enabled > > root@beaglebone:~# rfkill list > 0: phy0: Wireless LAN > Soft blocked: no >

Re: NetworkManager WiFi AP Mode

2016-06-07 Thread Ali Nematollahi
Hey Dan Yup I forgot to start wpa_supplicant in my earlier logs but this time I did it and I get pretty much the same thing, but with a little bit more detailed logs... root@beaglebone:~# NetworkManager --debug & [2] 2902 root@beaglebone:~# (NetworkManager:2902): NetworkManager-WARNING **:

Re: NetworkManager WiFi AP Mode

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 13:00 -0700, Ali Nematollahi wrote: > I've been using AP mode for over a year with the same set up. I use > many > commands to set it up but it has been working perfectly fine. Here is > the > output you requested: I misread the error message; it's not from the kernel, but

Re: NetworkManager WiFi AP Mode

2016-06-07 Thread Ali Nematollahi
I've been using AP mode for over a year with the same set up. I use many commands to set it up but it has been working perfectly fine. Here is the output you requested: phy phy0 info Wiphy phy0 Band 1: Capabilities: 0x1072 HT20/HT40

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > hello there > > Is there any sample code to get NMEA strings from MM in C? > I looked at the example codes in NM but didn't have much luck on > finding > samples for GPS. You'd use the libdbus C bindings or (easier) glib-based ones with

Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread serena dadak
hello there Is there any sample code to get NMEA strings from MM in C? I looked at the example codes in NM but didn't have much luck on finding samples for GPS. sincerely ___ networkmanager-list mailing list networkmanager-list@gnome.org

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 14:28 -0700, serena dadak wrote: > not pretty for sure. > Any samples on using libmm calls? Would that be a possibility? libmm-glib is based off GLib/GDBus, so yes that's a possibility.  See cli/mmcli-modem-location.c for how that would work, I think the code there can also

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread serena dadak
not pretty for sure. Any samples on using libmm calls? Would that be a possibility? On Tue, Jun 7, 2016 at 2:10 PM, Dan Williams wrote: > On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > > hello there > > > > Is there any sample code to get NMEA strings from MM in C? >

Re: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Bastien Nocera
On Tue, 2016-06-07 at 16:10 -0500, Dan Williams wrote: > On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > > hello there > > > > Is there any sample code to get NMEA strings from MM in C? > > I looked at the example codes in NM but didn't have much luck on > > finding > > samples for GPS.

Re: [PATCH 2/2] device: add statistics interface

2016-06-07 Thread Dan Williams
On Fri, 2016-06-03 at 18:44 +0200, Alfonso Sanchez-Beato wrote: > Add statistics interface to all device instances. When active, the > properties of this interface are refreshed whenever there is network > activity for the device. > > Activation is performed by changing RefreshRateMs property. If

Re: [PATCH] connection-editor: Fix wired 802-1x secrets saving

2016-06-07 Thread Thomas Haller
On Thu, 2016-05-26 at 20:30 +0300, Mikhail Efremov wrote: > In case of wired 802-1x connection a temporary connection object is > used, > but since NM commit 6a19e68a7d856629600655a076b0cea4be346799 > secrets are cleared when the object is destroyed. > So duplicate 802-1x settings instead of using

NM can't see WEP access point

2016-06-07 Thread Bastien Nocera
Hey, iwlist scan as root shows:           Cell 17 - Address: 00:24:36:9D:3B:33 Channel:11 Frequency:2.462 GHz (Channel 11) Quality=70/70  Signal level=-32 dBm   Encryption key:on ESSID:"WEP test"   

Re: backport everything from master to nm-1-2

2016-06-07 Thread Thomas Haller
On Tue, 2016-05-31 at 16:25 +0200, Thomas Haller wrote: > Hi, > >  > all: merge branch 'master' into nm-1-2 > -- > ok, let's scratch this idea. We leave nm-1-2 as is. Do backport important fixes as required (that is, as somebody pro-actively) expresses the

Re: NM can't see WEP access point

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 16:09 +0200, Bastien Nocera wrote: > Hey, > > iwlist scan as root shows: >           Cell 17 - Address: 00:24:36:9D:3B:33 > Channel:11 > Frequency:2.462 GHz (Channel 11) > Quality=70/70  Signal level=-32 dBm   >

Re: NM can't see WEP access point

2016-06-07 Thread Bastien Nocera
On Tue, 2016-06-07 at 09:58 -0500, Dan Williams wrote: > On Tue, 2016-06-07 at 16:09 +0200, Bastien Nocera wrote: > > Hey, > > > > iwlist scan as root shows: > >           Cell 17 - Address: 00:24:36:9D:3B:33 > > Channel:11 > > Frequency:2.462 GHz (Channel

nm-connection-editor forgets WPA password

2016-06-07 Thread Bastien Nocera
Hey, I get problems when trying this with both nm-connection-editor and gnome-control-center, so it's probably a problem in the common code. 1. Connect to a known wireless network with WPA/WPA2 Personal authentication 2. Once connected, edit the connection 3. In "Wi-Fi Security" select "Dynamic

Re: nm-connection-editor forgets WPA password

2016-06-07 Thread Thomas Haller
On Tue, 2016-06-07 at 19:10 +0200, Bastien Nocera wrote: > Hey, > > I get problems when trying this with both nm-connection-editor and > gnome-control-center, so it's probably a problem in the common code. > > 1. Connect to a known wireless network with WPA/WPA2 Personal > authentication > 2.

Re: nm-connection-editor forgets WPA password

2016-06-07 Thread Bastien Nocera
On Tue, 2016-06-07 at 19:29 +0200, Thomas Haller wrote: > On Tue, 2016-06-07 at 19:10 +0200, Bastien Nocera wrote: > > Hey, > > > > I get problems when trying this with both nm-connection-editor and > > gnome-control-center, so it's probably a problem in the common > > code. > > > > 1. Connect

Re: NetworkManager WiFi AP Mode

2016-06-07 Thread Dan Williams
On Tue, 2016-06-07 at 12:01 -0700, Ali Nematollahi wrote: > wlan0: AP mode support not included in the build Looks like your wifi driver doesn't support AP mode...  What does 'iw phy phy0 info' say in the "Supported interface modes" section? Dan ___