On 3/1/25 7:03 AM, 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 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)
I just tested this setup and it works with no problem. I don't have wifi on the desktop, just two ethernet ports, but it should be the same. One ethernet port goes to "the internet" (internal network, but same). The other ethernet port I configured in the Gnome network manager as "shared to other computers". I then plugged a laptop into that ethernet port and it had internet access. So I'm not sure where you went wrong.
For PC C to have access, you have a couple of options. You could configure the two ethernet ports on PC A as a bridge or you could again configure the second ethernet port as shared.