From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0735BE00747 for ; Sun, 4 Aug 2013 14:10:12 -0700 (PDT) Received: from [192.168.2.10] ([217.82.1.43]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LyVcA-1U0I7B0uL0-015pH4 for ; Sun, 04 Aug 2013 23:10:11 +0200 Message-ID: <51FEC333.9090700@gmx.de> Date: Sun, 04 Aug 2013 23:10:11 +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:G0y4rsUm8VZh1K1vt/Q8nWscYK8oMOyxIHRCVDASO41n8bgpAUV Tb8xijBhAwpGzSAyWvOTlRrmkh5WvtHQuThVPRhbWAF5mHepDXORaSkiXitrDAQXRn3RSqp eO3YtKnwZF+r67xFn6Cbz2OnyxW69vIF1LJMUez8D7fqQ1rWauP85JaVPUnYPCpI3s/4BIv VpQOhvwont3GwisEY78qw== 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 21:10:13 -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 goggled something out about connman. So to set up it with static ip "connman-tests" are needed so will be nice it will be added in the future