Re: BBB, Robotics Cape & Connman

53 views
Skip to first unread message

Jason Kridner

unread,
Dec 28, 2016, 2:40:16 PM12/28/16
to Kurt Talke, beagl...@googlegroups.com


On Dec 28, 2016, at 1:29 PM, Kurt Talke <kurt....@gmail.com> wrote:

Jason,

I’m hoping you’ll be able to help me out with some wifi issues I’ve been having.  I’ve installed the latest jessie release, and connman works great initially.  However, as soon as I install the Robotics cape so, connman dies, and I get a warning like:

Error getting services: The name net.connman was not provided by any .service fi
Error getting VPN connections: The name net.connman.vpn was not provided by any 
Error getting peers: The name net.connman was not provided by any .service files
Error getting technologies: The name net.connman was not provided by any .service 
filesconnmanctl> 

Whereas before I only got the VPN connections error.  James forwarded me the connman.service file that you “hacked” and that seemed to work once, but now I’ve messed around with it again and that hack doesn’t seem to work.

Any ideas?

-Kurt


Going back to a known-good image is always good. There have been many fixes and Robert has some images newer than on latest-images. 

Can you post your .service file contents?

Robert Nelson

unread,
Dec 28, 2016, 2:50:57 PM12/28/16
to Beagle Board, Kurt Talke
Hi Kurt,

Grab last night's build:

https://rcn-ee.net/rootfs/bb.org/testing/2016-12-27/iot/

There's still a few corner cases i'm debugging and tricky for users to
actually cause. (I also need to add a restart to the service file,
during first time bootup when the ssh key's take too long to
generate.)

Regards,

--
Robert Nelson
https://rcn-ee.com/

Jason Kridner

unread,
Dec 28, 2016, 4:01:24 PM12/28/16
to Kurt Talke, beagl...@googlegroups.com


On Dec 28, 2016, at 2:13 PM, Kurt Talke <kurt....@gmail.com> wrote:

Jason,

I’ve flashed back to the 12/18 image multiple times, and keep getting the same problem with connman.  I’ll try the latest image from yesterday that Robert suggested.


Here on the contents of my .service file:

[Unit]
Description=Connection service
DefaultDependencies=false
Conflicts=shutdown.target
RequiresMountsFor=/var/lib/connman
After=dbus.service network-pre.target systemd-sysusers.service
Before=network.target multi-user.target shutdown.target
Wants=network.target

[Service]
Type=dbus
BusName=net.connman
Restart=on-failure
ExecStart=/usr/sbin/connmand -n
StandardOutput=null
CapabilityBoundingSet=CAP_KILL CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW C$

I believe in some circumstances I saw the above line preventing startup. I'm sure there is a good reason for it however. :-)

ProtectHome=true
ProtectSystem=full

[Install]
WantedBy=multi-user.target

-Kurt
Reply all
Reply to author
Forward
0 new messages