From: Markus E. <mar...@df...> - 2014-05-28 22:04:26
|
Hi Adam, it seems the problem is that the .system script is not installed in my image. I tried udhcpc and dhcpc. Both worked fine if started manually. (I can only install one exclusively) I found that buried in somewhere in the systemd recipes, the scripts are there (dhcpc.service), but they are not installed on my image. I can only enable the scripts with systemctl if the scripts are in /lib/system/., in which they are not. How do I activate them in my recipe? Cheers, Markus Am 28.05.2014 18:27, schrieb Adam Lee: > Hi Markus, can you try udhcpc instead of dhclient? udhcpc is included > by default in Gumstix images. > > To get your network up and running, take a look at > https://github.com/gumstix/Gumstix-YoctoProject-Repo/wiki > > Adam > > > On Fri, May 23, 2014 at 1:41 AM, Dr. Markus Eich <mar...@df... > <mailto:mar...@df...>> wrote: > > Dear all, > > > It cannot get the DNS resolving working at startup. When connect to my > board, I have to use > > "dhclient" once manually. I want to do this using the systemd > configuration. So I need to install the service somehow at start. > > > On my image I have > > IMAGE_INSTALL += " \ > dhcp-client\ > " > > > Checking the dhcp_4.2.5-P1.bbappend receipe I found > > > SYSTEMD_AUTO_ENABLE_dhcp-client = "disable" > > how can I make my receipe to start dhcp client via a systemd service? > > > I try to build a yocto image using the following receipe > > http://pastebin.com/SyW3MZrL > > > The build config is > > > Build Configuration: > BB_VERSION = "1.20.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-14.04" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "overo" > DISTRO = "poky" > DISTRO_VERSION = "1.5.1" > TUNE_FEATURES = "armv7a vfp neon" > TARGET_FPU = "vfp-neon" > meta > meta-yocto = "dora:19745990465b37107142c5464008ca9f7959cc0b" > meta-oe > meta-networking = "dora:ee173678383683e972c7d4d6f0ef5790bfa50274" > meta-ros = "master:821427d23adb33674da76dc34d8ab6983590fcd4" > meta-overo = "dora:49d78254783e7cd1da4b7695e0014d526fbb6d58" > meta-dfki = "master:d6156057fc7adc1585ec28505f63633e981f66d3" > > > Cheers, > > Markus > > > > > > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing > platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > gumstix-users mailing list > gum...@li... > <mailto:gum...@li...> > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users -- Dr.-Ing. Markus Eich Project Management Marine Inspection Robotics Space Robotics Besuchsadresse der Nebengeschäftstelle: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 5 28359 Bremen, Germany Postadresse der Hauptgeschäftsstelle Standort Bremen: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 1 28359 Bremen, Germany Tel.: +49 421 178 45-4105 Zentrale: +49 421 178 45-0 Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen) E-Mail: mar...@df... Weitere Informationen: http://www.dfki.de/robotik ----------------------------------------------------------------------- Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 Sitz der Gesellschaft: Kaiserslautern (HRB 2313) USt-Id.Nr.: DE 148646973 Steuernummer: 19/673/0060/3 ----------------------------------------------------------------------- |