connman recognises available wifi but will not connect
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It looks as if there is something other than a driver in the way:
CONNMAN_SUPPLICANT_DEBUG=1 connmand -n -d
yields this:
Connection ":1.58" is not allowed to own the service "net.connman" due to security policies in the configuration file
My question is what configuration file? There is no connman main.conf file and the only active lines in wpa_supplicant.conf (except the wifi services) are:
Code:
#
ctrl_interface=/var/run/wpa_supplicant
# IEEE 802.1X/EAPOL version
eapol_version=1
# AP scanning/selection
ap_scan=1
# EAP fast re-authentication
fast_reauth=1
# Example configuration showing how to use an inlined blob as a CA certificate
blob-base64-exampleblob={
SGVsbG8gV29ybGQhCg==
}
Thanks, but there is not main.conf file there. It is optional and I have not created one, nor can I tell from the error message what it is I need to reset in a config file.
There is no such file. There is a settings file that records the current states, e.g., wifi enabled/disabled, and a folder for each wifi or ethernet connection profile. The wifi profiles have a non-ASCII data file and a settings file that store information such as SSID and passwords -- if one has successfully connected. Where there was no successful connection, no settings file is created.
Actually I was wrong above, the main configuration file is: /usr/local/etc/connman/main.conf -- and there is none on my machines, including the Mageia Cauldron machine where connman IS working.
I also erred in debugging. The result I listed in message #16 in this thread merely demonstrates my incompetence in debugging programs! It resulted from running the debug command as a normal user before stopping connman.service. I have since run it and the basic "connmand -d" debug command as root allowing the commands to start the service, and they show no errors.
I have also now stopped shorewall.service to see if a configuration there was blocking the connection as connman itself seems to be functioning correctly. Again, there was not effect.
Last edited by aguador; 11-10-2017 at 03:58 AM.
Reason: Added information
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.