Linux Pronounciation

*Note, check to make sure a leading / isn't needed. For some reason current version of Dokuwiki is having issues with it.*

Pass-Through USB Adapter

Serial USB Adapter
ls -l /dev/ttyUSB

id -Gn UserName

sudo usermod -a -G GROUPNAME<username>

Allow Terminal To Connect To Older Devices

  Edit ssh_config
   Add
  - KexAlgorithms +diffie-hellman-group1-sha1
  - Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc

CheckPoint on Ubuntu

sudo chmod a+rx ./snx_install.sh
sudo ./snx_install.sh
sudo ldd /usr/bin/snx
     not a dynamic executable
     
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libstdc++5:i386 libx11-6:i386 libpam0g:i386
sudo ldd /usr/bin/snx
     (SHOULD HAVE A LIST NOW)
     
sudo apt-get install libnss3-tools
sudo apt-get install libpam0g:i386 libx11-6:i386 libstdc++6:i386 libstdc++5:i386
sudo apt-get install xterm
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo ./cshell_install.sh

Fix Firefox Scrolling

Go to about:config
Change the value of mousewheel.acceleration.start from -1 to 1

Various Commands

mtr datamatt.com -4 -bez    <Will include AS Numbers

Alternatives to top    > htop atop iotop itop

Rsync copy between systems    > sudo rsync -a --delete -e ssh /var/www/ User@Device:/home/User/Documents/

System Errors:
sudo dmesg -c

or real time monitor for dmesg:  
watch "dmesg | tail -20"

Couple other logs to check:
cat /var/log/syslog
cat /var/log/kern.log 

Citrix on Ubuntu

  Citrix Receiver renamed To Citrix Workspace
  - sudo dpkg -i icaclientWeb_19.3.0.5_amd64.deb  
  - May need to remove the previous certs on 18.0+
  - sudo rm -r cacerts
  - sudo ln -s etc/ssl/certs cacerts

FTP Server Setup

Install VSFTP

sudo apt-get install vsftpd

Start and enable the service:
sudo systemctl start vsftpd
sudo systemctl enable vsftpd


Create FTP user

sudo useradd -m cisco
sudo passwd cisco


Configure VSFTP

Copy original:
sudo mv etc/vsftpd.conf etc/vsftpd.conf.orig

Create new config:
sudo nano etc/vsftpd.conf

Copy Paste:

listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=NO
allow_writeable_chroot=YES

Connect