Re: How to configure eth0 on fslc-image-network-full-cmdline
Gary Huband
If your image uses systemd-networkd, then the interface configuration files are in /etc/systemd/network. For eth0 using DNS you should have a file eth0.network:
Gary
From: meta-freescale@... <meta-freescale@...> on behalf of Fabio Estevam via lists.yoctoproject.org <festevam=gmail.com@...>
Sent: Wednesday, January 5, 2022 8:18 AM To: Leo <Leo.E.Meza@...> Cc: meta-freescale@... <meta-freescale@...> Subject: Re: [meta-freescale] How to configure eth0 on fslc-image-network-full-cmdline Hi Leo,
On Wed, Nov 17, 2021 at 7:40 PM Leo <Leo.E.Meza@...> wrote: > > Hello, > > I'm using a wandboard (rev d1) and building the fslc-image-network-full-cmdline image (honister branch). I've got ethernet wired to a switch on my home network, but I cannot figure out how to setup this build to bring up eth0 via DHCP. Any help would be appreciated. Is this image supposed to bring up eth0 right out of the box? There is a recent fix in 5.15.13 for Ethernet on wandboard https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git%2Fcommit%2Farch%2Farm%2Fboot%2Fdts%2Fimx6qdl-wandboard.dtsi%3Fh%3Dv5.15.13%26id%3Def73e3b650b7b1ad4080b8e7aeba5e36e19f0932&data=04%7C01%7Cgary%40missionsecure.com%7C1397663187e94db62ab508d9d04deb6b%7Cf0ca9611f13f4dc98e1b119172b8ec5d%7C0%7C1%7C637769855347295604%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=VNgLH7NoC8HmHQw3B0zk4Afv%2F3u2UAyLVpjskmbS8iQ%3D&reserved=0 After applying this fix, I can confirm Ethernet is functional. To get an IP address via DHCP: udhcpc -i eth0
Gary Huband
Sr. Software and Systems Engineer
Office: 434.284.8071 x720 Direct: 434.260.4995 Gary@...
: : : : : : : : : : : : : : : : : : : : : : : : : : :
![]() This email and any files transmitted with it are confidential and proprietary and intended solely for the use of the individual or entity to whom they are addressed.
Any dissemination, distribution or copying of this communication is strictly prohibited without our prior permission. If you received this in error, please contact the sender and delete the material from any computer.
|
||||
|