<div dir="ltr"><div>After about hour research and reading init scripts I focused on the commands ifup and ifdown which are reading /etc/network/interfaces for settings. After "man interfaces" I though that my problem is that dhcp client wasn't set properly. So I add line "client udhcpc" in the section for eth0. After network restart no IP assigned again. Then I manually run "ipdown -a" and then "ipup -a" an I've got a message "no wireless extensions on eth0". I recall seeing some custom wireless scripts in /etc/network/ip-pre-up.d". I did chmod -x * and network restart. Now everything is how is supposedĀ to be.<br>
<br></div>Thank you everybody.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 26, 2014 at 10:45 PM, Boris Borisov <span dir="ltr"><<a href="mailto:bugyatl@gmail.com" target="_blank">bugyatl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I've been out for dinner and I missed your emails but thank you for answering! The system have a XFCE desktop by default but with MIPS CPU with no FPU and only 64MB ram is a pain to even load the Desktop. That's why I've decided to stick with console only and used for something else like file server or whatever. So I did chmod -x /etc/init.d/xserver-nodm script and add line in inittab to have a getty on tty1. The main problem is dhcp on eth0 so I don't have to be next to the thingy (dropbear for sshd).<br>
</div><br></div>Normally I think this device used the XFCE network manager for up/down network but I cannot be 100 % sure.<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Apr 26, 2014 at 8:04 PM, Jeremy T. Bouse <span dir="ltr"><<a href="mailto:jeremy.bouse@undergrid.net" target="_blank">jeremy.bouse@undergrid.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On <a href="tel:26.04.2014%2018" value="+12604201418" target="_blank">26.04.2014 18</a>:35, Boris Borisov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have small embedded system that uses Debian like init scripts. But<br>
for some reason it cannot get dhcp address from router. I have to do<br>
it manually with "udhcpc eth0".<br>
<br>
Anybody familiar from what script this is executed so I can check it.<br>
Something is lost in the chain of scripts.<br>
<br>
P.S. I have the /etc/network/interfaces file and interfaces are up<br>
after boot but no IP on eth0.<br>
</blockquote>
<br>
<br></div></div>
If you provided a bit more detail it might make it easier to help you. I happen to run Debian systems myself, kinda bias to it being a Debian Developer.<br>
<br>
As the other person stated /etc/init.d/networking is usually the SysV init script on Debian systems that fires up the networking but it does only perform what is configured within the /etc/network/interfaces file. It's highly unlikely as you stated this is an embedded system that it would utilize Network Manager in which case it would use an entirely different SysV init script and a separate configuration directory/file.<div>
<div><br>
______________________________<u></u>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/<u></u>listinfo</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>