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 E4796E015DB for ; Sun, 4 Aug 2013 04:38:46 -0700 (PDT) Received: from [192.168.2.10] ([217.82.1.43]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MFxwA-1Ur2gh3pZ8-00EyF4 for ; Sun, 04 Aug 2013 13:38:42 +0200 Message-ID: <51FE3D41.7010807@gmx.de> Date: Sun, 04 Aug 2013 13:38:41 +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: meta-freescale@yoctoproject.org X-Provags-ID: V03:K0:AR/5fWYwryxTvwUqUMwax8ZvMjdGSTsJZjSIfhB9hw0Rzr+9aTb yQ9RXbYX56MwE+zhkHxn1QM7ipq/Vg2ha2dwkgvWaG0Ztatok/+ruyfKwQ6vU+9qBDyPHyP ccdNqLiqvOg/mhreWDMyfI+xvmdfFlnM72qt3nvvNdcYgqH5thDf8x3507Vtk57Xa76PFp5 67CNL5dmOGio4WoPlJXkQ== Subject: 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 11:38:49 -0000 Content-Type: multipart/alternative; boundary="------------050807020501020108000600" --------------050807020501020108000600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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? Joerg --------------050807020501020108000600 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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?


Joerg

--------------050807020501020108000600--