Posts

Showing posts from October, 2010

Configure Synergy Client for Ubuntu 10.10

Image
Background: Synergy shares the mouse/keyboard (similar to a KVM) across the network.  Due to difficulties using Windows7 as a Synergy client, I've moved my synergy server to Windows7 and set my Ubuntu 10.10 system up as the client.  This is now working great, but there were a few "gotchas" along the way. Synergy on Linux does not come bundled with GUI tools for configuring it.  Synergy's site recommends setting up a "synergy.conf"  file that is intimidating and prone to typos. This tutorial will simplify the setup for sharing, or "Remote Controlling" an Ubuntu 10.10 desktop from a Windows7 desktop via network connection quickly and easily. Synergy seems to work best with Windows7 if run as Administrator. This can be changed in the shortcut properties for Synergy.  Others have had success modifying group policy settings instead (advanced users only). Additionally, some considerations outside the scope of this tutorial were mad...

Persistent Route Ubuntu 10.10

Image
Background: This may seem obvious to some, but Ubuntu has built-in support for adding static network routes. This is useful when a connection to a secondary network requires a different gateway than the one normally used to access the internet. In windows, this is done through the "route -p" command, but the same command doesn't work for Ubuntu Linux. Originally, I found a temporary solution. I would not recommend this method as a permanent solution. sudo route add -net 10.8.0.0/16 gw 10.7.1.1 dev eth0 The problem with this method is settings are lost after restarting the network. Other tutorials mention changes to /etc/network/interfaces . I would not recommend this method for Ubuntu Desktop as the syntax seems to have changed between tutorials. The best solution I have found is through the built-in Network Connection dialogs for Ubuntu/Gnome desktop. Steps: System, Preferences, Network Connections Click "Auto (eth0)" and click "Edit...

WAKE-ON-VNC

This is a small script I made to send a WAKE ON LAN message to a computer, then VNC into it.  It could be easily modified to use RDP, or other remote access/remote desktop applications.  I use it for a PC connected to a projector that is out-of-reach. For this script, I used mc-wol.exe , and UltraVNC Viewer/UltraVNC Server .  For installing and configuring VNC, please use UltraVNC's site, or Google it. : ) To open CMD and run "cscript.exe wake-on-lan.vbs" wake-on-lan.vbs Option Explicit '============================================================================== '                                WAKE-ON-VNC '============================================================================== 'Sends WOL message to specified MAC, then launches VNC 'Created:  2010-10-13, A. Tres Finocchiaro 'License:  GPL 3.0+ Dim timeout, mac, host, shell, vnc, pwd, hst, vncwait Set she...

Convert Windows 2003 From Dynamic Disk Back to Standard Disk

CAUTION:  ONLY DO THIS IF YOU HAVEN'T EXTENDED YOUR DISK YET.  DO AT YOUR OWN RISK, YOU MAY LOSE YOUR ENTIRE DRIVE.  DON'T TRY ON ENCRYPTED DISKS. I did this so that I could resize a partition using  GParted  after resizing a VirtualBox disk manually. If you're not using VirtualBox, skip this part: Firstly create a new vdi, under ~/.VirtualBox/HardDisks #VBoxManage createhd -filename new.vdi --size 10000 --remember #VBoxManage clonehd old.vdi new.vdi --existing First, try following Microsoft's Instructions here  and immediatley scroll to WORKAROUND section.  Service Pack 2 Tools for 2003 can be found here . The tool may behave a little differently than the article suggests.  If so, try this: Run "dskprobe.exe" Click the "+" next to physical volumes Right click physical drive 0, Click "Open Handle" Right click physical drive 0, Click "Read Sectors". Starting sector: 0 Number of sectors:  48 Click READ In the e...