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
15
votes
1 answer

What does RTNL mean?

I am looking at the Connection Manager (ConnMan) source code, which is a tool for Linux(-like) systems to manage networks. One of the (undocumented) source files has the vague naming rtnl.c. Does anybody know, what is meant with RTNL? Googling for…
erikbstack
  • 12,878
  • 21
  • 81
  • 115
10
votes
0 answers

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 wifi services connect enter password if…
Mark
  • 4,338
  • 7
  • 58
  • 120
6
votes
1 answer

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 beaglebone back to its dhcp configuration using…
6
votes
1 answer

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 way to use one application instance to serve…
Dr Ljotsson
  • 462
  • 1
  • 4
  • 14
6
votes
4 answers

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 --ipv4 manual 192.168.10.2 255.255.255.0…
4
votes
1 answer

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-running on this embedded target. I can connect through…
ZioByte
  • 2,690
  • 1
  • 32
  • 68
3
votes
0 answers

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 the default configuration (no…
JonasVautherin
  • 7,297
  • 6
  • 49
  • 95
3
votes
0 answers

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 tried registering agent with the path…
3
votes
3 answers

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, using or relying on the network.target is…
Alex Marshall
  • 10,162
  • 15
  • 72
  • 117
3
votes
0 answers

Detecting cellular network using connman

I am using connman as my network manager. i have plugin a Airtel LTE(Huawei E-382) dongle to my system(ubuntu 12.04).It is working perfectly fine and output of ifconfig showing eth0, wlan0 and ppp0(for this dongle) as interfaces. but while listing…
prashant
  • 59
  • 7
2
votes
1 answer

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 typically use 'connmanctl services' for a list of…
2
votes
1 answer

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.service.Object): …
Mark
  • 4,338
  • 7
  • 58
  • 120
2
votes
1 answer

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 an init script to just pass the MAC pulled out of…
Joe
  • 7,378
  • 4
  • 37
  • 54
1
vote
1 answer

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-point wifi_02 my-access-point…
Logan
  • 181
  • 1
  • 10
1
vote
1 answer

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: \n\n\n\n\n\n If anything, even the…
1
2 3 4