Hi,
On 17 March 2017 at 16:53, Christopher Collins wrote:
>
> On Fri, Mar 17, 2017 at 08:36:01AM -0300, Fabio Utzig wrote:
> > On Fri, Mar 17, 2017, at 08:24 AM, then yon wrote:
> > > Dear Chris,
> > >
> > > When i put sudo newtmgr -c BT01 stat list, it gave me sudo: newtmgr:
On Fri, Mar 17, 2017 at 08:36:01AM -0300, Fabio Utzig wrote:
> On Fri, Mar 17, 2017, at 08:24 AM, then yon wrote:
> > Dear Chris,
> >
> > When i put sudo newtmgr -c BT01 stat list, it gave me sudo: newtmgr:
> > command not found.
>
> It looks like sudo is not preserving your user path, you
On Fri, Mar 17, 2017, at 08:24 AM, then yon wrote:
> Dear Chris,
>
> When i put sudo newtmgr -c BT01 stat list, it gave me sudo: newtmgr:
> command not found.
It looks like sudo is not preserving your user path, you could try:
sudo "PATH=$PATH" newtmgr -c BT01 stat list
Dear Chris,
When i put sudo newtmgr -c BT01 stat list, it gave me sudo: newtmgr:
command not found.
Dear Andrzej,
I get the following error with you suggestion.
$ sudo setcap cap_net_admin=+ep 'which newtmgr' [sudo] password for dev:
Failed to set capabilities on file `which newtmgr'
Hi Chris,
newtmgr probably requires just CAP_NET_ADMIN to open either raw or user
channel socket so you could do sth like:
sudo setcap cap_net_admin=+ep `which newtmgr`
And no need for sudo anymore.
Best regards,
Andrzej
On Thu, Mar 16, 2017 at 4:35 PM, Christopher Collins
Hi Then,
I have found that I need to run newtmgr as root when using ble (e.g.,
sudo newtmgr ...)
Chris
On Thu, Mar 16, 2017 at 05:22:01PM +0800, then yon wrote:
> Dear Support,
>
> Anyone have answer on this?
>
> Some updates on the newtmgr setting:
>
> Connection profiles: BT01: type=ble,
Dear Support,
Anyone have answer on this?
Some updates on the newtmgr setting:
Connection profiles: BT01: type=ble, connstring='nimble-bleprph'
Whenever i sent newtmgr command i get the following:
2017/03/16 17:11:35 dev: hci0 up 2017/03/16 17:11:35 dev: hci1 up Error:
no supported devices