Similar problem here. eth0 is managed by Network Manager, so it's not brought up until the user is logged in, long after /etc/init.d/mediatomb runs.

Possible solutions:
1) Manage eth0 with /etc/network/interfaces, bypassing Network-Manager.
/etc/init.d/ifupdown runs before /etc/init.d/mediatomb

2) Startup Mediatomb as a user. Change /etc/default/mediatomb to
nostart=yes, and run as a user, "mediatomb --daemon --logfile
/home/user/.mediatomb/mediatomb.log" etc.

3) Have a user "sudo /etc/init.d/mediatomb start" after they've logged
in.

Options 2) and 3) can both be automated, but both depend upon the user being logged in for eth0 to be available. Use option 1) if you want the media server to be always on no matter who is logged in.

BDL





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to