From 82b1a4f5104460862f55798e4e5c3eae9a7978c1 Mon Sep 17 00:00:00 2001 From: curvd_ Date: Fri, 10 May 2019 18:43:26 +0200 Subject: [PATCH] manually change ip --- linux_general.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/linux_general.txt b/linux_general.txt index 255adde..fcac629 100644 --- a/linux_general.txt +++ b/linux_general.txt @@ -480,6 +480,12 @@ "echo 1 > /proc/sys/net/ipv4/ip_forward" To revert it back: "echo 0 > /proc/sys/net/ipv4/ip_forward" + +-Manually changing ip address of a given network card: + run: + "ip addr add / dev " + 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 @@ -504,7 +510,7 @@ -"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