RE: Problem activating hotspot

2016-10-18 Thread Stéphane Boucher
Let's see if I finally tamed the outlook beast... :-( Simplified code. --snip--snip-- #if 0 ++ -g -std=c++11 -fPIC -o qtdbus_test qtdbus_test.cpp $(pkg-config --cflags --libs Qt5DBus) exec ./qtdbus_test #endif #include #include #define NM_DBUS_SERVICE "org.freedesktop.NetworkManager" #defin

RE: Problem activating hotspot

2016-10-18 Thread Stéphane Boucher
Sorry about the formatting. Looks like outlook took some liberties :-( Made it human readable again. 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 -Message d'origine- De : Sté

RE: Problem activating hotspot

2016-10-18 Thread Stéphane Boucher
Simplified code. --snip--snip-- #if 0 ++ -g -std=c++11 -fPIC -o qtdbus_test qtdbus_test.cpp $(pkg-config --cflags --libs Qt5DBus) exec ./qtdbus_test #endif #include #include #define NM_DBUS_SERVICE "org.freedesktop.NetworkManager" #define NM_DBUS_PATH "/org/freedesktop/NetworkManager" typede

RE: Problem activating hotspot

2016-10-18 Thread Stéphane Boucher
(Apologies for the top post... blame it on outlook) I added lines starting with # to indicate which call failed, and which succeeded. I'll try to get a code snippet. signal time=1476802044.025068 sender=org.freedesktop.DBus -> destination=:1.224 serial=2 path=/org/freedesktop/DBus; interface=

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 AddAndActivateCon

Problem activating hotspot

2016-10-18 Thread Stéphane Boucher
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 AddAndActivateConnection, I get the error: “A 'wireless' setting is required if no AP path