Plug your router into your internet socket if you want to share your internet Plug your router into your PC with an Ethernet cable
Type ifconfig into the terminal to determine whether it’s been detected. lshw -C network
Type ifconfig into the terminal to determine whether it’s been detected. lshw -C network
sudo ifconfig
Add those commands to /etc/rc. local Make /etc/rc. local executable with chmod