Sunday, 13 April 2014

0000430: OpenVAS GreenBone Security Assistant (webUI) - MantisBT

0000430: OpenVAS GreenBone Security Assistant (webUI) - MantisBT: "texlive-latex-extra"

Had problems getting Greenbone Security Assistant OpenVAS in BackLinux v3.13 producing reports in PDF format.

Found a Kali Linux bug indicating that the package texlive-latex-extra had to be installed in order to produce PDF reports.

It's an extra 650MB+ of stuff to install but it did fix the PDF report issue.

'via Blog this'

How to change the port and IP for Greenbone OpenVAS on BackLinux

By default, Greenbone OpenVAS on BackLinux v3.13 listens on port 9293 on the loopback address (127.0.0.1).

To change this, edit the /etc/default/greenbone-security-assistant and change the GSA_ADDRESS and GSA_PORT lines.

Changing these to 0.0.0.0 and 443 respectively, will make the GUI available on the standard HTTPS port. You'll only be able to do this as long as your have nothing else listening on that port.

You can confirm what ports are in use by using netstat -ant.

Wednesday, 9 April 2014

BASH script to wrap around Heartbleed scanner

The following script wraps around the Heartbleed scanner talked about in the previous post to scan all IP addresses within a file and output the results to a log.
I know it's basic, but it works - I'd be very happy if someone could come up with a script that would accept a subnet in CIDR format and scan all IP's with that subnet. Something like "hbscan 172.16.1.0/24"

Step-by-step:

  1. Create a ~/heartbleed
  2. Copy the Heartbleed binary into the folder created at (1)
  3. Copy the script below into the ~/heartbleed direcotry and call it something like hbscan
  4. Make hbscan runnable (chmod 755 hbscan)
  5. Copy file(s) containing the IP addresses you wish to scan into ~/heartbleed
  6. Create a ~/heartbleed/scans directory
  7. Scan the networks using './hbscan filewithips'
Here's the script I used:

#!/bin/bash
E_BADARGS=65
logs=~/heartbleed/scans
today=`date +%F`
if [ -z "$1" ]; then
  echo " Usage: `basename $0` list"
  exit $E_BADARGS
fi
if [ ! -d $logs/$today ]; then
  echo "[*] Creating $logs/$today"
  mkdir $logs/$today
fi
hosts=$1
touch $logs/$today/$hosts
while read -r host
do
  echo "[*] Scanning $host..."
  ~/heartbleed/Heartbleed $host 2>> $logs/$today/$hosts
done < $hosts
echo "[*] Scans completed."


That script was frankenstiened from:
http://www.commondork.com/2013/07/06/bash-script-to-scan-subnets-with-nmap/

Heartbleed scanner on Ubuntu

This works for Ubuntu.

1.Install Bazaar and Go v1.0 (required for godeb):
sudo apt-get install bzr
sudo apt-get install golang

2. Install godeb (required for Go 1.2):
mkdir ~/gopath
GOPATH=~/gopath
export GOPATH
cd $GOPATH
go get launchpad.net/godeb
sudo apt-get remove golang
sudo apt-get autoremove

3. Install godeb (required forGo 1.2)
sudo bin/godeb install

3. Get and compile Heartbleed:
go get github.com/FiloSottile/Heartbleed
go install github.com/FiloSottile/Heartbleed

4. Run it:
bin/Heartbleed serverip[:port]

Here is a BASH script you can use to scan a list of IP addresses instead of a single one:
http://blog.thefoleyhouse.co.uk/2014/04/bash-script-to-wrap-around-heartbleed.html

Friday, 4 April 2014

Quick Fixed VHD Creation Tool - Ben Armstrong - Site Home - MSDN Blogs

Quick Fixed VHD Creation Tool - Ben Armstrong - Site Home - MSDN Blogs:



Allows for the creation of non-zeroed Hyper-V fixed size disks.



'via Blog this'

Thursday, 20 March 2014

Upgrade Bitcoin to v0.9.0

Bitcoin v0.9.0 is out, now with an x64 version for Windows. You should probably upgrade if you don't want to lose your billions in Bitcoins?
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.9.0.md

Monday, 24 February 2014

Brightness control from Linux using grub parameter

Brightness on my HP Probook 4740s requires a Grub parameter to work properly.
Edit /etc/defaults/grub to add "acpi_backlight=vendor acpi_osi=Linux" to the GRUB_CMDLINE_LINUX_DEFAULT line.
Then run "grub-update".
Thanks:
http://forums.opensuse.org/showthread.php/485869-OpenSUSE-brightness-control-problem-on-HP-ProBook-4740s

Thursday, 6 February 2014

Securing SQL Server connections with a certificate

I had an issue trying to get a SQL server to use a certificate to secure a connection with SSL.
The certificate was selected in SQL configuration manager but when the SQL service was restarted, it would fail with an EventID 26104 indicating it couldn't read find the certificate.

After a bit of googling, I found this:
http://nickstips.wordpress.com/2010/09/08/sql-ssl-and-sql-server-2008-service-doesnt-start-error-code-2146885628/

Turns out, if you run your SQL server under a non-privileged account as per best practice, the account can't read the private key of the certificate.

Altering the certificate permissions to allow your SQL server to read the certificate private key allows the SQL server to start.

Sunday, 26 January 2014

Citrix Receiver 13 on Linux

Seems to be quite broken on any form of Ubuntu, but I have managed to install on Fedora 20 i686 (Mate) with some success:
sudo yum install libpng12 xerces-c
sudo rpm -Uvh ICAClient-13-0.0.256735-0.i386.rpm ctxusb-2.4.256735-1.i386.rpm
cd /opt/Citrix/ICAClient
./selfservice

Saturday, 25 January 2014

Backup or move your Google data

https://www.google.com/takeout allows you to backup or move your Google data. Visit the site, sign-in and then choose what to archive and in what format.

I was surprised to learn that I've got 8GB, but that is all my emails, attachments, videos etc.

The data will be available as a downloadable archive, but you can visit the site again in the future as required.

Java 7 update 51 blocks Citrix receiver for Java

Reports of users being unable to use the Java client for Citrix from Citrix Access Gateway (CAG) are caused by a security update Oracle have applied to Java.

Information available from the Citrix forums here:
http://discussions.citrix.com/topic/346128-java-7-update-51-due-for-release-in-january-2014-will-block-receiver-for-java-101/

Citrix have release a patched version (v10.1.007) which is available here:
http://www.citrix.com/downloads/citrix-receiver/other-platforms/receiver-for-java-101.html

Friday, 27 December 2013

Kasperky AV support for Server 2012 R2 and Windows 8.1

This is now supported in Kaspersky Endpoint Security 10 Maintenance Release 1.
More info (and download) here:
http://support.kaspersky.co.uk/10578

Word KB2837593 patch causing 100% CPU useage

Updating an image for a VMWare View VDI Desktop, I applied all of the recent Microsoft Office 2010 patches. However, when the desktops were refreshed, all started three copies of Winword.exe running under the System account. One of these copies of Word was using 100% which created mayhem on the VDI platform.

I've removed KB2837593 from the VMWare View VDI desktop image and the platform seems to have stabilised. We aren't seeing this on our Citrix XenDesktop platform, but this also doesn't have the KB2837593 patch applied yet.

Has anyone else seen this? Please feedback if you have.

Saturday, 2 November 2013

Unity Tweak now available for Ubuntu

Running the following commands will install Unity Tweak into Ubuntu for you: 
sudo add-apt-repository ppa:freyja-dev/unity-tweak-tool-daily
sudo apt-get update && sudo apt-get install unity-tweak-tool

Thanks to OMG Ubuntu for the instructions:
http://www.omgubuntu.co.uk/2013/02/introducing-unity-tweak-tool

Thanks to PupptLinuxWorld for the heads up:
https://www.youtube.com/watch?v=7SWM4YFO2gA

Tuesday, 1 October 2013

Matching users from a CSV against Active Directory using PowerShell

I am trying to match users I have in a CSV with two columns (givenName and sn) against active directory.


The following script produces no output at all, not even an error:
Import-Csv input.csv | foreach {Get-ADUser -LDAPFilter "(&(givenName=$_.givenName)(sn=$_.sn))"}


The components work individually:

  • Import-Csv input.csv
  • Get-ADUser -LDAPFilter "(&(givenName=karl)(sn=foley))"
  • Import-Csv input.csv | foreach {write-host $_.givenName,$_.sn}



I've also verified that there are no extra characters in the csv using:
Import-Csv input.csv | foreach {write-host $_.givenName,$_.givenName.length,$_.sn,$_.sn.length}


What am I doing wrong please?

Saturday, 3 August 2013

Win8/Hyper-V: “What Works and What Doesn’t” Edition | Rob Seder's Blog - ARCHIVE

Win8/Hyper-V: “What Works and What Doesn’t” Edition | Rob Seder's Blog - ARCHIVE:

Allow Hyper-V on Windows 8 to share your WiFi adaptor for network access.
1. Create an internal switch.
2. Allow the WiFi adaptor to be shared.
3. Connect the WiFI adaptor to the internal network switch.

'via Blog this'

Sunday, 28 July 2013

UbuntuUpdates - PPA: GetDeb Apps

UbuntuUpdates - PPA: GetDeb Apps:

I had some problems getting the new version of Vuze to run on Ubuntu 12.04 and after having tried many things came across teh following PPA information.

Vuze wouldn't display web or search content because of missing libraries and misconfiguration. The following lines allow you to install Vuze5 as a package:

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -

sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu precise-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'"

sudo apt-get update

sudo apt-get install vuze

More info here:
http://www.ubuntuupdates.org/ppa/getdeb_apps?dist=precise

'via Blog this'

Disable Autodiscover in Outlook

I guess if I was to decribe my email setup in the terms of a relationship, then "it's complicated" would be an apt description.

One major issue that I have is Outlooks Autodiscover feature which is supposed to help Outlook discover the correct Exchange servers to connect to.

This works fine if I am connected to my work LAN or VPN, but if I want to look at my offline cached email, Outlook insists on connecting me to my organisations main email servers. Problem is, my email account is not there, and I have no valid Exchange login for there, so Outlook continually prompts me for credentials which will never work, oh, and the button to "never ask for these credentials again" doesn't work either.

Best or only option I have found for stopping this prompt is to enter a fake autodiscover address into my local hosts file. I enter the following line:

127.0.0.1    autodiscover    autodiscover.myworkdomain.com

You'll have to replace "myworkdomain.com" with whatever matches your work email address.

How does that work for you?

Friday, 19 July 2013

Re: FAQ(16): Using HTTP protocol in SDM - HP Enterprise Business Community

Re: FAQ(16): Using HTTP protocol in SDM - HP Enterprise Business Community:

This post explains how to force the use of HTTP with HP SoftPaq Download Manager (SDM) instead of the default passive FTP.

Use the switch /FORCEHTTP.

This solved the errors I was getting with SDM saying it could not access ftp.hp.com with v3.4.10.0.
It immediately downloaded v3.4.11.0, so maybe it's fixed in this version anyway?

Wireshark showed the passive FTP failing with v3.4.10.0.

'via Blog this'

Saturday, 6 July 2013

Windows Reading List 0x80073cb

Can't install the Windows Reading List update from the Windows Store in Windows 8.1 Preview.
I'm not sure what it is, why I need it, or why it won't install.
Anyone?

Windows 8.1 Preview - Google Talk will not connect

I use two factor authentication with my Google Apps, and while Google Talk was working fine before the install of Windows 8.1 preview, it stopped after it was installed.

Going to accounts.google.com and generating a new passpharse didn't help, but I found this:
http://answers.microsoft.com/en-us/windows/forum/windows8_1_pr-performance/windows-81-preview-google-talk-will-not-connect/9ec2038f-2dad-444b-a280-1e599cd1900e

I uninstalled Google Talk, and Google Talk plugin for Chrome and re-installed Google Talk from here:
http://dl.google.com/googletalk/googletalk-setup-en-GB.exe

I also reinstalled the Google Chrome voice and video plugin by starting a video call with a contact.

All seems to be working fine now.

Windows 8.1 Preview with Intel Express 4

Looks like Microsoft removed support from Intel Express 4 laptop graphics with the new Windows 8.1 preview as all I was able to get was a standard video adaptor.

I lived with the crippled Intel Express 4 graphics support in Windows 8, as any attempt to run DRM videos failed with the hacked Windows 7 drivers available out there.

However, I tried again and Sky and NetFlix are definately working fine. (Although I'm not to worried about Sky having fallen out with them regarding Sky Go and thier decision to charge for it!)

Thanks to the guys at Eight Forums for the answer:
http://www.eightforums.com/graphic-cards/4418-mobile-intel-series-4-intel-hd-graphics-1st-generation.html

I wouldn't recommend removing the Test Mode logo - That looks like it is designed solely for Windows 8.


Install Windows 8.1 Preview - 0xC1900101 - 0x4000D

Trying to update on-line or with a downloaded CD of Windows 8.1 preview gave me the following problem - Bluescreen on startup follwed by system reverting to Windows 8.

This blog post pointed me in the right direction:
http://iampaulh.blogspot.co.uk/2013/06/windows-81-preview-fails-to-install.html

This site pointed me to an uninstall option for AKSDF.SYS:
http://www.pulsonix.com/faq.aspx?KB090025

 I'm not sure when this was installed (this was originally an update from Windows 7) but the following applications were installed on the same day:


Removing these applications didn't remove the Sentinal SafeNET driver, but thanks to the Pulsonix site, I was able to find a command line uninstaller.
  1. Visit the SafeNet Downloads site
  2. Download the Sentinel HASP/LDK - Command Line Run-time Installer
  3. Extract it
  4. Open a CMD prompt as an administrator
  5. From the extracted files directory, run haspdinst -info and you should see the installed version you have, and the installer version enabled
  6. Run haspdintst -r to remove
  7. Run haspdinst -info again to confirm removal
I didn't try the upgrade by upgrading the SafeNet driver, just removing it.

I'm not really sure what the SafeNet software does, it's all rather vague on the site - Anyone know?

"SafeNet has more than 25 years of experience in delivering innovative and reliable software licensing and entitlement management solutions to software and technology vendors worldwide. Easy to integrate and use, innovative, and feature-focused, the company’s family of Sentinel® Software Monetization Solutions are designed to meet the unique license enablement, enforcement, and management requirements of any organization, regardless of size, technical requirements or organizational structure."

Now, just the Intel Express 4 Video driver issue to crack.

Sunday, 30 June 2013

Installing AWS Toolkit For Eclipse (Eclipse v3.8)

I found a couple of pre-requisites for installing AWS SDK for Eclipse 3.8.
Just add the following as software update sources for Eclipse (Help > Install new software...)

Android SDK Plugin for Eclipse:
https://dl-ssl.google.com/android/eclipse/

Data Tools Plaftorm Enablement Extender SDK:
http://download.eclipse.org/releases/indigo/

You can then install AWS Toolkit for Eclipse:
http://aws.amazon.com/eclipse/

Saturday, 22 June 2013

Can't connect facebook to online accounts in 13.04 - Ask Ubuntu

Looks like Facebook are pushing external messaging clients to a non-https page for authentication - Not good!

As a workaround, you can add the following line:
<setting name="AllowedSchemes" type="as">['https','http']</setting>

To the file:
/usr/share/accounts/providers/facebook.provider

I suggest you save a copy of the original file first as any small typo will break it forever.

My file now looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<provider id="facebook">
<name>Facebook</name>
<icon>facebook</icon>
<translations>account-plugins</translations>
<domains>.*facebook\.com</domains>
<plugin>generic-oauth</plugin>
<template>
  <group name="auth">
  <setting name="method">oauth2</setting>
  <setting name="mechanism">user_agent</setting>
    <group name="oauth2">
      <group name="user_agent">
      <setting name="Host">www.facebook.com</setting>
      <setting name="AuthPath">/dialog/oauth</setting>
      <setting name="RedirectUri">https://www.facebook.com/connect/login_success.html</setting>
      <setting name="Display">popup</setting>
      <setting type="as" name="Scope">['publish_stream','read_stream','status_update','user_photos','friends_photos','xmpp_login']</setting>
      <setting name="ClientId">302061903208115</setting>
      <setting name="AllowedSchemes" type="as">['https','http']</setting>
      </group>
    </group>
  </group>
</template>
</provider>


Kudos to Ankit Shah at:
Can't connect facebook to online accounts in 13.04 - Ask Ubuntu:

Not really a long term answer, Facebook need to sort it!

'via Blog this'

Wednesday, 19 June 2013

Internet Explorer 9 Navigation blocked due to invalid certificate 1024 bit

Had a problem where IE9 would not open a web page, whereas IE10 would. Web page is the management site for an HP StorOnce B6200 appliance.

Looks like the StorOnce appliance is using a 1024 bit public key, and IE9 doesn't like this. The certificate is self signed, and you get the normal error, but the "Continue to this website (not recommended)." link is not available:


I did some Googling and found this.

I ran certutil -setreg chain\EnableWeakSignatureFlags 8.

I didn't have to reboot, just logged out and in, and the Web page changed:


I will investigate a longterm fix of adding a proper certificate (we have internal certificate servers) or public certificate. I'll also approach HP about icreasing the public key length from 1024 to 2048 bits.

Tuesday, 30 April 2013

How IE8 catagorises Top Level Domains

Found an interesting issue between IE7 and IE8 (and above) to do with how IE categorises Top Level Domains (TLD).

Why does this list matter? Because it controls what domains you can use with wildcards in site to zone assignments within group policy.

If your domain is on the list - You can't use it with a wildcard.

You can see what the list is by using the following URL in IE8 or IE9:
res://urlmon.dll/ietldlist.xml

Does anyone know what it is in IE10?

Thanks to the following article for helping us along the road of discovery:
http://blog.gerv.net/2009/11/ie_8_and_the_public_suffix_list/


Friday, 15 February 2013

Reason for un-mountability: the original volume has some extents online


I've raised a support request, but thought I'd post this here to see if anyone else has seen the same issue on ESXi 5.1,914609.

We are implementing an HP Cloud Matrix system with ESXi 5.1 as one of the supported Hypervisors. Part of the delivered solution is HP Matrix Recovery Management which allows us to failover services to a DR site that has the VMFS volume synched across two 3Par V400 SANS.

As we understand it, the HP official guide to passing changes from the primary to DR site is to export the configuration, failover the storage, and then import the conifguration at the remote site. There is another way of doing this through the use of storage snapshots (we have tested this fine with Hyper-V):


  1. Create a RW Virtual Volume copy of the RO LUN at the remote site
  2. Unexport the RO LUN from the remote VMWare hosts
  3. Export the RW LUN to the remote VMware hosts
  4. Mount this RW LUN
  5. Import the configuration
  6. Unexport the remote RW LUN
  7. Export the remote RO LUN
  8. Delete the RW LUN


This process works fine on Hyper-V using CSV disks, but has the following problem on ESXi 5.1; When the LUN is changed, it is detected as a snapshot (as expected), but the snapshot is not mountable because the VMHost thinks it is already online:

~ # esxcli storage vmfs snapshot list
51128c21-f07c4a24-4e24-00215a9b20f7
   Volume Name: Vv_prim_vmfs_cloud_repl.02
   VMFS UUID: 51128c21-f07c4a24-4e24-00215a9b20f7
   Can mount: false
   Reason for un-mountability: the original volume has some extents online
   Can resignature: true
   Reason for non-resignaturability:
   Unresolved Extent Count: 1
~ # esxcli storage vmfs snapshot mount -l "Vv_prim_vmfs_cloud_repl.02"
Unable to mount this VMFS volume due to the original volume has some extents online


The only solution we have found is to reboot ALL the VM hosts in the remote cluster. They ALL then report the following, and can mount the volume:

~ # esxcli storage vmfs snapshot list
51128c21-f07c4a24-4e24-00215a9b20f7
   Volume Name: Vv_prim_vmfs_cloud_repl.02
   VMFS UUID: 51128c21-f07c4a24-4e24-00215a9b20f7
   Can mount: true
   Reason for un-mountability:
   Can resignature: true
   Reason for non-resignaturability:
   Unresolved Extent Count: 1
~ # esxcli storage vmfs snapshot mount -l "Vv_prim_vmfs_cloud_repl.02"
~#

We have tried various vmkfstools commands to release the LUN etc, but they don't seem able to see the LUN even though we can see the device for the volume.

Is this something you have seen before?

Is there anything you can suggest?

Saturday, 24 November 2012

chown root:root boinc *

Spot the deliberate mistake!
  • cd /usr/bin
  • sudo chown root:root boinc *
Probably not a good idea to try updating boinc on your Linux Ubuntu 12.04 LTS server when you can't sleep but are so very tired. Good one to know that chown also removes all setuid and setgid bits. :(

I booted a Live CD, and from what I can see, these are the default permissions and owners in /usr/bin:


Please let me know if anything is wrong.

Monday, 13 August 2012

VMWare Mouse Stuck in Bottom Right Corner


Had a problem with a mouse stuck in the bottom right corner of the Window of a VMWare virtual machine. This machine was P2V'd many moons ago and we had to access the VMWare console instead of accessing it via RDP as we normally do because we'd started up another instance.

Registery edits to fix it dound at the link below:
http://blog.dhampir.no/content/vmware-mouse-problems-mouse-stuck-in-bottom-right-corner

Using Regedit, remove the msvmmouf value from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}.

Leave the other values alone!

Friday, 1 June 2012

Windows 8 error 0x800f0906 while enabling Microsoft net framework 3.5

Had a problem with the Citrix receiver requiring .Net 3.5 but being unable to add it dynamically or through control panel. Downloading from Windows update failed.

James Massardo helped me find the solution:

  1. Mount the Windows CD as an ISO or physical disk
  2. Make a note of the Windows ISO or disk drive letter
  3. Run a command prompt as an administrator
  4. Run 'dism.exe /online /enable-feature /featurename:NetFX3 /Source:d:\sources\sxs' replacing d: with you disk or ISO drive letter

How to configure Ubuntu to use postfix against gmail domain with application password

I followed the proceedure here:
http://wiki.linuxmce.org/index.php/Postfix_configured_with_Gmail_SMTP

Only changes I had to make were:

  1. Make sure to append the Equifax certificate to the /etc/postfix/cacert.pem
  2. Run the postmap commands in the /etc/postfix directory or use the full paths
  3. Create an application specific key for postfix from accounts.google.com

How to configure Ubuntu for automatic updates

Nice article here on how to configure Ubuntu for automatic updates:
https://help.ubuntu.com/10.04/serverguide/automatic-updates.html

I had autoupdate installed already, but it just told me that updates were available. The URL tells you how to get them installed automatically.

Sunday, 6 May 2012

SSL Error 61 on Citrix Access Gateway with Linux Client

I got the Linux client installed in the previous post, but got some SSL errors when trying to launch apps.
Our certificates are issued by Comodo, and the Linux Citrix client didn't support the root server for some reason.


  • I used Firefox to view the certificate by clicking on the blue part at the start of the URL.
  • Click 'More Information'
  • Click 'View certificate'
  • Click 'Details'
  • Click the Root Certificate at the top of the heirarchy
  • Click 'Export'
  • Save the certificate as type 'X.509 Certificate DER'
  • Save the certificate as 'RootCAName.crt' (Replace RootCAName with actual name)
  • Copy the certificate to /opt/Citrix/ICAClient/keystore/cacerts.
I have read that you can copy the CACerts from Firefox, but I haven't tried that.

Thanks to http://www.itswapshop.com/tutorial/how-install-citrix-receiver-linux-120-opensuse-121 for the pointers.

Citrix Receiver 12.1 on Ubuntu 12.04 x64


I've been playing with a few other operating systems since I hosed my Windows 7 install on my laptop.
We're a commited XenApp house, so I decided to take another stab at getting the Citrix receiver working on Unbuntu 12.04 LTS.

Here's what I did:

Followed the Ubuntu CitrixICAClientHowTo here:

  • https://help.ubuntu.com/community/CitrixICAClientHowTo

The above didn't quite work, so I modified it slightly:

  • Download the latest libmotif3 from:
    • http://nl.archive.ubuntu.com/ubuntu/pool/multiverse/o/openmotif
    • Currently libmotif3_2.2.3-4_i386.deb
  • Install libmotif3 using 'sudo dpkg -i libbmotif*i386.deb'
  • Link it using 'sudo ln -s /usr/lib/libXm.so.3 /usr/lib/libXm.so.4'
  • Download the Citrix Receiver 12.1 client and the USB support package:
    • http://www.citrix.com
    • Downloads
    • Citrix Receiver
    • Linux
    • Download the two x64 packages
  • Install both packages. This will generate errors:
    • The icaclient will complain of an error 2 in post configure
    • The ctxusb package will complain the the icaclient hasn't been configured
  • I found this fix to the error here:
    • http://forums.citrix.com/thread.jspa?threadID=306353
  • You need to edit icaclient.postinst:
  • 'sudo vi /var/lib/dpkg/info/icaclient.postinst'
  • Replace 
    • 'echo $Arch|grep "i[0-9]86 > /dev/null' with
    • 'echo $Arch|grep -iE "x86_64" > /dev/null'
  • Run 'sudo  dpkg --configure icaclient'
  • Run 'sudo dpkg --configure ctxusb'
  • Added a couple of extra packages as suggested:
    • 'sudo apt-get install flashplugin-installer'
    • 'sudo apt-get install curl'
  • Running 'sudo ./opt/Citrix/ICAClient/util/hdxcheck.sh' generated errors about missing libs
    • These missing libs all appear to be in /lib/i386-linux-gnu and the client works so...
  • I didn't run 'sudo apt-get install libmotif4:i386' as I have no plans to run wfcmgr.

Running through our CAG - I get some SSL errors - I'll explain how I fixed this in the next post

Please let me know if you have any luck or not with the above!


Saturday, 5 May 2012

How-to Seti@Home on Cloud Ubuntu CLI

I needed to test the performance of a bunch of cloud machines this weekend, and what better way to do that then by running up a whole load of Seti@Home instances.

I did this by following these steps:

  1. sudo apt-get update - Some cloud images were out of date and produced errors if this wasn't run before installing any software.
  2. sudo apt-get install boinc-client - Some Clouds had 12.04 which needed about 350MB of downloads, some had 11.10 which only needed about 250MB.
  3. sudo /etc/init.d/boinc-client restart - Not sure this was really required, but it was a nice check to see that it was installed correctly and would stop and start again.
  4. boinccmd --lookup_account http://setiathome.berkeley.edu email@address password - This returns the authentication code which you need for the next step.
  5. boinccmd --project_attach http://setiathome.berkeley.edu/ authentication_code - This attaches the client to the project. Use a different URL for a different project. This also assumes you have a project username which you used in the previous step.
  6. boinccmd --set_network_mode always - Allows transfers to happen any time. Not sure if this is persistent.
  7. boinccmd --set_run_mode always - Allows the client to run all the time. Again, not sure if persistent.
  8. boinccmd --get_state | more - Make sure that the project has been registered correctly, and that it is getting work-units and tasks.
  9. sudo apt-get dist-upgrade - Most cloud images seemed to have an out-of-date kernel and needed some other stuff after the large download earlier.
  10. sudo reboot - After all that patching, make sure the machines are clean. All the cloud images I was testing had persistent images, so no problems restarting them.
I now have 35 cloud instances of Seti@Home running in addition to my small local server. It was very apparent how much difference there was in each instances performance, with some virtual machines taking 3 time longer to set-up than others.

I've been using the remainder of the £50 credit I got for Infiniserv, and 3 beta instances on the HP cloud.

Have you guys had and differing experiences?

Thursday, 1 March 2012

Lygoworld, poor Turtlebeach repair experience


My son bought a Turtlebeach headset from Amazon with his Christmas money. He pretty much spent all of it on this ~£100 headset only to have the microphone fail a month later.
Lygoworld handle the headset repairs in the UK, and they insisted we send them £25 to cover the damage in addition to the £7 it cost us to send the headset back.
More details once we get the headset back after nearly a month so far.
I'll also be interested to see what Amazon and Turtlebeach themselves say.

Friday, 3 February 2012

Evening Star needs a new Google Maps API Key

This popup keeps appearing on my local newspaper's website:

Guess I'd better tell them.

Infinserv - FAIL

I got a voucher at the recent Euro Cloud Expo to try Infiniserv's cloud offering.

Signed up today, only to be met with this:

To be fair, the management side looks fairly straight forward, with clear pricing and licensing details, but why would I use an IAAS company who can't provide any Infrastructure when I need it?

Friday, 27 January 2012

How to re-create the Show desktop icon on the Quick Launch toolbar in Windows XP


To re-create the Show desktop icon yourself, follow these steps:
1. Click Start, click Run, type notepad in the Open box, and then click OK.
2. Carefully copy and then paste the following text into the Notepad window:
          [Shell]
           Command=2
           IconFile=explorer.exe,3
           [Taskbar]
           Command=ToggleDesktop
3. On the File menu, click Save As, and then save the file to your desktop as "Show desktop.scf". TheShow  desktop icon is created on your desktop.
4. Click and then drag the Show desktop icon to your Quick Launch toolbar.


How to re-create the Show desktop icon on the Quick Launch toolbar in Windows XP:
'via Blog this'

Tuesday, 10 January 2012

Linksys SRW Switch CLI | tepasom.com

Hidden CLI for Linksys SRW switches:
1.) ssh, telnet, or console into the switch as you normally would. Do not use the http/web interface.
2.) Log in with the menu system, using a valid, existing, account.
2.a) Provide the username and password, then "execute".
2.b) The "Operation complete" response is received. Press any key.
3.) At the "Switch Main Menu", Press CTRL+z.
4.) A carrot > command line will appear. Type in "lcli" (Light-weight Command Line Interface?) and press Enter.

Commands available are:
clear Reset functions
clock Manage the system clock
configure Enter configuration mode
copy Copy from one file to another
crypto Cryptographic commands
debug-mode Exit from the EXEC to debug mode
delete Delete a file from the flash file system
disable Disable privileged commands
dot1x 802.1x EXEC commands
exit Exit from the EXEC
help Description of the interactive help system
login Exit from the EXEC and Log in
no Negate command
ping Send echo messages
reload Halt and perform a cold restart
resume Resume telnet session.
set Set System Parameters
show Show running system information
telnet Open telnet session.
terminal Set current session functions
test diagnose
traceroute Discover the routes to destination

Thanks to:
Linksys SRW Switch CLI | tepasom.com: 'via Blog this'

The mcli password 'adminmcli' was found here:
http://lcli.wikidot.com/mcli

Sunday, 8 January 2012

All old blog posts now redirected

I spent a bit of time today redirecting all the old blog posts (from my local Community Server install) to their new location (custom domain on Blogger).

I eventually decided to stop the existing Community Server site and run a blank website in it's place.
I then used the free version of Helicon Tech's ISAPI_Rewrite to redirect all the old Community Server paths to the new Blogger location, a simple robots.txt refirect, and then threw in  a wildcard redirect at the end to catch any other links (including comments that I didn't copy across).

It was actually quite easy to do in the end but needed to be done as adsense was still showing 10x more visits to the old blog as opposed to the new one. Also, since the fit of the new 100Mb line, I haven't had the port forwarded to the old server.

I'll run it for a while until all the search engines are updated and I can then finally drop my local server.

The product can be found here:
http://www.isapirewrite.com/

Handbrake Video Transcoder

I found this open source application when trying to find some software to transcode videos to an iPad.
I didn't need it in the end, as the paid for software I have by CucuSoft was quicker.
Still, looks great for free.
http://handbrake.fr/downloads.php

DVD Flick

Nice little open source program to create DVD's.

Used this instead of Windows DVD maker as it allowed me to create a dual layer DVD and automatically adjusted the bit rate of video and audio to allow me to fit a given number of videos on the disk.

Here's the about:

About DVD Flick

DVD Flick aims to be a simple but at the same time powerful DVD Authoring tool. It can take a number of video files stored on your computer and turn them into a DVD that will play back on your DVD player, Media Center or Home Cinema Set. You can add additional custom audio tracks, subtitles as well as a menu for easier navigation.

Features


  • Burn near any video file to DVD
  • Support for over 45 file formats
  • Support for over 60 video codecs
  • Support for over 40 audio codecs
  • Easily add a menu
  • Add your own subtitles
  • Easy to use interface
  • Burn your project to disc after encoding
  • Completely free without any adware, spyware or limitations
For a more detailed list of features, see the Features page.

http://www.dvdflick.net/

Thursday, 5 January 2012

The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista

I had a problem with the DVD drive on my laptop with Windows 7 and Kaspersky.
I kept getting an error 19 in device manager.
It didn't appear to like the Kaspersky filter or Gears ASPI filter.
I think it was probably the Gears filter as this didn't return and the DVD drive appears to be working again.
The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista: 'via Blog this'

Friday, 4 November 2011

Win32k TrueType font parsing and Duqu fixit

Microsoft have released a temporary fix to overcome the vulnerability that is distributing Duqu.
It works by denying access to the Win32k TrueType font parsing engine. The fix doesn't appear to be on Windows update yet, you have to enable\disable it from here.

Open Source Procurement Toolkit | Cabinet Office

This toolkit supports this statement: 'The Government ICT Strategy states that “Where appropriate, Government will procure open source solutions.”' Open Source Procurement Toolkit | Cabinet Office

Thursday, 3 November 2011

Ok, Google+ is now available for Apps users. Let's see what this is about?

Ok, Google+ is now available for Apps users. Let's see what this is about?

iPad2 Magnet unlock bug to be fixed in IOS v5.0.1

Looks like the "Magnet unlock" bug will be fixed with the upcoming IOS v5.0.1. It doesn't allow the screen to be unlocked whilst on the power screen.

For the moment, you either have to disable the unlock feature, or educate the users not to leave apps in the foreground.

http://9to5mac.com/2011/11/02/apple-fixes-ipad-2-smart-cover-passcode-security-flaw-with-ios-5-0-1/

Sunday, 23 October 2011

UK Government seeking bidders for 'G' cloud

Interesting article at The Register. The UK Govenment is seeking bidders to provide a cloud for us by public bodies. reg.cx/1Rpg

Wednesday, 19 October 2011

Ellie Goulding - Lights - WebGL/HTML5 Demo

Ellie Goulding - Lights:

Nice song, and nice psychedelic graphics!
You'll need Chrome or another WebGL enabled browser (are there any?) to view this.

'via Blog this'

Saturday, 15 October 2011

divide.com

This allows you to separate Work and Personal stuff on the same device. Shortly to be released on Android, it is currently available in beta. Looks like it will also be released for IOS devices. http://divide.com - Posted using BlogPress from my iPad

Sunday, 9 October 2011

Remote control for Chrome

Now, users of the Chrome browser can remote control any other computer running Chrome using this extension. Chromebooks don't support sharing yet but I've found the video response to be good and video scaling works well even if there is no support for sound.
Give it a go by downloading the extension for Chrome:

Tuesday, 6 September 2011

Unable to launch Citrix applications from Desktop

I had a problem launching short-cuts to applications delivered by Citrix to my Windows 7 desktop. Double-clicking an application showed a message saying that the program had been downloaded from the internet, and did I want to open it.

Problem was, it hadn't! It was a shortcut to the Citrix PNAgent to run a Citrix delivered application.
After trying a few things such as a group policy edit to classify .lnk files as moderately safe (didn't work), or changing IE9 to allow executables to run from the Internet Zone rather than prompting (worked but generated Internet Explorer security warnings) I hit on a similar issue.

I ran the following command to remove the warning:
icacls "C:\Users\Username\Desktop" /Setintegritylevel (OI)(CI)M

Wednesday, 17 August 2011

Chromebook screen corruption

I'm running the latest dev build on my Chromebook (14.0.835.98) and seem to have an occasional screen corruption issue.

I have reported it as a bug, but due to a known issue with this build, I was unable to attach a screenshot.

Tuesday, 16 August 2011

Google Plus for Google Apps in the coming months - wellsb.com

Google Plus for Google Apps in the coming months - wellsb.com
It's getting a little annoying not being able to use Google+.
According to this post (made at the end of June), it should be available in the next few months.
That should hopefully be by the end of August then?

Wednesday, 3 August 2011

Chromebook

I'm really interested in buying one of these to replace my Macbook Air, which I currently use to email and browse the web at home. I don't take my Macbook mobile because of it's dreadful heat issues, so I use an iPad for that. I think the Chromebook could replace both of these quite happily.

Problem is, I want to see one in the flesh before I commit to buy.

Amazon and PC World have them for mail order, but I just need to see one first!