<div dir="ltr">I have created <span style="font-family:arial,sans-serif;font-size:12.800000190734863px"> resolv.conf manually using vi but every time I do a reboot the file comes back empty. and the dns function is not working.</span><div>
<span style="font-family:arial,sans-serif;font-size:12.800000190734863px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">What is the best solution to this?</span></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 2, 2014 at 3:15 PM, Mike Looijmans <span dir="ltr"><<a href="mailto:mike.looijmans@topic.nl" target="_blank">mike.looijmans@topic.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When using DHCP, busybox's udhcpc script will write the DNS entries that the server returned into the resolv.conf file.<br>
<br>
In this case, I think you'll have to "provide" resolv.conf in some other way, there's nothing in ifup/ifdown that will modify resolv.conf based on keywords in the interfaces file.<br>
<br>
Mike.<div class=""><br>
<br>
<br>
On 05/02/2014 02:49 PM, Iorga, Cristian wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Not really, I just wanted to get a better overview of the issue that you<br>
are facing.<br>
<br>
What image did you started from, if any?<br>
<br></div>
*From:*Tarek El-Sherbiny [mailto:<a href="mailto:tarek.elsherbiny@gmail.com" target="_blank">tarek.elsherbiny@<u></u>gmail.com</a>]<br>
*Sent:* Friday, May 2, 2014 3:31 PM<br>
*To:* Iorga, Cristian<br>
*Cc:* <a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.<u></u>openembedded.org</a>; <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><br>
*Subject:* RE: [OE-core] DNS when using Static IP<div class=""><br>
<br>
No connman is not included. Shall I include it and try?<br>
<br>
On 2 May 2014 13:01, "Iorga, Cristian" <<a href="mailto:cristian.iorga@intel.com" target="_blank">cristian.iorga@intel.com</a><br></div><div class="">
<mailto:<a href="mailto:cristian.iorga@intel.com" target="_blank">cristian.iorga@intel.<u></u>com</a>>> wrote:<br>
<br>
Hello,<br>
<br>
What image did you start from, if any?<br>
<br>
i.e., core-image-minimal, core-image-sato, etc…<br>
<br>
Is connman included?<br>
<br>
Regards,<br>
<br>
Cristian Iorga<br>
<br>
YP<br>
<br>
Intel Corporation<br>
<br></div>
*From:*<a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-<u></u>bounces@lists.openembedded.org</a><br>
<mailto:<a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-<u></u>bounces@lists.openembedded.org</a><u></u>><br>
[mailto:<a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-<u></u>bounces@lists.openembedded.org</a><br>
<mailto:<a href="mailto:openembedded-core-bounces@lists.openembedded.org" target="_blank">openembedded-core-<u></u>bounces@lists.openembedded.org</a><u></u>>] *On<br>
Behalf Of *Tarek El-Sherbiny<br>
*Sent:* Friday, May 2, 2014 2:05 PM<br>
*To:* <a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a> <mailto:<a href="mailto:yocto@yoctoproject.org" target="_blank">yocto@yoctoproject.org</a><u></u>>;<br>
<a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@lists.<u></u>openembedded.org</a><br>
<mailto:<a href="mailto:openembedded-core@lists.openembedded.org" target="_blank">openembedded-core@<u></u>lists.openembedded.org</a>><br>
*Subject:* [OE-core] DNS when using Static IP<div class=""><br>
<br>
Hi.<br>
<br>
I'm trying to set my IP config to a static address.<br>
<br>
iface eth0 inet static<br>
<br>
address 192.168.55.45<br>
<br>
network 192.168.55.0<br>
<br>
netmask 255.255.255.0<br>
<br>
broadcast 192.168.55.255<br>
<br>
gateway 192.168.55.1<br>
<br>
dns-nameservers 192.168.10.2<br>
<br>
But I don't get the DNS server address to be included in<br>
/etc/resolv.conf<br>
<br>
If I run in dchp mode, then the resolv.conf is updated with my DNS<br>
address.<br>
<br>
Is there something I'm missing here in my setup?<br>
<br>
--<br>
<br></div>
/Tarek/<br>
<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Mike Looijmans<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><i><font color="#666666" face="arial, helvetica, sans-serif">Tarek</font></i></div>
</div>