>'''[[http://Jonathan-Ferguson.au/|Internet Site: http://Jonathan-Ferguson.au/]]'''
<
>
<
>'''[[https://launchpad.net/~jonathan-ferguson|Launchpad: jonathan-ferguson]]'''
<
>
<
>'''[[http://au.linkedin.com/in/fergusonjonathanferguson|Linkedin: Jonathan Ferguson]]'''
<
>
<
>'''My Intellectual Property:'''
<
> {{attachment:IconsPage/iconCircleSmall.png}} [[https://wiki.edubuntu.org/JonathanFerguson/EthernetInterconnections|Ethernet Interconnections]]
<
> {{attachment:IconsPage/iconCircleSmall.png}} [[https://wiki.edubuntu.org/JonathanFerguson/Musings|Musings]]
<
> {{attachment:IconsPage/terminal.png}} [[http://congruent-networks.au/Jonathan-Ferguson/Quick-Quagga|./Quick-Quagga]]
<
> {{attachment:IconsPage/terminal.png}} [[http://congruent-networks.au/Jonathan-Ferguson/Quick-Quagga-802.11-Interfaces|./Quick-Quagga-802.11-Interfaces]]
<
>
<
>'''My Writeups:'''
<
> {{attachment:IconsPage/iconCircleSmall.png}} [[https://wiki.edubuntu.org/JonathanFerguson/Bird|Bird Internet Routing Daemon]]
<
> {{attachment:IconsPage/iconCircleSmall.png}} [[https://wiki.edubuntu.org/JonathanFerguson/NTP|Network Time Protocol]]
<
> {{attachment:IconsPage/iconCircleSmall.png}} [[https://wiki.edubuntu.org/JonathanFerguson/Quagga|Quagga Routing Software Suite]]
<
> {{attachment:IconsPage/iconCircleSmall.png}} [[https://wiki.edubuntu.org/JonathanFerguson/radvd|Router Advertisement Daemon]]
<
>
<
>'''Useful Commands:'''
<
>Network Interface [[https://www.itu.int/rec/dologin.asp?lang=e&id=T-REC-Y.1564-202106-I!Cor1!PDF-E|bit rate 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 `` `[`-B` ]` `[`-Ru`]``
<
>Run a shell script on a particular CPU
<
>`getconf _NPROCESSORS_ONLN`
<
>`taskset -c `` ./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
<
>`blkid && lsblk -f && sudo fdisk -l | grep "Disk /dev/"`
<
>`sudo dd if=`` | lzma --best > ./backup`
<
>Restore a backup to a disk
<
>`blkid && lsblk -f && sudo fdisk -l | grep "Disk /dev/"`
<
>`sudo dd if=/dev/zero of=``; unlzma ./backup -c | sudo dd of=```
<
>
<
>'''Useful Daemons:'''
<
>Domain Name System
<
>`sudo apt-get -y 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 ) && echo -e "zone dn42 IN { type forward; forward only; forwarders { fd42:d42:d42:54::1; fd42:d42:d42:53::1; 172.20.0.53; 172.23.0.53; }; };" | sudo tee -a /etc/bind/named.conf.local && sudo named-checkconf /etc/bind/named.conf.local && ( sudo /etc/init.d/bind9 restart 2> /dev/null || sudo /etc/init.d/named restart )`
<
>File Transfer Protocol
<
>`sudo add-apt-repository -uy universe &> /dev/null; sudo apt-get -y install pure-ftpd`
<
>Hypertext Transfer Protocol
<
>`sudo apt-get -y install software-properties-common && sudo add-apt-repository -uy ppa:unit193/cherokee && sudo apt-get -y install cherokee cherokee-admin`
<
>IEEE 802.1AB Link Layer Discovery Protocol
<
>`sudo apt-get -y install lldpd && echo -e "DAEMON_ARGS=\"-l -L /usr/sbin/lldpcli -x\"" | sudo tee -a /etc/default/lldpd && sudo systemctl restart lldpd.service && sudo lldpcli update`
<
>`lldpcli watch`
<
>Secure Shell
<
>`sudo apt-get -y install ssh`
<
>
<
>'''Useful Programmes:'''
<
>Concurrent Shells
<
>`sudo apt-get -y install byobu`
<
>Network Interface Utilisation
<
>`sudo add-apt-repository -uy universe &> /dev/null; sudo apt-get -y install ethstats`
<
>
<
>
----
''[[http://Jonathan-Ferguson.au/|Jonathan Ferguson]], [[https://wiki.edubuntu.org/JonathanFerguson|Ubuntu Wiki]], [[https://wiki.edubuntu.org/JonathanFerguson]]''
----