I am using pi as my main system.
for sometime, i had to start dhclient manully to connect to the internet, to fix this, when i searched on internet, i came to know that i have both dhcpcd and dhclient installed.. so i remove dhcpcd5 isc-dhcp-client isc-dhcp-common
packages by seeing the answer,
🥺 now i don't have internet
i tried connect internet manually using
sudo ip addr add 192.168.1.7/24 dev eth0
sudo ip route add default via 192.168.1.1
but it showing error
Error:Nexthop has invalid gateway
- is there any way to install dhclient back without internet?
- any way to connect to the internet without dhcp.
thanks in advance