X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml_tips;h=d497654d9b48e323f4b982768aa4b264837b66db;hb=7b5cf8c26f8b3dadf2a9d612928db0d438028421;hp=52bb33d35cd81da4c889b81e95baac29505d6c85;hpb=80fb9f1f338e55233aae47f3c5631adb5909fd19;p=grml-tips.git diff --git a/grml_tips b/grml_tips index 52bb33d..d497654 100644 --- a/grml_tips +++ b/grml_tips @@ -2867,3 +2867,29 @@ 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. +-- +Create a Debian package of a perl module: + +% dh-make-perl --cpan Acme::Smirch --build +--