Questions tagged [connman]

Internet connections manager for Linux

The ConnMan project provides a daemon for managing internet connections within embedded devices running the Linux operating system. For more information see the project page.

53 questions
1
vote
1 answer

What is the right way to register RequestInput function to ConnMan?

I'm implementing C application which should be capable of connecting to external Wi-Fi protected access points using ConnMan via GDbus. So far I dig up that the Agent must be registered with RequestInput callback on "net.connman.Agent" interface in…
1
vote
1 answer

Setting WiFi on Linux platforms using wpa_supplicant vs connmanctl?

I have observed some linux distribution have /etc/wpa_supplicant/wpa_supplicant.conf which can be configured to setup WiFi. On the other hand some distributions have connmanctl utility/tool. Where we have /var/lib/connman/-psk.config…
Tonu
  • 23
  • 5
1
vote
1 answer

How to parse "a(oa{sv})" dbus type?

I am parsing the response to "net.connman.Manager.GetServices" function, which looks like this: which is quite complex structure. What I got so far is…
BЈовић
  • 62,405
  • 41
  • 173
  • 273
1
vote
1 answer

Connman agent RequestInput loop

I am implementing a connman DBUS client using glib. I've implemented net.connman.Agent DBUS server. But when I try to connect to some net.connman.Service the method RequestInput of my Agent is called again and again and again... with the same…
xXx_CodeMonkey_xXx
  • 800
  • 1
  • 7
  • 14
1
vote
2 answers

Issue with connmactl in beaglebone green wireless

I have connected my beaglebone green wireless to internet with connmactl but i have to do this to achieve it. ubuntu@arm:~$ connmanctl Error getting VPN connections: The name net.connman.vpn was not provided by any connmanctl> disable wifi Disabled…
1
vote
1 answer

Connman switch back to prefered network when back online

I would like to use ConnMan in an embedded system. It seems that it provides most of the features I'm looking for including 3G and VPN management. But after some research it seems that there is maybe one missing point in it. Let say I have the…
Florent
  • 131
  • 6
1
vote
1 answer

Channel configuration in connman

I am trying to establish a Wi-Fi access point. I tried using hostapd and connman. In hostapd I am able to configure channel number in hostapd.conf, whereas in the case of connman there is no parameter available to configure channel in main.conf. I…
Nerdy
  • 1,016
  • 2
  • 11
  • 27
1
vote
1 answer

connman network manager in enlightenment

I am able to install Enlightenment on Ubuntu 14.04 as well as Connman network manager but unable to start EConnman in Enligntenment. It returns with following error: Traceback (most recent call last): File "/usr/local/bin/econnman-bin", line 45,…
arshpreet
  • 679
  • 2
  • 11
  • 27
1
vote
1 answer

Node dbus-native - Passing Passphrase while connecting to WiFi service using connMan

Hi I have been having this problem for the last couple of days, while trying to connect to a protected WiFi network using dbus. So the code I have developed so far is: Register Agent var dbus = require('dbus-native'); var bus =…
Philip
  • 11
  • 2
1
vote
1 answer

ConnMan running from within the source code repository

I have just cloned the ConnMan repo from http://git.kernel.org/cgit/network/connman/connman.git/ and followed the instructions from the HACKING text file. Basically I've issued the following commands: # ./bootstrap-configure # make According to the…
adrian.nicolau
  • 516
  • 7
  • 17
1
vote
1 answer

Backing up connman settings on linux

I am tasked to do backup and restore for networking settings on linux which uses ConnMan. Is it possible for me to do so by copying settings inside /var/lib/connman and place them in the same folder when doing restore? If not, any suggestion that I…
Nur
  • 111
  • 2
  • 12
1
vote
1 answer

Saving Session data in a log file in Gnome-connection-manager

I am using Gnome-connection-manager on my ubuntu system. Earlier i used to have putty for windows where I was able to log all the session data to a text file. This was done by going to path session->logging and selecting All session output. After…
0
votes
0 answers

Use constant IPv4LL (link-local) address in "dhcp" mode

Situation: I'm using ConnMan 1.41 on an embedded device. The interface configuration looks as follows: [ethernet_deadbeefcafe_cable] Name=Wired AutoConnect=true IPv4.method=auto IPv6.method=auto IPv6.privacy=disabled DHCP works. When there is no…
Mo_
  • 13
  • 4
0
votes
1 answer

Agent interface methods won't be called when connecting to the protected network in DBus

I am developing an application to connect to secure WiFi networks using the Connman DBus API. I have read that I need to register an object that implements the net.connman.Agent interface so that DBus can call my methods. So far I've been able to do…
Alvov1
  • 157
  • 1
  • 2
  • 10
0
votes
0 answers

How to perform a connectivity check without HTTP

At the moment our IOT device use the connman for our network connection. Connman periodically makes a connectivity check over HTTP. Now, we are not allowed to use HTTP anymore. Do you have any advice on how to perform connectivity checks? We need to…
Tobias
  • 812
  • 4
  • 7