View Single Post
Community Council | Posts: 680 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#9
you have the same dnsmasq as all of us .. you're just using it differently from us ...

and yes, there is no /etc/init.d/dnsmasq ... on N900, dnsmasq is managed by upstart, so its start/stop script is in /etc/event.d/

you should just restart dnsmasq when changing your connections ... it's going to be hard to say how Maemo does it, because as mentioned before, icd2 is closed and not reverse-engineered yet (afaik). i don't even know what cleans out the resolv.conf.* files from that directory when the interfaces go down

maybe Nokia's dnsmasq was patched? you would have to look in the source

the dnsmasq man page says dnsmasq will only reload the resolv.conf.* files if the '--no-poll' argument is included, which is not the case on maemo. this is by dnsmasq design, http://lists.thekelleys.org.uk/piper...q4/000002.html

so simplest way - restart dnsmasq. works