You are not logged in.
Hey all,
Came to Arch from Ubuntu about 3 weeks ago been fiddling with Arch ever since. I'm trying to use connman. I installed connman-git and ensured I had all of it's dependencies. The install seemed to go okay, I didn't see any errors pop up until I tried to enable connman.service. I believe I have disabled every service that would prevent connman.service from loading properly. Below are some logs and some things i've tried so far. Thanks for any help in advance.
sudo systemctl status connman.service log
[paul@HPdv6 ~]$ sudo systemctl status connman.service
connman.service - Connection service
Loaded: loaded (/usr/lib/systemd/system/connman.service; enabled)
Active: failed (Result: start-limit) since Fri 2014-02-28 23:05:18 CST; 19s ago
Process: 890 ExecStart=/usr/bin/connmand -n (code=exited, status=1/FAILURE)
Main PID: 890 (code=exited, status=1/FAILURE)Feb 28 23:05:18 HPdv6 systemd[1]: connman.service: main process exited, code=exited, status=1/FAILURE
Feb 28 23:05:18 HPdv6 systemd[1]: Failed to start Connection service.
Feb 28 23:05:18 HPdv6 systemd[1]: Unit connman.service entered failed state.
Feb 28 23:05:18 HPdv6 systemd[1]: connman.service holdoff time over, scheduling restart.
Feb 28 23:05:18 HPdv6 systemd[1]: Stopping Connection service...
Feb 28 23:05:18 HPdv6 systemd[1]: Starting Connection service...
Feb 28 23:05:18 HPdv6 systemd[1]: connman.service start request repeated too quickly, refusing to start.
Feb 28 23:05:18 HPdv6 systemd[1]: Failed to start Connection service.
Feb 28 23:05:18 HPdv6 systemd[1]: Unit connman.service entered failed state.
journal -xn log
-- Logs begin at Sat 2014-02-15 17:06:23 CST, end at Fri 2014-02-28 23:05:37 CST. --
Feb 28 23:05:18 HPdv6 systemd[1]: Unit connman.service entered failed state.
Feb 28 23:05:18 HPdv6 systemd[1]: connman.service holdoff time over, scheduling restart.
Feb 28 23:05:18 HPdv6 systemd[1]: Stopping Connection service...
-- Subject: Unit connman.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
--
-- Unit connman.service has begun shutting down.
Feb 28 23:05:18 HPdv6 systemd[1]: Starting Connection service...
-- Subject: Unit connman.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
--
-- Unit connman.service has begun starting up.
Feb 28 23:05:18 HPdv6 systemd[1]: connman.service start request repeated too quickly, refusing to start.
Feb 28 23:05:18 HPdv6 systemd[1]: Failed to start Connection service.
-- Subject: Unit connman.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
--
-- Unit connman.service has failed.
--
-- The result is failed.
Feb 28 23:05:18 HPdv6 systemd[1]: Unit connman.service entered failed state.
Feb 28 23:05:37 HPdv6 sudo[910]: paul : TTY=pts/1 ; PWD=/home/paul ; USER=root ; COMMAND=/usr/bin/systemctl status connman.service
Feb 28 23:05:37 HPdv6 sudo[910]: pam_unix(sudo:session): session opened for user root by (uid=0)
Feb 28 23:05:37 HPdv6 sudo[910]: pam_unix(sudo:session): session closed for user root
systemctl --type=service output
[paul@HPdv6 ~]$ systemctl --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
connman.service loaded failed failed Connection service
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
systemd-backlight@acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of acpi_video0
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create static device nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
user@1000.service loaded active running User Manager for 1000LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.21 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
netctl list still displays my wifi adapter however
[paul@HPdv6 ~]$ netctl list
wlp2s0-thehouseontheprarie
I can't get 'wlp2s0-thehouseontheprarie' to go away, even after trying this.
ip link set wlp2s0 down
Am I on the right track at least? Again, any help would be appreciated.
Last edited by paulnblacklock (2014-03-06 01:17:10)
Offline
Have you read https://wiki.archlinux.org/index.php/Connman ?
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like this
It makes the code more readable and - in case of longer listings - more convenient to scroll through.
Last edited by karol (2014-03-01 16:32:16)
Offline
Try using the connman package from the offiicial repos. I used the connman-git package for quiet a while, and it always seemed to have a couple quirks that the official connman package does not. Though not starting was not one of them. But it would still allow you to test to see if things should work in a tested setup.
Just beware that it will remove netctl as connman conflicts with openresolv for some reason (on which netctl depends). I am not entirely sure why this is, and I have not been able to get an answer from either the mailing list or email the packager directly. But none of the files in the two packages collide, and I have been using a self-built connman package without that conflict for several months now. So just be aware that netctl will be removed when you install the commmunity/connman package. (It will remain in your package cache though, so you can reinstall it easily w/o needing connectivity)
As far as your network interface/profile being listed by 'netctl list', that is completely normal. That command is meant to list all configured networks, but does not reflect connections unless there is an asterisks next to it.
Offline
Yeah, I tried connman from the official repos originally, but it told me it would conflict with netctl, so I did some more reading and found out connman-git didn't conflict with it. I think it has something to do with connman-git using systemd and connman from the repos not relying on systemd. That's how I understood it at least...and I'm not even sure where I read that now. Not sure how correct that is. Anyway, I decided to go with connman-git incase of any trouble, it would be easier to go back to netctl.
I didn't know that netctl would stay in my package cache. I guess I will just try connman then and see if that works.
Offline
Just beware that it will remove netctl as connman conflicts with openresolv for some reason (on which netctl depends). I am not entirely sure why this is, and I have not been able to get an answer from either the mailing list or email the packager directly. But none of the files in the two packages collide, and I have been using a self-built connman package without that conflict for several months now. So just be aware that netctl will be removed when you install the commmunity/connman package. (It will remain in your package cache though, so you can reinstall it easily w/o needing connectivity)
And the link to the bug report is ....
Online
Yeah, maybe I will file a bug report. Then you can wrangle it to gtmanfred for me.
I'll do that now.
Edit: https://bugs.archlinux.org/task/39091
Last edited by WonderWoofy (2014-03-01 21:45:28)
Offline
And wrangled, thanks.
Online
Well thanks, Connman installed and loaded properly. Don't know why connmann-git wouldn't. Thanks for the help.
Offline
Don't forget to mark the thread as [Solved], which can be done by editing the first post.
Edit: BTW, maybe since you were building from the git sources, something had temporarily gone awry in the development. That is one of the dangers of building the git sources, you're not trying to use a stable release anymore.
Last edited by WonderWoofy (2014-03-03 05:06:03)
Offline