54 questions
0
votes
2
answers
93
views
Error connecting to WiFi using connman on a IMX8mp board
I have an IMX8MP board running a Yocto Poky build image. It's running a small HTTP server in order for a user to input an SSID_NAME and a PASSPHRASE. Once the server receives those, I want to connect ...
0
votes
0
answers
44
views
I tried to register agent to connect with private network but not working [DBUS-CONNMAN-DART]
static Future<void> RegisterAgent(DBusObjectPath path) async {
var introspectable = OrgFreedesktopDBusIntrospectable(dbus, 'net.connman', DBusObjectPath('/'));
try {
await ...
0
votes
0
answers
64
views
Connect wifi service with dbus-native
I am working on a project in the Node.js environment that via dbus-native interfaces with Connman. What I need to do is create some code that allows it to connect to a secure wifi network. I went to ...
0
votes
0
answers
61
views
Connman wireless access point - notification on failed connection
We are currently setting up a Wireless access-point in our device using connman, with out own connman agent (implemented in C++) providing passphrase and SSID. This works quite well. What I'm ...
1
vote
1
answer
185
views
Duplicate wifi services
I am using Connman on a Yocto embedded linux distribution. When I run connmanctl services I see a list of my wifi services. However, I see 2 services for each one...
connmanctl> services
my-access-...
0
votes
1
answer
557
views
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 ...
0
votes
0
answers
95
views
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 ...
1
vote
1
answer
1k
views
Yocto makes DHCP request when configured with static IP
I recently took over a project, where a linux image is built with yocto. I updated the layer references to the newest version in dunfell (they were stuck in november 2020) and implemented the ...
0
votes
1
answer
668
views
Connect to the WPA2 WiFi network using C++ DBus Connman
Is it possible to connect to the protected network by its's SSID and password using C++ DBus library?
I could not find any similar code examples over the internet. I want to do something very similar ...
0
votes
1
answer
757
views
How to pass a DBus variant to Qt's QDBusInterface::call
I am trying to send the following message to Connman over Qt 5.12's DBus API:
dbus-send --system --print-reply --dest=net.connman / net.connman.Manager.SetProperty string:"OfflineMode" ...
0
votes
1
answer
476
views
Catching and responding to the Connman 'RequestInput' method call with QtDBus
I'm building a simple Qt-based application for monitoring and connecting to WiFi networks. I'm interfacing with Connman via its D-Bus APIs, and am able to scan for available networks, turn on/off ...
1
vote
1
answer
65
views
Simplest way to host a static webpage in AWS with a single case-sensitive response header
I'm trying to create a simple webpage for a ConnMan connectivity check from some embedded devices. This library is very finicky about certain things.
The body must be: <html>\n<head>\n</...
-1
votes
1
answer
154
views
connman network instability
I posted to [email protected], but it bounced back that email list could not be delivered. What is going on with connman mailing list? Is it still active?
I am running connman version 1.37, it ...
3
votes
0
answers
868
views
Connman does not seem to start a DHCP server
I am creating a USB gadget with Yocto, which loads the gadget kernel modules and is recognized by my host as a network interface (usb0). On the gadget, I have connman installed and running. I am using ...
0
votes
1
answer
411
views
finding network connection type using the library connman (connection manager) and function connman_service_get_type
I want to write a c code to display the network connection type in ubuntu.I found a library called connman (connection manager) and also i got a function connman_service_get_type for getting the ...
0
votes
2
answers
876
views
Dubs Connman wifi connect Qt
I'am working on an imx6, and i'am trying to connect to a wifi network through Dbus with a Qt application.
The application connect correctly to connman via Dbus and i recieve correctly the wifi ...
1
vote
1
answer
425
views
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 ...
4
votes
1
answer
2k
views
Accessing iwd dbus interface from python
I am trying to use python3 dbus package to control wireless on an embedded Linux target (mips MT7628, if it matters).
System is most likely set up correctly because I have iwd + dhclient up-and-...
0
votes
0
answers
393
views
Switching WiFi connection fails with dbus timeout
When we try to switch wifi network through the sd_bus_call_method(...) interface the call fails with a dbus timeout message. First disconnecting from the current wifi and connecting does work however ...
0
votes
1
answer
901
views
Connect to connman service using the first field rather than the second
Given the following table
$ connmanctl services
*AO MyNetwork wifi_dc85de828967_68756773616d_managed_psk
OtherNET wifi_dc85de828967_38303944616e69656c73_managed_psk
...
-1
votes
1
answer
342
views
I programmatically need to notice when connman has processed its config file (and has set an IP or not)
How can I wait in my user space program until connman has finished the network configuration on Linux booting? (Unfortunately, this is not Wants=connman.service.)
After systemd service connman is up, ...
2
votes
1
answer
3k
views
Using 'connmanctl config' to set static IP without wired connection
I am currently using 'connmanctl config' to set static and DHCP settings with a wired connection. I'm curious if anyone has been successful with applying settings with the wire unplugged?
I would ...
0
votes
1
answer
1k
views
g_signal_connect on proxy handler results in callback GVariant * data uninitialized
I'm pretty much following the example on https://www.freedesktop.org/software/gstreamer-sdk/data/docs/latest/gio/GDBusProxy.html in order to set up Connman signal callbacks on dbus, however in my ...
-2
votes
1
answer
1k
views
DHCP server does not include NTP server addresses in the DHCP ACK message
I am capturing DHCP packets with tcpdump. The client sends a DHCP request asking for the DHCP configuration which contains a request for NTP servers but in the DHCP ACK message sent by the router ...
-1
votes
1
answer
2k
views
why connman ipv4 settings are having dhcp by default
I am using yocto rocko for my board
I was setting static ip using rc.local at startup .But after some time ip gets changed.
So i found that following file is culprit
/var/lib/connman/ethernet_*_cable/...
-1
votes
1
answer
752
views
connmand add and removing routes
I have a connman daemon running on arm busybox linux with connman managing its networking.
Also I have ipsec tunnel to a private network.
My problem is connman keeping deleting and add routings of ...
0
votes
1
answer
1k
views
eth0 interface doesn't connect if the cable is plugged after the boot
I have a C# .net application running in my own embedded custom linux distro generated by buildroot tool, my hardware is a FriendlyArm4412. I use eth0 interfaces to connect my application to the ...
1
vote
1
answer
2k
views
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 ...
1
vote
1
answer
3k
views
How to parse "a(oa{sv})" dbus type?
I am parsing the response to "net.connman.Manager.GetServices" function, which looks like this:
<method name="GetServices">
<arg name="services" type="a(oa{sv})" direction="out"/>
<...
0
votes
1
answer
2k
views
Trouble connecting with Connman using dbus, but only the first time
I've been trying to use various Python libraries for working with Connman and the dbus, particularly this sample code:
https://github.com/liamw9534/pyconnman/blob/master/demo/demo.py
The problem I ...
0
votes
1
answer
726
views
connmanctl command(RegisterAgent) is not working via dbus
I can connect to open wifi via "connmanctl" using dbus via Qt,. I would like to connect secured wife using connmanctl via dbus. there is an API to regiser an agent( interactive mode, to enter ...
0
votes
1
answer
1k
views
libconnman-qt connect to wifi
Hi currently I am working on project that require to connect to wifi and I am using libconnman-qt.
Everything goes well (enable/disable wifi, list of wifi), until I found a problem to connect to the ...
7
votes
1
answer
9k
views
How to set DHCP using connman for ethernet network
I usually used connman to set static IP to my beaglebone hardware using below command:
connmanctl config ethernet_985dad375f63_cable --ipv4 manual 192.168.1.101 255.255.255.0 192.168.1.1
How do I set ...
1
vote
1
answer
393
views
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 ...
1
vote
2
answers
2k
views
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 ...
3
votes
0
answers
2k
views
Connman dbus, connect to protected wifi networks
I wanted to connect to a wifi protected network using connman dbus service. I could able to connect to open networks using dbus-send commands, but for protected network, I cant connect directly, and I ...
6
votes
1
answer
797
views
Clojure establishing multiple database connections
We have a Clojure web application that is used by multiple projects (>20) that have multiple users logging in simultaneously. All projects have their own MySQL database. We have tried to figure out a ...
2
votes
1
answer
3k
views
connman Connect to Service: DBus UnknownMethod
I wrote a simple Python script to register an Agent and to connect to a connman Service:
#!/usr/bin/python
import gobject
import dbus
import dbus.service
import dbus.mainloop.glib
class Agent(dbus....
12
votes
0
answers
2k
views
Connman without any user interaction
I'm trying to use Connman to manage the WiFi connection of my embedded system because it handles automagically any type of protection.
In interactive mode it's very simple:
connmanctl
agent on
scan ...
1
vote
1
answer
1k
views
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 ...
1
vote
1
answer
508
views
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 ...
2
votes
1
answer
4k
views
How to set ethernet interface MAC address with connman
I have an embedded system that requires me to pull a MAC address out of flash and pass it to the Ethernet interface at the time it is brought up. Traditionally I have modified the call to ifconfig in ...
0
votes
2
answers
2k
views
How to include recipe for another image in Yocto
I would like to include the following recipe in a non quemu image through a bbappend file. How do I override the
SRC_URI_append_quemuall?
https://github.com/ExorEmbedded/yocto-poky/blob/exorint/meta/...
6
votes
4
answers
26k
views
How to set static IP address using connman for wifi network
I'm trying to set a static IP(manual, no dhcp) address for wifi network using connmanctl. I'm running angstrom linux.
I get the following:
connmanctl
connmanctl> config wifi_"HASH"_managed_psk --...
0
votes
1
answer
3k
views
Enable Bluetooth Adapter for BeagleBone Black
I recently bought a USB 2.0 Bluetooth Adapter. It claims to have support from Linux kernels of versions 3.4 and higher. I have a BeagleBone Black with Debian GNU/Linux 7 image and kernel 3.8. I am ...
1
vote
1
answer
2k
views
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):...
1
vote
1
answer
1k
views
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 = ...
1
vote
1
answer
849
views
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:
...
1
vote
1
answer
428
views
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 ...
3
votes
3
answers
4k
views
Wait for connman to finish configuring the network in a sytemd system
Is there any way to configure a systemd service (e.g. serviceX) to wait for the connmand service to finish configuring network interfaces prior to serviceX running ? From what I understand of systemd, ...