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
0
votes
0 answers

Successfully initialized wpa_supplicant but does’t work

I'm going mad with a stupid issue I can't solve. During the testing of my Yocto project I always used connmactl in order to connect my board to the internet. Now I am going to release the product but before releasing I am working on an “internet…
Merlin
  • 11
  • 2
0
votes
0 answers

RequestInput not being Invoked Qt Dbus using connman.service

I am trying to programmatically connect to a wireless network using the connman.service dbus interface. When I call the connect method my "RequestInput" method is not being invoked. I followed the solution provided by this question: Catching and…
0
votes
1 answer

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 necessary changes. Since then I have problems setting a…
Jeanot Zubler
  • 979
  • 2
  • 18
0
votes
1 answer

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 to this, but preferably in C++, and without using…
Alvov1
  • 157
  • 1
  • 2
  • 10
0
votes
1 answer

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" variant:boolean:true As seen, the SetProperty method takes a…
Logan
  • 181
  • 1
  • 10
0
votes
1 answer

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 technologies and register an agent as expected. I'm…
jars121
  • 1,127
  • 2
  • 20
  • 35
0
votes
1 answer

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 connection type. But i don't get how to use that…
0
votes
2 answers

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 services. The problem is that when i try to connect to a…
0
votes
0 answers

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 so it does not appear to be an issue with how we…
0
votes
1 answer

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 AnotherOne …
Enlico
  • 23,259
  • 6
  • 48
  • 102
0
votes
1 answer

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 callback function: g_signal_connect( …
Tyler Cox
  • 117
  • 1
  • 10
0
votes
1 answer

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 internet without any problem. The problem is: If I…
0
votes
1 answer

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 have is that when connecting to a WPA2 access point…
Andrew Langley
  • 41
  • 1
  • 10
0
votes
0 answers

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 passphrase) called "RegisterAgent(object path)" , In…
Ashif
  • 1,652
  • 14
  • 30
0
votes
1 answer

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 wifi. So when I connect the service to wifi by…
Apin
  • 2,558
  • 2
  • 21
  • 36