Automatic IP config for Raspberry & Venus OS (connected to PC)

My Windows PC is sharing internet for Venus OS and I am able to get connection by manual settings IP 192.168.137.2, gateway 192.168.137.1 but it’s not working reliable (lots of fiddling every time PC restarts). Raspberry and PC are connected with direct ethernet cable.

Is it possible to have Venus OS fetch IP from Windows PC automatically? Now it hangs at state “Retrieving IP address”.

Why can’t you connect the Pi directly to the router?
The problem you are having appears to be that the Pi can’t always get the IP, and Gateway information from the DNS in the pc.

I don’t have a router and don’t wish to get one just for this. This what you mention is the problem. I’m wondering if anyone has managed to set it up correctly.

You need to give some more info about your setup.
It looks like you didn’t setup a fix IP for your Raspberry properly.

There aren’t many Venus settings to get wrong. Forgot to mention: Windows almost always sets IP to 192.168.137.1.

I have managed to narrow down the problem to Windows internet connection sharing. Just disabling and enabling the sharing of outbound internet connection to the connection that goes to raspberry seems to fix the issue. Maybe I’ll vibe code a script that does that for me automatically every time Windows starts.

When your PC sets the IP of the Raspberry to 192.168.137.1 it means your PC acts as DHCP server.
You don’t want this.
In the Venus ethernet settings choose Manual and enter an IP in the same subnet.
Better would be to use a switch though.

You are probably right, DHCP is one extra component that can break. There is one additional problem: Windows ICS does not always share DNS properly so when that happens, Venus OS can’t find VRM portal. The remove/enable sharing fixes that too.

How then does your pc connect to the internet? Is there a reason the pi can’t also share this method of connection?

I am using my phone with USB tethering. I could connect it to raspberry directly but then PC has no internet.

If you used your phone as a wifi hotspot, then both the PC and the Pi could connect to it, and no need to set up a bridge in the pc.
This would probably work a lot more reliably. The phone could still be plugged into the pc to maintain charge.

I want to minimize wireless pollution. Also the reason why I won’t get second GSM sim. Bluetooth is acceptable.

I got the ICS reset script working. Starts delayed after Windows bootup so no extra hassle anymore. Not the prittiest solution but works :).

I can share it here if anyone has similar problem.