Comment 2 for bug 212441

Revision history for this message
Steven Harper (stevenharperuk) wrote : Re: Init Script on Hardy not working

Fixed it manually

I have added the following to my /etc/network/interfaces
--------------------------
auto eth0
iface eth0 inet dhcp
--------------------------
so my whole file now is

--------------------------
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
--------------------------

The problem is that most (i suspect over 90%) people will alway rely on the GDM to set their network up, so the /etc/network/interfaces will never get an entry

Whats needed is either DBUS integration to detect the current adapters, or maybe just a warning message on first start (this may scare off most people)

What I would do is if there are no adapters detected, then maybe either

Have an optional hard coded one in /etc/mediatomb/config.xml
run the ifconfig command and take the first non-loopback entry with an IP