TCPdump capture dhcp traffic
WIP sudo tcpdump -i any -nnvvv -s 1500 '(port 67 or port 68)'
WIP sudo tcpdump -i any -nnvvv -s 1500 '(port 67 or port 68)'
Open gnome-control-center, go to system, details, default applications
systemctl enable nfs Failed to issue method call: No such file or directory Solution: use nfs-server .
python -c 'import crypt; print(crypt.crypt("Karlo", "$6$SaltHere"))' If your output ends with a dot, copy that as well.
When logging in (via SSH) to one of my systems, it said: timeout in locking authority file */.Xauthority When this happens: Make sure the users’ home dir is readable +…
If you want to change the selinux config, be aware that there are two files: /etc/selinux/config /etc/sysconfig/selinux The second one should be a symlink to the first one but I…
edit /etc/systemd/logind.conf set HandleLidSwitch=ignore via http://revryl.com/2013/05/16/how-to-disable-auto-suspend-when-laptop-lid-is-closed-in-fedora-1817/
I got the error “No space left on device” when doing mkdir. Steps to fix: Is there still space (yes in my case); df -h /data/ Are there still inodes…
Start using CD, tab at the install menu, add “inst.vnc inst.vncpassword=kluinst” and it will do a vnc install.
I got this on RHEL 6: requested NFS version or transport protocol is not supported Restarting the NFS daemon fixed this. Guess some libraries were updated. Haven’t taken the time…
For https://valloric.github.io/YouCompleteMe/ you will need (on Fedora) to: cd .vim/bundle git clone https://github.com/Valloric/YouCompleteMe cd YouCompleteMe git submodule update –init –recursive sudo yum install cmake gcc-c++ python-libs python-devel ./install.sh
Setting hostname via /etc/sysconfig/network does not seem to work anymore. Instead use hostnamectl set-hostname hostname.domain.
It is gone, and that is a Good Thing. See my post from 2011: http://karloluiten.nl/deprecated-linux-networking-commands-and-their-replacements/
Outlook and gmail do not always work together. If a someone sends you a mail from outlook using Rich Text, and has s/mime enabled, the mail will show in gmail…
$ yum install tnef $ tnef --save-body=body --unix-paths winmail.dat $ oowriter body.rtf
Use these commands to see if a private key matches a server’s certificate: # openssl rsa -noout -modulus -in server.key # openssl x509 -noout -modulus -in server.crt If the modulus…
If you want to validate your kickstart files, install pykickstart. It comes with /usr/bin/ksvalidator which gives info on what is wrong with your kickstart files (syntax et cetera).
If you only have samba libs, and not cifs-utils installed, you will get: mount: block device //10.0.64.60/linux is write-protected, mounting read-only mount: cannot mount block device //10.0.64.60/linux read-only So install…
Use the lowest IP of the range, ergo: # tcpdump net 1.2.3.0/24 # tcpdump net 10.0.0.0/8 not .1 at the and.
Start recording macro (i normaly use qq) Do commands, end in insert mode Ctrl-o q Macro is now ended and saved in insert mode
$ chronyc sources 210 Number of sources = 4 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^+ arethusa.tweakers.net 2 10 377 22m -574us +/- 27ms ^* ntp0.mediamatic.nl…
Compact: #.---------------- min (0-59) #| .------------- hr (0-23) #| | .---------- dom (1-31) #| | | .------- mon (1-12) #| | | | .---- dow (0-7|mon-sun0) #| | | |…
Very short version: echo 1 > /sys/class/scsi_disk/2\:0\:0\:0/device/rescan Resize disk in vmware fdisk /dev/sda2 p, d, 2, n, p, 2 , 258, t, 2, 8e, w reboot/rescan pvresize /dev/sda2 lvextend -l…
repomanage -k2 --old /data/repo/data/el-6-epel | xargs rm -f
Not documented in the kickstart docs I use: https://fedoraproject.org/wiki/Anaconda/Kickstart , the way to do a minimal (core/nobase) install: %packages --nobase @core @server-policy %end
My nsf shares were mounted as ‘nobody. In /etc/idmap.conf the Method= nsswitch, so that is not the problem. Solution is to do “nfsidmap -c” on the box where the share…
Problem: Dec 6 09:09:19 kahuna-karlo systemd-modules-load: Failed to find module 'vboxdrv' Dec 6 09:09:19 kahuna-karlo systemd-modules-load: Failed to find module 'vboxnetflt' Dec 6 09:09:19 kahuna-karlo systemd-modules-load: Failed to find module…
I often forget this (because I don’t use copy/paste a lot in tmux), so this is a reminder for me: Go to the pane from where you want to copy…
I got: Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release The GPG keys listed for the "RHEL6 Server" repository are already installed but they are not correct for this package. Check that the correct…