Dirtbag's Blog

Why wont snmpget work anymore?!

[ link: snmpbroke | tags: linux snmp | updated: Fri, 17 Apr 2020 12:06:22 -0400 ]

So I have been using the following little script for quite some time to test snmpd working on some remote server. After a recent Linux package update though, it stopped working. :(

[Read More]

Centos VM will not start on XENserver 6.2 after disabling selinux

[ link: XENserver-selinux-problem | tags: xenserver centos selinux | updated: Fri, 17 Apr 2020 12:08:58 -0400 ]

I was trying to disable selinux on my centos 6.5 VM running on XENserver and after I set "SELINUXTYPE=disabled" in the /etc/selinux/config file and rebooted, the VM would NOT come up. I tried rebooting the VM a few more times and got nothing.

[Read More]

Set system hostname on Centos 7

[ link: centos7hostname | tags: centos linux | updated: Fri, 17 Apr 2020 12:09:11 -0400 ]

I was kicking the tires of Centos 7 today and noticed that I could not get the system's hostname to set by setting the HOSTNAME variable in the /etc/sysconfig/network file.

[Read More]

Change boot OS of a headless raspberrypi.

[ link: raspberrypiboot | tags: raspberrypi | updated: Fri, 17 Apr 2020 12:09:17 -0400 ]

When running the NOOBS image on a raspberrypi, you can install multiple OSs to run and multi boot the ones you choose. For instance, I boot openelec and raspbian. I needed to be able to switch between which one to boot without hooking up a monitor and keyboard to my pi.

[Read More]

X11 Forwarding problem on smartos

[ link: smartosforward | tags: ssh X11 smartos | updated: Fri, 17 Apr 2020 12:09:21 -0400 ]

I was having problems with X11 forwarding on a smartos host. It was not working, and I kept getting the following message upon login. X11 forwarding request failed on channel 0

[Read More]

LibreVPN between two linux boxes

[ link: librevpn | tags: vpn linux ipsec | updated: Fri, 17 Apr 2020 12:09:26 -0400 ]

I have seen a lot of howtos for doing a lan to lan VPN on linux with openswan/freeswan/libreswan/etc, on the innernets. But when it came time for me to implement one for myself, It seems like there was a lot of misinformation and missing information in a lot of these howtos. I will document here a proceedure that will hopefully be of real use to someone else out there.

[Read More]