-
Archives
- March 2024
- December 2023
- November 2023
- October 2023
- July 2023
- April 2023
- March 2023
- February 2023
- October 2022
- February 2022
- January 2022
- December 2021
- September 2021
- August 2021
- July 2021
- March 2021
- January 2020
- May 2018
- May 2017
- April 2017
- March 2016
- February 2016
- December 2015
- September 2015
- March 2015
- January 2015
- October 2014
- June 2014
- March 2014
- February 2014
- December 2013
- November 2013
- August 2013
- July 2013
- June 2013
- May 2013
- February 2013
- October 2012
- July 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- November 2011
- October 2011
- June 2011
- May 2011
- April 2011
- December 2010
- November 2010
-
Meta
Category Archives: Linux
IPsec tunnel between Ubuntu 20.04 and Mikrotik router using strongSwan
Here is how to establish an IPsec tunnel between an Ubuntu 20.04 host and a Mikrotik router using IKEv2. The 2 endpoints of the tunnel are: ubuntu.xentoo.info : the Ubuntu server. This server has a local private subnet 10.0.0.0/24 and … Continue reading
Posted in Computer, Linux, Mikrotik, Networking
2 Comments
Install Firely III on Ubuntu 19.04
“Firefly III” is a (self-hosted) manager for your personal finances. You can find more about it on the following sites: github.com/firefly-iii/firefly-iii docs.firefly-iii.org/ Install prerequisites Let’s first install the requirements to run Firefly. Firefly documentation says it runs on PHP 7.2 … Continue reading
Posted in Computer, Linux
Leave a comment
Compile pjsip with pjsua on Ubuntu 16.04
As a personal note to myself :-) apt-get install make gcc pkg-config libasound2-dev wget www.pjsip.org/release/2.6/pjproject-2.6.tar.bz2 tar -xjf pjproject-2.6.tar.bz2 cd pjproject ./configure && make dep && make sudo make install sudo cp pjsip-apps/bin/pjsua-x86_64-unknown-linux-gnu /usr/local/bin/pjsua That’s it!
Extend snmpd to add detailed CPU statistics, per CPU (again)
For easier use with Cacti, it is easier to group statistics per type instead of per CPU. So you would have a parent OID for CPU time spent by user with many values (one per CPU). Put the following in … Continue reading
Posted in Computer, Linux, Networking
Leave a comment
Extend snmpd to add detailed CPU statistics, per cpu
I needed to export detailed CPU statistics from Linux servers using SNMP. While UCD-SNMP-MIB export some detailed stats, it only does it for the whole system. I may have missed something easier though :-) So here is a BASH script, … Continue reading
Posted in Computer, Linux, Networking
Leave a comment
Unetlab: create a QEMU image
So you have your Unified Networking Lab (UNL) server running and you want to use arbitrary QEMU images with it. Here is how to create one. All UNL data is stored under /opt/unetlab , images are stored under /opt/unetlab/addons and … Continue reading
Posted in Computer, Linux, Networking
Leave a comment
Ubuntu 14.04 and USB to Serial ch341 (chinese device from Ebay)
You can find pretty cheap USB to Serial devices on Ebay. I bought one and received a device using a chip ch341. Unfortunately, the drive is bugged in Ubuntu 12.04 and 14.04. Fortunately, there is patch to fix it. Here … Continue reading
Posted in Computer, Linux
6 Comments
Update GNS3 server on GNS3 IOU VM
GNS3 Sourceforge account provides an OVA image ready to run gns3-server for those who want to use Cisco IOS on Unix images . However, at the time of this writing, the gns3-server version is outdated (1.3.3). The client must have … Continue reading
Posted in Computer, Linux, Networking, Virtualization
Leave a comment
Migrate Debian 6+ to another server with minimal downtime
Recently I had to migrate services from a running Debian server to another one, with minimal downtime of services. I usually do this to P2V or V2V Linux systems, as this allows me to resize the new virtual machine to … Continue reading
Posted in Computer, Linux
Leave a comment
Nagios and LSI RAID cards
To monitor the status of a LSI RAID card, say for example a Dell PERC card, you will need to install NRPE, sudo, mpt-status and check_mpt.sh . Install sudo and NRPE via your package manager. You can grab mpt-status via … Continue reading
Posted in Computer, Linux
Leave a comment