[Bug 324233] Re: kubuntu 8.10 - Network Manager 0.7 - DHCP/resolvconf Problem

tpurch terry.purchase at o2.co.uk
Fri Feb 13 20:57:05 UTC 2009


I found a work around, try creating a script file
in /etc/network/if-up.d/zzz_resolvconffix.

zzz_resolvconffix:

#!/bin/sh
[ -x /sbin/resolvconf ] || exit 0

[ "x$ADDRFAM" == "xinet6" ] && exit 0

rm /etc/resolv.conf
ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf

for NS in $DHCP4_DOMAIN_NAME_SERVERS ; do
    R="${R}nameserver $NS
"
done
echo -n "$R" | /sbin/resolvconf -a "${IFACE}.${ADDRFAM}"
#end of script file

 after creating script file and run:

chmod 755 /etc/network/if-up.d/zzz_resolvconffix

then restart network session.


On Fri, 2009-02-13 at 09:22 +0000, machrider wrote:
> Seeing the same behavior.  Doesn't require a reboot for me -- if
> NetworkManager is running, it will destroy my resolvconf symlink and
> write a new file every couple minutes.  If I restore the symlink by
> hand, my VPN works until NetworkManager breaks it again.
> 
> NetworkManager 0.7~~svn20081018t105859-0ubuntu1.8.10.1
> resolvconf 1.42ubuntu2
> intrepid on x86_64
> 
> Frustrating problem.
>

-- 
kubuntu 8.10 - Network Manager 0.7 - DHCP/resolvconf Problem
https://bugs.launchpad.net/bugs/324233
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to knetworkmanager in ubuntu.




More information about the kubuntu-bugs mailing list