Connman hacking
3 Attachment(s)
On Sailfish there is this connman, so for me I heard it the first time. However it seems this is not the only place where connman is used.
Here is some info: https://01.org/connman https://wiki.archlinux.org/index.php/ConnMan http://www.embedded-computing.com/iot/the-connman Source code: https://git.merproject.org/mer-core/connman https://git.merproject.org/mer-core/libconnman-qt https://github.com/sailfishos/sailfi...lugin-iptables Example Internet connection through USB: https://together.jolla.com/question/...n-through-usb/ Looking through our forum I found these bt on and off dbus commands. https://talk.maemo.org/showpost.php?...33&postcount=4 And you can use the same for wifi and gps too. Just replace the stars with wifi, gps or bluetooth. on Code:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/*** net.connman.Technology.SetProperty string:"Powered" variant:boolean:true Code:
dbus-send --system --print-reply --dest=net.connman /net/connman/technology/*** net.connman.Technology.SetProperty string:"Powered" variant:boolean:false I looked in the cmst gui for connman and gave it a try. So it is a standard qt widget application so there is not so much to expect only problems and ugly look. But after a little tweeking it is working. I think partially so far I didn't test everything. So I removed the systray and replaced one combobox with listwidget. So it is worth to look into the source code from cmst if you are interested in connman. Will add my not fully tested experimental binary. Be aware that this app runs as root!!!! Maybe more to come in the future. |
Re: Connman hacking
Oh btw there is a mistake in one of the pictures :D
A small bug in the software. I used the January 2019 release. Who find it first can name it.:) Hint: for germans it is easier. |
Re: Connman hacking
Beenden -> Exit
|
Re: Connman hacking
Quote:
|
Re: Connman hacking
Quote:
Sicherheit = Security |
Re: Connman hacking
Quote:
I have seen only "Sicherheit" in the beginning. |
Re: Connman hacking
Ok here I found the iptables part:
https://github.com/sailfishos/sailfish-connman-plugin-iptables Still some info about dhcp is missing. The only thing what I could find is some qvariant map with networks settings including dhcp and dns. Maybe thats all I need, will see. void UtService::initTestCase() [1] https://git.merproject.org/mer-core/...ut_service.cpp |
Re: Connman hacking
Quote:
|
Re: Connman hacking
Quote:
|
Re: Connman hacking
deactiviert -> deactivated
|
All times are GMT. The time now is 02:52. |
vBulletin® Version 3.8.8