On my CentOS 7 boxes, I’ve sometimes used the Rescue Mode for data retrieval.
Boot the install media > Troubleshooting > Rescue CentOS system.
After entering the shell, I displayed available network interfaces:
# ip addr
And then I brought up the interface like this for example:
# dhclient enp3s0
I just tried this with a Rocky Linux 8.4 USB Key. Booted into Rescue Mode, displayed available network interfaces, but then I get this:
sh: dhclient: command not found
Any suggestions ?