On Sat, 2025-03-01 at 16:03 +0100, Patrick Dupre via users wrote:
I have 2 PC A and B. Before A what connected to the world wireless and PC B was connected through an internet cable (wired). PC A lost its wireless connection. Now PC B is connected to the world through a telephone and I want to have PC A connected also through the same internet cable and access to the world.
On PC A I activated Automatic DHCP
If you mean that you enabled that in network manager, that means that A will be assigned an IP from a DHCP server. You need something on your LAN that does that job (acts as a DHCP server). It doesn't mean that becomes some kind of router sharing your internet.
If you meant that you're running a DHCP server on A, that would be odd as B seems to be your gateway.
But with a small LAN like yours, you might find it easier to just set manual IPs on all your PCs.
and on PC B and the internet card 10.42.0.1 shared to other computers (IP) It connects inet 10.42.0.1 netmask 255.255.255.0 broadcast 10.42.0.255
but PC B cannot connect (connection fails)