Assigning a custom DNS help

oso

New member
Sep 19, 2012
378
0
0
Since 3.02 and the new connman I can no longer edit the settings.xml with my custom DNS. I saw a link on another forum about ading a script to run 10 secs after the network to get it working, but it doesnt seem to work. Any pointers would be great. Thanks

Code:
(
sleep 10
MAC=$(ifconfig eth0 | grep HWaddr | awk '{print $5}' | sed 's/://g')
python /usr/lib/connman/set-nameservers ethernet_$MAC_cable x.x.x.x
)&