Author Topic: Connman network manager GTK frontend  (Read 1146 times)

filip

  • Posts: 46
    • View Profile
    • GitLab
Connman network manager GTK frontend
« on: April 15, 2017, 08:57:08 PM »
As promised in the installer topic, I've pushed the connman-gtk to git, including debian packaging and a small patch allowing main window to be toggled by clicking the tray icon.



For details and more screenshots see: https://gitlab.com/Cofi/connman-gtk

Build instructions:

1. Clone & cd:
Code: [Select]
git clone https://gitlab.com/Cofi/connman-gtk.git && cd connman-gtk
2. Install build deps:
Code: [Select]
mk-build-deps --install ./debian/control      # if "mk-build-deps" is missing install "devscripts" package first
3. Build and install:
Code: [Select]
dpkg-buildpackage -j$(nproc)
Code: [Select]
cd ../ && sudo apt install ./connman-gtk_1.1.1-2_amd64.deb
Enjoy & god-forbid there be any issues, let me know!  :)


ozitraveller

  • Posts: 351
    • View Profile
    • Star
Re: Connman network manager GTK frontend
« Reply #1 on: April 19, 2017, 03:42:30 AM »
Awesome filip!

Like it!

Looks better than connman-ui

PackRat

  • Posts: 1795
    • View Profile
Re: Connman network manager GTK frontend
« Reply #2 on: April 19, 2017, 12:19:47 PM »
Looks good.

One item though, don't mean to nit-pick but on your git page you have:

Quote
Dependencies

  intltool
  GLib
 GTK >= 3.10

Shouldn't connman be on the list, this isn't a stand alone application is it?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

  • Posts: 1795
    • View Profile
Re: Connman network manager GTK frontend
« Reply #3 on: April 19, 2017, 12:59:16 PM »
Successfully compiled it on Void Linux.

Nice work.

I'll have to run connman for a while; much smaller memory footprint than NetworkManager or wicd.

Also seems to require root privleges to connect/roam with wireless. Will that be the case on Debian as well?
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

filip

  • Posts: 46
    • View Profile
    • GitLab
Re: Connman network manager GTK frontend
« Reply #4 on: April 19, 2017, 03:09:07 PM »
Awesome filip!

Like it!

Looks better than connman-ui

Thanks!

Indeed, it's awesome really. Looks good, stays out of the way and it's usable when needed.  :)

Btw, I haven't mentioned it here, I'm not the actual author.
I just packaged and patched it to enable window toggling from tray icon.

Looks good.

One item though, don't mean to nit-pick but on your git page you have:

Quote
Dependencies

  intltool
  GLib
 GTK >= 3.10

Shouldn't connman be on the list, this isn't a stand alone application is it?

Well, it should be, though it implies itself since it's a front-end for it ( not a stand alone )...
Anyhow, it's fixed now.  :)

Successfully compiled it on Void Linux.

Nice work.

I'll have to run connman for a while; much smaller memory footprint than NetworkManager or wicd.

Also seems to require root privleges to connect/roam with wireless. Will that be the case on Debian as well?

I'm using it for atleast 6 months and honestly have no idea it's even there. The damn thing JustWorks™.  :D

As to WiFI & root, I wouldn't know since I don't have a WiFi to test ( desktops on LAN all around ).
Though ( on Debian atleast ) I am finding it odd that the "connmanctl" command is installed in /usr/sbin ( thus requiring root privileges )...  ::)
For example, on Arch it goes to /usr/bin...

With that said, you may try to symlink it to /usr/bin:
Code: [Select]
sudo ln -s /usr/sbin/connmanctl /usr/bin/connmanctlI'm not sure that the front-end will even look for it there ( both connman and GUI might need rebuilding for this to work ).

And, after symlinking do verify that it actually works without root:
Code: [Select]
connmanctl scan wifi; connmanctl services
and then try to connect to one of WiFi's listed with:
Code: [Select]
connmanctl connect wifi_xxxxxxxxxx
Also, see: https://forum.voidlinux.eu/t/connman-needs-root/231/6

PackRat

  • Posts: 1795
    • View Profile
Re: Connman network manager GTK frontend
« Reply #5 on: April 19, 2017, 04:00:06 PM »
Thanks for that Void forum link; that fix works.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

PackRat

  • Posts: 1795
    • View Profile
Re: Connman network manager GTK frontend
« Reply #6 on: April 19, 2017, 06:37:49 PM »
Quote
Well, it should be, though it implies itself since it's a front-end for it ( not a stand alone )...

That's true. I've spent too many years proof reading technical and leagal documents.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo