I have created resolv.conf manually using vi but every time I do a reboot the file comes back empty. and the dns function is not working.
What is the best solution to this? On Fri, May 2, 2014 at 3:15 PM, Mike Looijmans <[email protected]>wrote: > When using DHCP, busybox's udhcpc script will write the DNS entries that > the server returned into the resolv.conf file. > > 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. > > Mike. > > > > On 05/02/2014 02:49 PM, Iorga, Cristian wrote: > >> Not really, I just wanted to get a better overview of the issue that you >> are facing. >> >> What image did you started from, if any? >> >> *From:*Tarek El-Sherbiny [mailto:[email protected]] >> *Sent:* Friday, May 2, 2014 3:31 PM >> *To:* Iorga, Cristian >> *Cc:* [email protected]; [email protected] >> *Subject:* RE: [OE-core] DNS when using Static IP >> >> >> No connman is not included. Shall I include it and try? >> >> On 2 May 2014 13:01, "Iorga, Cristian" <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hello, >> >> What image did you start from, if any? >> >> i.e., core-image-minimal, core-image-sato, etc… >> >> Is connman included? >> >> Regards, >> >> Cristian Iorga >> >> YP >> >> Intel Corporation >> >> *From:*[email protected] >> <mailto:[email protected]> >> [mailto:[email protected] >> <mailto:[email protected]>] *On >> Behalf Of *Tarek El-Sherbiny >> *Sent:* Friday, May 2, 2014 2:05 PM >> *To:* [email protected] <mailto:[email protected]>; >> [email protected] >> <mailto:[email protected]> >> *Subject:* [OE-core] DNS when using Static IP >> >> >> Hi. >> >> I'm trying to set my IP config to a static address. >> >> iface eth0 inet static >> >> address 192.168.55.45 >> >> network 192.168.55.0 >> >> netmask 255.255.255.0 >> >> broadcast 192.168.55.255 >> >> gateway 192.168.55.1 >> >> dns-nameservers 192.168.10.2 >> >> But I don't get the DNS server address to be included in >> /etc/resolv.conf >> >> If I run in dchp mode, then the resolv.conf is updated with my DNS >> address. >> >> Is there something I'm missing here in my setup? >> >> -- >> >> /Tarek/ >> >> >> >> > > -- > Mike Looijmans > -- *Tarek*
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
