elementary OS Asked by BlackSpy on August 28, 2021
Does anyone know how to make the following command permanent in Elementary OS?
route add -host 192.168.1.1 dev wlp0s20f3
This route does exactly what I need, but its not permanent. A reboot of the machine or the network connection will result in it being removed from the IP tables.
I can’t seem to find the files that define the routes for this device (wifi adapter – wlp0s20f3).
Type in terminal :
sudo nano /etc/network/interfaces
Add at the bottom this:
up route add -net 192.168.1.10/24 gw 192.168.1.1 dev wlp0s20f3
Where 192.168.1.10 is the IP of your machine which you can check with command:
ip a
Restart the networking service by typing in terminal:
sudo /etc/init.d/networking restart
Correct answer by Sysadmin on August 28, 2021
2 Asked on January 6, 2022
0 Asked on January 4, 2022
command line gnome terminal hot corners pantheon terminal settings
1 Asked on January 1, 2022 by arium76
1 Asked on January 1, 2022 by coxy-co
1 Asked on December 28, 2021 by maxi1357
1 Asked on December 25, 2021 by insert-name-here
3 Asked on December 25, 2021 by codedgar
1 Asked on December 23, 2021
3 Asked on December 18, 2021
1 Asked on December 18, 2021 by a-kiddoo
4 Asked on December 18, 2021 by surendrajat
2 Asked on December 14, 2021 by big-smoke
1 Asked on December 11, 2021 by sulthan
1 Asked on December 9, 2021 by wilman-darnasutisna
1 Asked on December 5, 2021
1 Asked on December 4, 2021 by jacob-k
1 Asked on December 4, 2021 by peter-uithoven
Get help from others!
Recent Answers
© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP