This message was posted on behalf of Intel Corporation2 of 2 people found this helpful
In the eglibc image I was able to change the network interface name with these commands
ifconfig enp0s20f6 down
ip link set enp0s20f6 name eth0
ifconfig eth0 up
Let us know if this works for you.
Now it is not necessary to have specific "names" for different libc based libraries. I'll post an update on this in thread
specifically about a webserver as a specific case.
Thanks for providing steps to change network interface name and it worked..
But, it worked only at that time means if i restart board after changing interface name to eth0 then interface name is changed to previous original one which is enp0s20f6. So, I want to change that interface name from enp0s20f6 to eth0 permanently from Yocto Build configuration or bb files.
I can do it from my custom systemd services at board boot-time as well but that solution is not proper as i need to down network to change that interface name on every restart.
Please provide any appropriate or permanent solution to change that interface from image itself if you or anyone else has any solution for that.
1 of 1 people found this helpful
I got one permanent solution to keep Ethernet Interface name as eth0 and Wireless Interface name as wlan0 which i found from another running thread.
ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules
so, Anyone can configure above rule into custom Galileo build system to keep Ethernet and WiFi interfaces name as it it.