From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 27CC4E003D4 for ; Mon, 5 Aug 2013 09:46:54 -0700 (PDT) Received: from [192.168.2.33] ([217.82.33.115]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MTTKZ-1Ue1P80Mw3-00SL6v for ; Mon, 05 Aug 2013 18:46:53 +0200 Message-ID: <51FFD6F9.2040506@gmx.de> Date: Mon, 05 Aug 2013 18:46:49 +0200 From: Joerg boge User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Daiane Angolini References: <51FE3D41.7010807@gmx.de> <51FEAF5E.1050607@gmx.de> <51FFD163.7000003@freescale.com> In-Reply-To: <51FFD163.7000003@freescale.com> X-Provags-ID: V03:K0:YCYPqJ6HikbhSIwefCes2N6iBNYR/AEH+TM/IMusk7duAIxWPlV o1wxqQp4a3EOBojxsS+BzhRo2PPTyeHRtzpKRRwYGeBS8QAub4UN59Jqst7LOoUXxlrKX+Y FnLe7lnlqdEgTl+W/2/vrC5HOwBFxlwmtWr1BrIMomPo6P+OOWTb4yZAo4i+dy2LULiMi2O eGdcppRfllsEGIZe5VlfA== Cc: "meta-freescale@yoctoproject.org" , Otavio Salvador Subject: Re: fsl-image-gui setup eth0 static X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2013 16:46:57 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 05.08.2013 18:22, schrieb Daiane Angolini: > On 08/04/2013 04:45 PM, Joerg Boge wrote: >> On 08/04/2013 09:09 PM, Otavio Salvador wrote: >>> On Sun, Aug 4, 2013 at 8:38 AM, Joerg Boge wrote: >>>> I want to have static ip >>>> >>>> so i changed /etc/network/interfaces >>>> >>>> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) >>>> >>>> # The loopback interface >>>> auto lo >>>> iface lo inet loopback >>>> >>>> # Wireless interfaces >>>> iface wlan0 inet dhcp >>>> wireless_mode managed >>>> wireless_essid any >>>> wpa-driver wext >>>> wpa-conf /etc/wpa_supplicant.conf >>>> >>>> iface atml0 inet dhcp >>>> >>>> # Wired or wireless interfaces >>>> auto eth0 >>>> iface eth0 inet static >>>> address 192.168.2.8 >>>> netmask 255.255.255.0 >>>> network 192.168.2.254 >>>> gateway 192.168.2.1 >>>> iface eth1 inet dhcp >>>> >>>> # Ethernet/RNDIS gadget (g_ether) >>>> # ... or on host side, usbnet and random hwaddr >>>> iface usb0 inet static >>>> address 192.168.7.2 >>>> netmask 255.255.255.0 >>>> network 192.168.7.0 >>>> gateway 192.168.7.1 >>>> >>>> # Bluetooth networking >>>> iface bnep0 inet dhcp >>>> >>>> >>>> >>>> do ifdown eth0 >>>> ifup eth0 >>>> >>>> and I can connect to static ip >>>> >>>> after reboot there is no connection to the static ip possible and >>>> a new >>>> dynamic ip is taken via dhcp. >>>> >>>> i do ifdown and ifup again. now i can connect via ssh to static and >>>> the >>>> dynamic ip. >>>> >>>> that is normal? >>> Yes and no. >>> >>> fsl-image-gui is using connman for network management so you need to >>> set IP there. Please make your own image for specific needs as this >>> one is not intended to be used for long time but just as testing/demo. >>> >> I waiting for Task #10 - How to create a custom layer from Yocto >> Training Home ;) >> > > I'm baking it right now :D > > If you have other topic idea, please, let me know A How to create machine layer will be useful Good baking ;) Joerg