manually change ip

master
Alessandro Mauri 6 years ago
parent e92837ec9f
commit 82b1a4f510
  1. 8
      linux_general.txt

@ -481,6 +481,12 @@
To revert it back: To revert it back:
"echo 0 > /proc/sys/net/ipv4/ip_forward" "echo 0 > /proc/sys/net/ipv4/ip_forward"
-Manually changing ip address of a given network card:
run:
"ip addr add <ip>/<mask> dev <interface>"
where ip is the desired ip and mask is the desired network mask in 2 digit format,
ex: "192.168.1.2/24" where 24 expands to 255.255.255.0
# USEFUL PROGRAMS # USEFUL PROGRAMS
-"youtube-dl" is a tool that allows you to download content (eg. videos, audio and thumbnails) -"youtube-dl" is a tool that allows you to download content (eg. videos, audio and thumbnails)
@ -504,7 +510,7 @@
-"i3-lock" and "i3-lock-wrapper" a simple and suckless lock screen -"i3-lock" and "i3-lock-wrapper" a simple and suckless lock screen
-"st" a trurly suckless terminal -"st" a trurly suckless terminal with support for images, unicode and truecolor
# VIM COMMANDS # VIM COMMANDS