On Thu, 16 Nov 2017, Stefan Sperling wrote:
For WAN devices supported by umsm(4), the situation is a bit better.
The umsm(4) driver shows DNS resolver IPs in ifconfig output so scripts
can grab them from there.
Thanks. How do I get the DNS with ifconfig? This is what I get:
-------------------------------------
root@nc10% ifconfig ppp0
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
index 6 priority 0 llprio 3
groups: ppp egress
inet 37.80.16.9 --> 10.0.0.1 netmask 0xff000000
-------------------------------------
And even to get a remote address above was some kind of gambling:
-------------------
:10.0.0.1
ipcp-accept-local
ipcp-accept-remote
noipdefault
-------------------
Regards
Rodrigo.