You are not logged in.

#1 2018-09-29 21:08:52

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

connman hooks?

I have to change over to connman (was using NetworkManager and prior to that netctl) as I'm experimenting with wds so I can miracast to a smart TV, and wds requires connman.

Connecting to networks isn't hard, but I'm not sure how to duplicate netctl's hooks/interfaces (which run scripts on networking going up/down or for various interfaces) or Networkmanager-dispatcher (which does the same in a more init.d style). There's a 5-year old project called connman-dispatcher[1], but surely something basic like this would be built-in?

[1] - https://github.com/a-sk/connman-dispatcher


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2 2018-09-30 00:37:49

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: connman hooks?

Why does WDS require conman?

Offline

#3 2018-09-30 07:54:00

seth
Member
Registered: 2012-09-03
Posts: 51,036

Re: connman hooks?

wds/sink and wds/desktop_source do, intel "vendor lock-in".
libwds itself doesn't.

Online

#4 2018-09-30 08:03:22

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: connman hooks?

It looks like it depends on the P2P API provided by connman, e.g. RegisterPeerService. I don't know if NetworkManager has any of that or how that can be achieved without it.

Edit: connman does not have an interface to run scripts, you have to listen to dbus events and react to those.

Edit: rsmarples, this is about Wireless Display Software for Linux OS (WDS), not Wireless Distribution System (WDS)

Last edited by progandy (2018-09-30 08:20:07)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2018-09-30 22:37:02

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: connman hooks?

progandy wrote:

Edit: connman does not have an interface to run scripts, you have to listen to dbus events and react to those.

Sigh, was afraid of that. Time to dig up my old network-monitoring scripts.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB