<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Danny Tsang &#187; Software</title> <atom:link href="http://www.dannytsang.co.uk/index.php/category/software/feed/" rel="self" type="application/rss+xml" /><link>http://www.dannytsang.co.uk</link> <description>Eats and spits code by day</description> <lastBuildDate>Tue, 31 Jan 2012 22:47:19 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>FreePBX MySQL Caller Lookup Source</title><link>http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/</link> <comments>http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/#comments</comments> <pubDate>Tue, 13 Dec 2011 00:01:39 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[PBX]]></category> <category><![CDATA[caller id]]></category> <category><![CDATA[FreePBX]]></category> <category><![CDATA[Gigaset]]></category> <category><![CDATA[MyISAM]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[siemens]]></category> <category><![CDATA[siemens gigaset]]></category> <category><![CDATA[sql]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=4106</guid> <description><![CDATA[Overview One of the reasons I switched to MySQL instead of using the built in phonebook was because the numbers weren&#8217;t matching the ones in the internal phonebook. The built in phonebook only allows numbers so international numbers with + &#8230; <a
href="http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/enabling-remote-access-to-mysql/' rel='bookmark' title='Enabling Remote Access To MySQL'>Enabling Remote Access To MySQL</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/mysql-tuning/' rel='bookmark' title='MySQL Tuning'>MySQL Tuning</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/linksys-spa3102-and-freepbx-on-ubuntu-10-04/' rel='bookmark' title='Linksys SPA3102 And FreePBX On Ubuntu 10.04'>Linksys SPA3102 And FreePBX On Ubuntu 10.04</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>One of the reasons I switched to <a
href="http://www.dannytsang.co.uk/index.php/tag/mysql/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mysql">MySQL</a> instead of using the built in phonebook was because the numbers weren&#8217;t matching the ones in the internal phonebook. The built in phonebook only allows numbers so international numbers with + or numbers with hyphens cannot be matched to phonebook entries. Using a user defined <a
href="http://www.dannytsang.co.uk/index.php/tag/database/" class="st_tag internal_tag" rel="tag" title="Posts tagged with database">database</a> and query will solve these problems.</p><h3>Setup MySQL</h3><p>We need a schema and a table to store the phonebook and I&#8217;d suggest a new user with at least SELECT <a
href="http://www.dannytsang.co.uk/index.php/tag/privileges/" class="st_tag internal_tag" rel="tag" title="Posts tagged with privileges">privileges</a>. The script below creates a schema called <strong><a
href="http://www.dannytsang.co.uk/index.php/tag/freepbx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with FreePBX">freepbx</a></strong> and a table called <strong>phonebook</strong>:<br
/> <code>--<br
/> -- Create schema freepbx<br
/> --</p><p>CREATE DATABASE IF NOT EXISTS freepbx;<br
/> USE freepbx;</p><p>--<br
/> -- Definition of table `freepbx`.`phonebook`<br
/> --</p><p>DROP TABLE IF EXISTS `freepbx`.`phonebook`;<br
/> CREATE TABLE  `freepbx`.`phonebook` (<br
/> `name` varchar(50) NOT NULL,<br
/> `number` varchar(20) NOT NULL,<br
/> `phone` varchar(10) DEFAULT NULL,<br
/> PRIMARY KEY (`name`,`number`)<br
/> ) ENGINE=<a
href="http://www.dannytsang.co.uk/index.php/tag/myisam/" class="st_tag internal_tag" rel="tag" title="Posts tagged with MyISAM">MyISAM</a> DEFAULT CHARSET=latin1;</code><br
/> <a
href='http://www.dannytsang.co.uk/wp-content/uploads/2011/09/phonebook.zip'>phonebook.zip</a></p><p>The table contains 3 fields:</p><ul><li>name &#8211; The name of the number</li><li>number &#8211; The matching phone number</li><li>phone &#8211; The type of phone number E.g mob</li></ul><h3>Add Contacts</h3><p>Run the following query to insert new contacts in the phonebook:<br
/> <code>insert freepbx.phonebook (name, number, phone) values ('Danny','123456','mob');</code><br
/> Replace Danny, 123456. mob with your own values. The name and number (the first 2 items in the values) are required and the phone (&#8216;mob in the example) is optional. When omitting the phone field run the following query instead:<br
/> <code>insert freepbx.phonebook (name, number) values ('Danny','123456');</code><br
/> The name and number combined must be unique otherwise it won&#8217;t create an entry in the database. See below for how it will be displayed on the phone / reports.</p><p>The Siemens S68H which comes with the Siemens <a
href="http://www.dannytsang.co.uk/index.php/tag/gigaset/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Gigaset">Gigaset</a> 685IP will display all the <a
href="http://www.dannytsang.co.uk/index.php/tag/caller-id/" class="st_tag internal_tag" rel="tag" title="Posts tagged with caller id">caller ID</a> if it fits on the display but the text will &#8220;just go off the screen&#8221; if it does not, only display the first part of the name. The number is always displayed below the <a
href="http://www.dannytsang.co.uk/index.php/tag/caller-id/" class="st_tag internal_tag" rel="tag" title="Posts tagged with caller id">caller ID</a> where possible.</p><h3>Setup FreePBX</h3><p>Log into FreePBX and go to <code>Tools Setup (tab) > Inbound Call Control > CallerID Lookup Sources</code> Click the <strong>Add CID Lookup Source</strong> button to add a new phonebook directory. Select <strong>MySQL</strong> from the <strong>Source type</strong> This will change the require informations on the page. Enter the following information:</p><blockquote><p>Source Description: MySQL<br
/> Source type: MySQL<br
/> Cache results: yes [tick]<br
/> Host: [server address]<br
/> Database: freepbx<br
/> Query: <code>SELECT CONCAT(name, IF(phone IS NOT NULL,CONCAT(' (', phone, ')'), '')) as cid FROM phonebook WHERE number like '[NUMBER]'</code><br
/> Username: [username]<br
/> Password: [password]</p></blockquote><p>Source description can be any name and it will be used a reference in other settings. The Host will typically be <em>localhost</em> unless the MySQL database is installed on a different machine.</p><p>The query will show <em>Danny (mob)</em> if the phone field is populated. The brackets are automatically inserted. If the phone field is empty (NULL in the database) it will just show the name <em>Danny</em></p><p>Press the <strong>Submit Changes</strong> button to save the new caller ID look up.</p><p>Go to <code>Setup (tab) > Inbound Call Control > Inbound <a
href="http://www.dannytsang.co.uk/index.php/tag/routes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Routes">Routes</a></code> and select an inbound route which will use the new phonebook. Under the <strong>CID Lookup Source</strong> section select the phonebook called MySQL (or what ever it was named in the Source description) in the <strong>Source</strong> dropdown.</p><p>Press the <strong>Submit</strong> button to save the change and repeat for all other inbound routes which will use the MySQL phonebook.</p><p>Apply the changes for all the settings to take hold.</p><h3>Summary</h3><p>Having MySQL as a source makes it a lot more flexible and customizable. Also it can be linked to an existing directory. More technical knowledge is required to manage the contacts but that comes with the flexibility.</p><p><a
href="http://samyantoun.50webs.com/asterisk/freepbx/calleridlookup/" target="_blank">Setup MySQL CallerID Lookup Source on FreePBX</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/enabling-remote-access-to-mysql/' rel='bookmark' title='Enabling Remote Access To MySQL'>Enabling Remote Access To MySQL</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/mysql-tuning/' rel='bookmark' title='MySQL Tuning'>MySQL Tuning</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/linksys-spa3102-and-freepbx-on-ubuntu-10-04/' rel='bookmark' title='Linksys SPA3102 And FreePBX On Ubuntu 10.04'>Linksys SPA3102 And FreePBX On Ubuntu 10.04</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Resizing VirtualBox Disk</title><link>http://www.dannytsang.co.uk/index.php/resizing-virtualbox-disk/</link> <comments>http://www.dannytsang.co.uk/index.php/resizing-virtualbox-disk/#comments</comments> <pubDate>Fri, 18 Nov 2011 10:29:00 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[disk space]]></category> <category><![CDATA[Gparted]]></category> <category><![CDATA[ISO]]></category> <category><![CDATA[SATA]]></category> <category><![CDATA[storage]]></category> <category><![CDATA[UUID]]></category> <category><![CDATA[virtual disk]]></category> <category><![CDATA[virtual machine]]></category> <category><![CDATA[virtualbox]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=4189</guid> <description><![CDATA[I ran out of disk space on my virtual machine and needed more space. I did not want to create a new disk and install from scratch but VirtualBox does not have any GUI tools which would resize a disk &#8230; <a
href="http://www.dannytsang.co.uk/index.php/resizing-virtualbox-disk/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/formatting-a-floppy-disk-in-linux/' rel='bookmark' title='Formatting A Floppy Disk In Linux'>Formatting A Floppy Disk In Linux</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/virtualbox-with-ubuntu-review/' rel='bookmark' title='VirtualBox With Ubuntu Quick Review'>VirtualBox With Ubuntu Quick Review</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-lvm2/' rel='bookmark' title='Ubuntu LVM2 &#8211; Smart Storage'>Ubuntu LVM2 &#8211; Smart Storage</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I ran out of <a
href="http://www.dannytsang.co.uk/index.php/tag/disk-space/" class="st_tag internal_tag" rel="tag" title="Posts tagged with disk space">disk space</a> on my <a
href="http://www.dannytsang.co.uk/index.php/tag/virtual-machine/" class="st_tag internal_tag" rel="tag" title="Posts tagged with virtual machine">virtual machine</a> and needed more space. I did not want to create a new disk and install from scratch but <a
href="http://www.dannytsang.co.uk/index.php/tag/virtualbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with virtualbox">VirtualBox</a> does not have any GUI tools which would resize a disk easily.</p><ol><li>Create a new disk which is larger than the original</li><li>Attach it to the VM</li><li>Download Gparted Live CD <a
href="http://www.dannytsang.co.uk/index.php/tag/iso/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ISO">ISO</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> from <a
href="http://gparted.sourceforge.net/livecd.php" target="_blank">http://gparted.sourceforge.net/livecd.php</a></li><li>&#8220;Insert&#8221; the CD into the virtual machine by selecting the Gparted Live ISO file downloaded in the previous step</li><li>Boot the VM and select to boot from CD</li><li>Follow the onscreen prompt to boot Gparted Live in X (GUI) mode</li><li>Gparted should start after it has booted. Note the disks path of the small (source) and larger (destination) drives</li><li>Enter the following command to copy from one drive to the other:<code>dd if=/dev/sda of=/dev/sdb</code> where /dev/sda is the source and /dev/sdb is the destination. This will take a while to finish</li><li>Refresh Gparted and the new drive will have <a
href="http://www.dannytsang.co.uk/index.php/tag/partitions/" class="st_tag internal_tag" rel="tag" title="Posts tagged with partitions">partitions</a> and data matching the old drive</li><li>Move and resize the partitions</li><li>Double click on the <strong>Exit</strong> button on the desktop and select <strong>Shutdown</strong></li><li>Go back to the <a
href="http://www.dannytsang.co.uk/index.php/tag/storage/" class="st_tag internal_tag" rel="tag" title="Posts tagged with storage">Storage</a> settings for the VM and re-arrange the disk <a
href="http://www.dannytsang.co.uk/index.php/tag/sata/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SATA">SATA</a> port in the Attributes section.</li><li>Change the SATA port so that the new drive is on the port the old drive was on. This requires assigning the old drive to a third port, change the new drive to the old port and change the old drive port to the old new drive port</li><li>Save the changes and boot the VM</li></ol><p>If any of the partitions were deleted and re-created the UUID needs to be updated. See <a
href="http://www.dannytsang.co.uk/?p=2035" title="Replace /dev/xxx With UUID">Replace /dev/xxx With UUID</a></p><p>Ensure the new disk boots before detaching the old drive.</p><p><a
href="https://forums.virtualbox.org/viewtopic.php?t=10348" target="_blank">increase size of virtual disk</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/formatting-a-floppy-disk-in-linux/' rel='bookmark' title='Formatting A Floppy Disk In Linux'>Formatting A Floppy Disk In Linux</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/virtualbox-with-ubuntu-review/' rel='bookmark' title='VirtualBox With Ubuntu Quick Review'>VirtualBox With Ubuntu Quick Review</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-lvm2/' rel='bookmark' title='Ubuntu LVM2 &#8211; Smart Storage'>Ubuntu LVM2 &#8211; Smart Storage</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/resizing-virtualbox-disk/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>KeePass Mini Review</title><link>http://www.dannytsang.co.uk/index.php/keepass-mini-review/</link> <comments>http://www.dannytsang.co.uk/index.php/keepass-mini-review/#comments</comments> <pubDate>Tue, 01 Nov 2011 00:01:46 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[browser]]></category> <category><![CDATA[Firefox]]></category> <category><![CDATA[KeeFox]]></category> <category><![CDATA[KeePass]]></category> <category><![CDATA[password]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3726</guid> <description><![CDATA[Overview Software and services for password manager have been around for a long time. I was skeptical about using such products because I thought it was leaving &#8220;all your eggs in one basket&#8221;. Loose your key file and / or &#8230; <a
href="http://www.dannytsang.co.uk/index.php/keepass-mini-review/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/mythweb-database-access-denied/' rel='bookmark' title='MythWeb Database Access Denied'>MythWeb Database Access Denied</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/enabling-remote-access-to-mysql/' rel='bookmark' title='Enabling Remote Access To MySQL'>Enabling Remote Access To MySQL</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/think-post-problem/' rel='bookmark' title='Think Post Problem'>Think Post Problem</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>Software and services for password manager have been around for a long time. I was skeptical about using such products because I thought it was leaving &#8220;all your eggs in one basket&#8221;. Loose your key <a
href="http://www.dannytsang.co.uk/index.php/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> and / or password, goodbye to your box of login details. It also have it&#8217;s advantages too. For example it can automatically populate a log in form and if it has a password generator, it will (mostly) always be more secure than one that is written down or remembered from a dictionary word(s).</p><p>I decided to try such services after all the news around Sony&#8217;s PSN fiasco and even more services such as EA and Code Masters break in.</p><h3>Scope</h3><p>For my first venture into using such software I decided to limit the use to my non-essential accounts such as forums and casual websites which require a password. If I loose the password for such sites I can reset them and more importantly not care (as much) if I loose them.</p><h3>What&#8217;s On Offer?</h3><p>I was considering what I believe to be the two popular solutions: LastPass and KeePass. They do the same thing but their implementation is very different. LastPass is a Software As A Service (Saas) where everything is stored in the <a
href="http://www.dannytsang.co.uk/index.php/tag/cloud/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cloud">cloud</a>. It is accessible online and using  browser plugins and as an App on phones. The mobile editions are not free compared to the browser versions but it is cheap. Recently LastPass was compromised and shows what the dangers of trusting sensitive information to third parties or service outage.</p><p>KeePass on the other hand is a local client which also have plugins for various browsers. I opted for this solution and decided to manage the distribution of the password <a
href="http://www.dannytsang.co.uk/index.php/tag/database/" class="st_tag internal_tag" rel="tag" title="Posts tagged with database">database</a> externally. KeePass is not as well integrated as LastPass but at least I know who and where my password DB is. KeePass is open source and there are currently no cost to use the software.</p><p>Both solutions are cross platform and offer mobile clients.</p><h3>Distributing KeePass</h3><p>KeePass uses a .db file to store the database of passwords. Multiple databases and therefore files can be created in any accessible locations. This makes it very easy to send or use a file sharing service. I chose <a
href="http://www.dannytsang.co.uk/index.php/tag/dropbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Dropbox">Dropbox</a> as my preferred service. Sending a file makes it vulnerable because it can be intercepted. In this case (and for any single point of entry / failure) use a strong password for your KeePass databases. I also recommend using a keyfile / password combination.</p><h3>Setup</h3><p>KeePass needs to be installed and a new database needs to be created. Go to http://keepass.info/ and download the latest version. I chose 2.x branch. Follow the on-screen prompts to install the program. Start the program and proceed to create a new database. This will prompt to save the database as a file. Save it in the Dropbox folder so that it is synchronized. It may also prompt to save the key file if chosen to use a key file. I&#8217;d recommend not saving this to Dropbox and manually copying it to other locations / devices as this will not change like the password database will. Also this is needed every time to log into the database.</p><h3>Browser Support</h3><p>There are plugins for web browsers which will link to the KeePass database. Using the plugins allow the web browser to automatically enter username and passwords and prompt to save login details. I tried <a
href="http://www.dannytsang.co.uk/index.php/tag/keefox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with KeeFox">KeeFox</a> with <a
href="http://www.dannytsang.co.uk/index.php/tag/firefox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Firefox">Firefox</a> which worked but in order for KeeFox to work KeePass also had to be running which meant you had to type in the password everytime you started <a
href="http://www.dannytsang.co.uk/index.php/tag/firefox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Firefox">Firefox</a>. You don&#8217;t have to login but it meant KeeFox wouldn&#8217;t have access to the login details. Also you could save your password so you don&#8217;t have to enter it when KeePass started but I felt that neglected the point of using a password manager. It&#8217;s a balance of convenience versus <a
href="http://www.dannytsang.co.uk/index.php/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Security">security</a>.</p><h3>Limitations</h3><p>One problem I had encountered was integration with native software. Whilst the browser is supported fairly well, there are no hooks or integration with desktop software. One restriction I hit was logging into a web service within a game e.g <a
href="http://www.dannytsang.co.uk/index.php/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> Live, EA, etc. It meant I had to minimize (and hope it did not crash), find and copy the password to clipboard and switch back in good time before KeePass wiped the clipboard. What made it worse was some games (like Mass Effect 2) did not allow pasting of passwords! The automatic typing of the password which was aimed at passwords on webpages or when a dialogue box appears doesn&#8217;t always work within the game. I would suspect this is the same for all applications.</p><h3>Corruption</h3><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/KeePass.png" rel="lightbox[3726]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/KeePass-150x150.png" alt="" title="KeePass" width="150" height="150" class="aligncenter size-thumbnail wp-image-4026" /></a><br
/> I received the error message above which means I am totally locked out of my password database!</p><h3>Summary</h3><p>Whilst I&#8217;m still cynical about password managers I can see it being a valuable tool. My main concern is putting &#8220;all your eggs in one basket&#8221; so to speak but at the same time cannot remember a 64bit password. The final straw came when my key file stopped working and I uninstalled it. I believe 2 factor authentication is the way forward.</p><p><a
href="http://www.geek.com/articles/games/sony-psn-hack-is-only-the-4th-largest-data-breach-of-all-time-20110614/">Sony PSN hack is only the 4th largest data breach of all time</a></p><p><a
href="http://www.zdnet.com/blog/government/lastpass-melts-down-and-leaves-many-users-hopefully-temporarily-stranded-without-their-passwords/10351?tag=mantle_skin;content">LastPass melts down and leaves many users (hopefully, temporarily) stranded without their passwords</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/mythweb-database-access-denied/' rel='bookmark' title='MythWeb Database Access Denied'>MythWeb Database Access Denied</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/enabling-remote-access-to-mysql/' rel='bookmark' title='Enabling Remote Access To MySQL'>Enabling Remote Access To MySQL</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/think-post-problem/' rel='bookmark' title='Think Post Problem'>Think Post Problem</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/keepass-mini-review/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Add Sipgate To FreePBX</title><link>http://www.dannytsang.co.uk/index.php/add-sipgate-to-freepbx/</link> <comments>http://www.dannytsang.co.uk/index.php/add-sipgate-to-freepbx/#comments</comments> <pubDate>Mon, 03 Oct 2011 11:26:35 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[PBX]]></category> <category><![CDATA[Asterisk]]></category> <category><![CDATA[CallerID]]></category> <category><![CDATA[firewall]]></category> <category><![CDATA[FreePBX]]></category> <category><![CDATA[NAT]]></category> <category><![CDATA[NAT Filtering]]></category> <category><![CDATA[netgear]]></category> <category><![CDATA[SIP]]></category> <category><![CDATA[sipgate]]></category> <category><![CDATA[STUN]]></category> <category><![CDATA[telephone]]></category> <category><![CDATA[telephony]]></category> <category><![CDATA[UDP]]></category> <category><![CDATA[virgin media]]></category> <category><![CDATA[WAN]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=4064</guid> <description><![CDATA[Overview sipgate provides a SIP trunk which can be used to make or receive calls. It has one of the best cost value I have seen because there are no line rentals, a local number can be selected within the &#8230; <a
href="http://www.dannytsang.co.uk/index.php/add-sipgate-to-freepbx/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/adding-outgoing-skype-for-sip-to-freepbx/' rel='bookmark' title='Adding Outgoing Skype For SIP To FreePBX'>Adding Outgoing Skype For SIP To FreePBX</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/linksys-spa3102-and-freepbx-on-ubuntu-10-04/' rel='bookmark' title='Linksys SPA3102 And FreePBX On Ubuntu 10.04'>Linksys SPA3102 And FreePBX On Ubuntu 10.04</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/' rel='bookmark' title='FreePBX MySQL Caller Lookup Source'>FreePBX MySQL Caller Lookup Source</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p><a
href="http://www.dannytsang.co.uk/index.php/tag/sipgate/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sipgate">sipgate</a> provides a <a
href="http://www.dannytsang.co.uk/index.php/tag/sip/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SIP">SIP</a> trunk which can be used to make or receive calls. It has one of the best cost value I have seen because there are no line rentals, a local number can be selected within the UK or have a premium non-geographic number. The price of calls are also cheaper than my current teleco (<a
href="http://www.dannytsang.co.uk/index.php/tag/virgin-media/" class="st_tag internal_tag" rel="tag" title="Posts tagged with virgin media">Virgin Media</a>).</p><h3>Register</h3><p>I missed this opportunity but before registering ensure you can perform tests within 15 minutes of signing up. Sipgate allows free calls for testing after verifying your email address. With this in mind continue to setup FreePBX before signing up to gain maximum number of time for testing!</p><h3>FreePBX Setup</h3><p>Navigate and login to the FreePBX administration page. Go to <code>Setup (tab) > Basic (heading) > <a
href="http://www.dannytsang.co.uk/index.php/tag/trunks/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Trunks">Trunks</a> > Add SIP Trunk</code> to set up the Trunk. Enter the following information in the relevant fields whilst leaving the rest default if not mentioned:</p><blockquote><p> Trunk Name: sipgate<br
/> Outbound CallerID:[Outgoing <a
href="http://www.dannytsang.co.uk/index.php/tag/telephone/" class="st_tag internal_tag" rel="tag" title="Posts tagged with telephone">telephone</a>]<br
/> CID Options: Allow Any CID<br
/> Maximum Channels: 1</p><p><strong>Outgoing Settings</strong></p><ul> Trunk Name: sipgate<br
/> PEER Details:<br
/> <code>username=[SIP-ID]<br
/> type=peer<br
/> secret=[SIP password]<br
/> qualify=yes<br
/> nat=yes<br
/> insecure=very<br
/> host=sipgate.co.uk<br
/> fromuser=[SIP-ID]<br
/> fromdomain=sipgate.co.uk<br
/> dtmfmode=rfc2833<br
/> context=from-trunk<br
/> canreinvite=no<br
/> disallow=all<br
/> allow=<a
href="http://www.dannytsang.co.uk/index.php/tag/gsm/" class="st_tag internal_tag" rel="tag" title="Posts tagged with gsm">gsm</a>&#038;ulaw&#038;alaw</code></ul><p>Incoming Settings: [Clear all fields]<br
/> Register String: [SIP-ID]:[SIP password]@sipgate.co.uk/[SIP-ID]</p></blockquote><p>Trunk name for both sections are required but can be named differently but for this example it&#8217;s called sipgate. The fields which have brackets around them &#8220;[]&#8221; means this comes from sipgate and requires going to sipgate&#8217;s settings page to get it. For now enter some random number and it can be replaced later. If you have been following my guide then continue configure the rest below otherwise scroll down.</p><p>Click <strong>Submit Changes</strong> button to save the trunk.</p><p>Next is to add an inbound route by going to <code>Setup (tab) > Inbound Call Control (heading) > Inbound Routes</code></p><p>The page will have a blank form ready to accept a new inbound route. Enter the following:</p><blockquote><p> Description: sipgate<br
/> DID Number: [SIP-ID]<br
/> Set Destination: [set extension]</p></blockquote><p>The description is again a personal choice, the [SIP-ID] is on the sipgate website. Just like before enter a random number for now and it can be changed later. The destination should be the device or devices it should ring.</p><p>Press the submit button to save the inbound route.</p><p>Add an outbound route so that FreePBX can make calls via sipgate:<br
/> <code>Setup (tab) > Basic (heading) > Outbound Routes</code></p><blockquote><p> Route Name: sipgate<br
/> <a
href="http://www.dannytsang.co.uk/index.php/tag/dial/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Dial">Dial</a> Patterns that will use this Route:</p><ul> prefix: 8<br
/> pattern match: .</ul><p>Trunk Sequence for Matched Routes: sipgate</p></blockquote><p>Route name is customizable and so is the dial pattern but the above is similar to the default &#8220;dial 9 for outside line&#8221; except this is set to 8. This override is required when adding credit to sipgate account for making outbound calls. Alternatively use a sip client to connect to sipgate. The trunk sequence should include the sipgate trunk created at the top of this section.</p><p>Submit the changes to save.</p><p>If you have not listened to what I have said and you have already signed up to sipgate.co.uk then apply the settings and your ready to test/use.</p><h3><a
name="nat">NAT</a></h3><p>Ports that needs to be opened are:</p><ul><li>SIP: 5060 (UDP)</li></ul><p>I also had to disable SIP ALG in my Netgear WNDR3700 router. This is located in <code>WAN Setup > NAT Filtering</code> and checking the <strong>Disable SIP ALG</strong>. Without doing this you may not hear the caller.</p><h3>Register Part 2</h3><p>Go to <a
href="http://www.sipgate.co.uk" target="_blank">http://www.sipgate.co.uk</a> and sign up. The password for accessing the site will be different to the one used  Once complete and your email is verified login to sipgate and click on Settings on the top right of the screen. It should be under your full name. The Overview tab will contain all the information needed.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/sipgate-Settings-Overview.png" rel="lightbox[4064]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/sipgate-Settings-Overview-150x150.png" alt="" title="sipgate Settings Overview" width="150" height="150" class="aligncenter size-thumbnail wp-image-4078" /></a></p><p>Go back and enter the details in FreePBX, submit the changes and apply the changes for the settings to take hold.</p><h3>Payment</h3><p>Adding credit for the first time to the account is simple if the system worked. Just like a topup it asks for amount to credit the account, payment details and security code&#8230; The security code can be obtained by calling the number 10200. This number can only be called from sipgate. A good way to weed out robots. The problem was I rang the number but there was no sound on the call. The call was definitely answered and I could hear and talk when receiving calls.</p><p>I even tried opening ports and tried using the STUN <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> to connect to sipgate but I still had the same issue. It turned out this was a NAT/Firewall issue which blocked incoming voice data which was solved in the <a
href="#nat">NAT</a> section. After configuring it correctly I got through to the automated number and entered the security number. Before I fixed it I used Paypal instead which did not require a security number.</p><h3>Summary</h3><p>sipgate is a very affordable SIP trunk compared to other services I have seen including Skype (for SIP/ Connect) which require a monthly fee similar to a monthly line rental charge.</p><p>The call rates are also fairly cheap and also provides emergency call locations to emergency services. You can pick the locale of the phone number which is a nice option to masque or provide friends and relatives a local number.</p><p><a
href="http://www.sipgate.co.uk" target="_blank">http://www.sipgate.co.uk</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/adding-outgoing-skype-for-sip-to-freepbx/' rel='bookmark' title='Adding Outgoing Skype For SIP To FreePBX'>Adding Outgoing Skype For SIP To FreePBX</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/linksys-spa3102-and-freepbx-on-ubuntu-10-04/' rel='bookmark' title='Linksys SPA3102 And FreePBX On Ubuntu 10.04'>Linksys SPA3102 And FreePBX On Ubuntu 10.04</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/' rel='bookmark' title='FreePBX MySQL Caller Lookup Source'>FreePBX MySQL Caller Lookup Source</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/add-sipgate-to-freepbx/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SpiderOak Mini Review</title><link>http://www.dannytsang.co.uk/index.php/spideroak-mini-review/</link> <comments>http://www.dannytsang.co.uk/index.php/spideroak-mini-review/#comments</comments> <pubDate>Tue, 27 Sep 2011 23:01:03 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[Dropbox]]></category> <category><![CDATA[encryption]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[spideroak]]></category> <category><![CDATA[sync]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3766</guid> <description><![CDATA[Overview I was looking for a replacement to Dropbox after the EULA / T&#038;C changes and found SpiderOak to be a very attractive alternative. It&#8217;s a backup and folder sharing / sync software which runs on all 3 major platforms &#8230; <a
href="http://www.dannytsang.co.uk/index.php/spideroak-mini-review/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/sync-mozilla-thunderbird-using-dropbox/' rel='bookmark' title='Sync Mozilla Thunderbird Using Dropbox'>Sync Mozilla Thunderbird Using Dropbox</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/microsoft-foldershare-itunes-doesnt-work/' rel='bookmark' title='Microsoft FolderShare &amp; iTunes Doesn&#8217;t Work'>Microsoft FolderShare &#038; iTunes Doesn&#8217;t Work</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/dropbox-causes-duplicate-folders-in-mozilla-thunderbird/' rel='bookmark' title='Dropbox Causes Duplicate Folders In Mozilla Thunderbird'>Dropbox Causes Duplicate Folders In Mozilla Thunderbird</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I was looking for a replacement to <a
href="http://www.dannytsang.co.uk/index.php/tag/dropbox/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Dropbox">Dropbox</a> after the EULA / T&#038;C changes and found SpiderOak to be a very attractive alternative. It&#8217;s a backup and folder sharing / <a
href="http://www.dannytsang.co.uk/index.php/tag/sync/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sync">sync</a> software which runs on all 3 major platforms (Windows, Mac and Linux). In this article I will compare the differences between Dropbox and SpiderOak.</p><h3>Signup</h3><p>Registering for an account was fairly simply. Not much different to other sites around today. Entering the usual details of username, password and email address with a confirmation email after. The service provides 2GB for free which is the same as Dropbox but there is no possibility of extending this without paying. Dropbox has a referral feature which adds 250mb to your account. I have accumulated a few referrals in my time so I have more than the 2GB space but I use less than this currently (but close to the limit).</p><p>Dropbox only required a login for each client to access the same account but SpiderOak required more.</p><h3>Desktop Software</h3><p>The user interface is not as user friendly as Dropbox but it is also a lot more powerful. Consider SpiderOak a power user tool. It splits items up by category of what you want it to do. There are:</p><ul><li>Status &#8211; What SpiderOak is currently doing on the machine</li><li>Backup &#8211; Used to manage backup of local directories</li><li>View &#8211; Look at items in the &#8220;<a
href="http://www.dannytsang.co.uk/index.php/tag/cloud/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cloud">cloud</a>&#8221; (backups). The <a
href="http://www.dannytsang.co.uk/index.php/tag/browser/" class="st_tag internal_tag" rel="tag" title="Posts tagged with browser">browser</a> also includes revision of each file if multiple backups exist</li><li>Sync &#8211; Allow backups to be synchronized across multiple devices</li><li>Share &#8211; Allow other people access to files or upload to your SpiderOak</li></ul><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Overview.png" rel="lightbox[3766]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Overview-150x150.png" alt="" title="Overview" width="150" height="150" class="aligncenter size-thumbnail wp-image-4009" /></a><br
/> Starting with the Status tab, there are multiple tabs within this page. The first one is overview. This is a good indicator as to what is happening with the 3 main features of Spideroak: Backup, Sync and Share. There are small details within each status such as how many files are currently being upload and the remaining amount in backup, Number of &#8220;Syncers&#8221; in Sync and the number of sharers in Share. Moving to the Queue sub tab within the Status page shows the files that are waiting to be processed.<br
/> Actions<br
/> Logs show what happened in the past such as files being uploaded and downloaded, shared or sync&#8217;d and Stats just gives a summary of what the program has done.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Backup.png" rel="lightbox[3766]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Backup-150x150.png" alt="" title="Backup" width="150" height="150" class="aligncenter size-thumbnail wp-image-4008" /></a><br
/> Unlike Dropbox where a directory is placed on your computer where everything is sync SpiderOak uses the more traditional method of allowing users to choose the folders to be uploaded. This is the job of the Backup tab.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/View.png" rel="lightbox[3766]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/View-150x150.png" alt="" title="View" width="150" height="150" class="aligncenter size-thumbnail wp-image-4014" /></a><br
/> The View tab shows a list of files in a tree node structure similar to <a
href="http://www.dannytsang.co.uk/index.php/tag/microsoft/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Microsoft">Microsoft</a> Windows classic sidebar view. It&#8217;s quick and efficient but does not allow multiselect (to delete multiple backup files for example) nor any preview of the file. The view also shows the amount of space free and used by the backup in graphic form (where as the Status page show it in numeric <a
href="http://www.dannytsang.co.uk/index.php/tag/format/" class="st_tag internal_tag" rel="tag" title="Posts tagged with format">format</a>).</p><p>Sync allows multiple computers to share and keep files up to date with each other. This is the core of what Dropbox does.</p><p>SpiderOak also allows users to share access to other users. The difference with SpiderOak is that they allow other uses to login without a passwork. Also the public area is designated by yourself instead of SpiderOak where as Dropbox have public folders where files are shared and stored.</p><h3>Initial Upload</h3><p>As with any online backup systems there largest and longest part of process is the initial upload of the files. Fortunately SpiderOak compresses the files prior to upload making this process quicker. Dropbox does not do this making the initial upload longer. For some reason after every upload the files took a long to in the &#8220;finalizing&#8221; stage. Even if the file size was marked as 0 bytes? This occurred through the time I was using it.</p><h3>Subsequent Uploads</h3><p>Updating existing files for both services are fairly similar. Whilst Dropbox doesn&#8217;t compress the files to be uploaded it does upload only the changed bytes.</p><h3>Sync</h3><p>One disadvantage of SpiderOak is the the lack of LAN Sync. This greatly increases the speed of synchronization because the files are transfer over the network instead of out through the Internet and back again.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Syndication-Process.png" rel="lightbox[3766]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Syndication-Process-150x150.png" alt="" title="Syndication Process" width="150" height="150" class="aligncenter size-thumbnail wp-image-4023" /></a><br
/> I encountered a <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> error 500 when I was adding a device which was running on Ubuntu 10.04 LTS. It quit automatically but when I went to add it again the device had been added to the list. I then had to go back and select reinstalling device so that I could select the device from a list instead creating one. There was about 1-2 minutes while it was doing a 10 step process but eventually loaded the normal SpiderOak interface.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Sync-Select.png" rel="lightbox[3766]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Sync-Select-150x150.png" alt="" title="Sync Select" width="150" height="150" class="aligncenter size-thumbnail wp-image-4019" /></a><br
/> Once the second computer was up and running I had to set up a new backup directory. This directory would be where files are synchronized to. I used my Dropbox directory as a test. I disabled Dropbox on both computers but ensuring they were both synchronized. Once that was done my Windows computer already had a backup set up of the directory and everything was uploaded. When I tried to add the second Linux computer&#8217;s Dropbox directory it kept complaining I didn&#8217;t have enough space and kept popping up with a message to buy more space. I thought the &#8220;advanced de-duplication&#8221; would see it was the same directory with the same stuff in it as the Windows computer! Alas it didn&#8217;t. To get it to work I renamed the Dropbox directory and created an empty folder, added it to be backed up and then I was able to select the 2 Dropbox directories from each computer for synchronizing.</p><p>Couple hours later and it has managed to create the folders on the second computer but still no files. This is unacceptable!</p><h3>Pricing</h3><p>As of 13/09/2011</p><ul><li>2GB &#8211; Free</li><li>100GB &#8211; $10 per month or $100 per year for each 100GB</li></ul><p>In comparison Dropbox charges $9.99 per month for 50GB which makes SpiderOak cheaper.</p><h3>Summary</h3><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Preferences-Backup.png" rel="lightbox[3766]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Preferences-Backup-150x150.png" alt="" title="Preferences - Backup" width="150" height="150" class="aligncenter size-thumbnail wp-image-4010" /></a><br
/> Security perspective it&#8217;s great but the trade off for that is recovery. The version backup is a major bonus but again the trade off is space. The latter isn&#8217;t an issue because you can turn off versioning to keep the space down.</p><p>The biggest issue I had with it was the Sync. The fact that adding the second computer&#8217;s directory as a backup with existing files in it causes it to spontaneously show the popup is unacceptable. Whilst I believe the merge tool was built for this situation I think it&#8217;s a flawed model. Also the time it took to Sync the files across was too slow. It was during peak time so my bandwidth was throttled by Virgin Media it should at least start to synchronize files across. In the end I gave up and went back to Dropbox.</p> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/backup/' title='Backup'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Backup-150x150.png" class="attachment-thumbnail" alt="Backup" title="Backup" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/overview/' title='Overview'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Overview-150x150.png" class="attachment-thumbnail" alt="Overview" title="Overview" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/preferences-backup/' title='Preferences - Backup'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Preferences-Backup-150x150.png" class="attachment-thumbnail" alt="Preferences - Backup" title="Preferences - Backup" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/preferences-copy/' title='Preferences - Copy'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Preferences-Copy-150x150.png" class="attachment-thumbnail" alt="Preferences - Copy" title="Preferences - Copy" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/preferences-schedule/' title='Preferences - Schedule'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Preferences-Schedule-150x150.png" class="attachment-thumbnail" alt="Preferences - Schedule" title="Preferences - Schedule" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/queue/' title='Queue'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Queue-150x150.png" class="attachment-thumbnail" alt="Queue" title="Queue" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/view/' title='View'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/View-150x150.png" class="attachment-thumbnail" alt="View" title="View" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/sync-select/' title='Sync Select'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Sync-Select-150x150.png" class="attachment-thumbnail" alt="Sync Select" title="Sync Select" /></a> <a
href='http://www.dannytsang.co.uk/index.php/spideroak-mini-review/syndication-process/' title='Syndication Process'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/09/Syndication-Process-150x150.png" class="attachment-thumbnail" alt="Syndication Process" title="Syndication Process" /></a><p><a
href="http://lifehacker.com/5818908/dropbox-vs-the-alternatives-which-online-syncing-service-is-right-for-you" target="_blank">Dropbox vs. the Alternatives: Which Online Syncing Service Is Right for You?</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/sync-mozilla-thunderbird-using-dropbox/' rel='bookmark' title='Sync Mozilla Thunderbird Using Dropbox'>Sync Mozilla Thunderbird Using Dropbox</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/microsoft-foldershare-itunes-doesnt-work/' rel='bookmark' title='Microsoft FolderShare &amp; iTunes Doesn&#8217;t Work'>Microsoft FolderShare &#038; iTunes Doesn&#8217;t Work</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/dropbox-causes-duplicate-folders-in-mozilla-thunderbird/' rel='bookmark' title='Dropbox Causes Duplicate Folders In Mozilla Thunderbird'>Dropbox Causes Duplicate Folders In Mozilla Thunderbird</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/spideroak-mini-review/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Security Holes &amp; Backdoors In FreePBX</title><link>http://www.dannytsang.co.uk/index.php/security-holes-backdoors-in-freepbx/</link> <comments>http://www.dannytsang.co.uk/index.php/security-holes-backdoors-in-freepbx/#comments</comments> <pubDate>Wed, 21 Sep 2011 16:20:52 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Networking]]></category> <category><![CDATA[PBX]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=4138</guid> <description><![CDATA[I found a chilling article by chance the consequence was extremely bad! It seems security was not high on the agenda when FreePBX was initially developed and the developers had built some default and backdoors into a system for easy &#8230; <a
href="http://www.dannytsang.co.uk/index.php/security-holes-backdoors-in-freepbx/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/remove-ubuntu-keyring-password/' rel='bookmark' title='Remove Ubuntu Keyring Password'>Remove Ubuntu Keyring Password</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/remote-extension-in-freepbx/' rel='bookmark' title='Remote Extension In FreePBX'>Remote Extension In FreePBX</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-common-voicemail-box/' rel='bookmark' title='FreePBX &#8211; Common Voicemail Box'>FreePBX &#8211; Common Voicemail Box</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I found a chilling article by chance the consequence was extremely bad!</p><p>It seems security was not high on the agenda when <a
href="http://www.dannytsang.co.uk/index.php/tag/freepbx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with FreePBX">FreePBX</a> was initially developed and the developers had built some default and backdoors into a system for easy access. Whilst I think this is a terrible idea, it doesn&#8217;t seem like the project has ever cleansed it of all of these developer friendly holes (turned security issues). The article on <a
href="http://nerdvittles.com/?p=737" target="_blank">Nerd Vittles</a> gives a full account of the issue and the username:<a
href="http://www.dannytsang.co.uk/index.php/tag/passwords/" class="st_tag internal_tag" rel="tag" title="Posts tagged with passwords">passwords</a> that were used during the development. They are as follows:</p><blockquote><p>admin:admin<br
/> admin:<a
href="http://www.dannytsang.co.uk/index.php/tag/password/" class="st_tag internal_tag" rel="tag" title="Posts tagged with password">password</a><br
/> admin:passworm<br
/> maint:admin<br
/> maint:maint<br
/> maint:password<br
/> maint:passworm<br
/> wwwadmin:password<br
/> wwwadmin:wwwadmin<br
/> wwwadmin:admin<br
/> asteriskuser:eLaStIx.asteriskuser.2oo7</p></blockquote><p>The above format is username:password and to test them just go to the administration page of FreePBX http://[<a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a>]/admin e.g http://www.dannytsang.co.uk/admin</p><p>I do not 100% agree with the starting from scratch with a fresh install because some people may have taken extra precautions (such as myself) so fixing the issue won&#8217;t be as bad as stated. There&#8217;s also a <a
href="http://nerdvittles.com/index.php?p=580" target="_blank">security primer</a> on the same site which will help with securing FreePBX. The problem is the article doesn&#8217;t specifically state how to fix it except to change the default passwords? How? Also the post could go through or link how to <a
href="http://www.dannytsang.co.uk/index.php/tag/backup/" class="st_tag internal_tag" rel="tag" title="Posts tagged with backup">backup</a> the existing install so that it&#8217;s not 100% lose. I&#8217;m not complaining but more like constructive criticism because I&#8217;m in that boat.</p><p>Some of the techniques to secure web <a
href="http://www.dannytsang.co.uk/index.php/tag/servers/" class="st_tag internal_tag" rel="tag" title="Posts tagged with servers">servers</a> and <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> (if FreePBX is running on <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a>) will apply to FreePBX and I may post more articles to help secure FreePBX.</p><p><a
href="http://automation.binarysage.net/?p=1404" target="_blank">News: FreePBX/Asterisk Security Flaw</a></p><p><a
href="http://nerdvittles.com/?p=737" target="_blank">FreePBX Backdoor Passwords Pose Asterisk Security Threat</a></p><p><a
href="http://nerdvittles.com/index.php?p=580" target="_blank">Avoiding the $100,000 Phone Bill: A Primer on Asterisk Security</a></p><p><a
href="http://www.dannytsang.co.uk/?p=3594" title="Apache 2 Hardening Tips">Apache 2 Hardening Tips</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/remove-ubuntu-keyring-password/' rel='bookmark' title='Remove Ubuntu Keyring Password'>Remove Ubuntu Keyring Password</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/remote-extension-in-freepbx/' rel='bookmark' title='Remote Extension In FreePBX'>Remote Extension In FreePBX</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-common-voicemail-box/' rel='bookmark' title='FreePBX &#8211; Common Voicemail Box'>FreePBX &#8211; Common Voicemail Box</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/security-holes-backdoors-in-freepbx/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Identi.ca On TweetDeck</title><link>http://www.dannytsang.co.uk/index.php/identi-ca-on-tweetdeck/</link> <comments>http://www.dannytsang.co.uk/index.php/identi-ca-on-tweetdeck/#comments</comments> <pubDate>Mon, 08 Aug 2011 23:01:07 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[identica]]></category> <category><![CDATA[TweetDeck]]></category> <category><![CDATA[twitter]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3772</guid> <description><![CDATA[It is very easy to check your timeline on Identica with TweetDeck. To add an Identi.ca account, go to the settings (spanner icon in the top right corner) and Accounts. Click on the Add New Account button. The bottom half &#8230; <a
href="http://www.dannytsang.co.uk/index.php/identi-ca-on-tweetdeck/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/bypass-blocked-websites-using-ssh-proxy/' rel='bookmark' title='Bypass Blocked Websites Using SSH Proxy'>Bypass Blocked Websites Using SSH Proxy</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/' rel='bookmark' title='FreePBX MySQL Caller Lookup Source'>FreePBX MySQL Caller Lookup Source</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/remove-ubuntu-keyring-password/' rel='bookmark' title='Remove Ubuntu Keyring Password'>Remove Ubuntu Keyring Password</a></li></ol>]]></description> <content:encoded><![CDATA[<p>It is very easy to check your timeline on <a
href="http://www.dannytsang.co.uk/index.php/tag/identica/" class="st_tag internal_tag" rel="tag" title="Posts tagged with identica">Identica</a> with <a
href="http://www.dannytsang.co.uk/index.php/tag/tweetdeck/" class="st_tag internal_tag" rel="tag" title="Posts tagged with TweetDeck">TweetDeck</a>.</p><p>To add an Identi.ca account, go to the settings (spanner icon in the top right corner) and <strong>Accounts</strong>. Click on the <strong>Add New Account</strong> button. The bottom half of the window will show all the types of accounts that can be added to TweetDeck. Select <a
href="http://www.dannytsang.co.uk/index.php/tag/twitter/" class="st_tag internal_tag" rel="tag" title="Posts tagged with twitter">Twitter</a> and enter the Identi.ca username and <a
href="http://www.dannytsang.co.uk/index.php/tag/password/" class="st_tag internal_tag" rel="tag" title="Posts tagged with password">password</a> in the &#8220;Twitter&#8221; username and <a
href="http://www.dannytsang.co.uk/index.php/tag/password/" class="st_tag internal_tag" rel="tag" title="Posts tagged with password">password</a> field. Click on the Advanced Options link below the <a
href="http://www.dannytsang.co.uk/index.php/tag/password/" class="st_tag internal_tag" rel="tag" title="Posts tagged with password">password</a> field to reveal more options. In the Twitter Base URL text box, enter <code>http://identi.ca/index.<a
href="http://www.dannytsang.co.uk/index.php/tag/php/" class="st_tag internal_tag" rel="tag" title="Posts tagged with PHP">php</a>/api/</code> and check the details by clicking on the <strong>Verify Details</strong> button. This will either add or show an error if the details are incorrect. Lastly, save the settings.</p> <a
href='http://www.dannytsang.co.uk/index.php/identi-ca-on-tweetdeck/tweetdeck-accounts/' title='TweetDeck - Accounts'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/07/TweetDeck-Accounts-150x150.png" class="attachment-thumbnail" alt="TweetDeck - Accounts" title="TweetDeck - Accounts" /></a> <a
href='http://www.dannytsang.co.uk/index.php/identi-ca-on-tweetdeck/tweetdeck-identi-ca-details/' title='TweetDeck - Identi.ca Details'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/07/TweetDeck-Identi.ca-Details-150x150.png" class="attachment-thumbnail" alt="TweetDeck - Identi.ca Details" title="TweetDeck - Identi.ca Details" /></a><p><a
href="http://www.webupd8.org/2010/09/how-to-use-tweetdeck-with-identica-w.html" target="_blank">How To Use TweetDeck With Identi.ca [w/ Adobe Air Ubuntu Installation Instructions]</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/bypass-blocked-websites-using-ssh-proxy/' rel='bookmark' title='Bypass Blocked Websites Using SSH Proxy'>Bypass Blocked Websites Using SSH Proxy</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/' rel='bookmark' title='FreePBX MySQL Caller Lookup Source'>FreePBX MySQL Caller Lookup Source</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/remove-ubuntu-keyring-password/' rel='bookmark' title='Remove Ubuntu Keyring Password'>Remove Ubuntu Keyring Password</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/identi-ca-on-tweetdeck/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ubuntu 10.04 dos2unix Tools Missing</title><link>http://www.dannytsang.co.uk/index.php/ubuntu-10-04-dos2unix-tools-missing/</link> <comments>http://www.dannytsang.co.uk/index.php/ubuntu-10-04-dos2unix-tools-missing/#comments</comments> <pubDate>Sun, 31 Jul 2011 23:01:03 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[dos2unix]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[unix]]></category> <category><![CDATA[unix2dos]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3680</guid> <description><![CDATA[To install dos2unix (and unix2dos) tools in Ubuntu: $sudo apt-get install tofrodos The package in Ubuntu does not use the standard dos2unix command and instead are: fromdos &#8211; same as dos2unix todos &#8211; same as unix2dos This tool seems to &#8230; <a
href="http://www.dannytsang.co.uk/index.php/ubuntu-10-04-dos2unix-tools-missing/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-thumbnail-generation-greyed-out/' rel='bookmark' title='WordPress Thumbnail Generation Greyed Out'>WordPress Thumbnail Generation Greyed Out</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/installing-ubuntu-810-from-usb-stick/' rel='bookmark' title='Installing Ubuntu 8.10 From USB Stick'>Installing Ubuntu 8.10 From USB Stick</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-server-710-gutsy-gibbon-to-804-hardy-herring/' rel='bookmark' title='Ubuntu Server 7.10 (Gutsy Gibbon) To 8.04 (Hardy Herring)'>Ubuntu Server 7.10 (Gutsy Gibbon) To 8.04 (Hardy Herring)</a></li></ol>]]></description> <content:encoded><![CDATA[<p>To install <a
href="http://www.dannytsang.co.uk/index.php/tag/dos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DOS">dos</a>2<a
href="http://www.dannytsang.co.uk/index.php/tag/unix/" class="st_tag internal_tag" rel="tag" title="Posts tagged with unix">unix</a> (and <a
href="http://www.dannytsang.co.uk/index.php/tag/unix/" class="st_tag internal_tag" rel="tag" title="Posts tagged with unix">unix</a>2dos) tools in <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a>:<br
/> <code>$sudo apt-get install tofrodos</code></p><p>The package in Ubuntu does not use the standard <a
href="http://www.dannytsang.co.uk/index.php/tag/dos2unix/" class="st_tag internal_tag" rel="tag" title="Posts tagged with dos2unix">dos2unix</a> command and instead are:</p><ul><li>fromdos &#8211; same as dos2unix</li><li>todos &#8211; same as <a
href="http://www.dannytsang.co.uk/index.php/tag/unix2dos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with unix2dos">unix2dos</a></li></ul><p>This tool seems to be missing in version 10.04 and onwards.</p><p><a
href="http://www.virtualhelp.me/linux/164-dos2unix-missing-ubuntu-1004" target="_blank">dos2unix missing (Ubuntu 10.04)</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-thumbnail-generation-greyed-out/' rel='bookmark' title='WordPress Thumbnail Generation Greyed Out'>WordPress Thumbnail Generation Greyed Out</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/installing-ubuntu-810-from-usb-stick/' rel='bookmark' title='Installing Ubuntu 8.10 From USB Stick'>Installing Ubuntu 8.10 From USB Stick</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-server-710-gutsy-gibbon-to-804-hardy-herring/' rel='bookmark' title='Ubuntu Server 7.10 (Gutsy Gibbon) To 8.04 (Hardy Herring)'>Ubuntu Server 7.10 (Gutsy Gibbon) To 8.04 (Hardy Herring)</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/ubuntu-10-04-dos2unix-tools-missing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Synergy (Project) Windows To Windows</title><link>http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/</link> <comments>http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/#comments</comments> <pubDate>Tue, 19 Jul 2011 23:01:03 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[client]]></category> <category><![CDATA[keyboard]]></category> <category><![CDATA[monitor]]></category> <category><![CDATA[mouse]]></category> <category><![CDATA[server]]></category> <category><![CDATA[Synergy]]></category> <category><![CDATA[synergy software]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3682</guid> <description><![CDATA[Overview It&#8217;s been a while since I have used a &#8220;stable&#8221; software which almost made me tear my hair out! As good as the concept of Synergy is the execution could have been better. All credit to the software and &#8230; <a
href="http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/logitech-g15-and-mx-revolution/' rel='bookmark' title='Logitech G15 and MX Revolution'>Logitech G15 and MX Revolution</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/numpad-not-working-under-gnome/' rel='bookmark' title='Numpad not working under Gnome'>Numpad not working under Gnome</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/keyboard/' rel='bookmark' title='Keyboard'>Keyboard</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>It&#8217;s been a while since I have used a &#8220;stable&#8221; software which almost made me tear my hair out! As good as the concept of <a
href="http://www.dannytsang.co.uk/index.php/tag/synergy/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Synergy">Synergy</a> is the execution could have been better. All credit to the software and it&#8217;s contributors/team for making it usable.</p><p>Synergy is a software that allows more than one machine share a <a
href="http://www.dannytsang.co.uk/index.php/tag/keyboard/" class="st_tag internal_tag" rel="tag" title="Posts tagged with keyboard">keyboard</a> and <a
href="http://www.dannytsang.co.uk/index.php/tag/mouse/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mouse">mouse</a>. Just like having multiple monitors the <a
href="http://www.dannytsang.co.uk/index.php/tag/mouse/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mouse">mouse</a> cursor will scroll off the edge of one computer say the desktop and onto the other like a laptop.</p><h3>Features</h3><p>The best way to describe Synergy is the pictures from their website:<br
/> <img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy.jpg" alt="" title="Synergy" width="548" height="200" class="aligncenter size-full wp-image-3689" /><br
/> The software is cross platform so the keyboard and mouse can be shared with Windows, <a
href="http://www.dannytsang.co.uk/index.php/tag/linux/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Linux">Linux</a> and Mac computer all at the same time. In this post however I will be setting it up with 2 Windows machines.</p><p>Synergy also can share clipboards too so copying from computer A can be pasted on computer B.</p><p>The software uses the server-<a
href="http://www.dannytsang.co.uk/index.php/tag/client/" class="st_tag internal_tag" rel="tag" title="Posts tagged with client">client</a> model so the computer with the keyboard and mouse that is to be shared runs as the server and all remaining computers are classed as clients. If a <a
href="http://www.dannytsang.co.uk/index.php/tag/client/" class="st_tag internal_tag" rel="tag" title="Posts tagged with client">client</a> has a connected keyboard and mouse, it can still operate them independently of the server but the <a
href="http://www.dannytsang.co.uk/index.php/tag/client/" class="st_tag internal_tag" rel="tag" title="Posts tagged with client">client</a> keyboard and mouse cannot control the server &#8211; it&#8217;s a one way thing.</p><p>I will be using the Synergy setup as the example where The server is in the middle and 2 clients are either side of it.</p><h3>Windows Server</h3><p>Download and install the <a
href="http://www.dannytsang.co.uk/index.php/tag/synergy-software/" class="st_tag internal_tag" rel="tag" title="Posts tagged with synergy software">Synergy software</a>. At the time I opted for the stable version which was 1.3.6. There are 32 and 64 bit versions so install the correct one for server. Clients can have different bit version to the software and vice-versa.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-Client.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-Client-150x150.png" alt="" title="Synergy Client" width="150" height="150" class="aligncenter size-thumbnail wp-image-3685" /></a><br
/> Once installed, start the software and a very basic window should appear. Change the selection option from <strong>Use another computer&#8217;s shared keyboard and mouse (client)</strong> to <strong>Share this computer&#8217;s keyboard and mouse (server)</strong>.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Server-Screen-Configuration.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Server-Screen-Configuration-150x150.png" alt="" title="Server Screen Configuration" width="150" height="150" class="aligncenter size-thumbnail wp-image-3702" /></a><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client1-Screen-Configuration.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client1-Screen-Configuration-150x150.png" alt="" title="Client1 Screen Configuration" width="150" height="150" class="aligncenter size-thumbnail wp-image-3700" /></a><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client2-Screen-Configuration.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client2-Screen-Configuration-150x150.png" alt="" title="Client2 Screen Configuration" width="150" height="150" class="aligncenter size-thumbnail wp-image-3701" /></a><br
/> Click on the <strong>Configure&#8230;</strong> button to open up a new dialogue box. This window sets the computers (monitors really) and their orientation. First, add the server computer to top list using the <strong>+</strong> button. It is recommended the Screen Name should be the same as the computer name found in <code>(My) Computer > (right click) Properties</code> and the <strong>Computer name:</strong> is the name of the computer.</p><p>Leave Aliases as blank (empty).</p><p>Leave Options as all unticked and only tick them if there are issues with the stated keys.</p><p>Leave Modifiers as is or change according to preference. This may be useful for different operating systems.</p><p>Dead Corners prevents the cursor from jumping from one screen to the next. This may happen when using features such as expose on the Mac where moving the mouse to a designated corner will trigger something. Leave this unticked for now.</p><p>The next step is to link the computers together. This tells Synergy how the computers are positioned and which computer to go to when the mouse moves to the edge. It can be confusing at first but it means the screens can be linked in a series or in a circle. Always leaving the % of the screen unless the screens are very different. Working from left to right  Select <strong>right</strong>, <strong>Client1</strong>, <strong>Server</strong> in the dropdown boxes. The line should read something along the lines of <em>&#8220;of the <strong>right</strong> (part of the screen) of <strong>Client1</strong> goes to <strong>Server</strong>&#8220;</em> so the right edge on Client one links to the Server. Click the + button below to add the link and ready for a new link.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client1-Link.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client1-Link-150x150.png" alt="" title="Client1 Link" width="150" height="150" class="aligncenter size-thumbnail wp-image-3699" /></a><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/All-Links.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/All-Links-150x150.png" alt="" title="All Links" width="150" height="150" class="aligncenter size-thumbnail wp-image-3698" /></a></p><p>Add the following to join the server to client1, server to client2 and client 2 to server (see above screenshot).</p><p>Click OK to close the dialogue box.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Advanced-Options.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Advanced-Options-150x150.png" alt="" title="Advanced Options" width="150" height="150" class="aligncenter size-thumbnail wp-image-3697" /></a><br
/> Click on the <strong>Advanced&#8230;</strong> button. This is where you specify which screen belongs to this computer. In this case the screen name should be <strong>Server</strong>. Either change or note down the <strong>Port</strong> and ensure it is open on the computer. Click OK to save and close.</p><p>Next is to register the program to start automatically by clicking on the <strong>AutoStart&#8230;</strong> button. Read and chose the relevant startup option preferred. I would leave it turned off for now because enabling it stopped it from working. It can be uninstalled but it does required Synergy to be restarted (don&#8217;t know why it can&#8217;t start the server). Close the dialogue box after.</p><p>Don&#8217;t bother with Test because it was broken I tried it. Go straight to Start button and the server is up and running if there is the Synergy icon in the tray.</p><h3>Windows Client</h3><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-Client.png" rel="lightbox[3682]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-Client-150x150.png" alt="" title="Synergy Client" width="150" height="150" class="aligncenter size-thumbnail wp-image-3685" /></a><br
/> Startup Synergy but this time leave it on <strong>User another computer’s shared keyboard and mouse (client)</strong> and enter the IP or computer name of the server machine.</p><p>Click on the Advanced&#8230; button and enter the screen associated with the client. So on Client 1 enter Client1 and Client 2 should be Client2.</p><p>Next click Start and it should be connected to the server!</p><h3>Limitations</h3><p>It&#8217;s mainly nice to have features but it&#8217;s still worth noting that:</p><ul><li>Clipboard can only share text. I tried images to files but it did not work.</li><li>Dragging files from one screen/computer to another fails. It prevents the cursor from jumping screens whilst dragging something.</li><li>Synergy doesn&#8217;t work when the computer is locked. I don&#8217;t have a problem with this limitation on security grounds. This also applies to the first login of each computer.</li><li>High system usage / process freezes prevents the mouse from moving to the other computers. This is reasonable limitation because Synergy does not have enough resources to process the mouse move.</li><li>Network Dependent &#8211; If the network is down, then the software will not be able to communicate with each other. This may also apply to unstable networks.</li></ul><h3>Problems</h3><p>The UI can be confusing. For example I created a link for a computer, pressed the + button to add another and then OK&#8217;d it only to find it does not added it to the list unless you press the + button. Trying to remove a computer screen from the list caused Synergy to crash only to find it restoring to the last successful state. I am now confused as to how to remove them! Also the computer the aliases must match the ones typed on the server or it will error out.</p><p>A major issue I had with it was the Test function. Every time I tried it, it would either crash or complain it could not connect depending if it was the server or client. This made me go round and round trying different things only to find pressing start on client and server just worked (more or less).</p><p>It still prints out a message stating it&#8217;s a unstable software even though I&#8217;m using the stable version listed their site (64bit only maybe?).</p><p>I have noticed a problem where the clipboard is not being passed back and forth at times. Also the scroll wheel only works intermittently (more often not) which is very frustrating!</p><p>On <a
href="http://www.dannytsang.co.uk/index.php/tag/windows-7/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows 7">Windows 7</a> client, the cursor centers to the middle of the screen. In a full screen application such as Windows Media Player, the cursor stays hidden.</p><p>It&#8217;s an understatement to say there are polish needed. Currently it works for what I need and hopefully it will improve over time.</p><h3>Summary</h3><p>The motion is very smooth and seamless. The basic functionality is there but can be improved. It&#8217;s a good solution for controller 2 or more computers via one keyboard and mouse. The best part of it is the cross platform even if I do not use it.</p> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/synergy-client/' title='Synergy Client'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-Client-150x150.png" class="attachment-thumbnail" alt="Synergy Client" title="Synergy Client" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/synergy-server/' title='Synergy Server'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-Server-150x150.png" class="attachment-thumbnail" alt="Synergy Server" title="Synergy Server" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/synergy/' title='Synergy'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Synergy-150x150.jpg" class="attachment-thumbnail" alt="Synergy" title="Synergy" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/advanced-options/' title='Advanced Options'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Advanced-Options-150x150.png" class="attachment-thumbnail" alt="Advanced Options" title="Advanced Options" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/all-links/' title='All Links'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/All-Links-150x150.png" class="attachment-thumbnail" alt="All Links" title="All Links" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/client1-link/' title='Client1 Link'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client1-Link-150x150.png" class="attachment-thumbnail" alt="Client1 Link" title="Client1 Link" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/client1-screen-configuration/' title='Client1 Screen Configuration'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client1-Screen-Configuration-150x150.png" class="attachment-thumbnail" alt="Client1 Screen Configuration" title="Client1 Screen Configuration" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/client2-screen-configuration/' title='Client2 Screen Configuration'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Client2-Screen-Configuration-150x150.png" class="attachment-thumbnail" alt="Client2 Screen Configuration" title="Client2 Screen Configuration" /></a> <a
href='http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/server-screen-configuration/' title='Server Screen Configuration'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Server-Screen-Configuration-150x150.png" class="attachment-thumbnail" alt="Server Screen Configuration" title="Server Screen Configuration" /></a><p><a
href="http://synergy-foss.org/">Synergy</a></p><p><a
href="http://lifehacker.com/254648/how-to-control-multiple-computers-with-a-single-keyboard-and-mouse">How to Control Multiple Computers with a Single Keyboard and Mouse</a></p><p><a
href="http://synergy2.sourceforge.net/trouble.html">Synergy Troubleshooting</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/logitech-g15-and-mx-revolution/' rel='bookmark' title='Logitech G15 and MX Revolution'>Logitech G15 and MX Revolution</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/numpad-not-working-under-gnome/' rel='bookmark' title='Numpad not working under Gnome'>Numpad not working under Gnome</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/keyboard/' rel='bookmark' title='Keyboard'>Keyboard</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/synergy-project-windows-to-windows/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>FreePBX Symlink From Modules Failed</title><link>http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/</link> <comments>http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/#comments</comments> <pubDate>Mon, 11 Jul 2011 23:01:30 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[PBX]]></category> <category><![CDATA[FreePBX]]></category> <category><![CDATA[Symlink]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2930</guid> <description><![CDATA[Overview I recently upgraded FreePBX from 2.7.1 to 2.8 and from 2.8 to 2.9 the upgrade went OK except for a minor problem where the symbolic link is broken. Whilst this did not cause any problems in terms of the &#8230; <a
href="http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/remote-extension-in-freepbx/' rel='bookmark' title='Remote Extension In FreePBX'>Remote Extension In FreePBX</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-common-voicemail-box/' rel='bookmark' title='FreePBX &#8211; Common Voicemail Box'>FreePBX &#8211; Common Voicemail Box</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/asterisk-freepbx-full-log-file/' rel='bookmark' title='Asterisk / FreePBX full Log file'>Asterisk / FreePBX full Log file</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I recently upgraded <a
href="http://www.dannytsang.co.uk/index.php/tag/freepbx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with FreePBX">FreePBX</a> from 2.7.1 to 2.8 and from 2.8 to 2.9 the upgrade went OK except for a minor problem where the symbolic link is broken. Whilst this did not cause any problems in terms of the functionality or the workings of the system, it would be nice to solve the problem which appears in the dashboard.</p><h3>Error Message</h3><p>The title of the notification is &#8220;<a
href="http://www.dannytsang.co.uk/index.php/tag/symlink/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Symlink">Symlink</a> from modules failed&#8221; with the following body:<br
/> <code>Error Symlink from modules failed retrieve_conf failed to sym link:<br
/> /etc/<a
href="http://www.dannytsang.co.uk/index.php/tag/asterisk/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Asterisk">asterisk</a>/<a
href="http://www.dannytsang.co.uk/index.php/tag/sip/" class="st_tag internal_tag" rel="tag" title="Posts tagged with SIP">sip</a>_notify.conf<br
/> This can result in FATAL failures to your <a
href="http://www.dannytsang.co.uk/index.php/tag/pbx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with pbx">PBX</a>. If the target <a
href="http://www.dannytsang.co.uk/index.php/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> exists, the symlink will not occur and you should rename the target <a
href="http://www.dannytsang.co.uk/index.php/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> to allow the automatic sym link to occur and remove this error, unless this is an intentional customization.</code></p><p>Other people have been getting other sym link errors other than sip_notify.conf but the technique should be the same.</p><h3>The Fix</h3><p>Take <a
href="http://www.dannytsang.co.uk/index.php/tag/backup/" class="st_tag internal_tag" rel="tag" title="Posts tagged with backup">backup</a> copy of the files mentioned:<br
/> <code>$sudo cp /etc/asterisk/sip_notify.conf /etc/asterisk/sip_notify.conf.bak</code><br
/> Ensure the backup file have the same permission and ownership as the original.</p><p>Remove the original file:<br
/> <code>$sudo rm /etc/asterisk/sip_notify.conf</code></p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Apply-Configuration-Changes.png" rel="lightbox[2930]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/Apply-Configuration-Changes-150x136.png" alt="" title="Apply Configuration Changes" width="150" height="136" class="aligncenter size-thumbnail wp-image-3671" /></a><br
/> Run retrieve_conf function again. This is triggered by the orange button at the top of the screen which appears when settings have changed but not applied yet. An easy to do this is to go into any of the settings and hit submit. For example Outbound <a
href="http://www.dannytsang.co.uk/index.php/tag/routes/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Routes">Routes</a> > [select a route] > Submit Changes button. Click on the Apply Configuration Changes button and there error should disappear. To confirm this has worked (because it does not appear all the time) list the directory to see if a new symlink with the same name as the one that was deleted before:<br
/> <code>$sudo ls -l</code><br
/> This time it should have a -> to indicated it&#8217;s a symlink and point to another path E.g /etc/asterisk/sip_notify.conf -> /var/www/html/admin/modules/core/etc/sip_notify.conf</p><p><a
href="http://www.freepbx.org/forum/freepbx/users/symlink-from-modules-failed-on-status-screen-after-upgrade" target="_blank">Symlink from modules failed on status screen after upgrade</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/remote-extension-in-freepbx/' rel='bookmark' title='Remote Extension In FreePBX'>Remote Extension In FreePBX</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-common-voicemail-box/' rel='bookmark' title='FreePBX &#8211; Common Voicemail Box'>FreePBX &#8211; Common Voicemail Box</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/asterisk-freepbx-full-log-file/' rel='bookmark' title='Asterisk / FreePBX full Log file'>Asterisk / FreePBX full Log file</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/freepbx-symlink-from-modules-failed/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Apache 2 Hardening Tips</title><link>http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/</link> <comments>http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/#comments</comments> <pubDate>Sat, 25 Jun 2011 23:01:31 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[DDOS]]></category> <category><![CDATA[server]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3594</guid> <description><![CDATA[Below are some of the tricks I use or found useful to try to mitigate unwanted attention. Whilst this is not a definitive guide these are simple quick things that can be done. This was written for Ubuntu but it &#8230; <a
href="http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-permalink-change-error/' rel='bookmark' title='WordPress Permalink Change Error'>WordPress Permalink Change Error</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-10-04-firewall-ufw-basics/' rel='bookmark' title='Ubuntu 10.04 Firewall (UFW) Basics'>Ubuntu 10.04 Firewall (UFW) Basics</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/setting-up-cups-print-server-on-ubuntu-804/' rel='bookmark' title='Setting Up CUPS (Print Server) On Ubuntu 8.04'>Setting Up CUPS (Print Server) On Ubuntu 8.04</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Below are some of the tricks I use or found useful to try to mitigate unwanted attention. Whilst this is not a definitive guide these are simple quick things that can be done. This was written for Ubuntu but it can be applied to any OS running <a
href="http://www.dannytsang.co.uk/index.php/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache">Apache</a> 2.</p><h3>Disable Directory Listings</h3><p>First directive to change is to stop people browsing through files when a user types in a web address which leads to a folder.</p><p>Edit the file <code>/etc/apache2/sites-available/default</code><br
/> changing default for the site config file.<br
/> <code>$ sudo service apache2 restart</code><br
/> Find <strong>Indexes</strong> from the options under the Directory directive and add a subtract sign to disable the option. For example:<br
/> <code>&lt;Directory /var/www/&gt;<br
/> Options Indexes FollowSymLinks MultiViews<br
/> <a
href="http://www.dannytsang.co.uk/index.php/tag/allowoverride/" class="st_tag internal_tag" rel="tag" title="Posts tagged with AllowOverride">AllowOverride</a> None<br
/> Order allow,deny<br
/> allow from all<br
/> &lt;/Directory&gt;</code><br
/> Becomes<br
/> <code>&lt;Directory /var/www/&gt;<br
/> Options -Indexes FollowSymLinks MultiViews<br
/> AllowOverride None<br
/> Order allow,deny<br
/> allow from all<br
/> &lt;/Directory&gt;</code></p><h3>mod-evasive</h3><p>As a last measure from a <a
href="http://www.dannytsang.co.uk/index.php/tag/ddos/" class="st_tag internal_tag" rel="tag" title="Posts tagged with DDOS">DDOS</a> attach, Apache has a module which black lists IP addresses temporarily. The default rules are:</p><blockquote><ol><li>Requesting the same page more than a few times per second</li><li>Making more than 50 concurrent requests on the same child per second</li><li>Making any requests while temporarily blacklisted (on a blocking list)</li></ol></blockquote><p><code>$sudo apt-get install libapache2-mod-evasive</code></p><h3>mod-<a
href="http://www.dannytsang.co.uk/index.php/tag/security/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Security">security</a></h3><p>Helps stop some injection and <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">Server</a> Side Includes (SSI) attacks:<br
/> <code>$sudo apt-get install libapache2-mod-security2</code></p><h3>Remove Server Signature &#038; Information</h3><p>Turn off server information such as version of Apache and HTTP header server information.</p><p><code>$vi /etc/apache2/conf.d/security</code></p><p>Find the following and change the values to <strong>Prod</strong> and <strong>Off</strong><br
/> ServerTokens Prod<br
/> ServerSignature Off</p><h3>Update Apache</h3><p>Keep the software as up to date as possible. New version come out all the time with various fixes and security patches. Fortunately, Debian based systems such as Ubuntu makes this really easy:<br
/> <code>$sudo apt-get update &#038;&#038; sudo apt-get dist-upgrade</code></p><p>Last thing to do is to restart the server for the changes to take hold. Any mis-configuration should be reported when the server tries to start back up. It might be easier to restart after each change to make troubleshooting easier.</p><p>Below are some use case specific ways to enhance security. If the below changes breaks a site then revert the changes but for most home uses they can generally be turned off.</p><h3>Disable SSI</h3><p>Add a minus sign in front of <strong>Includes</strong>. E.g:<br
/> <code>&lt;Directory /var/www/&gt;<br
/> Options -Indexes -Includes FollowSymLinks MultiViews<br
/> AllowOverride None<br
/> Order allow,deny<br
/> allow from all<br
/> &lt;/Directory&gt;</code></p><h3>Disable CGI</h3><p>Add / modify <strong>ExecCGI</strong> in the directory directive:<br
/> <code>&lt;Directory /var/www/&gt;<br
/> Options -Indexes -Includes -ExecCGI FollowSymLinks MultiViews<br
/> AllowOverride None<br
/> Order allow,deny<br
/> allow from all<br
/> &lt;/Directory&gt;</code></p><h3>Disable Symbolic Links</h3><p>Remove / add a hyphen to <strong>FollowSymLinks</strong> to disable sym links (like shorts in <a
href="http://www.dannytsang.co.uk/index.php/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> terms):<br
/> <code>&lt;Directory /var/www/&gt;<br
/> Options -Indexes -Includes -ExecCGI -FollowSymLinks MultiViews<br
/> AllowOverride None<br
/> Order allow,deny<br
/> allow from all<br
/> &lt;/Directory&gt;</code></p><h3>Disable All Options</h3><p>To remove all options above just remove all the options and add the word <strong>None</strong><br
/> <code>&lt;Directory /var/www/&gt;<br
/> Options None<br
/> AllowOverride None<br
/> Order allow,deny<br
/> allow from all<br
/> &lt;/Directory&gt;</code></p><p><a
href="http://secure-ubuntu-server.blogspot.com/2009/07/howto-hardening-your-apache-and-php-on_07.html" target="_blank">Almost Secure and Perfect Ubuntu Server</a></p><p><a
href="http://httpd.apache.org/docs/2.0/misc/security_tips.html" target="_blank">Security Tips</a></p><p><a
href="http://www.petefreitag.com/item/505.cfm" target="_blank">20 ways to Secure your Apache Configuration</a></p><p><a
href="http://gliderservices.no-ip.org/blog/?p=9" target="_blank">How to harden Ubuntu 10.04 LTS + LAMP</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-permalink-change-error/' rel='bookmark' title='WordPress Permalink Change Error'>WordPress Permalink Change Error</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-10-04-firewall-ufw-basics/' rel='bookmark' title='Ubuntu 10.04 Firewall (UFW) Basics'>Ubuntu 10.04 Firewall (UFW) Basics</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/setting-up-cups-print-server-on-ubuntu-804/' rel='bookmark' title='Setting Up CUPS (Print Server) On Ubuntu 8.04'>Setting Up CUPS (Print Server) On Ubuntu 8.04</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Invalid Command &#8216;Header&#8217;</title><link>http://www.dannytsang.co.uk/index.php/invalid-command-header/</link> <comments>http://www.dannytsang.co.uk/index.php/invalid-command-header/#comments</comments> <pubDate>Tue, 21 Jun 2011 16:11:06 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3737</guid> <description><![CDATA[Another error and same problem as last time: the module was not loaded! Invalid command &#8216;Header&#8217;, perhaps misspelled or defined by a module not included in the server configuration $sudo a2enmod headers to enable the headers module $sudo service apache2 &#8230; <a
href="http://www.dannytsang.co.uk/index.php/invalid-command-header/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/invalid-command-expiresactive/' rel='bookmark' title='Invalid Command &#8216;ExpiresActive&#8217;'>Invalid Command &#8216;ExpiresActive&#8217;</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-permalink-change-error/' rel='bookmark' title='WordPress Permalink Change Error'>WordPress Permalink Change Error</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-twitter-tools-shows-blank-page-on-connect/' rel='bookmark' title='WordPress Twitter Tools Shows Blank Page On Connect'>WordPress Twitter Tools Shows Blank Page On Connect</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Another error and same problem as last time: the module was not loaded!</p><blockquote><p>Invalid command &#8216;Header&#8217;, perhaps misspelled or defined by a module not included in the <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> configuration</p></blockquote><p><code>$sudo a2enmod headers</code> to enable the headers module</p><p><code>$sudo service <a
href="http://www.dannytsang.co.uk/index.php/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache">apache</a>2 restart</code> to restart the server for the module to take effect.</p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/invalid-command-expiresactive/' rel='bookmark' title='Invalid Command &#8216;ExpiresActive&#8217;'>Invalid Command &#8216;ExpiresActive&#8217;</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-permalink-change-error/' rel='bookmark' title='WordPress Permalink Change Error'>WordPress Permalink Change Error</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-twitter-tools-shows-blank-page-on-connect/' rel='bookmark' title='WordPress Twitter Tools Shows Blank Page On Connect'>WordPress Twitter Tools Shows Blank Page On Connect</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/invalid-command-header/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Invalid Command &#8216;ExpiresActive&#8217;</title><link>http://www.dannytsang.co.uk/index.php/invalid-command-expiresactive/</link> <comments>http://www.dannytsang.co.uk/index.php/invalid-command-expiresactive/#comments</comments> <pubDate>Tue, 21 Jun 2011 16:10:08 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[apache]]></category> <category><![CDATA[ExpiresActive]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3734</guid> <description><![CDATA[I recently got the error message below when I was trying to reload Apache: Invalid command &#8216;ExpiresActive&#8217;, perhaps misspelled or defined by a module not included in the server configuration &#8230;fail! To fix it ensure the &#8220;expires&#8221; module is loaded: &#8230; <a
href="http://www.dannytsang.co.uk/index.php/invalid-command-expiresactive/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/invalid-command-header/' rel='bookmark' title='Invalid Command &#8216;Header&#8217;'>Invalid Command &#8216;Header&#8217;</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-permalink-change-error/' rel='bookmark' title='WordPress Permalink Change Error'>WordPress Permalink Change Error</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/' rel='bookmark' title='Apache 2 Hardening Tips'>Apache 2 Hardening Tips</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I recently got the error message below when I was trying to reload <a
href="http://www.dannytsang.co.uk/index.php/tag/apache/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache">Apache</a>:</p><blockquote><p>Invalid command &#8216;<a
href="http://www.dannytsang.co.uk/index.php/tag/expiresactive/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ExpiresActive">ExpiresActive</a>&#8217;, perhaps misspelled or defined by a module not included in the <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a> configuration<br
/> &#8230;fail!</p></blockquote><p>To fix it ensure the &#8220;expires&#8221; module is loaded:<br
/> <code>$sudo a2enmod expires</code></p><p>Then restart <a
href="http://www.dannytsang.co.uk/index.php/tag/apache-server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with apache server">Apache server</a><br
/> <code>$sudo service apache2 restart</code></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/invalid-command-header/' rel='bookmark' title='Invalid Command &#8216;Header&#8217;'>Invalid Command &#8216;Header&#8217;</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-permalink-change-error/' rel='bookmark' title='WordPress Permalink Change Error'>WordPress Permalink Change Error</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/apache-2-hardening-tips/' rel='bookmark' title='Apache 2 Hardening Tips'>Apache 2 Hardening Tips</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/invalid-command-expiresactive/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Check For Rootkits In Ubuntu</title><link>http://www.dannytsang.co.uk/index.php/check-for-rootkits-in-ubuntu/</link> <comments>http://www.dannytsang.co.uk/index.php/check-for-rootkits-in-ubuntu/#comments</comments> <pubDate>Fri, 17 Jun 2011 23:01:09 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Security]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[chkrootkit]]></category> <category><![CDATA[Rootkits]]></category> <category><![CDATA[Ubuntu]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3600</guid> <description><![CDATA[There&#8217;s a nice pre-made script which checks your Ubuntu system for Rootkits. Whilst it&#8217;s by no means exhaust way of finding out if your system is infected it makes it real simply and easy to do. First thing to do &#8230; <a
href="http://www.dannytsang.co.uk/index.php/check-for-rootkits-in-ubuntu/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/mounting-extracting-bin-and-cue-files-in-ubuntu/' rel='bookmark' title='Mounting / Extracting .bin and .cue Files In Ubuntu'>Mounting / Extracting .bin and .cue Files In Ubuntu</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/check-gui-program-is-running-in-linux/' rel='bookmark' title='Check GUI Program Is Running In Linux'>Check GUI Program Is Running In Linux</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/bash-sleep-vs-wait/' rel='bookmark' title='Bash Sleep vs. Wait'>Bash Sleep vs. Wait</a></li></ol>]]></description> <content:encoded><![CDATA[<p>There&#8217;s a nice pre-made script which checks your <a
href="http://www.dannytsang.co.uk/index.php/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">Ubuntu</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/system/" class="st_tag internal_tag" rel="tag" title="Posts tagged with system">system</a> for <a
href="http://www.dannytsang.co.uk/index.php/tag/rootkits/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Rootkits">Rootkits</a>. Whilst it&#8217;s by no means exhaust way of finding out if your system is infected it makes it real simply and easy to do.</p><p>First thing to do is install the script<br
/> <code>$sudo apt-get install <a
href="http://www.dannytsang.co.uk/index.php/tag/chkrootkit/" class="st_tag internal_tag" rel="tag" title="Posts tagged with chkrootkit">chkrootkit</a></code></p><p>Next run it:<br
/> <code>$sudo chkrootkit</code><br
/> or redirect the output to a <a
href="http://www.dannytsang.co.uk/index.php/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a><br
/> <code>$sudo chkrootkit > rootkit.txt</code><br
/> That&#8217;s it!</p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/mounting-extracting-bin-and-cue-files-in-ubuntu/' rel='bookmark' title='Mounting / Extracting .bin and .cue Files In Ubuntu'>Mounting / Extracting .bin and .cue Files In Ubuntu</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/check-gui-program-is-running-in-linux/' rel='bookmark' title='Check GUI Program Is Running In Linux'>Check GUI Program Is Running In Linux</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/bash-sleep-vs-wait/' rel='bookmark' title='Bash Sleep vs. Wait'>Bash Sleep vs. Wait</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/check-for-rootkits-in-ubuntu/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>FreePBX Blank Voicemail Login Page</title><link>http://www.dannytsang.co.uk/index.php/freepbx-blank-voicemail-login-page/</link> <comments>http://www.dannytsang.co.uk/index.php/freepbx-blank-voicemail-login-page/#comments</comments> <pubDate>Tue, 14 Jun 2011 23:01:46 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[PBX]]></category> <category><![CDATA[ARI Framework]]></category> <category><![CDATA[Asterisk]]></category> <category><![CDATA[FreePBX]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3611</guid> <description><![CDATA[After upgrading from 2.8.x to 2.9 was less straight forward than a minor upgrade but still easier to do compared to a fresh install. A problem I had encountered was navigating to the voicemail login page was blank. The page &#8230; <a
href="http://www.dannytsang.co.uk/index.php/freepbx-blank-voicemail-login-page/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-233-upgrade/' rel='bookmark' title='WordPress 2.3.3 Upgrade'>WordPress 2.3.3 Upgrade</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/visual-studio-express-2008-orca/' rel='bookmark' title='Visual Studio Express 2008 (Orca)'>Visual Studio Express 2008 (Orca)</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-twitter-tools-shows-blank-page-on-connect/' rel='bookmark' title='WordPress Twitter Tools Shows Blank Page On Connect'>WordPress Twitter Tools Shows Blank Page On Connect</a></li></ol>]]></description> <content:encoded><![CDATA[<p>After upgrading from 2.8.x to 2.9 was less straight forward than a minor upgrade but still easier to do compared to a fresh install.</p><p>A problem I had encountered was navigating to the voicemail login page was blank. The page loaded successfully with just a white page. The cause is the <a
href="http://www.dannytsang.co.uk/index.php/tag/ari-framework/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ARI Framework">ARI Framework</a> module is not installed and to rectify it is as simple as downloading and installing the <a
href="http://www.dannytsang.co.uk/index.php/tag/freepbx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with FreePBX">FreePBX</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/ari-framework/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ARI Framework">ARI Framework</a> module via the Admin page.</p><div
align="center"><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/ARI-Framework.png" rel="lightbox[3611]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/06/ARI-Framework-150x150.png" alt="" title="ARI Framework" width="150" height="150" class="aligncenter size-thumbnail wp-image-3613" /></a></div><p><a
href="http://www.freepbx.org/forum/freepbx/installation/recordings-page-is-blank-after-update-2-9" target="_blank">Recordings page is blank after update 2.9</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-233-upgrade/' rel='bookmark' title='WordPress 2.3.3 Upgrade'>WordPress 2.3.3 Upgrade</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/visual-studio-express-2008-orca/' rel='bookmark' title='Visual Studio Express 2008 (Orca)'>Visual Studio Express 2008 (Orca)</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/wordpress-twitter-tools-shows-blank-page-on-connect/' rel='bookmark' title='WordPress Twitter Tools Shows Blank Page On Connect'>WordPress Twitter Tools Shows Blank Page On Connect</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/freepbx-blank-voicemail-login-page/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Cyanogenmod On HTC Desire Issues</title><link>http://www.dannytsang.co.uk/index.php/cyanogenmod-on-htc-desire-issues/</link> <comments>http://www.dannytsang.co.uk/index.php/cyanogenmod-on-htc-desire-issues/#comments</comments> <pubDate>Mon, 21 Feb 2011 21:28:45 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Mobile Phone]]></category> <category><![CDATA[Software]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3329</guid> <description><![CDATA[I had decided to try out Cyanogenmod but in order to do so I had to root my HTC Desire. Looking at the steps on the Internet it all seems fairly simple using the Unrevoked method. Sods law was that &#8230; <a
href="http://www.dannytsang.co.uk/index.php/cyanogenmod-on-htc-desire-issues/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/htc-desire-mini-review/' rel='bookmark' title='HTC Desire Mini Review'>HTC Desire Mini Review</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/rx8-modded-in-my-room/' rel='bookmark' title='RX8 Modded In My Room'>RX8 Modded In My Room</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/new-phone-2/' rel='bookmark' title='New Phone'>New Phone</a></li></ol>]]></description> <content:encoded><![CDATA[<p>I had decided to try out Cyanogenmod but in order to do so I had to root my <a
href="http://www.dannytsang.co.uk/index.php/tag/htc/" class="st_tag internal_tag" rel="tag" title="Posts tagged with HTC">HTC</a> Desire. Looking at the steps on the Internet it all seems fairly simple using the Unrevoked method. Sods law was that it doesn&#8217;t go according to the steps I followed on the Unrevoked wiki page and I was right!</p><p>Following the official Cyanogenmod wiki page was ok till I got to the step about HBOOT. First time I clicked on the link to download the HBOOT drivers but didn&#8217;t actually read how to install the HBOOT driver. My mistake. I found theunlockr.com to have a video of most of the <a
href="http://www.dannytsang.co.uk/index.php/tag/process/" class="st_tag internal_tag" rel="tag" title="Posts tagged with process">process</a> so I managed to install HBOOT on my second try. My first try it detected the device but no driver was found (as expected) but when I updated the driver it failed. I unplugged it, took the battery out and back in again and tried again. This time the HBOOT driver detected the phone successfully. Not convinced it had worked I removed the driver using Windows device manager and went through the whole <a
href="http://www.dannytsang.co.uk/index.php/tag/process/" class="st_tag internal_tag" rel="tag" title="Posts tagged with process">process</a> again.</p><p>Once that was done I moved onto the next step which was to start the unrevoked 3 process. Again I ran into an issue here too. I enabled USB Debugging as per the instructions and plugged the phone in whilst the unrevoked programme was running and waiting for device however  it stayed on the screen. The video on theunlockr.com mentions this and said to try closing and re-openning unrevoked 3 program. I still had the same problem.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/02/unrevoked-3-waiting-for-device.png" rel="lightbox[3329]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/02/unrevoked-3-waiting-for-device-150x150.png" alt="" title="unrevoked 3 waiting for device" width="150" height="150" class="aligncenter size-thumbnail wp-image-3333" /></a><br
/> I noticed the device manager wasn&#8217;t picking up the phone so I closed unrevoked, installed HTC <a
href="http://www.dannytsang.co.uk/index.php/tag/sync/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sync">Sync</a> software and removed HTC <a
href="http://www.dannytsang.co.uk/index.php/tag/sync/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sync">sync</a> but left the other 2 bits of software it had installed with HTC <a
href="http://www.dannytsang.co.uk/index.php/tag/sync/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sync">sync</a>. I started unrevoked and plugged the phone in and this time it worked!<br
/> <a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/02/unrevoked-3-success.png" rel="lightbox[3329]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/02/unrevoked-3-success-150x150.png" alt="" title="unrevoked 3 success" width="150" height="150" class="aligncenter size-thumbnail wp-image-3332" /></a></p><p>Next problem &#8211; endless reboot. The phone stays on the HTC screen and suddently goes blank and shows the HTC screen again. Everytime it does it, it vibrates just like starting the phone from a cold boot. Luckily I took a backup using Clockwordmod so I took the battery out and put it back in again, turned the phone on with the volume down button pressed and went to recovery mode and restored from my backup which fixed the issue. I also believe I could have went straight to <a
href="http://www.dannytsang.co.uk/index.php/tag/flash/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Flash">flash</a> the Cyanogenmod would work too but I didn&#8217;t have to go down this root.</p><p>Finally the last problem which I cannot resolve is the old versions of Google <a
href="http://www.dannytsang.co.uk/index.php/tag/apps/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Apps">Apps</a>. I noticed the Google Market Place was still using the old version 1.82 instead of 2.x (2.12 at the time of writing). Looking around the web it seems that I am fortunate not to have the other problem which is where it Force Closes a lot of the time. In light of this I decided to leave it alone if it means it doesn&#8217;t crash.</p> <a
href='http://www.dannytsang.co.uk/index.php/cyanogenmod-on-htc-desire-issues/unrevoked-3-success/' title='unrevoked 3 success'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/02/unrevoked-3-success-150x150.png" class="attachment-thumbnail" alt="unrevoked 3 success" title="unrevoked 3 success" /></a> <a
href='http://www.dannytsang.co.uk/index.php/cyanogenmod-on-htc-desire-issues/unrevoked-3-waiting-for-device/' title='unrevoked 3 waiting for device'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/02/unrevoked-3-waiting-for-device-150x150.png" class="attachment-thumbnail" alt="unrevoked 3 waiting for device" title="unrevoked 3 waiting for device" /></a><p><a
href="http://wiki.cyanogenmod.com/index.php?title=HTC_Desire_%28GSM%29:_Full_Update_Guide">HTC Desire (GSM): Full Update Guide</a></p><p><a
href="http://theunlockr.com/2010/09/20/how-to-root-the-htc-desire-unrevoked-method/">How To: Root the HTC Desire (Unrevoked Method) (Updated 1.18.11)</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/htc-desire-mini-review/' rel='bookmark' title='HTC Desire Mini Review'>HTC Desire Mini Review</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/rx8-modded-in-my-room/' rel='bookmark' title='RX8 Modded In My Room'>RX8 Modded In My Room</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/new-phone-2/' rel='bookmark' title='New Phone'>New Phone</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/cyanogenmod-on-htc-desire-issues/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Siemens Gigaset 685IP Mini Review</title><link>http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/</link> <comments>http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/#comments</comments> <pubDate>Wed, 12 Jan 2011 16:47:09 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Hardware]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[PBX]]></category> <category><![CDATA[FreePBX]]></category> <category><![CDATA[Gigaset]]></category> <category><![CDATA[MotoLivn]]></category> <category><![CDATA[motorola]]></category> <category><![CDATA[siemens]]></category> <category><![CDATA[siemens gigaset]]></category> <category><![CDATA[SIP]]></category> <category><![CDATA[VOIP]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=2967</guid> <description><![CDATA[Overview The two cordless phones that we have were fine till we moved into a house. The two phones suddenly became too far from room to room. It was time again to look for a phone which was scalable and &#8230; <a
href="http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-common-voicemail-box/' rel='bookmark' title='FreePBX &#8211; Common Voicemail Box'>FreePBX &#8211; Common Voicemail Box</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/' rel='bookmark' title='FreePBX MySQL Caller Lookup Source'>FreePBX MySQL Caller Lookup Source</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-blank-voicemail-login-page/' rel='bookmark' title='FreePBX Blank Voicemail Login Page'>FreePBX Blank Voicemail Login Page</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>The two cordless phones that we have were fine till we moved into a house. The two phones suddenly became too far from room to room. It was time again to look for a phone which was scalable and with Asterisk / FreePBX setup and working, it was time to look for a new home phone to accompany the existing ones and work with Asterisk.</p><h3>Hardware</h3><p>After purchasing the Motorola MotoLivn D812 two handset I was not very happy with the ergonomics nor the initiative of the device although it did help me setup FreePBX with SPA 3102.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2011/01/Siemens-Gigaset-685IP-Base-Unit-2.jpg" rel="lightbox[2967]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2011/01/Siemens-Gigaset-685IP-Base-Unit-2-150x150.jpg" alt="" title="Siemens Gigaset 685IP Base Unit 2" width="150" height="150" class="aligncenter size-thumbnail wp-image-3278" /></a><br
/> A damning limitation with the current setup is if one handset is active e.g listening to voicemail the other handset cannot make another call e.g to it&#8217;s own voicemail or to and outside line.</p><p>I then looked for a phone that was capable of traditional landlines and VOIP which the <a
href="http://www.dannytsang.co.uk/index.php/tag/siemens/" class="st_tag internal_tag" rel="tag" title="Posts tagged with siemens">Siemens</a> <a
href="http://www.dannytsang.co.uk/index.php/tag/gigaset/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Gigaset">Gigaset</a> does.</p><p>The box label stated the 1 handset package that I bought was made around 2007 where as the two other handsets I brought were made in 2009. Between the three there was no noticeable physical difference between the newer and older handset. They all function the same and only the software configuration was different.</p><h3>Battery</h3><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Front.jpg" rel="lightbox[2967]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Front-150x150.jpg" alt="" title="Handset Front" width="150" height="150" class="aligncenter size-thumbnail wp-image-3261" /></a><br
/> The battery life on the handsets were impressive! The instructions say to cycle the power at least once before use so I changed all three up and started an intercom call between two of them. Four hours later and only one out of approximately four bars went. I left it to discharge over night.</p><h3>Functions</h3><p>The phone has a mail feature which (annoyingly) flashes red on the key for voicemail / missed calls. I have set the device up so that when you select the voicemail message it dials the voicemail number. One of the best thing about this phone is that it syncs across all handsets so if the red blink for a missed call / voicemail appears, it will show for all handsets. If you view the missed call or listen to the voicemail so that there are no unread entries, all the other handsets would eventually sync and pick up that it has been read and the LED won&#8217;t <a
href="http://www.dannytsang.co.uk/index.php/tag/flash/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Flash">flash</a> on all of them. A small but nice feature compared to the Motorola handset which you had to go to each handset and acknowledge the missed calls one by one.</p><p>Over time the red flash has become really annoying because it constantly flashes even if you acknowledge there&#8217;s an unread voicemail. There is an option to turn the red light off but then there is no clear indicator that there was a missed call or a voicemail.</p><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Back.jpg" rel="lightbox[2967]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Back-150x150.jpg" alt="" title="Handset Back" width="150" height="150" class="aligncenter size-thumbnail wp-image-3259" /></a><br
/> Due to the hybrid setup of my house if the call was picked up on the old Motorola handsets, the Siemens thinks the call was missed and vice versa. This is a given problem because there is no way to notify one or the other if the handset stopped ringing because it was picked up or the caller hung up. Hopefully moving to a single system it will resolve this.</p><p>The display can be set to keep the back light lit up. This is nice if your using the clock as a screensaver. The screensaver can be set to a picture, clock or live information such as weather, stock ticker, etc. A feature you don&#8217;t see on all phones. The phone has very small amount of memory to allows users to put their own pictures to be used as screensaver as well as phonebook etc using the provided software. I have not tested this as I would use Asterisk / FreePBX to manage all the <a
href="http://www.dannytsang.co.uk/index.php/tag/caller-id/" class="st_tag internal_tag" rel="tag" title="Posts tagged with caller id">caller ID</a> information.</p><h3>Configuration</h3><p>I had trouble with accessing the online webpage which was like a router where you can change the settings of the phone/base station. I tried everything networking related to get it to work but gave up trying to access it on the computer. It was only when I used a handset and went to check for updates which it found and downloaded did it fix the problem.</p><h3>685IP Integration With FreePBX</h3><p>At first the settings page had some different labels to what I was use to. For example the Domain address I left blank at first because I wasn&#8217;t running it in a domain but only to find it was to the PBX host <a
href="http://www.dannytsang.co.uk/index.php/tag/server/" class="st_tag internal_tag" rel="tag" title="Posts tagged with server">server</a>.</p><p>Besides that fact it was very simple to set up with FreePBX.</p><h3>FreePBX Settings</h3><p>Create one extension for each handset that you have connected to the Gigaset. This allows each handset to be recognised as an individual handset and are the steps described below. An alternative is to create one extension for all the handsets however if one handset is in use the others may be unavailable which is not desirable.</p><ol><li>Navigate to the FreePBX Administrator&#8217;s web page. Log in as if required</li><li>Click on <strong>Extensions</strong> under the basic category on the left hand side menu.</li><li>Click on the <strong>Add Extensions</strong> from the right hand side menu.</li><li>Select <strong>Generic SIP Device</strong> from the Device dropdown menu.</li><li>Click Submit button.</li><li>Ensure the settings are similar to the settings below:</li><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/09/Gigaset-Extension-Settings.png" rel="lightbox[2967]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/09/Gigaset-Extension-Settings-150x150.png" alt="" title="Gigaset Extension Settings" width="150" height="150" class="aligncenter size-thumbnail wp-image-3019" /></a></p><li>Change the following fields to suite your system / preference:</li><ol><li>User Extension &#8211; The internal number to be assigned to the handset.</li><li>Display Name &#8211; The name which will appear on the handset from an internal call e.g Handset 1 calls Handset 2 where Handset 2 will see the display name.</li><li>secret &#8211; The <a
href="http://www.dannytsang.co.uk/index.php/tag/password/" class="st_tag internal_tag" rel="tag" title="Posts tagged with password">password</a> for the handset when registering with Asterisk/FreePBX.</li><li>Voicemail &#8211; Enable or disable and setting any other details related to voiccemail.</li></ol><li>Click Submit button to save the extension.</li><li>Repeat above steps till all handset extensions have been created.</li><li>Apply the changes to make it take effect.</li></ol><p>Unfortunately the S685IP does not handle outgoing calls like the Sipura 3102 does. This means making calls must be configured in the Gigaset page.</p><h3>Siemens Gigaset Base Station Settings</h3><p>With FreePBX setup and ready for the new handsets, configure the handsets to use the newly created extensions.</p><ol><li>Navigate to the Simens Gigaset webpage.</li><li>Login to gain access to the configuration pages.</li><li>Go to the <strong>Settings</strong> tab/</li><li>Click on Telephony > Connections from the tree menu on the left where it will list up to 6 phones.</li><li>Edit each phone in turn that will be / is connected to the base station.</li><li>Click on Show Advanced Settings to see all the settings and for each phone changing the following information:</li><ol><li>Connection Name or Number &#8211; Display name that appears on the handset when it&#8217;s on standby</li><li>Authentication Name &#8211; Set it the <strong>User Extension</strong> from the FreePBX setup.</li><li>Authentication password &#8211;</li><li>Username &#8211; Set it the <strong>User Extension</strong> from the FreePBX setup.</li><li>Domain &#8211; IP Address of FreePBX server</li><li>Proxy server address &#8211; IP Address of FreePBX server</li><li>Registrar server port &#8211; IP Address of FreePBX server</li><li>Outbound proxy &#8211; IP Address of FreePBX server</li><li>Save the changes</li></ol><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/09/Gigaset-S685IP-Base-Settings.png" rel="lightbox[2967]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/09/Gigaset-S685IP-Base-Settings-150x150.png" alt="" title="Gigaset S685IP Base Settings" width="150" height="150" class="aligncenter size-thumbnail wp-image-3030" /></a></p><li>It is also advised to disable the voicemail service on the Siemens Gigaset if your using FreePBX and set the voicemail dialling number:</li><ol><li>Go to the Gigaset web page, login and go to the Settings tab.</li><li>Select Telephony > Network Mailbox</li><li>For each handset enter the voicemail number (default is <strong>*97</strong>)</li><li>Save the settings.</li></ol></ol><h3></h3><h3>Limitation</h3><p>The phone is really good but like everything there are limitations.</p><p>The one big lack of functionality is the incoming <a
href="http://www.dannytsang.co.uk/index.php/tag/pstn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with pstn">PSTN</a> fixed line and ability to pass it to a PBX. If the unit was used as a standalone without a PBX then it would more than what a &#8220;normal&#8221; consumer would need.</p><h3>Summary</h3><p>This is an exceptional phone package which may be over kill for low to mid consumers but definitely worth considering for mid-high to high end consumers to even small businesses.</p> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/gigaset-extension-settings/' title='Gigaset Extension Settings'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/09/Gigaset-Extension-Settings-150x150.png" class="attachment-thumbnail" alt="Gigaset Extension Settings" title="Gigaset Extension Settings" /></a> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/gigaset-s685ip-base-settings/' title='Gigaset S685IP Base Settings'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/09/Gigaset-S685IP-Base-Settings-150x150.png" class="attachment-thumbnail" alt="Gigaset S685IP Base Settings" title="Gigaset S685IP Base Settings" /></a> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/handset-back/' title='Handset Back'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Back-150x150.jpg" class="attachment-thumbnail" alt="Handset Back" title="Handset Back" /></a> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/handset-base/' title='Handset Base'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Base-150x150.jpg" class="attachment-thumbnail" alt="Handset Base" title="Handset Base" /></a> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/handset-front/' title='Handset Front'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2010/12/Handset-Front-150x150.jpg" class="attachment-thumbnail" alt="Handset Front" title="Handset Front" /></a> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/siemens-gigaset-685ip-base-unit-2/' title='Siemens Gigaset 685IP Base Unit 2'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/01/Siemens-Gigaset-685IP-Base-Unit-2-150x150.jpg" class="attachment-thumbnail" alt="Siemens Gigaset 685IP Base Unit 2" title="Siemens Gigaset 685IP Base Unit 2" /></a> <a
href='http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/siemens-gigaset-685ip-base-unit/' title='Siemens Gigaset 685IP Base Unit'><img
width="150" height="150" src="http://www.dannytsang.co.uk/wp-content/uploads/2011/01/Siemens-Gigaset-685IP-Base-Unit-150x150.jpg" class="attachment-thumbnail" alt="Siemens Gigaset 685IP Base Unit" title="Siemens Gigaset 685IP Base Unit" /></a><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-common-voicemail-box/' rel='bookmark' title='FreePBX &#8211; Common Voicemail Box'>FreePBX &#8211; Common Voicemail Box</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-mysql-caller-lookup-source/' rel='bookmark' title='FreePBX MySQL Caller Lookup Source'>FreePBX MySQL Caller Lookup Source</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/freepbx-blank-voicemail-login-page/' rel='bookmark' title='FreePBX Blank Voicemail Login Page'>FreePBX Blank Voicemail Login Page</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/siemens-gigaset-685ip-mini-review/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Monitor Calibration Software</title><link>http://www.dannytsang.co.uk/index.php/monitor-calibration-software/</link> <comments>http://www.dannytsang.co.uk/index.php/monitor-calibration-software/#comments</comments> <pubDate>Fri, 03 Dec 2010 00:15:33 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[calibration]]></category> <category><![CDATA[Flash]]></category> <category><![CDATA[monitor]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3183</guid> <description><![CDATA[Check out Flat Panel HD&#8216;s website and go to the &#8220;Test software&#8221; category to get colour patterns to calibrate your monitor. I found the patterns to be OK but you need Flash for the downloadable and interactive versions. Related posts: &#8230; <a
href="http://www.dannytsang.co.uk/index.php/monitor-calibration-software/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/windows-7-monitor-calibration/' rel='bookmark' title='Windows 7 Monitor Calibration'>Windows 7 Monitor Calibration</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-no-monitor-defaults-to-800x600/' rel='bookmark' title='Ubuntu No Monitor Defaults To 800&#215;600'>Ubuntu No Monitor Defaults To 800&#215;600</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/why-linux-desktop-is-not-ready-yet/' rel='bookmark' title='Why Linux Desktop Is Not Ready&#8230; Yet'>Why Linux Desktop Is Not Ready&#8230; Yet</a></li></ol>]]></description> <content:encoded><![CDATA[<p>Check out <a
href="http://www.flatpanelshd.com/" target="_blank">Flat Panel HD</a>&#8216;s website and go to the &#8220;Test software&#8221; category to get colour patterns to calibrate your <a
href="http://www.dannytsang.co.uk/index.php/tag/monitor/" class="st_tag internal_tag" rel="tag" title="Posts tagged with monitor">monitor</a>. I found the patterns to be OK but you need <a
href="http://www.dannytsang.co.uk/index.php/tag/flash/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Flash">Flash</a> for the downloadable and interactive versions.</p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/windows-7-monitor-calibration/' rel='bookmark' title='Windows 7 Monitor Calibration'>Windows 7 Monitor Calibration</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/ubuntu-no-monitor-defaults-to-800x600/' rel='bookmark' title='Ubuntu No Monitor Defaults To 800&#215;600'>Ubuntu No Monitor Defaults To 800&#215;600</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/why-linux-desktop-is-not-ready-yet/' rel='bookmark' title='Why Linux Desktop Is Not Ready&#8230; Yet'>Why Linux Desktop Is Not Ready&#8230; Yet</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/monitor-calibration-software/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Compact Folders In Thunderbird To Save Disk Space</title><link>http://www.dannytsang.co.uk/index.php/compact-folders-in-thunderbird-to-save-disk-space/</link> <comments>http://www.dannytsang.co.uk/index.php/compact-folders-in-thunderbird-to-save-disk-space/#comments</comments> <pubDate>Tue, 02 Nov 2010 00:12:20 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[Compact]]></category> <category><![CDATA[Compacting]]></category> <category><![CDATA[Mozilla]]></category> <category><![CDATA[mozilla thunderbird]]></category> <category><![CDATA[Mozillazine]]></category> <category><![CDATA[POP]]></category> <category><![CDATA[Thunderbird]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3092</guid> <description><![CDATA[Overview I have been using Dropbox to sync my mail across multiple computers (I&#8217;m old school using POP protocol) which has been working great. Recently I received an email from Dropbox saying I was running out of space on my &#8230; <a
href="http://www.dannytsang.co.uk/index.php/compact-folders-in-thunderbird-to-save-disk-space/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/dropbox-causes-duplicate-folders-in-mozilla-thunderbird/' rel='bookmark' title='Dropbox Causes Duplicate Folders In Mozilla Thunderbird'>Dropbox Causes Duplicate Folders In Mozilla Thunderbird</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/thunderbird-automatic-updates-fail/' rel='bookmark' title='Thunderbird Automatic Updates Failed'>Thunderbird Automatic Updates Failed</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/sync-mozilla-thunderbird-using-dropbox/' rel='bookmark' title='Sync Mozilla Thunderbird Using Dropbox'>Sync Mozilla Thunderbird Using Dropbox</a></li></ol>]]></description> <content:encoded><![CDATA[<h3>Overview</h3><p>I have been using Dropbox to <a
href="http://www.dannytsang.co.uk/index.php/tag/sync/" class="st_tag internal_tag" rel="tag" title="Posts tagged with sync">sync</a> my <a
href="http://www.dannytsang.co.uk/index.php/tag/mail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Mail">mail</a> across multiple computers (I&#8217;m old school using <a
href="http://www.dannytsang.co.uk/index.php/tag/pop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with POP">POP</a> protocol) which has been working great.</p><p>Recently I received an email from Dropbox saying I was running out of space on my free 2GB account. I found that my <a
href="http://www.dannytsang.co.uk/index.php/tag/mozilla-thunderbird/" class="st_tag internal_tag" rel="tag" title="Posts tagged with mozilla thunderbird">Mozilla Thunderbird</a> profile which contained mainly my emails were taking up about 1.1 GB of hard disk / Dropbox space.</p><h3><a
href="http://www.dannytsang.co.uk/index.php/tag/compacting/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Compacting">Compacting</a> Folders</h3><p>According to the <a
href="http://kb.mozillazine.org/Thunderbird_:_Tips_:_Compacting_Folders" target="_blank">Mozillazine article</a> compacting folders reduces the size of the files used to hold email and email information. What happens is when an email is &#8220;deleted&#8221; it is actually hidden from the user but remains in file and is &#8220;marked for deletion&#8221;. Moving files also does the same thing. It creates a copy of the email in the respective &#8220;folder&#8221; in Mozilla Thunderbird and hides the original email in the previous folder. This means the size of the files related to email gets bigger and bigger.</p><p>The reasoning for this behaviour is reasonable. If a user deletes or moves emails in quick succession it makes it quicker to hide something than it is to physically remove / update a file on a hard disk. All email programs does this. The difference between Thunderbird and other email clients is that Thunderbird does not have automatic folder compacting set to run automatically.</p><h3>How To <a
href="http://www.dannytsang.co.uk/index.php/tag/compact/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Compact">Compact</a> A Folder</h3><p>If the folder you wish to compact have a lot of emails or have not been compacted before then it is best to back up your profile before doing so.</p><p>Whilst it&#8217;s good practice to have a backup compacting folders may take a while to complete and if anything wrong occurs it may corrupt the folder. The profile to back up is found in <code>Tools > Account Settings...</code><br
/> Select <strong>Local Folders</strong> in the left hand side and the profile path can be found in <strong>Local directory</strong> field.</p><p>If multiple local accounts are used each one should be backed up before bulk compacting.</p><ul><li>Open Mozilla Thunderbird.</li><li>Select the folder to compact</li><li>Right click on the folder</li><li>Select <strong>Compact</strong></li><li>Select OK to any dialogues which may appear.</li></ul><p>To do all the folders the above steps needs to be performed on all folders or set up automatic compacting.</p><h3>Automatic Compact</h3><p>Mozilla Thunderbird supports automatic compacting based on size of a folder.</p><ul><li>Tools > Options&#8230;</li><li><strong>Advanced</strong> category</li><li><strong>Network &#038; Disc Space</strong> tab</li><li>Tick <strong>Compact folders when it will save over</strong> n kb when n is the number of space it will save. I have set this to 50 MB</li><li>Click <strong>OK</strong></li></ul><p><a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/10/Compact-Folders-Settings.png" rel="lightbox[3092]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/10/Compact-Folders-Settings-150x150.png" alt="" title="Compact Folders Settings" width="150" height="150" class="aligncenter size-thumbnail wp-image-3096" /></a></p><p><a
href="http://kb.mozillazine.org/Thunderbird_:_Tips_:_Compacting_Folders" target="_blank">Compacting folders</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/dropbox-causes-duplicate-folders-in-mozilla-thunderbird/' rel='bookmark' title='Dropbox Causes Duplicate Folders In Mozilla Thunderbird'>Dropbox Causes Duplicate Folders In Mozilla Thunderbird</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/thunderbird-automatic-updates-fail/' rel='bookmark' title='Thunderbird Automatic Updates Failed'>Thunderbird Automatic Updates Failed</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/sync-mozilla-thunderbird-using-dropbox/' rel='bookmark' title='Sync Mozilla Thunderbird Using Dropbox'>Sync Mozilla Thunderbird Using Dropbox</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/compact-folders-in-thunderbird-to-save-disk-space/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Cloning HDD In VirtualBox</title><link>http://www.dannytsang.co.uk/index.php/cloning-hdd-in-virtualbox/</link> <comments>http://www.dannytsang.co.uk/index.php/cloning-hdd-in-virtualbox/#comments</comments> <pubDate>Sat, 16 Oct 2010 09:42:36 +0000</pubDate> <dc:creator>Danny</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[DOS]]></category> <category><![CDATA[environment variables]]></category> <category><![CDATA[ORACLE]]></category> <category><![CDATA[system variables]]></category> <category><![CDATA[VBoxManage]]></category> <category><![CDATA[virtual machines]]></category> <category><![CDATA[virtual media]]></category> <category><![CDATA[virtualbox]]></category> <guid
isPermaLink="false">http://www.dannytsang.co.uk/?p=3067</guid> <description><![CDATA[A common use of Virtual Machines is to test and run stuff till they are trashed. The magic is that each VM can be brought back up in no time with combination of save points (A.K.A Snapshots in VirtualBox) or &#8230; <a
href="http://www.dannytsang.co.uk/index.php/cloning-hdd-in-virtualbox/">Continue reading <span
class="meta-nav">&#8594;</span></a> Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/resizing-virtualbox-disk/' rel='bookmark' title='Resizing VirtualBox Disk'>Resizing VirtualBox Disk</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/windows-8-preview-unexpected-error-status-0xc0000225/' rel='bookmark' title='Windows 8 Preview Unexpected Error Status: 0xc0000225'>Windows 8 Preview Unexpected Error Status: 0xc0000225</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/thunderbird-html-signatures/' rel='bookmark' title='Thunderbird HTML Signatures'>Thunderbird HTML Signatures</a></li></ol>]]></description> <content:encoded><![CDATA[<p>A common use of Virtual Machines is to test and run stuff till they are trashed. The magic is that each VM can be brought back up in no time with combination of save points (A.K.A Snapshots in VirtualBox) or easily clone and bring up multiple VM images to have two or more machines with the exact same configuration and state.</p><p>In VirtualBox however this is not easy to do. There is no GUI option to clone or copy a snapshot or virtual hard drive in VDI format.</p><p>A simple copy and pasting of the .vdi <a
href="http://www.dannytsang.co.uk/index.php/tag/file/" class="st_tag internal_tag" rel="tag" title="Posts tagged with file">file</a> DOES NOT WORK!</p><p>Alas command line to the rescue! Using <a
href="http://www.dannytsang.co.uk/index.php/tag/vboxmanage/" class="st_tag internal_tag" rel="tag" title="Posts tagged with VBoxManage">VBoxManage</a> command it can clone a VDI file and can be easily added to the <a
href="http://www.dannytsang.co.uk/index.php/tag/virtual-media/" class="st_tag internal_tag" rel="tag" title="Posts tagged with virtual media">Virtual Media</a> Manager and to be used in place or in another VM. As long as the setup is similar to the original VM it should work.</p><p>First thing I had to do was add VBoxMange.exe to the <a
href="http://www.dannytsang.co.uk/index.php/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Windows">Windows</a> path. To do this locate the VirtualBox install directory. By default this is installed to <code>C:\Program Files\Oracle\VirtualBox</code><br
/> Copy the path to clipboard and open up <a
href="http://www.dannytsang.co.uk/index.php/tag/system/" class="st_tag internal_tag" rel="tag" title="Posts tagged with system">System</a> Properties: <strong>Right Click My Computer > Properties > Advanced system settings</strong><br
/> <a
href="http://www.dannytsang.co.uk/wp-content/uploads/2010/10/System-Properties.png" rel="lightbox[3067]"><img
src="http://www.dannytsang.co.uk/wp-content/uploads/2010/10/System-Properties-150x150.png" alt="" title="System Properties" width="150" height="150" class="aligncenter size-thumbnail wp-image-3071" /></a><br
/> Go to the <strong>Advanced</strong> tab and click on <strong>Environment Variables&#8230;</strong> button. A new window should <a
href="http://www.dannytsang.co.uk/index.php/tag/pop/" class="st_tag internal_tag" rel="tag" title="Posts tagged with POP">pop</a> up. In the <strong>System variables</strong> list, find, select and press <strong>Edit&#8230;</strong> button for a variable called <strong>Path</strong>. Append a semi-colon and then paste / type the path to the VirtualBox install directory e.g <code>C:\Program Files\Oracle\VirtualBox</code> Click OK to all opened windows to save and exit.</p><p>Open a command prompt <code>Start Menu > Run</code> Type <code>cmd</code> and click the OK button. The familiar DOS looking window appears. Navigate to where the .vdi file to be cloned and run the following command:<br
/> <code>VBoxManage clonevdi "[name of vdi].vdi" "[name of new vdi].vdi"</code><br
/> Replace [name of vdi].vdi with the VDI file name of the original file and [name of new vdi].vdi with the new file name.<br
/> For example:<br
/> <code>VBoxManage clonevdi "Linux2.6.vdi" "TestLinux2.6.vdi"</code><br
/> Press enter to execute the command and <a
href="http://www.dannytsang.co.uk/index.php/tag/wait/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Wait">wait</a> for it to complete the copy.</p><p>When it finishes go back / start up VirtualBox and go to the media manager <strong>File > Virtual Media Manager</strong> and select the <strong><a
href="http://www.dannytsang.co.uk/index.php/tag/hard-disks/" class="st_tag internal_tag" rel="tag" title="Posts tagged with hard disks">Hard Disks</a></strong> tab. Click the <strong>Add</strong> button and locate the cloned .vdi file. All that&#8217;s left now is to create a new VM with similar settings to the previous VM e.g if it&#8217;s a Windows XP ensure it is set to Windows XP in the new VM and select the new Hard drive in the existing drive drop down box.</p><p><a
href="http://forums.virtualbox.org/viewtopic.php?t=6679" target="_blank">VBoxManage not working</a></p><p>Related posts:<ol><li><a
href='http://www.dannytsang.co.uk/index.php/resizing-virtualbox-disk/' rel='bookmark' title='Resizing VirtualBox Disk'>Resizing VirtualBox Disk</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/windows-8-preview-unexpected-error-status-0xc0000225/' rel='bookmark' title='Windows 8 Preview Unexpected Error Status: 0xc0000225'>Windows 8 Preview Unexpected Error Status: 0xc0000225</a></li><li><a
href='http://www.dannytsang.co.uk/index.php/thunderbird-html-signatures/' rel='bookmark' title='Thunderbird HTML Signatures'>Thunderbird HTML Signatures</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.dannytsang.co.uk/index.php/cloning-hdd-in-virtualbox/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
