From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9A924E00747 for ; Sun, 4 Aug 2013 12:45:35 -0700 (PDT) Received: from [192.168.2.10] ([217.82.1.43]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MZD0K-1UlDyD2g2u-00Kv0u for ; Sun, 04 Aug 2013 21:45:33 +0200 Message-ID: <51FEAF5E.1050607@gmx.de> Date: Sun, 04 Aug 2013 21:45:34 +0200 From: Joerg Boge User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Otavio Salvador References: <51FE3D41.7010807@gmx.de> In-Reply-To: X-Provags-ID: V03:K0:lqIQtAfZJZcgjASizxiLpx7jz3vTRfNE7oa33inwJUIU4e21ye0 QgqBdRe4O5hmj5vMjWA3Bvja5PyiUrjcMuAsVG547NlIIKG03mAA4LH85Phv8asiAzo/Kq2 r6xTkRC8iX0FToCupPyGNKguSUL72B/5UNzFXMHA3rZYz5BecnVrwn7/xOQoPZf4/ykKEa6 k6BfqRxLDGgEVCXcErnsQ== Cc: "meta-freescale@yoctoproject.org" 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: Sun, 04 Aug 2013 19:45:36 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ;)