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.
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.
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.