From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe003.messaging.microsoft.com [65.55.88.13]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0824DE003D4 for ; Mon, 5 Aug 2013 09:26:35 -0700 (PDT) Received: from mail113-tx2-R.bigfish.com (10.9.14.236) by TX2EHSOBE014.bigfish.com (10.9.40.34) with Microsoft SMTP Server id 14.1.225.22; Mon, 5 Aug 2013 16:26:34 +0000 Received: from mail113-tx2 (localhost [127.0.0.1]) by mail113-tx2-R.bigfish.com (Postfix) with ESMTP id 10A551A00ED; Mon, 5 Aug 2013 16:26:34 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -4 X-BigFish: VS-4(zzbb2dI98dI9371I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097hz2dh2a8h668h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1155h) Received: from mail113-tx2 (localhost.localdomain [127.0.0.1]) by mail113-tx2 (MessageSwitch) id 1375719991776516_9752; Mon, 5 Aug 2013 16:26:31 +0000 (UTC) Received: from TX2EHSMHS035.bigfish.com (unknown [10.9.14.225]) by mail113-tx2.bigfish.com (Postfix) with ESMTP id B6B761E0060; Mon, 5 Aug 2013 16:26:31 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS035.bigfish.com (10.9.99.135) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 5 Aug 2013 16:26:28 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.3.136.1; Mon, 5 Aug 2013 16:26:28 +0000 Received: from [10.29.244.5] ([10.29.244.5]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r75GQQks011490; Mon, 5 Aug 2013 09:26:26 -0700 Message-ID: <51FFD163.7000003@freescale.com> Date: Mon, 5 Aug 2013 13:22:59 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Joerg Boge References: <51FE3D41.7010807@gmx.de> <51FEAF5E.1050607@gmx.de> In-Reply-To: <51FEAF5E.1050607@gmx.de> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% 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:26:38 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 -- Daiane