Am 22.07.2013 23:35, schrieb FredL: >> >> Do you perhaps have NetworkManager or wicd installed? >> >> >> no, none of them, it is a very basic install, with only the minimum >> packages installed . I have checked at the init script and find a line >> in the depend section saying : >> >> after lo lo0 dbus >> >> but dbus is not yet installed, can this be the cause of my problem? > > so I have just installed dbus and add it to default runlevel and my > net.* script are loaded correctly setting my static config, so every > thing is fine now. > > But why do we need dbus in a very minimalistic system? I was thinking > that it would be helpful in a full desktop environnement for > automagically mounting device and things like that... > > Saying that I've just remenbered that I have selected the desktop > profile instead of the default one, can this be why my init script need > dbus for starting net iface? >
As Bruce did show: You don't need to have dbus installed for net.* to work. Also it did work, when you started net.* it manually, without having dbus installed, right? I don't know, what did start dhcp on your interfaces, you should check that. AFAIK your kernel does a automatic dhcp-configuration of your interfaces when you have set CONFIG_IP_PNP_DHCP. You could try to disable dbus and check, if your interfaces get up with dhcp again and then disable CONFIG_IP_PNP or all CONFIG_IP_PNP_*-options and check again. (If they where activated of course ;) ) For your net.* initscripts not starting automatically I don't have an idea other than maybe you forgot to add them to the runlevels right now, but that would not explain, why they do start after adding dbus... It would be interesting, to know, what did really happen, so please let us know, what you find out ;) Regards, Markus
signature.asc
Description: OpenPGP digital signature