Make sure wireless-tools is installed and then edit /etc/network/interfacese
12345678910auto eth1 iface eth1 inet dhcp wpa-driver wext wpa-ssid [ssid here] wpa-ap-scan 1 wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk [result of wpa_passphrase essid phrase]#or
1234auto eth1 iface eth1 inet dhcp wireless-essid [ssid here] wireless-key [network key]And to improve your wireless performance if you’re getting dropped packets use
1iwconfig [interface] rate 5.5M autoThis allows you to mount an iso file in a linux directory
1mount -o loop file.iso /mnt/cdromThis will allow your VNC session to run over the ssh session, just vnc to yourself
1ssh username@123.123.123.123 -L 5900:127.0.0.1:5900This will set up a SSH SOCKS5 proxy on port 8080 (don’t forget to set your borwser proxy to socks5 8080)
1ssh username@123.123.123.123 -ND 8080This will verbosely sync the 2 directories locally
1rsync --delete --progress --sparse -va /dir/of/source/ /dir/of/destination/And to do the same thing over SSH:
1rsync --sparse --progress -avc -e ssh user@example.com:/dir/of/source /dir/of/destination/This zips the directory and names it xyz.zip in
1zip -r /home/user/xyz.zip /location/of/directoryThis unzips the archive
1unzip /home/user/xyz.zipThis tars the directory and names it xyz.tar in /home/user/
1tar -cvf /home/user/xyz.tar /location/of/directoryThis untars the archive
1tar -xvf /home/user/xyz.tar -C /location/to/extract/to/This tar.gzs the directory and names it xyz.tar.gz in /home/user/
1tar -zcvf /home/user/xyz.tar.gz /location/of/directoryThis untars the archive
1tar -zxvf /home/user/xyz.tar.gz -C /location/to/extract/to/