From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 62D8EE00978; Thu, 16 Jul 2015 01:17:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (alvaromartineztovar[at]yahoo.es) * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [212.82.97.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from nm23-vm5.bullet.mail.ir2.yahoo.com (nm23-vm5.bullet.mail.ir2.yahoo.com [212.82.97.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BDE42E00957 for ; Thu, 16 Jul 2015 01:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1437034637; bh=umS1gJrY3H3BUM/rmLPDcZYQ3t1d60heUr/2PxivZRk=; h=Date:From:Reply-To:To:Subject:From:Subject; b=br7mNpC9POLFbZA1LyuJxlf6+GaX8ypwFhn+LXwCaMbsfWE2M/HG2lGisLz3JHIW4O/udf9EkNBHLWLROzeiNNpQ8oB42HEG0fgebUlq1aQbfJbpVuADJfR/8gK8hUxft7BQdXVYO1MuS49Fz8OrGJhgDAdceA73mJCkh1hDXSG8WdvTkDGNB08fVC6M5RuAYDpYRcZ5MdTQIlZL6S8OLn2BmtH5wylBRbnOFuYvh8LCX5L+9O/3xOdTLZl/728CW/2I5tADX9V0XFE85kvxRKaQKv9/ygeJ4G09YLOAyB/lyODIWSm6CJ0cvljLYNDRLHvQDE+psgg9xoRo0D6c3Q== Received: from [212.82.98.48] by nm23.bullet.mail.ir2.yahoo.com with NNFMP; 16 Jul 2015 08:17:17 -0000 Received: from [212.82.98.112] by tm1.bullet.mail.ir2.yahoo.com with NNFMP; 16 Jul 2015 08:17:17 -0000 Received: from [127.0.0.1] by omp1049.mail.ir2.yahoo.com with NNFMP; 16 Jul 2015 08:17:17 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 575080.87359.bm@omp1049.mail.ir2.yahoo.com X-YMail-OSG: dl.EnGEVM1kMmAL657Yl8QiSPVkcQee3lEo5.lJng9E.eWuuhTUjG0jH6Bu6B6X FM4ijsqjZ6Mj01D_gyET.N4RNSEsw8w58o9gKbjpXA6IwdmJMDD2fB8BtUXn8z7k3dOglBZNdbOE 1VB09NM2nAllNm4RA5XUdCOZWzuJAnO3OmXbKsy_cZ8nMSn5PrtVyNtOYVJdGslxAxLOMTtZVGBm rZKsPAGI5_WviWZXE.4sU3lYn5mPPPukEnclBxMLqFKA2B2.Nzm2fmzczKIgVKO8sNW88i80UB22 wR3574tcHKy5EwQUw.1ZjEc4aNge9qk81fnySpZz8FcFK19f2gaF8rbniVTEDCFEo2ePASlzcL2A 1jNp.t.fx.q12AP_E2ma3fSyYcui0lT0wZ0nTZCHfXfcEkUieAofQib4eYGved4ijFWOnOVI7Lwv ZlPYBlEM3ErWw8FbjPHjw8MbZJlyq_1bp3wHtMIJtEW7CEuO_Q3fyenYqi2WVZVTvr2adsD4fNQc bXIWSjotLTAu_d7KL3YM- Received: by 217.12.9.9; Thu, 16 Jul 2015 08:17:17 +0000 Date: Thu, 16 Jul 2015 08:17:16 +0000 (UTC) From: Alvaro Martinez Tovar To: "meta-freescale@yoctoproject.org" Message-ID: <254774134.4563467.1437034636915.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Subject: static ip X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Alvaro Martinez Tovar 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: Thu, 16 Jul 2015 08:17:22 -0000 Content-Type: multipart/alternative; boundary="----=_Part_4563466_613075558.1437034636913" ------=_Part_4563466_613075558.1437034636913 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all, I am working with a sabresd platform and the following interfaces file root@imx6qsabresd:~/# cat /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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 wireless_mode managed =C2=A0 =C2=A0 =C2=A0 =C2=A0 wireless_essid any =C2=A0 =C2=A0 =C2=A0 =C2=A0 wpa-driver wext =C2=A0 =C2=A0 =C2=A0 =C2=A0 wpa-conf /etc/wpa_supplicant.conf iface atml0 inet dhcp # Wired or wireless interfaces auto eth0 iface eth0 inet static =C2=A0 =C2=A0 =C2=A0 =C2=A0 address 192.168.0.30 =C2=A0 =C2=A0 =C2=A0 =C2=A0 netmask 255.255.255.0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gateway 192.168.0.1 iface eth1 inet dhcp # Ethernet/RNDIS gadget (g_ether) # ... or on host side, usbnet and random hwaddr iface usb0 inet static =C2=A0 =C2=A0 =C2=A0 =C2=A0 address 192.168.7.2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 netmask 255.255.255.0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 network 192.168.7.0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gateway 192.168.7.1 # Bluetooth networking iface bnep0 inet dhcp After boot, this is what I can see with ifconfig eth0 command: NO static ip is set on eth0 for inet eth0=C2=A0 =C2=A0 =C2=A0 Link encap:Ethernet=C2=A0 HWaddr 00:04:9F:03:9F:FD =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 addr: fe80::204:9fff:fe03:9ffd/64 = Scope:Link =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 UP BROADCAST RUNNING MULTICAST=C2=A0 MTU= :1500=C2=A0 Metric:1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RX packets:0 errors:0 dropped:0 overruns= :0 frame:0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TX packets:19 errors:0 dropped:0 overrun= s:0 carrier:0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 collisions:0 txqueuelen:1000 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RX bytes:0 (0.0 B)=C2=A0 TX bytes:4642 (= 4.5 KiB) However, if I execute: /etc/init.d/networking restart everything seems to work and I can connect to static ip Any suggestion will be very appreciated. Thank you in advance Alvaro ------=_Part_4563466_613075558.1437034636913 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi a= ll,

I am working with a sabresd platform and t= he following interfaces file

roo= t@imx6qsabresd:~/# cat /etc/network/interfaces
# /etc/net= work/interfaces -- configuration file for ifup(8), ifdown(8)
=
# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces<= br class=3D"">iface wlan0 inet dhcp
      &nbs= p; 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.= 0.30
        netmask 255.255.255.0
        gateway 192.168.0.1

iface eth1 inet dhcp

# Ethernet/RNDI= S gadget (g_ether)
# ... or on host side, usbnet and random h= waddr
iface usb0 inet static
    &nbs= p;   address 192.168.7.2
        net= mask 255.255.255.0
        network 192.16= 8.7.0
        gateway 192.168.7.1

# Bluetooth networking
iface bnep0 inet= dhcp

After boot, this is what I can see with = ifconfig eth0 command:
NO static ip is set on eth0 for inet
eth0      Link encap:Ethernet&nb= sp; HWaddr 00:04:9F:03:9F:FD
        &nbs= p; inet6 addr: fe80::204:9fff:fe03:9ffd/64 Scope:Link
  =         UP BROADCAST RUNNING MULTICAST  MTU:1500&n= bsp; Metric:1
          RX packets:0= errors:0 dropped:0 overruns:0 frame:0
      &= nbsp;   TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX byt= es:4642 (4.5 KiB)

However, if I execute:
/etc/init.d/networking restart
everything seems to w= ork and I can connect to static ip

Any suggest= ion will be very appreciated.
Thank you in advance

Alvaro
------=_Part_4563466_613075558.1437034636913--