Ok here comes early fruits of my dialog experience. You already know that I had too much of connection drops lately. The story is changed now. I don’t have that much of connection drops. NO I don’t have good connectivity either :P . I have this new problem. I get the bogus DNS address 10.11.12.13 & 10.11.12.14 assigned in err… every 10-15 minutes, or even less. Ah I have stats I guess :)
uptime – 1hr32mins
Connection dropouts 2
bogus DNS allocations – 15
This is at the time I checked. After that things turned even worse. I use OpenDNS since I’m not happy with Dialogs nameservers (Unfortunately I can’t use all the features of Open DNS coz Dialog don’t give us at least a dynamic unique IP). But since these annoying DNS allocations I had to manually set OpenDNS settings all the time. For that I wrote following bash script. This was so quick & is so dirty. And this might not be the best way to do that.
create a file called /etc/resolv.conf.odns & put OpenDNS settings in it.
And then put following code in setodns.sh, chmod 755 it & run (as super user).
#!/bin/bash ## setodns.sh ## Override Dialogs fucking DNS settings with OpenDNS settings. while true ; do cp /etc/resolv.conf.odns /etc/resolv.conf sleep 45 done
To get rid of this you have to press Ctrl-C , since it’s in an infinite loop.
That’s how I make the future less shitty, for now. I said that because Dialog says The Future. Today. Today is shitty, I fix it means I fix future ;) .