content top

Passwordless SSH login with keypair

Yeah, shitloads of these guides are already out there. This is just a note more for personal use. This is useful for running rsync over SSH in an automated script.   Generate key on client side and secure it: mkdir ~/.ssh;cd ~/.ssh;ssh-keygen -t rsa;cat id_rsa.pub >> authorized_keys;chmod 600 authorized_keys   Use ssh-copy-id utility to copy public key to target machine: /usr/bin/ssh-copy-id -i ~/.ssh/id_rsa.pub...

Read More

Windows route cheat-sheet

List all IPv4 routes: route print -4   Add route: route add (destination subnet start IP) mask (subnet mask) (target gateway IP) route add 172.16.47.0 mask 255.255.255.0 192.168.47.254   Delete route: route delete (destination subnet start IP) route delete 172.16.47.0   Make persistent (stay after reboot) - add flag -p: route add -p 172.16.47.0 mask 255.255.255.0 192.168.47.254   CIDR notation subnet mask cheat...

Read More

Removing hidden hardware (network adapters) from Windows 7

Sometimes hardware devices in Windows 7 are completely hidden in Windows 7. For example, I had a VMWare Windows 7 guest OS running on my ESXi 5.1 server and I did an 'upgrade virtual hardware' step. When I booted up the guest OS, the network connection was called "LAN connection 2" instead of just "LAN connection". Apparently Windows now saw a new network interface card, but the old one was still somehow hidden in the system. Opening up...

Read More

Pin-out of Fritz!Box Y-cable

This is more for myself than for others, but, if you can use it, go ahead. In The Netherlands here, a fair amount of the decent modems sent out for DSL and fiber-to-the-home connections are Fritz!Box routers. These also have a fairly decent phone system built-in that can be hooked up to ISDN or POTS, but DSL and phone signals both go into the same port (but different pins obviously) on the Fritz!Box for some insane reason. A special...

Read More

VMWare tools in Ubuntu, Debian, CentOS, Fedora, on ESXi 5.0, 5.1, 5.5, 6.0, 6.5

This is more like a quick note for myself that I can easily reuse. It can also be used to upgrade an older VMWare Tools to the latest version. Prerequisite is that you right click the VM and select Install/Upgrade VMWare Tools so it mounts the .iso image with the VMWare Tools on it to the CD drive of the VM. Make sure a previous other ISO wasn't mounted. If asked which mode to use select Interactive. Then copy and paste the following stuff...

Read More

IMAP server on Debian or Ubuntu with Courier-IMAP and fetchmail

On a forum I frequent I've seen this question asked a lot; how do I use my email on multiple computers? The POP protocol, that has been used for ages and still is quite popular, was never designed with multiple clients in mind, so we need to look at another solution. The IMAP protocol, which requires an IMAP server and an IMAP compatible email client, was designed to store email in a central location and keeps the clients and the server...

Read More
content top