I am running i.MX8M Quad - kernel 5.10.72 with CYW54591 moduleand i had a problem.
I am setting static IP for eth0 by following config:
root@imx8mqevk:~/Script/CYW# cat /etc/systemd/network/70-static.network
[Match]
Name=eth0
[Network]
Address=192.168.52.88/24
Gateway=192.168.52.1
DNS=8.8.8.8
I can see address of eth0 when I start platform as following picture:
But after I connect to AP and run DHCP, static IP of eth0 was lost.
It was not appear on kernel 4.14, only on kernel 5.10.
Can you show me how to solve it?
Solved! Go to Solution.
Hi @luan_duy
I hope you are doing well.
Please assign static IP address of eth0 with below mentioned command.
dhcpcd -S ip_address=<IP Address> -S rounters=<GW Address> -S subnet_mask=<Subnet address> eth0
After above command try to execute command "udhcpc -i wlan0" an check the static IP of eth0.
Thanks & Regards
Sanket Parekh
Hi @luan_duy
I hope you are doing well.
Please assign static IP address of eth0 with below mentioned command.
dhcpcd -S ip_address=<IP Address> -S rounters=<GW Address> -S subnet_mask=<Subnet address> eth0
After above command try to execute command "udhcpc -i wlan0" an check the static IP of eth0.
Thanks & Regards
Sanket Parekh
Thank you very much.
I could resolve this problem through config "connman" service, and it is working well.
But I will try by your way.
Thanks and Regards.
Luan