[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

issues with ifplugd, dnsmasq and ipmasq



Dear all,

as suggested here

http://www.csse.monash.edu.au/~ctwardy/mol-debian-benh.html

I use ipmasq and dnsmasq to get networking under mol on my PowerBook G4.

Everything worked fine until recently when I stopped being able to plug a network cable into my laptop at runtime and get outside networking. After a bit of tweaking the reason appeared to be that the packet filtering rules set up by ipmasq didn't get updated when ifplugd installed a new interface (in my case eth0).

The fix I've found is to restart ipmasq and dnsmasq whenever a network interface is added or removed by ifplugd by adding the following script to /etc/ifplugd/action.d:

--
#!/bin/sh
/etc/init.d/ipmasq restart
/etc/init.d/dnsmasq restart
--

I'm surprised by these problems as it's now some time since I've updated any of ifplugd, ipmasq, or dnsmasq:

---
[log] $ zgrep -h "\<ip\|masq\|\<if"  dpkg.log*.gz | sort -u | grep "upgrade"
2005-08-01 14:43:49 upgrade iptables 1.2.11-10 1.3.1-2
2005-08-01 14:48:19 upgrade ifrench-gut 1:1.0-17 1:1.0-18
2005-10-06 11:26:06 upgrade dnsmasq 2.22-2 2.23-1
2005-10-06 11:48:55 upgrade iptables 1.3.1-2 1.3.3-2
2005-10-06 11:49:22 upgrade ipchains 1.3.10-15 1.3.10-16
2005-10-21 15:05:01 upgrade ipmasq 4.0.2 4.0.4
---

I wondered if anybody else using mol on a laptop in the same way I do has had similar problem, and if anybody knew which program besides the aforementioned one could be the source of this issue.

Thanks for your help!

Francois



Reply to: