From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 70FEAE00995; Mon, 20 Jul 2015 00:34:18 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW 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) * -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 * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [98.136.216.141 listed in list.dnswl.org] Received: from nm34-vm2.bullet.mail.gq1.yahoo.com (nm34-vm2.bullet.mail.gq1.yahoo.com [98.136.216.141]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 03074E0096C for ; Mon, 20 Jul 2015 00:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1437377652; bh=CrDH1hEnPSmuZFC6wQRb3KGrDx6LMFZuKcVitOJQWQI=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=o0WKI36AcJXHT0Urb2Pkrn13pFLeDfkm3ItUIH3quusS43OwiiT7olDT0ChdSOf58/MMeDo77/i8BR4Yqeh/Ni0g6jObeOloPD/X6uwUggU3kgwBDrtlLaDytZjuF/uMozyxWcHxAwryjVlkmQ1hjz9/ZH5k/7ET++3XRVwGo1Fn/QuTxOcjeXNL8rXFySiezImxsQnDzv8HiRFRYyHOLrtdRzfUM+lpkh7anurKNn89ZJbaw3HeLwJWbmx4XM784IfaSbRAzD9Zm+/uITnMcaf/uSDRwM27UXYiUrE6SbgjpVg3FuiDq3ADHiHiCREciMSm1K+tjq1BIvT84388Sg== Received: from [127.0.0.1] by nm34.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jul 2015 07:34:12 -0000 Received: from [216.39.60.180] by nm34.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jul 2015 07:31:24 -0000 Received: from [212.82.98.48] by tm16.bullet.mail.gq1.yahoo.com with NNFMP; 20 Jul 2015 07:31:23 -0000 Received: from [212.82.98.78] by tm1.bullet.mail.ir2.yahoo.com with NNFMP; 20 Jul 2015 07:31:23 -0000 Received: from [127.0.0.1] by omp1015.mail.ir2.yahoo.com with NNFMP; 20 Jul 2015 07:31:23 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 644201.82434.bm@omp1015.mail.ir2.yahoo.com X-YMail-OSG: 2CqnsToVM1n5dihkHR2fu_vI8NQ7Ywu.XwcBHl_zrTpn9lxOl6396bITvVYQYxC FA6MwwfG9RevjlBkd_LKWk_GwcTZpiDCUUUiaojG71ZAr9QxoKL9.KimOxXBkT4b2k7BaTxxfuXU vS3DgulV58sViLbj2Fh1eDS2QmB0oyZit0aKV4HDL7PWRUG9a9ZcFqt8IwWKfYdB.SVRwD8MqNoK qTmqcXD.ktCiSZ5u68n9o6_w10e2CBHY9jDqTJnn3v8G78dxP7vrTAdmWP007K__7wtQ4dsfw2ZB 4VRn_16y91Bj4KU3zKdfKjyKqh99.t.QAmD1IMAU3qv2nN3ZX1Dbv8G5Gnv2nrz5x1GjcZrpOuJi 1zBqB9KVokeCHjeFM2A7MzBcrsHI4ODITvf8d9UZeZNH0Fk9DhhKcm.3UGbeqDGu2e_eOOiMT6jn OS8uMaQeAOZnnMZH8LIBe16lI.atOxJdH5B81unVe3mnB6YcnDEhex3LGPMZH8KL_QgUni1PD78C 1UT8etLKKsF.8v05teCYygZLn.nAOnMUJs0fxI3S2gtsVeFwoMcfumWY83lhGPAIuSWsx Received: by 217.12.9.11; Mon, 20 Jul 2015 07:31:23 +0000 Date: Mon, 20 Jul 2015 07:31:22 +0000 (UTC) From: Alvaro Martinez Tovar To: Hiromichi Matsumura Message-ID: <1877558528.812062.1437377482940.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <20150717100536.B50A.6D51D335@meta.co.jp> References: <20150717100536.B50A.6D51D335@meta.co.jp> MIME-Version: 1.0 Cc: "meta-freescale@yoctoproject.org" Subject: Re: 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: Mon, 20 Jul 2015 07:34:18 -0000 Content-Type: multipart/alternative; boundary="----=_Part_812061_1962454302.1437377482935" ------=_Part_812061_1962454302.1437377482935 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you very much for this great response! You have helped me a lot!Regar= ds from Spain De: Hiromichi Matsumura Para: Alvaro Martinez Tovar =20 CC: "meta-freescale@yoctoproject.org" =20 Enviado: Viernes 17 de julio de 2015 3:05 Asunto: Re: [meta-freescale] static ip =20 I have get the same experience before. I'm working with SABRElite made by boundary devices inc.. Sorry there may be some differences in between two environments. There are two network services executing on SABRELite The one service is Linux network service(/etc/init.d/networking). The another service is connman (/etc/init.d/connman). First, static ip was set by Linux network service. And then, ip address override by connman service. So, static ip was invalidated by connman. connman required mac address for setting up the static ip. I'd like to set ip address in simple way. So, I removed connman service from init.d . I will be happy if I can be of any help. Thanks, Hiromichi On Thu, 16 Jul 2015 08:17:16 +0000 (UTC) Alvaro Martinez Tovar wrote: > Hi all, >=20 > I am working with a sabresd platform and the following interfaces file >=20 > root@imx6qsabresd:~/# cat /etc/network/interfaces > # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) >=20 > # The loopback interface > auto lo > iface lo inet loopback >=20 > # Wireless interfaces > iface wlan0 inet dhcp > ? ? ? ? wireless_mode managed > ? ? ? ? wireless_essid any > ? ? ? ? wpa-driver wext > ? ? ? ? wpa-conf /etc/wpa_supplicant.conf >=20 > iface atml0 inet dhcp >=20 > # 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 >=20 > iface eth1 inet dhcp >=20 > # 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 >=20 > # Bluetooth networking > iface bnep0 inet dhcp >=20 > After boot, this is what I can see with ifconfig eth0 command: > NO static ip is set on eth0 for inet >=20 > eth0? ? ? Link encap:Ethernet? HWaddr 00:04:9F:03:9F:FD > ? ? ? ? ? inet6 addr: fe80::204:9fff:fe03:9ffd/64 Scope:Link > ? ? ? ? ? UP BROADCAST RUNNING MULTICAST? MTU:1500? Metric:1 > ? ? ? ? ? RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > ? ? ? ? ? TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 > ? ? ? ? ? collisions:0 txqueuelen:1000 > ? ? ? ? ? RX bytes:0 (0.0 B)? TX bytes:4642 (4.5 KiB) >=20 > However, if I execute: > /etc/init.d/networking restart > everything seems to work and I can connect to static ip >=20 > Any suggestion will be very appreciated. > Thank you in advance >=20 > Alvaro -------------------------------------------------------- =E6=A0=AA=E5=BC=8F=E4=BC=9A=E7=A4=BE=E3=83=A1=E3=82=BF=E3=83=86=E3=82=AF=E3= =83=8E=EF=BC=88=E9=9D=99=E5=B2=A1=E6=8A=80=E8=A1=93=E3=82=BB=E3=83=B3=E3=82= =BF=E3=83=BC=EF=BC=89 =E7=AC=AC=E4=BA=8C=E4=BA=8B=E6=A5=AD=E9=83=A8 =E3=82=BB=E3=83=96=E3=83=B3=E3=82=B9=E3=82=A6=E3=82=A7=E3=83=BC=E3=83=96=E3= =82=B7=E3=82=B9=E3=83=86=E3=83=A0=E9=83=A8 =E6=9D=BE=E6=9D=91=E6=B5=A9=E9=81=93 =E3=80=92411-0943 =E9=9D=99=E5=B2=A1=E7=9C=8C=E9=A7=BF=E6=9D=B1=E9=83=A1=E9= =95=B7=E6=B3=89=E7=94=BA=E4=B8=8B=E5=9C=9F=E7=8B=A930-1 =E5=B1=B1=E5=85=89= =E3=83=93=E3=83=ABB=E6=A3=9F1=E9=9A=8E Tel: 050-3535-0158=C2=A0 Fax: 055-980-1805 E-mail: matsumura.hiromichi@meta.co.jp -------------------------------------------------------- ------=_Part_812061_1962454302.1437377482935 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you very mu= ch for this great response! You have helped me a lot!
Regards from Spain


De: Hiromichi Matsumura <matsum= ura.hiromichi@meta.co.jp>
Para= : Alvaro Martinez Tovar <alvaromartineztovar@yahoo.es> CC: "meta-freescale@yocto= project.org" <meta-freescale@yoctoproject.org>
Enviado: Viernes 17 de julio de 2015 3:05 Asunto: Re: [meta-fr= eescale] static ip


I have get the same= experience before.

I'm working with S= ABRElite made by boundary devices inc..
Sorry there may b= e some differences in between two environments.

There are two network services executing on SABRELite
The one service is Linux network service(/etc/init.d/networking).The another service is connman (/etc/init.d/connman).

First, static ip was set by Linux network s= ervice.
And then, ip address override by connman service.=
So, static ip was invalidated by connman.

connman required mac address for setting up the stat= ic ip.

I'd like to set ip address in s= imple way.
So, I removed connman service from init.d .
I will be happy if I can be of any help.=

Thanks,
Hiromichi



On Th= u, 16 Jul 2015 08:17:16 +0000 (UTC)
Alvaro Martinez Tovar= <alvaromartineztovar@yahoo.es&g= t; wrote:

> Hi all,
>
> I am working with a sabresd platform and th= e following interfaces file
>
> = root@imx6qsabresd:~/# cat /etc/network/interfaces
> # /etc/network/interfaces -- configuration file for ifup(8)= , ifdown(8)
>
> # The loopback i= nterface
> auto lo
> iface lo ine= t loopback
>
> # Wireless interf= aces
> iface wlan0 inet dhcp
> ? = ? ? ? wireless_mode managed
> ? ? ? ? wireless_essid a= ny
> ? ? ? ? wpa-driver wext
> ? = ? ? ? wpa-conf /etc/wpa_supplicant.conf
>
> iface atml0 inet dhcp
>
> # Wired or wireless interfaces
> auto eth0
> iface eth0 inet static
> ? ? ? ? add= ress 192.168.0.30
> ? ? ? ? netmask 255.255.255.0
> ? ? ? ? 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
> ? ? ? ? address 192.168.7.2
> ? ? ? ? netmask 255.255.255.0
> ? ? ? ? ne= twork 192.168.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? HWaddr 00:04:9F:03= :9F:FD
> ? ? ? ? ? inet6 addr: fe80::204:9fff:fe03:9ff= d/64 Scope:Link
> ? ? ? ? ? UP BROADCAST RUNNING MULTI= CAST? MTU:1500? Metric:1
> ? ? ? ? ? RX packets:0 erro= rs:0 dropped:0 overruns:0 frame:0
> ? ? ? ? ? TX packe= ts:19 errors:0 dropped:0 overruns:0 carrier:0
> ? ? ? = ? ? collisions:0 txqueuelen:1000
> ? ? ? ? ? RX bytes:= 0 (0.0 B)? 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

--------------------------------------------------------=E6=A0=AA=E5=BC=8F=E4=BC=9A=E7=A4=BE=E3=83=A1=E3=82=BF=E3= =83=86=E3=82=AF=E3=83=8E=EF=BC=88=E9=9D=99=E5=B2=A1=E6=8A=80=E8=A1=93=E3=82= =BB=E3=83=B3=E3=82=BF=E3=83=BC=EF=BC=89
=E7=AC=AC=E4=BA= =8C=E4=BA=8B=E6=A5=AD=E9=83=A8
=E3=82=BB=E3=83=96=E3=83= =B3=E3=82=B9=E3=82=A6=E3=82=A7=E3=83=BC=E3=83=96=E3=82=B7=E3=82=B9=E3=83=86= =E3=83=A0=E9=83=A8
=E6=9D=BE=E6=9D=91=E6=B5=A9=E9=81=93=E3=80=92411-0943 =E9=9D=99=E5=B2=A1=E7=9C=8C=E9=A7=BF=E6= =9D=B1=E9=83=A1=E9=95=B7=E6=B3=89=E7=94=BA=E4=B8=8B=E5=9C=9F=E7=8B=A930-1 = =E5=B1=B1=E5=85=89=E3=83=93=E3=83=ABB=E6=A3=9F1=E9=9A=8E
= Tel: 050-3535-0158  Fax: 055-980-1805
E-mail: matsumura.hiromichi@meta.co.jp

----------------= ----------------------------------------



------=_Part_812061_1962454302.1437377482935--