X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=f8334720f923c4ff52f7e32c1756328789573d41;hb=adf933a308269419ba1aa1932dfd25d6822c7202;hp=52bb33d35cd81da4c889b81e95baac29505d6c85;hpb=80fb9f1f338e55233aae47f3c5631adb5909fd19;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 52bb33d..f833472 100644 --- a/grml_tips +++ b/grml_tips @@ -2867,3 +2867,25 @@ This will rename a file named img_2071.jpg to something like: if it was shot at 10:38 o'clock on 2007-08-17 (according to the information inside the exif header). -- +Calculate network / netmask: + +Usage examples: +% ipcalc 10.0.0.28 255.255.255.0 +% ipcalc 10.0.0.0/24 +-- +Blacklist a kernel module: + +# blacklist + +-> running 'blacklist hostap_cs' for example will generate an +entry like this in /etc/modprobe.d/grml: + +blacklist hostap_cs +alias hostap_cs off + +To remove the module from the blacklist again just invoke: + +# unblacklist + +or manually remove the entry from /etc/modprobe.d/grml. +--