Network T2080RDB-PC (fsl-image-mfgtool)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Network T2080RDB-PC (fsl-image-mfgtool)

603 Views
sandratrujillog
Contributor III

 I have the fsl-image-mfgtool installed on my T2080RDB-PC. Why every time that I start the T2080RDB-PC I have to configure the network (interface) in Linux? It is normal?

To configure the network I do the following steps:

1) vi / etc / network / interfaces

2) I add the following lines in the interface file:

      auto fm1-mac9

      iface fm1-mac9 inet static

      address 192.168.1.3

      net mask 255.255.255.0

3) From the console I execute:

      ifup fm1-mac9

Is there any way of not having to configure the network every time I start the operating system?

Labels (1)
Tags (1)
0 Kudos
1 Reply

439 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Sandra Trujillo García,

This is normal, the file /etc/network/interfaces is provided in the package init-ifupdown, you could modify the configuration file in this package and rebuild it into the rootfs.

Please modify the file sources/meta-freescale/recipes-core/init-ifupdown/init-ifupdown/qoriq/interfaces in Yocto, for example:

     auto fm1-mac9

      iface fm1-mac9 inet static

      address 192.168.1.3

      net mask 255.255.255.0

 

Then rebuild package init-ifupdown and regenerate the rootfs filesystem.

$bitbake init-ifupdown -c cleansstate

$bitbake init-ifupdown

$bitbake fsl-image-core

 


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos