JonathanFerguson


Internet Site: http://Jonathan-Ferguson.tk/

Launchpad: jonathan-ferguson

Linkedin: Jonathan Ferguson

My Intellectual Property:
IconsPage/iconCircleSmall.png Ethernet Interconnections
IconsPage/iconCircleSmall.png Musings
IconsPage/terminal.png ./Quick-Quagga
IconsPage/terminal.png ./Quick-Quagga-802.11-Interfaces

My Writeups:
IconsPage/iconCircleSmall.png Bird Internet Routing Daemon
IconsPage/iconCircleSmall.png Network Time Protocol
IconsPage/iconCircleSmall.png Quagga Routing Software Suite
IconsPage/iconCircleSmall.png Router Advertisement Daemon

Useful Daemons:
Domain Name System
sudo apt-get install bind9 && ( sudo sed -i 's/RESOLVCONF=no/RESOLVCONF=yes/' /etc/default/bind9 2> /dev/null || sudo sed -i 's/RESOLVCONF=no/RESOLVCONF=yes/' /etc/default/named ) && ( sudo /etc/init.d/bind9 restart 2> /dev/null || sudo /etc/init.d/named restart )
File Transfer Protocol
sudo add-apt-repository universe && sudo apt-get install pure-ftpd
Hypertext Transfer Protocol
sudo add-apt-repository -u ppa:unit193/cherokee && sudo apt-get install cherokee
Secure Shell
sudo apt-get install ssh

Useful Programmes:
Concurrent Shells
sudo apt-get install byobu
Network Interface Utilisation
sudo add-apt-repository universe && sudo apt-get install ethstats

Useful Commands:
Network Interface bitrate testing using a server and client hierarchy — if the Interface speeds of the End Systems are not equal, do not source UDP from the faster transmit-capable End System.
iperf3 -s
iperf3 -b 0 -f m -l 0 -M 9216 -N -O 0 -P 1 -t 300 -V -w 0 -Z --get-server-output --no-fq-socket-pacing -c <destination address> [-B <source address>] [-Ru]
Run a shell script on a particular CPU
getconf _NPROCESSORS_ONLN
taskset -c <CPU n-1> ./shell-script
Run a shell script with Real Time scheduling
sudo chrt [-f | -r] <1-99> sudo -u $USER ./shell-script
Create a backup of a disk
sudo fdisk -l | grep "Disk /dev/"
sudo dd if=<Disk> | lzma --best > ./backup
Restore a backup to a disk
sudo fdisk -l | grep "Disk /dev/"
sudo dd if=/dev/zero of=<Disk>; unlzma ./backup -c | sudo dd of=<Disk>


Jonathan Ferguson, Ubuntu Wiki, https://wiki.edubuntu.org/JonathanFerguson