Skip to content

connman is awesome

I'm missing those LnF award threads, cause it was a good way to keep up with interesting packages.

In 2012 ~80% of people that replied to the survey used either NetworkManager, netctl, or wicd for connection management purposes. NetworkManager is quite heavy, netctl is what I used but found it quite buggy, and wicd is unmaintained.

Probably many people are using connman already, but just in case you haven't found it, give it a try. It's light, and implements its own DHCP server which is blazing fast. It reduces bootup time significantly. Things are way faster than even a no_arp dhcpcd instance.

It's missing some features like radio strength, though. But it's very nice overall.

Edited 3 Aug 2014. We only hold this version.

44 points39 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
44 · 100% up
Kind
Text
ID
2chikc

Author

17
posts
147
comments
1
media
View profile

39 comments

Can it be integrated nicely with GNOME 3?

That's the only reason why I'm using NetworkManager.

11 points

Give this a try and tell me if it works. :)

Can't test it right now, sorry.

1 points

Nope, does not work. Even after manually compiling and installing, it still fails to work. Looking Glass reports no errors with the extension.

I have reverted back to Network Manager.

Thanks, though. :)

1 points

I used it for quite a while, and I often had connection issues with my card. I think it tried to get started before the driver was really ready, or something. Anyway it often required removing the kernel module and reinitializing it, or even restarting the computer.

Switched to wicd recently, and while it's slower, it also works nearly flawlessly.

5 points

Interesting. You can enable the noarp option on dhcpcd.conf to make it quite faster if you're on a small home network.

2 points

I used it for quite a while, and I often had connection issues with my card. I think it tried to get started before the driver was really ready, or something.

how did you debug it?

1 points

Connman would not list 'wifi' as a technology on occasion and the module would be unresponsive. Unbinding the card and removing the module, then re-adding and rescanning the PCI bus usually fixed it, so...

1 points

Tried connman last week, didn't work for me.

It is fast but I couldn't connect to some of my networks. Netctl isn't that fast, but it works flawless for me.

3 points

Tried connman last week, didn't work for me.

what did it say in its log output?

1 points
unknown author6 hidden

I still can't get openvpn to work. If anybody can give me some help on how to set up my config file in /var/lib/connman-vpn (and possibly make it work with .ovpn files), I'd be very thankful.

2 points

Does it work with enterprise WPA networks?

2 points

It should, it supports them officially. It's just a thin layer on top of wpa_supplicant.

1 points

Good to know! Going to check it out next time I visit the university.

1 points

I'm using netctl now and have had absolutely no problems. To date, best nework manager I've ever tried. Is it worth giving this a tshot, or should I just stick with what's working? What bugs were you experiencing with it?

2 points

I had quite some problems with netctl in combination with rfkill. Plus, netctl-auto service failed sometimes.

In contrast connman makes it tremendously fast and easy to switch between my wireless and my ethernet 4G USB dongle. Plus it reduced my boot up time by more than 2s.

I also like that they are aiming to factor in common code with networkd, and that I get a lean dhcp server instead of dhcpcd, which is quite slow. It's used by many embedded projects such as Jolla or Nest.

1 points

I had a nano issue with netctl (which I like a lot for its smallness) when editing a config file after enabling it, there will be no warning about conf and systemd service being out of sync. That's all.

1 points

Just wanted to say how much better this network manager has been working for me than netctl.

I was having TONS of netctl problems every other day and this solved everything and did it faster than netctl did things anyways.

Thanks for the share, my life is better now!

2 points

Glad it helped! The DHCP implementation of connman is brilliant. The tool has still some issues. Most notably it passes a roaming threshold to wpa_supplicant that is too agressive, and some cards don't cope well with frequent background scans. If you ever experience this, just disable bgs (see connman.conf).

We should revive the LnF thread in the BBS. I got to know many nice packages like that.

1 points

Moved from dhcpcd (and probably netctl too, but I don't have cool-people internet yet) to connman because phone tethering didn't automatically show up and I didn't feel like configuring an ifplugd script for it. This isn't just automatic, it's automagic. Switch usb port connecting the phone? "Sure, no problem - won't even need to timeout irc, here you go."

2 points

It's missing some features like radio strength, though

do you mean transmitting power or signal strength?

1 points

Just reporting radio strength when you're about to connect. It simply sorts SSIDs by signal strength, but no numbers are shown.

1 points

the actual dB are mostly useless, but the connman UI I use (CMST, the Qt5 one) shows the normal percent info that pretty much all connection managers shows.

1 points
unknown author

Deleted before we saved it.

1 points

Well I just tried it and it didn't work. It randomly loses connection... Went back to netctl

1 points

My guess here is that you're experiencing random disconnects due to the fact that it uses bgscan from wpa_supplicant, and some Linux wifi drivers are a s***. It does so to allow for good roaming support.

Currently, it seems their settings are quite agressive, and do a bgscan on a RSSI (signal strength) of -45 thinking that you might be moving away from the base station. Things are being changed:

https://www.mail-archive.com/connman@connman.net/msg15816.html

4 points

Thanks for the answer, I hope some day I can switch to connman.

1 points

I just switched away from connman. I needed to use my laptop as a software access point, and couldn't tell connman to stop managing the wireless, but keep the wired. It was nice and fast, though.

1 points

I like it and use it sometimes when network is getting weird, but it has some problems, like disconnecting and some instability sometimes. Also no simple gui client with all the funcionality that isn't just a toy exists.

1 points

Wicd unmaintained?!

I never would have guessed. Works flawlessly for me.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.