Ubuntu 24.04 LTS image file

Hello everyone!

Milk-V Duo 256m was recently delivered (almost 2 weeks ago), during this time I tried both the official image and Ubuntu 22.04 from Bassusteur. It was the latter image that I took as a basis for creating version 24.04 LTS, the link to which I will post here. Authorization password “milkv”. But … there is some problem, the IP address 192.168.42.1 is reset. I have to assign manually # ifconfig enx*** 192.168.42.2 broadcast 192.168.42.255 netmask 255.255.255.0 , but after some time it is reset again. I would like to understand which files are responsible for the operation of usb0 (RNDIS), in order to correct it if possible.

I am waiting for suggestions and explanations from everyone.
Thank you for your attention.

1 Like

The IP address question: I guess you’re setting up your PC’s (USB host) IP address.

If this is happening only with your image and with the official and 22.04 images didn’t happen, this may be because of the DHCP server: it is either not running, or misconfigured.

   Yes. I ordered Milk-V Duo USB & Ethernet IO Board , but the package has not been delivered yet. So it is a PC USB host. Especially since the official documentation is written for this configuration by default.
   Official images (I also built milkv-duo256m-sd-20241105-0043.img myself), as well as Ubuntu 22.04, do not create such a problem, but they have another problem that appeared on Windows 11. During authorization, it refuses to accept the password. There is no such problem under Linux. 
   Regarding the reset of the IP address - for some reason I thought that the problem lies in the missing and / or damaged library and configuration files. Now I rechecked the list of enabled services, yes, dhcpcd is enabled and running.
1 Like

I have no idea what about Windows; but the DHCP dæmon is either not configured to respond on this interface, or it may be getting blocked by a firewall, for instance.

Also, do you think it is a DHCP server dæmon, not a DHCP client dæmon you’re checking? Because I’m afraid this is a DHCP client.

I forgot to clarify, I apologize. The IP address reset occurs only for the first 10-15 minutes after connection, then it can work for hours without resetting.

1 Like

Doesn’t look like a problem with config. Looks very much as if your PC is being configured automatically once you boot the Duo board up, and after a while something resets the address.

This can happen in several cases.
For instance, if your computer wants to renew/rebind/confirm the address (it happens at least once at half the lease period) while the DHCP server isn’t responding already.

Requires further investigation.

Anyway, you can inspect what’s happening at that moment if you hook a USB-to-TTL converter up to the UART line of the board, this may help.

1 Like