On p, okt 05, 2012 at 13:46:19 +0200, Gerhard Roth wrote:
> Hi,
> 
> I trying to revive part of an old patch that was submitted by mpf
> in 2007. If adds support for DNS server negotiation to the IPCP
> part of sppp(4). If the PPP server provides IP addresses for
> DNS servers, they will appear in the ifconfig(8) output.
> 
> A simple ifstated(8) script could then be used to re-write resolv.conf,
> e.g.
> 
>       # ifconfig pppoe | sed -n 's/^[[:space:]]*dns.:/nameserver/p'
[...]

Works for me.
Cool feature, I like it :)
Thanks!


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

Reply via email to