Posts Tagged ‘ Linux

Mount Windows Shares Permanently Ubuntu 10.4

Make ubuntu 10.4 have icons for SMB network folders on the desktop when available.

MountWindowsSharesPermanently.PDF.ZIP – Site download


Ubuntu 10.4 VPNC Cisco Connection

  • Install vpnc Client
    sudo apt-get install vpnc
  • sudo create file in “/etc/vpnc/” called “*something*.conf” <- creating config file

edit file and place information

IPSec gateway
IPSec ID GroupID
IPSec secret GroupPassword
Xauth username VPNUsername
Xauth password VPNPassword

  • sudo vpnc-connect *something* <- e.g if file was work.conf then sudo vpnc-connect work
  • sudo vpnc-disconnect <- Disconnect from VPN

Not needed, but SCRIPT login/logout:

  • create file on desktop called “
  • place below script in file and amend connection string.

echo “You Sure you want to connect to
read var_1
sudo vpnc-connect *something*
echo -n “Please ENTER again to disconnect”
read var_2
sudo vpnc-disconnect
echo “VPN has been disconnected”
read var_3

  • Run terminal & navigate to location of
  • Type “chmod 777” <- Make script executable
  • click “” from desktop and select run in terminal

Links I used when doing this.


Useful Ubuntu Commands

A list of usful commands.

  • gksudo nautilus (opens file browser as admin)
  • sudo -i (open a sudo terminal)
  • apt-get update (get apt-get uptodate)
  • apt-get install nautilus-gksu (Open folder as root)
  • apt-get install compizconfig-settings-manager (Extra cool graphics)
  • apt-get install x11vnc (VNC for linux, nice to have remote desktop viewer on reverse)
  • apt-get install xrdp (xRDP application)
  • apt-get install ddclient ( updater)
  • apt-get install hplip-gui (GUI HP Printer Tools)
  • dpkg -l | grep ii >file.txt (Get a list of software installed and put into file |grep not required)
  • Image Resizer
  • Install SSH
  • Batch Image Editor