Re: bad gsm connections

2017-03-07 Thread Dan Williams
On Tue, 2017-03-07 at 19:18 +0200, matti kaasinen wrote: > 2017-03-07 18:22 GMT+02:00 Dan Williams <d...@redhat.com>: > > > On Tue, 2017-03-07 at 16:28 +0200, matti kaasinen wrote: > > > Hi! > > > > > > I would appreciate advices how to cope

Re: bad gsm connections

2017-03-07 Thread Dan Williams
On Tue, 2017-03-07 at 16:28 +0200, matti kaasinen wrote: > Hi! > > I would appreciate advices how to cope bad gsm connections with NM. I > do > have auto set-up for gsm configuration. > Modem gets huawei_cdc_ncm and NM brings up WWAN0 interface. What I > can see > from systemd journal is that NM

Re: Get all available networks over the d-bus

2017-03-06 Thread Dan Williams
On Mon, 2017-03-06 at 22:51 +0100, Morten Back Nielsen wrote: > Hi, > > I'm using libnm from python with GObject introspection for > interfacing > with Network Manager over the d-bus. > > And to find the available networks / access points, I call > get_access_points() >

Re: Disable autoconnect for new wifi connections by default

2017-02-01 Thread Dan Williams
On Wed, 2017-02-01 at 00:59 +0100, Thomas Haller wrote: > On Wed, 2017-02-01 at 00:37 +0100, dennis knorr wrote: > > Hi, > > > > On 31.01.2017 20:07, Dan Williams wrote: > > > On Sat, 2017-01-28 at 17:29 +0100, Marcin Zajączkowski wrote: > > > > Hi

Re: Help fixing nm-applet under appindicator.

2017-01-31 Thread Dan Williams
On Fri, 2017-01-27 at 18:55 +1030, Simon Lees wrote: > Hi all, > > Currently when nm-applet is configured with --with-appindicator it > fails > to run, some debugging shows that "nma_init" is called but > "applet_startup" is not, the following line leads me to believe that > a > startup signal is

Re: Disable autoconnect for new wifi connections by default

2017-01-31 Thread Dan Williams
On Sat, 2017-01-28 at 17:29 +0100, Marcin Zajączkowski wrote: > Hi, > > I would like to disable autoconnect for new wifi connections by > default. > I prefer to control when my device is connected to public/shared wifi > which identity cannot be determined ultimately (aka fake networks > with >

Re: Network manager auto-upgraded, ppp no longer connects.

2017-01-19 Thread Dan Williams
On Wed, 2017-01-18 at 16:36 -0500, A. F. Cano wrote: > On Tue, Jan 17, 2017 at 10:52:42AM -0600, Dan Williams wrote: > > ... > > Ok good, this helps.  It seems we need to be in mode 2 before we > > can > > get anything useful.  The +CIND response is especially usefu

Re: Network manager auto-upgraded, ppp no longer connects.

2017-01-17 Thread Dan Williams
On Mon, 2017-01-16 at 14:54 -0500, A. F. Cano wrote: > On Sat, Jan 14, 2017 at 11:45:46PM -0600, Dan Williams wrote: > > ... > > NM/MM haven't changed upstream since then, so I'd suspect that your > > distro updated one of the two, and it probably was MM. > > Ok. >

Re: Network manager auto-upgraded, ppp no longer connects.

2017-01-14 Thread Dan Williams
On Sat, 2017-01-14 at 15:57 -0500, A. F. Cano wrote: > On Fri, Jan 13, 2017 at 12:11:38PM -0600, Dan Williams wrote: > > ... > > > Ok, did that and now ModemManager is writing thousands of lines > > > to > > > syslog.  What seems relevant is this: > > >

Re: Network manager auto-upgraded, ppp no longer connects.

2017-01-13 Thread Dan Williams
On Thu, 2017-01-12 at 15:25 -0500, A. F. Cano wrote: > On Thu, Jan 05, 2017 at 11:51:54AM -0600, Dan Williams wrote: > > ... > > If you're able, could you downgrade NetworkManager to make sure the > > problem is certainly with the update?  If downgrading starts things > &g

[PATCH 1.4 backport] device: cleanup setting of ip-iface

2017-01-11 Thread Dan Williams
From: Thomas Haller Date: Mon, 26 Dec 2016 18:11:03 +0100 Move the updating/setting of the ip-ifindex/ip-iface to one place. Properties should be for the most part immutable/read-only, and only at particular places modified. That way, it's easier to track who changes a

[PATCH git master] device/wwan: indicate whether IP iface/ifindex changed and simplify WwAN code

2017-01-11 Thread Dan Williams
Replace some code in the WWAN device class that checks for a changed interface name with code that uses the new return value from nm_device_set_ip_iface(), which now checks whether the ip_ifindex changed too. --- src/devices/nm-device-private.h| 2 +- src/devices/nm-device.c| 19

Re: Network manager auto-upgraded, ppp no longer connects.

2017-01-05 Thread Dan Williams
On Wed, 2017-01-04 at 16:37 -0500, A. F. Cano wrote: > Hello everyone, > > In the latest automatic software upgrade, I noticed that network- > manager was > upgraded.  I no longer can get ppp started like it did before. > > Debian testing: > > $ cat /etc/debian_version > stretch/sid > > $

[PATCH] wifi: don't request new PSK for locally-generated WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY errors

2016-12-16 Thread Dan Williams
This usually indicates that the driver missed beacons from the AP, due to driver bugs or faulty power-save management. It doesn't mean that the PSK is wrong. Reported-by: Jonathan Kang --- src/devices/wifi/nm-device-wifi.c | 12 +++- 1 file changed, 11

[PATCH] wifi: don't request new PSK for locally-generated WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY errors

2016-12-16 Thread Dan Williams
___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: [PATCH] build: separate BUILD_SETTING_DOCS from HAVE_INTROSPECTION

2016-12-16 Thread Dan Williams
On Thu, 2016-12-08 at 11:20 +0100, Thomas Haller wrote: > On Wed, 2016-12-07 at 16:35 -0600, Dan Williams wrote: > > > > Introspection really doesn't depend on whether we're building > > setting > > docs.  Split these two up. > > --- > > Hi Dan, >

Re: NM is asking for new key each time it fail to associate

2016-12-16 Thread Dan Williams
On Fri, 2016-12-16 at 09:05 +, Jonathan Kang wrote: > Hi all > > I met the same issue mentioned in a previous thread[1], so I'd like > to > raise it again. This link[2] is the debug information I get. Hope it > will > be helpful. > > What I found is when the supplicant state changes from

Re: How to avoid using policy kit with openvpn

2016-12-15 Thread Dan Williams
On Thu, 2016-12-15 at 15:14 +0200, matti kaasinen wrote: > Ping started to work after executing command: > > > *route add default dev eth0 metric 99* > So, everything is fine! That implies that the default route was not set up correctly beforehand.  What's the output of "ip route" before you

Re: Remote access points not visible while local wifi configured as access point

2016-12-14 Thread Dan Williams
On Wed, 2016-12-14 at 21:28 +, Stéphane Boucher wrote: > It looks like NetworkManager purposely filters out remote access > points while the local device is used as an access point? > > “nmcli d wifi” only displays the local access point, even though “Iw > dev wlan0 scan” does show remote

[PATCH] build: separate BUILD_SETTING_DOCS from HAVE_INTROSPECTION

2016-12-07 Thread Dan Williams
Introspection really doesn't depend on whether we're building setting docs.  Split these two up. ---  Makefile.am  | 15 +--  configure.ac | 42 --  2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/Makefile.am b/Makefile.am index

Re: [PATCH 1/1] nm-dns-dnsmasq: clear cache when dns server changes

2016-11-29 Thread Dan Williams
On Tue, 2016-11-29 at 23:20 +0100, Beniamino Galvani wrote: > On Tue, Nov 29, 2016 at 10:10:21PM +0100, Thomas Haller wrote: > > > > On Tue, 2016-11-29 at 20:23 +0100, Christian Hesse wrote: > > > > > > Thomas Haller on Tue, 2016/11/29 17:51: > > > > > > > > On Tue,

Re: How to avoid using policy kit with openvpn

2016-11-23 Thread Dan Williams
On Wed, 2016-11-23 at 17:25 +0200, matti kaasinen wrote: > Version information: > OpenVPN: 2.3.8 > NetworkManager: 1.0.10 > ModemManager 1.4.12 > Dbus-daemon:1.10.6 If these are single-user systems, you can rebuild NM with PolicyKit disabled so that it never validates requests against PolicyKit.

Re: nmcli c does not list modem device - part 2

2016-11-14 Thread Dan Williams
On Mon, 2016-11-14 at 16:28 +0200, matti kaasinen wrote: > 2016-11-11 19:41 GMT+02:00 Dan Williams <d...@redhat.com>: > > > > > This should be handled by usb_modeswitch.  Either it's not getting > > run > > correctly from udev, or there's a bug in usb_modes

Re: nmcli c does not list modem device - part 2

2016-11-11 Thread Dan Williams
On Fri, 2016-11-11 at 15:22 +0200, matti kaasinen wrote: > Hi (again)! > > I discussed this problem originally in > https://mail.gnome.org/archives/networkmanager-list/2016-March/msg000 > 79.html > > I had to upgrade my set-up that is currently as follows: > I am using Huawei 3131 modem whose ID

Re: Persistent network interface configuration for several wwan modems

2016-10-24 Thread Dan Williams
On Mon, 2016-10-24 at 17:35 +0200, Viktor S. Wold Eide wrote: > Hi, > > I have several wwan usb modems connected to a single PC. Currently, > the PC > is running Ubuntu 16.10 which comes with network-manager-1.2.4. I > would > like to have a network interface configuration where all modems get >

Re: Previnting "Authentication required by wireless" popup

2016-10-21 Thread Dan Williams
On Fri, 2016-10-21 at 17:54 +, Stéphane Boucher wrote: > Here's the driver, as well as a failed activation (I hit escape when > I got the popup) and a successful activation (no popup) > > $ ethtool -i wlp3s0 > driver: wl0 > version: 6.30.223.248 (r487574) So proprietary Broadcom wl driver,

Re: Previnting "Authentication required by wireless" popup

2016-10-21 Thread Dan Williams
| T. 450-442-3003 | D. | W. d-box.com > > -Message d'origine- > De : Dan Williams [mailto:d...@redhat.com] > Envoyé : October 20, 2016 4:34 PM > À : Stéphane Boucher <sbouc...@d-box.com>; networkmanager-list@gnome. > org > Objet : Re: Previnting "Authentication

Re: Previnting "Authentication required by wireless" popup

2016-10-20 Thread Dan Williams
On Thu, 2016-10-20 at 19:48 +, Stéphane Boucher wrote: > Where in the NM code is the nm-applet contacted ? It ends up in src/settings/nm-settings-connection.c which calls the NMAgentManager in src/settings/nm-agent-manager.c at nm_agent_manager_get_secrets(), which loops through registered

Re: Problem activating hotspot

2016-10-20 Thread Dan Williams
>  oConn["802-11-wireless-security"]["key-mgmt"] = QString("none"); > > > STÉPHANE BOUCHER > Consultant software > > > D-BOX Technologies Inc. | A. 2172 de la Province, Longueuil, QC J4G > 1R7 CANADA | T. 450-442-3003 | D. | W. d-box.com >

Re: Problem activating hotspot

2016-10-18 Thread Dan Williams
On Tue, 2016-10-18 at 15:26 +, Stéphane Boucher wrote: > I’m on Ubuntu 16.04.1. > > I’m using QDBus to interact with NetworkManager. > > At the time I do all of the following, there’s no existing > /org/freedesktop/NetworkManager/Settings/?? For the Hotspot. > > When I call

[PATCH] wifi: clean up clearing a pending scan

2016-10-07 Thread Dan Williams
All callers of request_wireless_scan() cleared the periodic scan source immediately before calling the function, so just move that into request_wireless_scan(). The only one that doesn't clear it is request_wireless_scan_periodic() but that sets the source id to 0 already, so the clear has no

Re: [PATCH] wwan/ppp: send explicit port speed to pppd when port speed is zero (rh #1281731)

2016-10-07 Thread Dan Williams
On Fri, 2016-10-07 at 19:46 +0200, Thomas Haller wrote: > On Fri, 2016-10-07 at 12:28 -0500, Dan Williams wrote: > > > > Some TTY drivers or devices appear to ignore port speed and always > > report zero.  Technically this means the port is hung up and > > control >

[PATCH] wwan/ppp: send explicit port speed to pppd when port speed is zero (rh #1281731)

2016-10-07 Thread Dan Williams
Some TTY drivers or devices appear to ignore port speed and always report zero. Technically this means the port is hung up and control lines should be disconnected, but with USB devices many of the serial port attributes are meaningless and ignored by some devices. pppd requires the port's speed

Re: NetworkManager invalid bearer IP configuration

2016-09-20 Thread Dan Williams
On Fri, 2016-09-16 at 22:04 -0500, Alex Ferm wrote: > Hello all, > >  I have run into a problem with NetworkManager and ModemManager,  > where NetworkManager fails to complete the connection due to an > "invalid  > bearer IP configuration". In this state, ModemManager shows the modem > as  >

Re: network-manager-openconnect and --os option

2016-09-15 Thread Dan Williams
On Thu, 2016-09-15 at 00:55 +, Vincent Fortier wrote: > I've been trying to figure out how to pass the --os option to > openconnect > using NM. > > I believe it may no be implemented as I didn't saw any reference to > it in > the code (I'm not a coder so I may have missed it?). > > It seem

Re: Non-GUI NM & Cell retries

2016-09-14 Thread Dan Williams
On Tue, 2016-09-13 at 15:53 -0600, matthew stanger wrote: > Hi, > > I'm hoping one of the experts here can help answer these two > questions I > have. > > 1. Has anyone built NM without a GUI using Yocto, just nmcli? While I haven't built NM with Yocto, we've certainly built it and run it

Re: Where does NM persists which connection is active? (Centos7)

2016-09-12 Thread Dan Williams
On Sun, 2016-09-11 at 23:45 +0300, Edward Haas wrote: > On Sun, Sep 11, 2016 at 10:56 PM, Thomas Haller > wrote: > > > > > On Sun, 2016-09-11 at 15:45 +0300, Edward Haas wrote: > > > > > > Hello, > > > > > > Assuming there are multiple connection defined for an ethernet >

Re: NetworkManager 1.4 article: call for help

2016-08-24 Thread Dan Williams
On Tue, 2016-08-23 at 16:37 +0200, Lubomir Rintel wrote: > Hi. > > We're nearing 1.4 GA. Here's the draft of the blog post: > http://etherpad.corp.redhat.com/nm-1-4-announcement > > As usual, input from you -- folks whose language and technical > qualities largely surpass mine -- helps

Re: [PATCH v4 1/7] libnm: API for Proxy Feature

2016-08-17 Thread Dan Williams
On Wed, 2016-08-17 at 22:36 +0200, Thomas Haller wrote: > On Wed, 2016-08-17 at 10:33 -0500, Dan Williams wrote: > > > > On Tue, 2016-08-16 at 23:38 +0200, Thomas Haller wrote: > > > > > > > > > On Tue, 2016-08-16 at 05:55 +0530, Atul Anand wrote: >

Re: [PATCH v4 1/7] libnm: API for Proxy Feature

2016-08-17 Thread Dan Williams
On Tue, 2016-08-16 at 23:38 +0200, Thomas Haller wrote: > On Tue, 2016-08-16 at 05:55 +0530, Atul Anand wrote: > > > > libnm-core has been expanded to include proxy settings which > > clients > > like nmcli, nm-connection-editor use to configure proxy in > > PacRunner. > > It > > offers three

Re: Passing wpa_supplicant parameters through NetworkManager

2016-08-15 Thread Dan Williams
On Sun, 2016-08-14 at 22:40 +0200, Shawn Adams wrote: > Hello, > > I'm interested in learning if it's possible to pass wpa_supplicant > parameters directly > from the NetworkManager configuration files to wpa_supplicant. > > The immediate need is to test 802.11w using chipsets which do support >

Re: ANN: NetworkManager 1.2.4 released

2016-08-05 Thread Dan Williams
On Thu, 2016-08-04 at 22:29 +0200, Michael Biebl wrote: > Hi > > Am 03.08.2016 um 18:40 schrieb Francesco Giudici: > > > > The 1.2.4 release include some new features and bug fixes. > > > > The rc-manager option has been extended with the "symlink" and > > "unmanaged" values. Moreover, it is

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

2016-07-27 Thread Dan Williams
On Thu, 2016-06-23 at 15:25 +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: two dhcp-option (openvpn)

2016-07-19 Thread Dan Williams
On Tue, 2016-07-19 at 16:46 +0200, Xen wrote: > A user reported having two dhcp-option in his config, either pushed > by  > the server or local, I don't know yet. > > One of the dhcp-option was faulty, it was 10.8.0.1 but there was no  > response from that server apparently. > > The order given

Re: ethernet connection possible with no carrier

2016-06-29 Thread Dan Williams
On Wed, 2016-06-29 at 16:14 +0200, Michael Hirmke wrote: > Hi *, > > I'm using NetworkManager-1.2.2-341.1.x86_64 on openSuSE Leap 42.1. > In the NM applet I can connect to my ethernet without having a > carrier > signal, i.e. no cable plugged in. The connection has static settings > for > IP

Re: [PATCH 1/5] New GObject NMProxyConfig added to hold proxy details.

2016-06-28 Thread Dan Williams
On Tue, 2016-06-28 at 16:45 -0500, Dan Williams wrote: > On Wed, 2016-06-29 at 02:08 +0530, Atul Anand wrote: > > > > Apologies for these stupid mistakes. And there's no reason to > > export > > ProxyConfig on DBus. Only useful property was pac-url which also > &

Re: [PATCH 1/5] New GObject NMProxyConfig added to hold proxy details.

2016-06-28 Thread Dan Williams
ill remove them . No problem, they aren't stupid mistakes you've worked with the NM and GDBus code for a couple years.  Plus copy & paste is pretty standard for a new GObject :)  I'm pretty sure nobody writes them from scratch. Dan > Thanks! > > On 6/29/16, Dan Williams <d...@redhat.com&g

Re: [PATCH 5/5] fixes in src/policy.c and other minor fixes.

2016-06-28 Thread Dan Williams
On Fri, 2016-06-24 at 00:42 +0530, Atul Anand wrote: > src/policy.c fixed to update pacrunner with connection activation > and deactivation.Previous sent configs are destroyed before updating > PacRunner with new cofigs. > --- >  libnm-core/nm-vpn-dbus-interface.h |  3 ++ >  src/nm-logging.c   

Re: [PATCH 1/5] New GObject NMProxyConfig added to hold proxy details.

2016-06-28 Thread Dan Williams
On Fri, 2016-06-24 at 00:42 +0530, Atul Anand wrote: > A new Object NMProxyConfig added with properties for proxies, > PAC Url and PAC Script. Getters are setters implemented for > manipulating those fields. > I couldn't find anywhere in the code that actually uses the GObject properties for the

Re: [PATCH 3/5] ProxyConfig fields added to NMDevice and NMVpnConnection.

2016-06-28 Thread Dan Williams
On Fri, 2016-06-24 at 00:42 +0530, Atul Anand wrote: > Fields for storing ProxyConfig added to store proxy details > for that Object. > --- >  src/devices/nm-device.c | 51 > + >  src/devices/nm-device.h |  3 +++ >  

Re: signal for interface up/down

2016-06-27 Thread Dan Williams
On Sat, 2016-06-25 at 14:11 +0200, Michael Hirmke wrote: > Hi again, > > [...] > > > > > > > > of NetworkManager.  You'd match on the signal (member) name > > > "StateChanged", and look for object paths starting with > > > "/org/freedesktop/NetworkManager/Devices/" and an interface of > > >

Re: signal for interface up/down

2016-06-24 Thread Dan Williams
On Fri, 2016-06-24 at 20:42 +0200, Michael Hirmke wrote: > Hi Thomas, > > > > > On Fri, 2016-06-24 at 11:56 +0200, Michael Hirmke wrote: > > > > > > Hi *, > > > > > > I'm about to write a script, which should do some actions in a > > > user > > > context, whenever an interface is getting

Re: [PATCH v2 2/2] Clear WiFi requested_scan if suppl exits

2016-06-23 Thread Dan Williams
On Thu, 2016-06-16 at 15:07 -0400, Tony Espy wrote: > It's possible for wpa_supplicant to exit with an > outstanding requested_scan pending.  This can lead > to a stall condition where scanning no longer occurs. > > Gbp-Pq: Name Clear-WiFi-requested_scan-if-suppl-exits.patch > --- >  

Re: [PATCH v2 1/2] Clear WiFi requested_scan if suppl goes INACTIVE

2016-06-23 Thread Dan Williams
On Thu, 2016-06-16 at 15:07 -0400, Tony Espy wrote: > It's possible for wpa_supplicant to transition to INACTIVE > state with an outstanding requested_scan pending.  This can > lead to a stall condition where scanning no longer occurs. > > Gbp-Pq: Name

Re: [PATCH v2 2/9] Ignore rild modem devices.

2016-06-14 Thread Dan Williams
On Fri, 2016-06-10 at 17:56 -0400, Tony Espy wrote: > From: Mathieu Trudel-Lapierre > > Gbp-Pq: Name Ignore-rild-modem-devices.patch > --- >  src/nm-manager.c | 8 >  1 file changed, 8 insertions(+) > > diff --git a/src/nm-manager.c

Re: [PATCH v2 0/9] ofono/wwan modem support

2016-06-13 Thread Dan Williams
On Mon, 2016-06-13 at 18:51 +0200, Thomas Haller wrote: > On Fri, 2016-06-10 at 17:56 -0400, Tony Espy wrote: > > > > The following patches add ofono modem/wwan support > > to NetworkManager.  These patches are based on the > > latest stable 1.2.2 release. > > > > One caveat is that these

Re: [PATCH v2 1/9] Check at runtime whether to start ModemManager

2016-06-13 Thread Dan Williams
On Fri, 2016-06-10 at 17:56 -0400, Tony Espy wrote: > From: Didier Raboud > > This makes NetworkManager use runtime detection to manage the > ModemManager lifecycle when not run by systemd. Under systemd, we > expect > the ModemManager service to be started by systemd, under

Re: NM can't see WEP access point

2016-06-10 Thread Dan Williams
On Fri, 2016-06-10 at 17:30 +0200, Bastien Nocera wrote: > On Fri, 2016-06-10 at 10:11 -0500, Dan Williams wrote: > > > > > > > > > Jouni confirmed that there is a bug in the supplicant.  The > > commit ce8963fc9f197771cd51ba2834fbdf711189641a ('Remove >

Re: NM can't see WEP access point

2016-06-10 Thread Dan Williams
On Thu, 2016-06-09 at 16:47 -0500, Dan Williams wrote: > On Thu, 2016-06-09 at 17:28 +0200, Bastien Nocera wrote: > > > > On Thu, 2016-06-09 at 10:23 -0500, Dan Williams wrote: > > > > > > > > > On Thu, 2016-06-09 at 17:13 +0200, Bastien Nocera wrote:

Re: NM can't see WEP access point

2016-06-09 Thread Dan Williams
On Thu, 2016-06-09 at 17:28 +0200, Bastien Nocera wrote: > On Thu, 2016-06-09 at 10:23 -0500, Dan Williams wrote: > > > > On Thu, 2016-06-09 at 17:13 +0200, Bastien Nocera wrote: > > > > > > On Thu, 2016-06-09 a

Re: NM can't see WEP access point

2016-06-09 Thread Dan Williams
On Thu, 2016-06-09 at 17:13 +0200, Bastien Nocera wrote: > On Thu, 2016-06-09 at 10:00 -0500, Dan Williams wrote: > > > > > > > > > So I missed it before.  But your AP isn't actually set for WEP, > > it's > > set for WPA/TKIP.  If it's actu

Re: NM can't see WEP access point

2016-06-09 Thread Dan Williams
On Thu, 2016-06-09 at 15:34 +0200, Bastien Nocera wrote: > On Tue, 2016-06-07 at 19:13 +0200, Bastien Nocera wrote: > > > > On Tue, 2016-06-07 at 09:58 -0500, Dan Williams wrote: > > > > > > On Tue, 2016-06-07 at 16:09 +0200, Bastien Nocera wrote: > > &g

Re: [PATCH 8/9] Track killswitch change signals from urfkill

2016-06-08 Thread Dan Williams
On Wed, 2016-06-08 at 16:20 -0400, Tony Espy wrote: > From: Mathieu Trudel-Lapierre > > ... Also do that rather than resetting the killswitch to the NM saved > WirelessEnabled state if urfkill support is enabled. > > Gbp-Pq: Name

Re: [PATCH 2/9] Ignore p2p wifi devices from android

2016-06-08 Thread Dan Williams
On Wed, 2016-06-08 at 16:20 -0400, Tony Espy wrote: > This patch causes NMManager to ignore any p2p WiFi > devices exposed by Android WiFi drivers. > > Bug-Ubuntu: https://bugs.launchpad.net/bugs/1099983 > > Gbp-Pq: Name Ignore-p2p-wifi-devices-from-android.patch > --- >  src/nm-manager.c | 11

Re: [PATCH 1/9] Ignore rild modem devices.

2016-06-08 Thread Dan Williams
On Wed, 2016-06-08 at 16:20 -0400, Tony Espy wrote: > From: Mathieu Trudel-Lapierre > > Gbp-Pq: Name Ignore-rild-modem-devices.patch > --- >  src/nm-manager.c | 8 >  1 file changed, 8 insertions(+) > > diff --git a/src/nm-manager.c

Re: [PATCH 2/2] Clear WiFi requested_scan if suppl exits

2016-06-08 Thread Dan Williams
On Wed, 2016-06-08 at 16:24 -0400, Tony Espy wrote: > It's possible for wpa_supplicant to exit with an > outstanding requested_scan pending.  This can lead > to a stall condition where scanning no longer occurs. Oh, I see the fixup for cancel_pending_scan() now :)  That should go in the last

Re: NetworkManager WiFi AP Mode

2016-06-08 Thread Dan Williams
the supplicant itself (or hostapd) is what actually makes AP mode work.  So you need to make sure wpa_supplicant is built with CONFIG_AP=y too. Dan > On Jun 7, 2016 2:13 PM, "Dan Williams" <d...@redhat.com> wrote: > > > > > On Tue, 2016-06-07 at 13:00 -0700,

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: Fwd: How to get GPS NMEA in C from ModemManager?

2016-06-07 Thread Dan Williams
n also run synchronously and not require an external event loop. Dan > On Tue, Jun 7, 2016 at 2:10 PM, Dan Williams <d...@redhat.com> wrote: > > > > > On Tue, 2016-06-07 at 13:40 -0700, serena dadak wrote: > > > > > > hello there > > > > &

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: 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

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 ___

Re: NetworkManager WiFi AP Mode

2016-06-07 Thread Dan Williams
dr 5c:31:3e:ce:be:5b >   UP BROADCAST MULTICAST  MTU:1500  Metric:1 >   RX packets:0 errors:0 dropped:0 overruns:0 frame:0 >   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 >   collisions:0 txqueuelen:1000 >   RX bytes:0 (0.0 B)  TX bytes:

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: NetworkManager WiFi AP Mode

2016-06-06 Thread Dan Williams
> Error: Connection activation failed: No suitable device found for > this > connection. > > > Thanks! > > > On Mon, Jun 6, 2016 at 9:17 AM, Dan Williams <d...@redhat.com> wrote: > > > > > On Fri, 2016-06-03 at 13:49 -0700, Ali Nematollahi wrote

Re: NetworkManager WiFi AP Mode

2016-06-06 Thread Dan Williams
gt; ipconfig to assign an IP to the interface manually? What about SSID > broadcast? No, you shouldn't need to do that.  It looks like NM isn't starting the AP connection at all.  Could you run: nmcli -f all dev show wlan0 | grep AVAIL and let's see what connections/profiles NM things the w

Re: NetworkManager WiFi AP Mode

2016-06-03 Thread Dan Williams
On Thu, 2016-06-02 at 15:03 -0700, Ali Nematollahi wrote: > Hi guys > > I'm trying to use NM to start a WiFi AP mode. I've had some success > but a > big portion of the process is very unclear to me and I'm hoping to > get some > help. > > So I have this NM configuration: > > # cat Hotspot >

Re: [RFC PATCH 1/1] supplicant: request ACS if channel==0

2016-05-27 Thread Dan Williams
On Fri, 2016-05-27 at 18:12 +0200, Ulrich Ölmann wrote: > By analogy to wpa_supplicant.conf Automatic Channel Selection (ACS) > is coded as > "channel=0" within a connection. wpa_supplicant then needs to know if > it shall > look out for a channel in the 2.4 GHz or the 5 GHz band. This >

Re: RFC: NetworkManager Device Statistics

2016-05-26 Thread Dan Williams
On Thu, 2016-05-26 at 07:53 +0200, Alfonso Sanchez-Beato wrote: > On Thu, May 26, 2016 at 1:44 AM, Tony Espy <e...@canonical.com> > wrote: > > > > > On 05/25/2016 12:45 PM, Dan Williams wrote: > > > > > > > > On

Re: [vpn-plugins] don't maintain a separate stable branch nm-1-2 yet

2016-05-26 Thread Dan Williams
On Wed, 2016-05-25 at 17:23 +0200, Thomas Haller wrote: > Hi, > > > See https://git.gnome.org/browse/network-manager-openvpn/commit/?h=th > /no-upstream-1-2-yet > > Quote: > > > Merge the stable branch 'nm-1-2' into master > > And don't

Re: RFC: NetworkManager Device Statistics

2016-05-25 Thread Dan Williams
On Wed, 2016-05-25 at 18:10 +0200, Thomas Haller wrote: > On Tue, 2016-05-24 at 12:51 -0400, Tony Espy wrote: > > > > We have a new requirement to add a data activity indicator to > > Ubuntu  > > Touch for certification in certain markets. > > > > We've had some internal debate about whether or

Re: How to activate MAC address randomization?

2016-05-25 Thread Dan Williams
On Wed, 2016-05-18 at 21:10 -0400, Chris Laprise wrote: > > On 05/18/2016 02:25 PM, Dan Williams wrote: > > > > > > Randomization happens in the supplicant, and the supplicant also > > controls scanning.  If randomization is enabled, the supplicant > > wi

Re: new problems with connecting with an LTE modem

2016-05-20 Thread Dan Williams
ol and see if that changes anything. Dan > I'm wondering if the modem gets half way through getting configured > and  > making the connection with another, perhaps new, mechanism and now  > trying to go through the process twice is what is making it not work. > > On 20/May/16 6:21 pm

Re: How to activate MAC address randomization?

2016-05-20 Thread Dan Williams
On Fri, 2016-05-20 at 19:03 +0200, poma wrote: > On 19.05.2016 12:22, Thomas Haller wrote: > > > > On Thu, 2016-05-19 at 01:41 +0200, poma wrote: > > > > > > On 18.05.2016 16:49, Thomas Haller wrote: > > > > > > > >   > > > I actually have a question for you, and Lubo; > > > > > > In the

Re: [PATCH] Fix icon name for mobile in indicator-mode applet

2016-05-20 Thread Dan Williams
On Fri, 2016-05-20 at 11:22 -0400, Mathieu Trudel-Lapierre wrote: > Hi, > > In Ubuntu we noticed that the applet indicator didn't correctly get > an icon > when mobile data was connected, instead, one would see the last used > icon > (so, probably "no connection"). > > The attached patch should

Re: new problems with connecting with an LTE modem

2016-05-20 Thread Dan Williams
On Fri, 2016-05-20 at 16:10 +0200, Bhima wrote: > Hi Guys! > > I'm having problems with a Sierra MC7710 LTE modem, running in a > Soekris  > Net6501, after a recent update to Ubuntu 16.04 to the 4.4.0-22- > generic  > kernel.  For the past few years I've been using the qmi-network > helper  >

Re: How to activate MAC address randomization?

2016-05-18 Thread Dan Williams
5.2016 23:07, Chris Laprise wrote: > > > > > > > > > > On 05/16/2016 12:03 PM, poma wrote: > > > > > > > > > > > > On 13.05.2016 00:16, Dan Williams wrote: > > > > > > > > > > > > > &g

Re: How to activate MAC address randomization?

2016-05-12 Thread Dan Williams
On Fri, 2016-04-29 at 16:09 -0400, Chris Laprise wrote: > Hi, > > I just installed NetworkManager 1.2 in fedora 23 in the hopes that I > can  > get mac randomization working. Only problem is there's no sign of a  > setting for this in nmcli or the applet. I found a reference to a  > setting on

Re: How to configure NetworkManager to use DUID-LL type with dhclient?

2016-05-12 Thread Dan Williams
On Mon, 2016-05-09 at 14:23 -0300, Jorge L. Corrêa wrote: > Hi, I've been looking for information about how to configure network > manager to pass parameters to dhclient. The goal is use dhclient with > "-D LL" (use DUID-LL as default type of DUID generation). I can see > that NetworkManager is

Re: NM changes DHCP address too easily

2016-04-22 Thread Dan Williams
On Fri, 2016-04-22 at 16:40 +0300, matti kaasinen wrote: > 2016-04-22 16:12 GMT+03:00 Beniamino Galvani : > > > > > Do you mean that the board is getting a different address at every > > boot? In order to reuse the same lease, a persistent connection > > must > > be used

WPA Enterprise WiFi testing with freeradius

2016-04-19 Thread Dan Williams
Hi, The following is a brain-dump of what I've been using to test all the WPA Enterprise stuff using freeradius. 1) install freeradius 3.0 or higher 2) in /etc/raddb/certs there is a 'bootstrap' script.  You can use this to generate testing certificates for the CA and the RADIUS server.  It

Re: howto keep always ipv4ll address

2016-04-15 Thread Dan Williams
On Fri, 2016-04-15 at 18:22 +0200, Thomas Haller wrote: > On Fri, 2016-04-15 at 13:36 +0300, matti kaasinen wrote: > > > > Hi! > > > > Is there way to tell NM (v.0.9.8.10) not to drop ipv4ll address = > > eth0:avahi interface. > I don't think that is possible. To clarify, not possible on NM

Re: Allow Single connection only via networkmanager-openvpn (reuse tun0?)

2016-04-15 Thread Dan Williams
On Fri, 2016-04-15 at 15:24 +0200, Dave Conroy wrote: > You are right, a Pre Activaition would solve the issue. I spent the > past > 2 hours working with the pre-up and vpn-up statuses and found that > the > tun0 device wouldn't release properly as the openvpn binary is > launched > before the

Re: Trouble with network-manager 1.1.93-1 and dnsmasq

2016-04-12 Thread Dan Williams
On Tue, 2016-04-12 at 14:49 +0200, Leandro sullo sgorbio wrote: > Ciao a tutti, > > I have a laptop with debian unstable amd64 with network-manager > (version > 1.1.93-1) acting incorrectly with a server with dnsmasq (version > 2.72-3 > +deb8u) from debian stable) doing dhcp and dns. > > In my

Re: Connecting as first node on mesh

2016-04-06 Thread Dan Williams
On Tue, 2016-04-05 at 15:22 -0400, Stuart Gathman wrote: > I have been playing with making mesh connections friendly in NM.  > Joining a wifi mesh works well - the SSID shows up, and you can click > on > it or have it auto-connect.  The network is configured as ad-hoc, no > IP4, noIP6, and I

Re: on manual configuration / respecting user made changes

2016-04-06 Thread Dan Williams
On Wed, 2016-04-06 at 12:13 +0200, Xen wrote: > Dan Williams schreef op 05-04-16 19:47: > > > > On Tue, 2016-04-05 at 10:53 +0200, Xen wrote: > > > > > > Question: > > > > > > Currently when NM manages a link/device (say eth0) any attempt

Re: statically address wifi interface without an SSID

2016-04-04 Thread Dan Williams
On Mon, 2016-04-04 at 14:07 -0500, Matt Zagrabelny wrote: > Hey Dan, > > On Mon, Apr 4, 2016 at 1:54 PM, Dan Williams <d...@redhat.com> wrote: > > > > On Mon, 2016-04-04 at 11:47 -0500, Matt Zagrabelny wrote: > > > > > > Greetings, > > >

Re: Wifi Hotspot configuration.

2016-03-28 Thread Dan Williams
On Sun, 2016-03-27 at 11:22 +0200, Thomas Haller wrote: > On Sat, 2016-03-26 at 17:53 +0100, devops036 devops036 wrote: > > > > Hi, > > > > I recently installed a home server under CentOS 7. > > I wanted to use it as a Wifi Hotspot. > > I tried to activate this feature at the command line

Re: validation of JSON

2016-03-23 Thread Dan Williams
On Wed, 2016-03-23 at 13:48 +0100, Roeland Jansen wrote: > all, > > > > recently I was busy with nmcli creating teams and got this when > bringing up > the interface:: > > > Error: Connection activation failed: Active connection removed before > it > was initialized > > caused by > > nmcli

Re: ip configuration over dbus

2016-03-19 Thread Dan Williams
On Thu, 2016-03-17 at 17:02 +0200, matti kaasinen wrote: > Hi! > > I try to configure IP settings over dbus. It seems that this is not > possible over org.freedesktop.NetworkManager.IP4Config. I noticed > that IP4 > configuration functions are found from libnm-util/nm-setting-ip4- > config.c. >

<    1   2   3   4   5   6   7   8   9   10   >