On Tue, Sep 08, 2009 at 06:07:57PM +0200, Christoph Egger wrote: > Joerg Sonnenberger wrote: > > On Tue, Sep 08, 2009 at 02:30:56PM +0200, Christoph Egger wrote: > >>> Perhaps a better test would be that dhcpcd shouldn't touch > >>> the default route unless the default route is through the > >>> interface that dhcpcd is managing. > >> I agree. > >> How should dhcpcd deal with /etc/resolv.conf ? > >> If dhcpcd removes and rewrites the entries, DNS queries in-between > >> may fail (i.e. mounting nfs) > > > > I would say you have a completely broken setup in that case. You can > > easily prevent dhcpcd from changing the default route at all if you need > > to. > > I tried dhcpcd -n -p <if> but I ended up with having the nfs server > unreachable.
You haven't included -G to keep the default route. Joerg
