I've a Debian Lenny server at home running both, mediatomb and openvpn.
Now, everytime I start my server and openvpn builds the tun0 interface mediatomb uses the IP of tun0 instead of eth0.
I tried to change the config file telling mediatomb to use <ip>192.168.xxx.xxx</ip> but it does not change anything.
Only if I stop openvpn and do a restart of mediatomb it would run well.
What else can I try to solve that problem?
Thanks in advance for your answers.
I stumbled upon the same problem. I solved it by starting up mediatomb before openvpn.
I did that by renaming /etc/rc2.d/S19mediatomb to /etc/rc2.d/S02mediatomb
The openvpn script was not touched (S03openvpn). Anyway, you want to adjust the
number in front of mediatomb to be less than the number in front of openvpn.
Uf, I just noticed that this is a really old thread. Anyway, I hope it helps someone.