You are not logged in.

#1 2014-12-16 05:24:22

kevdog
Member
Registered: 2013-01-26
Posts: 102

nm-tool -- Where do I find this executable?

Strange things --
I've installed the networkmanager package from the repository, however I don't have the nm-tool within /usr/bin or any other location for that matter.  nmcli is present however.
I've tried reinstalling the network manager package, however this didn't help either. 

Any word of advice on this?

Last edited by kevdog (2014-12-16 05:24:57)

Offline

#2 2014-12-16 06:10:39

progandy
Member
Registered: 2012-05-17
Posts: 5,202

Re: nm-tool -- Where do I find this executable?

nm-tool has been removed between 0.9.8.8 and 0.9.9.1.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2014-12-16 08:10:31

kevdog
Member
Registered: 2013-01-26
Posts: 102

Re: nm-tool -- Where do I find this executable?

Hmm, interesting.  I used this tool to query and discovery my DNS servers.  Any plan to replace or re-add this tool or I suppose I should look for another method.  I'm using network-manager to manage the wireless connection.  I've added nothing to /etc/resolv.conf

I was using this is a script like:
DNS_SERVER_LIST=`nm-tool | grep DNS | awk '{print $2}'`

Last edited by kevdog (2014-12-16 08:22:57)

Offline

#4 2014-12-16 10:14:41

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: nm-tool -- Where do I find this executable?

If you're using dhcpcd, you can get the information like this:

uberlaptop$ dhcpcd -U iwi0 | grep "\(domain_name_servers\|dhcp6_name_servers\)"
domain_name_servers=10.73.2.1
dhcp6_name_servers=2a01:348:31:1::1

Or you could hook into dhcpcd directly for each update.
See dhcpcd-run-hooks(8), but I think NM overrides the hook.

Offline

#5 2014-12-16 14:16:31

kevdog
Member
Registered: 2013-01-26
Posts: 102

Re: nm-tool -- Where do I find this executable?

Hmm I'm not using dhcpcd and from what I understand network manager overwrittes the hook unless its configured not to.  Maybe I'll see if I can compile from source.

Offline

Board footer

Powered by FluxBB