You are not logged in.
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
nm-tool has been removed between 0.9.8.8 and 0.9.9.1.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
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
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
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