tag:blogger.com,1999:blog-68220852009-07-10T23:30:53.093ZSequence Technology ArticlesTechnical blog from a programmer specializing in C#, ASP.net, c, c++, vb, PHP, XML and SQL serverTrishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-6822085.post-17620966624170982842009-07-10T23:17:00.002Z2009-07-10T23:30:48.979ZThe RitzOK, so when we arrived at the Ritz in Battery Park they hadn't actually heard of us... Thanks BA! But the attitude of the reception staff was incredible. It's true what they say about the service in America, it really is something else. It took them all of 8 minutes to get us sorted, and in that time we were given drinks and nibbles in the bar, on the house. Its a hard life! <br /><br />So, the room: We have a 12th floor room looking out over battery Park, the Hudson, Statue of Liberty and Ellis island..... Its Amazing! When they say 5 star, they really mean it! We also have access to the "Club", which apparently means we get to drink, eat and relax as much as we like..... FOR FREE!!!! HA!<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sequencetechnology.co.uk/Blog/uploaded_images/2009-07-10-225849-732907.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://www.sequencetechnology.co.uk/Blog/uploaded_images/2009-07-10-225849-732905.jpg" border="0" alt="" /></a><br /><br />A short walk round the park and a listen to the "Battery Park Drum Jamming Session on the Hudson" (people turn up, sit on the grass and bang bongos) and we are pretty pooped... Its 19:30 local time, but our bodies don't really believe it!<br /><br />Forgot to mention, we saw "Dr Fox" in Gatwick airport this morning... He was giving away thousands of pounds to holiday makers who were willing to get up and sing on stage... We missed out on a few hundred quid there as I had an "Anne" in tow which means we were late... As usual! Better make up for it in "The Club" :)<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-1762096662417098284?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-80639955899305364412009-07-10T22:18:00.000Z2009-07-10T22:19:08.609ZDowntownSo we finally touched-down at about 2pm NYC time. After waiting in line for about 40 minutes at passport control I got my first glance at a New York Yellow Cab! However, we had already decided that we did not want to get a cab to the hotel, as that could run to about $75. So we spotted a Bus that apparently went to Manhattan and jumped on, being assured by the practically non-english speaking driver that her would tell us later how to get to our hotel.... During the journey we managed to establish that we would probably be dropped at Grand Central - Midtown. From there we scrambled for our bags and jumped down the nearest subway to do battle with Manhattan's public transport system. First we needed to work out what train to get on, and then how to actually buy a ticket :) We managed to jump onto a train and jumped off again on Wall St - Downtown. We then strolled down Broadway to Battery Park and with a little help from the NYPD we found our hotel.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-8063995589930536441?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-52796765597355549142009-07-10T22:16:00.001Z2009-07-10T22:18:26.320ZOn the WayHi! I'm typing this about 3 hours into the flight, but I'm not sure when I will be able to post it. Perhaps not until we get to the hotel. <br /><br />The extra leg room seats are GREAT. We did have a rather smelly old lady sitting with us, but she seems to have gone now, which is nice... The cabin crew overheard us telling her it was our Honeymoon, and gave us some Champagne! :)<br /><br />The plane we are using is a Boeing 777, and it's very comfortable. This particular flight has "personal entertainment", which is basically a touch screen TV screen on an arm, where you can find and watch or listen to a whole host of movies, TV and CDs. Very nice. No Internet though... Quite why we don't have wireless net access on our planes yet I don't know.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sequencetechnology.co.uk/Blog/uploaded_images/2009-07-10-155647-762859.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://www.sequencetechnology.co.uk/Blog/uploaded_images/2009-07-10-155647-762857.jpg" border="0" alt="" /></a><br /><br />So, at least another three hours to go... I guess I'll watch another movie... <br /><br />*****************<br /><br />Now less that one hour to go! We have been fed, again... The service on this BA flight has been impeccable. If I ever come over again, it will be BA I fly with for sure. Started to watch "Watchmen" but it looks pretty crud.... Ah well....<br /><br />I'll try and post this from JFK, before we start our "make it up as we go along" commute to the hotel.... taxis are boring, public transport puts hairs on ya chest :)<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-5279676559735554914?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-90785072000029322462009-07-10T10:40:00.002Z2009-07-10T10:42:55.885ZNew York here we come!On the plane now waiting to take off..... Surrounded by loads of American people already!<br />Managed to get extra leg room, so thats sweet! No window though :(<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-9078507200002932246?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-5646591019765910772009-06-05T08:50:00.002Z2009-06-05T08:56:23.627ZRiver Drive gets Softpedia thumbs upI recently received an email from the <a href="http://www.softpedia.com/" target="_new">Softpedia</a> team informing me that <a href="http://www.tristanphillips.com/RiverDrive.php" target="_new">River Drive</a> had been added to their <a href="http://www.softpedia.com/get/Internet/Other-Internet-Related/River-Drive.shtml" target="_new">software database</a> and fully tested by their software labs! <br /><br />Probably sad, but I'm chuffed!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-564659101976591077?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-51147973026220857822009-01-12T16:44:00.001Z2009-01-12T16:56:22.702ZHidden GPS in Dell Mini 9 (3G Model)The Dell Mini 9 netbook with built-in 3G connectivity uses the Dell 5530 wireless card for connectivity. This card also has GPS functionality built right in!<br /><br />To use the GPS unit in Ubuntu Linux; add an entry to your wvdial.conf that looks like this:<br /><br />[Dialer gps]<br />Modem = /dev/ttyACM2 (or /dev/ttyUSB4 if you are using the option module)<br />Init1 = AT*E2GPSCTL=1,2,1<br />Init2 = AT*E2GPSNPD <br /><br />Start the GPS unit with <br /># wvdial gps<br />then ctrl+c out.<br /><br />To use the GPS, install gpsd and run it:<br /># sudo apt-get install gpsd<br /># gpsd /dev/ttyACM2<br /><br /># gpspipe -r <br />will read raw data from gpsd and dump it to the screen, useful for debugging.<br /><br />A great Free gpsd compatible mapping app is "tangoGPS", which you can grab from their site: http://www.tangogps.org.<br /><br />Thanks to Barry John Williams for the AT info.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-5114797302622085782?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-45209064438095065762008-12-15T15:40:00.007Z2009-01-12T16:58:25.514ZGet the built in hsdpa modem working on the Dell Mini 9 with Ubuntu 8.10The Dell Mini 9 is a great little netbook with the advantage of having a hsdpa modem built in. Of course, this is all supported under Windows by a whole ream of drivers and dial-up software. Ubuntu 8.10 supports the Mini 9 very well, with wireless working out of the box. The hsdpa modem needs a nudge, but will work without too much difficulty.<br /><br />In order to get the built in hsdpa (3G) modem in the Dell Mini 9 working under Ubuntu 8.10 (Intrepid Ibex) you need to perform a number of simple steps.<br /><br />1. Patch the stock "option" USB serial driver to add support for the Dell hardware and build it.<br />2. Blacklist the kernel module which is attempting to handle the hardware by default.<br />3. Automatically load the newly built "option" module at boot.<br />4. Use wvdial to turn on the built in RF circuit (essentially enabling the modem)<br />5. Use wvdial to start a ppp connection.<br /><br />If you are unfamiliar with Linux (or can't be bothered to do all this yourself) then I have attached an archive containing the recompiled option kernel module, a blacklist and modules list file and the wvdial scripts. There is also an install script. It is IMPORTANT to only use this archive if you are running stock 8.10 Intrepid Ibex with kernel version 2.6.27-7-generic. You can check this by typing uname -r on a terminal. If you are running a different (later) version of the kernel, you will most likely need to patch the "option" module yourself. The patch is also in the archive.<br /><br />To use the archive, save it to your home directory, open a terminal and type:<br /><br /># cd<br /># tar -zxvf mini9_hsdpa_intrepid_2.6.27-7-generic.tar.gz<br /># cd mini9_hsdpa_intrepid_2.6.27-7-generic<br /># chmod +x install.sh<br /># sudo ./install.sh<br /><enter your admin password><br /><br />To enable the modem, enter:<br /><br /># sudo wvdial On<br /><br />and to dial:<br /><br /># sudo wvdial Connect<br /><br />If you wish to carry out the steps yourself, the patch can be found in the archive. The module to blacklist is cdc-acm. Check the included wvdial script for the codes to enable the hardware. <br /><br />Hope this helps.<br /><br /><a href="http://www.sequencetechnology.co.uk/Blog/mini9_hsdpa_interpid_2.6.27-7-generic.tar.gz">mini9_hsdpa_interpid_2.6.27-7-generic.tar.gz</a><br /><br />Thanks to "craigmain" for <a href="http://ubuntuforums.org/showthread.php?t=941079">this post.</a><br />Thanks to Dan Williams for the patch.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-4520906443809506576?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com2tag:blogger.com,1999:blog-6822085.post-35971641643525260792008-11-20T08:37:00.004Z2009-01-12T16:57:39.152ZWindows AzureMicrosoft's jump onto the cloud bandwagon is obviously following a typical Microsoft pattern...<br /><br /><img style="cursor:pointer; cursor:hand;width: 320px; height: 196px;" src="http://www.sequencetechnology.co.uk/Blog/uploaded_images/AzureIssues-720620.PNG" border="0" alt="" /><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-3597164164352526079?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-90300822226617164772008-09-26T14:09:00.003Z2008-09-26T14:39:14.023ZOperating System Theme ParksYou can tell its Friday; the team and I were discussing what theme parks would be like if they were modeled after popular operating systems.<br /><br />We decided that:<br /><br />In the Windows theme park the rides would be REALLY slow and the roller coaster cart would fall off half way round . . .<br /><br />On the Linux / Unix / BSD roller coaster it would be really fast, very smooth and you could get the spanners out and customize your ride half way round. If you could work out how to get on in the first place that is . . . <br /><br />And the Apple theme park would be just like the Linux / Unix / BSD park, but it would cost a fortune to get into and would look all shiny with a fresh lick of paint.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-9030082222661716477?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-20104813019529928962008-09-12T10:21:00.004Z2008-09-12T10:25:11.476ZHug a DeveloperI saw this, and realized how true it is! Take note all you "Business" people out there . . .<br /><br/><br /><embed src="http://blip.tv/play/gYwjwZJqjdEh" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="420"></embed><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-2010481301952992896?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-89885232303217993742008-08-14T12:56:00.000Z2008-08-14T12:57:13.037ZM$ BlunderYou have GOTTA laugh:<br /><br /><a href="http://www.theregister.co.uk/2008/08/13/olympics_blue_screen_death/">http://www.theregister.co.uk/2008/08/13/olympics_blue_screen_death/</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-8988523230321799374?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-62903834655083822592008-07-15T12:42:00.002Z2008-07-15T12:52:35.941ZUsing a USB 3G modem with Ubuntu Linux on the MSI Wind / Advent 4112After purchasing the Advent 4112 / MSI Wind, the first thing I had to do was get Ubuntu up and running. This was very straight forward using the 8.04.1 iso.<br /><br />Ubuntu supports the 3 Huawei E220 modem out of the box, so all I had to do was install and configure gnome-ppp to do the dial-up for me.<br /><br />To install gnome-ppp, open a terminal and type:<br /><span style="font-family:courier new;">sudo apt-get install gnome-ppp</span><br /><br />Then run gnome-ppp from the Internet menu.<br /><br />Here are the settings I use for gnome-ppp:<br /><br />First Screen:<br /><br />User: user<br />Pass: pass<br />Remember password: yes<br />Phone number: *99#<br /><br />Setup Screen:<br />Device: /dev/ttyUSB0<br />Type: USB Modem<br />Speed: 460800<br />Phone Line: Tone<br />Volume: off<br />Dial Prefix:<br />Dial attempts: 1<br />Wait for dialtone: yes<br /><br />Init Strings:<br />Init2: ATZ<br />init3: <complete>ATQ0 V1 E1 S0=0&amp;C1 &amp;D2 +FCLASS=0<br /><br />Networking Tab:<br />Dynamic IP Address<br />Automatic DNS<br /><br />Options Tab:<br />All unchecked except:<br />Dock in notification area<br />Abort connecting if no dialtone<br />Check default route<br />Ignore terminal strings (stupid mode)<br />Idle time (0) disabled<br /></complete><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-6290383465508382259?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-2118099679645202722008-07-13T11:04:00.004Z2008-07-15T12:35:47.647ZMSI Wind / Advent 4211I have just driven a three hour round trip to the only store in the south of England which has the Advent 4211 in stock.<br /><br />The Advent 4211 <span style="font-weight: bold;">is</span> the <span class="blsp-spelling-error" id="SPELLING_ERROR_0">MSI</span> Wind, only <span class="blsp-spelling-corrected" id="SPELLING_ERROR_1">re branded</span> and in different colors. The specs and dimensions are exactly the same.<br /><br />Weighing in at just about .2 of a kilo more than the <span class="blsp-spelling-error" id="SPELLING_ERROR_2">Eee</span> and only slightly larger its still very much a mobile PC. The keyboard however is much more usable than the <span class="blsp-spelling-error" id="SPELLING_ERROR_3">Eee</span>. Having an 80<span class="blsp-spelling-error" id="SPELLING_ERROR_4">gb</span> hard drive does give the advantage of dual-boot <span class="blsp-spelling-corrected" id="SPELLING_ERROR_5">possibilities</span>, however you do lose some of that "no moving parts" shock proof factor or the <span class="blsp-spelling-error" id="SPELLING_ERROR_6">Eee</span>.<br /><br />The Advent comes <span class="blsp-spelling-error" id="SPELLING_ERROR_7">pre</span>-installed with Windows <span class="blsp-spelling-error" id="SPELLING_ERROR_8">XP</span>, and although I'm not a fan, <span class="blsp-spelling-error" id="SPELLING_ERROR_9">XP</span> does feel snappy enough running on the Atom processor with 1<span class="blsp-spelling-error" id="SPELLING_ERROR_10">Gb</span> of RAM (and so it should!)<br /><br /><div style="text-align: left;">I have taken some pictures of the Advent / Wind along side the <span class="blsp-spelling-error" id="SPELLING_ERROR_11">Eee</span> PC 701 and a HP <span class="blsp-spelling-error" id="SPELLING_ERROR_12">pavillion</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_13">tx</span> 1000 for comparison purposes.<br /></div><pics><br /></pics><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sequencetechnology.co.uk/Blog/uploaded_images/photo-767851.jpg"><img style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://www.sequencetechnology.co.uk/Blog/uploaded_images/photo-767836.jpg" alt="" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sequencetechnology.co.uk/Blog/uploaded_images/photo2-798052.jpg"><img style="margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://www.sequencetechnology.co.uk/Blog/uploaded_images/photo2-798047.jpg" alt="" border="0" /></a><br /><pics><br />Installing <span class="blsp-spelling-error" id="SPELLING_ERROR_14">Ubuntu</span> Linux on the Wind was fairly straight forward, however ensure you use at least 8.04.1 (the .1 being the important bit) wireless drivers and install instructions can be found <here><a href="http://wiki.msiwind.net/index.php/Ubuntu_8.04_Hardy_Heron">here</a>.<br /><br />In terms of <span class="blsp-spelling-corrected" id="SPELLING_ERROR_15">practicality</span>, the Wind's 80<span class="blsp-spelling-error" id="SPELLING_ERROR_16">Gb</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_17">hdd</span> and <span class="blsp-spelling-corrected" id="SPELLING_ERROR_18">larger</span> keyboard probably puts it <span class="blsp-spelling-corrected" id="SPELLING_ERROR_19">in front</span> of the <span class="blsp-spelling-error" id="SPELLING_ERROR_20">Eee</span>, however for battery life and "Geek <span class="blsp-spelling-error" id="SPELLING_ERROR_21">Chique</span>" the <span class="blsp-spelling-error" id="SPELLING_ERROR_22">Eee</span> still has it.<br /><br /></here></pics><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-211809967964520272?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com2tag:blogger.com,1999:blog-6822085.post-70289279950830747942008-07-03T13:04:00.004Z2008-07-04T08:21:40.263ZAmazon Simple StorageI have recently been playing with Amazon's Simple Storage Solution or "S3". The service provides users with unlimited, secure and reliable storage for about 10 US dollar cents per gig per month. Which is cheap. The service is aimed at developers and does not provided would be "home" users with any front ends for uploading or downloading files. Only API's. The service supports REST and SOAP and is pretty easy to use, once you have got your head around signing your requests.<br /><br />I have developed a "home user friendly" Windows and Linux compatible front end for the service which can be used to browse your storage area, upload, download and delete files. It looks similar to Windows Explorer and supports drag and drop. The software (River Drive) can be found over at <a href="http://www.tristanphillips.com/Projects.php">www.TristanPhillips.com</a> under the projects section. To use the software you will need to sign up to the S3 service, but you only pay for what you use, and there is no minimum charge.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-7028927995083074794?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com6tag:blogger.com,1999:blog-6822085.post-76759679052165862892008-05-19T17:34:00.005Z2008-05-20T08:58:42.298ZTether your iPhone and your EeePCIf you own an iPhone in the UK, chances are that you are on an unlimited data contract with a rather large mobile service provider. Why not take advantage of that data connection from your EeePC. Unlike mobile 3G which requires a 3G datacard to use on the Eee, your iPhone and Eee can talk to each other using their built in WiFi connections. You will need to have your iPhone "Jail Broken" so you can install the required proxy software.<br /><br />Start by installing TinyProxy on your iPhone, this can be found in the network section of the installer app. I think you will need the BSD subsystem too, I have.<br /><br />Once you have installed TinyProxy, setup a new AdHoc wireless connection on your Eee. To do this choose "Network" from the internet panel, Press "Create", Choose "Local Area Network - Wireless", Press "Next" as the default card is the right one, Choose "Static IP Address" and press "Next". Enter "192.168.1.2", "255.255.255.0", "192.168.1.1". Press "Next". Enter "192.168.1.1", press "Next". Press "Next" again. Enter a SSID such as "EeePC", choose "Ad-hoc" and press "Next". Leave "Any" checked and press next. Tick "Enable encryption" and enter a WEP key. This will stop others stealing your (very limited) internet bandwidth. Then name your connection. I have called mine "iPhone", hit "Next". Then "Finish".<br /><br />Cool, now start that wireless network by going into "Network" (you may already be there) choosing iPhone, press "Connection" > "Connect". After a dialog box, you should now be hosting a new wireless network.<br /><br />On your iPhone, choose "Settings", "Wifi" > Select the "iPhone" network and press the ">". Press the "Static" tab and enter "192.168.1.1", "255.255.255.0". Press "Wireless Settings" to save your setup.<br /><br />Back on your Eee, press Ctrl+alt+T and in the console enter "ping 192.168.1.1", hit return and you should see the ping replying. If not, check your settings.<br /><br />Now to use the iPhone connection you need to tell Firefox to use the iPhone as its proxy server. Hit "Edit" > "Preferences" > Network tab > "Settings", choose "Manual proxy configuration" and enter "192.168.1.1" port "8080", tick "Use this proxy server for all protocols". press "OK", "Close".<br /><br />Now, try google! If it does not work, make sure your ping is working, and if still no luck, reboot your iPhone, I had to a couple of times. I leave the ping pinging as a visual confirmation of the link between my toys.<br /><br />You may need to leave your iPhone "awake" to use the connection, so modify the "auto lock" setting to suit you. The connection really is quite slow, but OK for emergency stuff.<br /><br />I'm writing this on the train using my Eee and iPhone. Bloomin' marvelous!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-7675967905216586289?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-52141301546782647762008-04-21T10:48:00.001Z2008-04-21T10:51:06.515ZUbuntu 8.04<p>Ubuntu is a community developed, Linux-based operating system that is perfect for laptops, desktops and servers. It contains all the applications you need - a web browser, presentation, document and spreadsheet software, instant messaging and much more. <a href="http://www.ubuntu.com/">www.ubuntu.com</a><br /><br /></p><p>The Ubuntu developers are constantly bringing you the absolute latest and most stable software that the open source and free software communities have to offer. This is their latest result: the Ubuntu 8.04 LTS release candidate, which brings a host of excellent new features.<br /><br /><script type="text/javascript" src="http://www.ubuntu.com/files/countdown/display.js"></script></p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-5214130154678264776?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-20984535944828022682008-04-11T14:44:00.005Z2008-04-11T14:50:59.182ZDisable memory trimming in VMWare Server to reduce IO queuesI was suffering from an ab-normally high %wa figure in top. Disabling memory page trimming in my VMWare guest seems to have solved the issue.<br /><br />You can disable memory trimming for a guest in the virtual machine settings editor (VM > Settings > Options > Advanced). In the Settings section of the Advanced panel, select Disable memory page trimming.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-2098453594482802268?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-1400884884718542772008-02-12T08:46:00.002Z2008-02-15T19:38:42.981ZRouter Monitoring ScriptIf you have a Netgear DG* router and wish to automatically reconnect / reboot when your connection drops, try adding this script to your cron.hourly:<br /><br /><pre><div style="width=100%;overflow:scroll;">#!/bin/sh<br /><br /># CheckRouterStatus<br /># Tristan Phillips<br /># Checks the status of a netgear DG* router and reconnects / reboots if not connected.<br /># Licensed under the terms of the GNU.<br /><br /># Arguments:<br /># $1 = Ping target, use www.google.co.uk<br /># $2 = Router IP, normally 192.168.0.1 or 192.168.1.1<br /># $3 = The router username (admin)?<br /># $4 = Router password (password)?<br /><br /># Check arguments are present<br />if [ "$1" = "" ] || [ "$2" = "" ] || [ "$3" = "" ] || [ "$4" = "" ]; then<br />echo usage: CheckRouterStatus.sh PingTarget RouterIP RouterUser RouterPassword<br />exit<br />fi<br /><br /># Try the ping<br />echo Attempting to ping $1<br />ping -W 10 -c 8 $1 >/dev/null 2> /dev/null<br /><br /># Check result<br />if [ $? -ne 0 ]; then<br /><br /># The ping failed! Get Stats and disconnect the router<br />echo Ping failed, dumping stats and disconnecting router . . .<br />echo `date` Ping failed, here are the router stats: >> /var/log/RouterReboots<br />wget --user $3 --password $4 "http://$2/setup.cgi?next_file=stattbl.htm"<br /># Execute the first router command twice as authorization tends to fail...<br />wget --user $3 --password $4 "http://$2/setup.cgi?next_file=stattbl.htm"<br />grep ttext setup.cgi?next_file=stattbl.htm >> /var/log/RouterReboots<br />echo `date` Disconnecting router >> /var/log/RouterReboots<br />wget -q --user $3 --password $4 "http://$2/setup.cgi?todo=disconnect" > /dev/null 2> /dev/null<br /><br />echo Waiting . . .<br />sleep 10<br /><br />echo Connecting router . . .<br />echo `date` Connecting router >> /var/log/RouterReboots<br /># Async call to connect incase of timeout<br />wget -q --user $3 --password $4 "http://$2/setup.cgi?todo=connect" > /dev/null 2> /dev/null &amp;<br />echo Waiting . . .<br />sleep 20<br /><br /># Try again<br />echo Attempting to ping $1<br />ping -W 10 -c 8 $1 > /dev/null 2> /dev/null<br /># Check results<br />if [ $? -ne 0 ]; then<br /> echo Ping failed . . .<br /> echo `date` Disconnect / Connect cycle did not correct the issue! Trying a reboot . . . >> /var/log/RouterReboots<br /> wget -q --user $3 --password $4 "http://$2/setup.cgi?todo=reboot" > /dev/null 2> /dev/null<br />else<br /> echo Ping OK, Connection issue solved!<br /> echo `date` connection issue solved. >> /var/log/RouterReboots<br />fi<br /><br /># Be nice and logout<br />wget -q --user $3 --password $4 "http://$2/setup.cgi?todo=logout" > /dev/null 2> /dev/null<br /><br />else<br />echo Ping OK<br />fi<br /><br />#clean up<br />rm setup.cgi*<br /><br />exit 0<br /><br /></div></pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-140088488471854277?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com1tag:blogger.com,1999:blog-6822085.post-31548231013635273012007-12-18T14:13:00.000Z2007-12-18T14:21:52.899ZSkype 2 Beta on the eee supports video callingI'm not the first to post this, but hey, the more the merrier....<br /><br />If you want to try video calling on the eee, download the Xebian skype 2 package from skype.com. Install it with:<br /><br /><span style="font-family:courier new;">sudo dpkg -i [PackagePath]</span><br /><br />Activate the on board camera with:<br /><br /><span style="font-family:courier new;">echo 1 > /proc/acpi/asus/camera</span><br /><br />Then configure Skype to use the detected camera and you should be good to go.<br /><br /><a href="http://www.ultramobilegeek.com/">Ultramobilegeek</a> and JKOnTheRun seemed to have a few stability issues, but I have used this for hours on end with no problem at all!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-3154823101363527301?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-58500923046215257632007-11-17T15:46:00.000Z2007-11-18T21:56:49.991Z3G on the Eee PCI just nipped down to the 3 shop and picked up a Huawei USB 3G modem. I literally popped it into the Eee and setup a new connection in "Network". No extra drivers, no complicated configuration. It even found all the "3" setting for me. <br /><br />This could <span style="font-weight: bold;">not</span> have been <span style="font-weight: bold;">any</span> easier, and will work with any provider using the Huawei E220 USB modem (Most).<br /><br />Can you imagine things being so easy on Windows!? I think not!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-5850092304621525763?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com8tag:blogger.com,1999:blog-6822085.post-2754243458994871002007-11-17T15:26:00.000Z2007-11-17T16:02:46.641ZAsus Eee PC<span style="font-weight: bold;">Its arrived!<br /><br /></span><span>Finally the wait is over for me... I got my new white Asus Eee PC delivered this morning. If you are reading this; you will have read loads of shining reviews about this little wonder, so I won't bore you with another one. Suffice to say I LOVE it. However, while I was waiting for this unit to arrive; I was quite frustrated at the lack of images out there showing the actual scale of this machine. So here you go:<br /><br /><img style="width: 428px; height: 341px;" src="http://www.tristanphillips.com/img/eeescale.jpg" /><br /><br />I'm writing this on the Eee and am already used to the scale of the keyboard. Linux really does boot in about 15-20 seconds and the interface is really easy to use, so as well as geeks like myself who will no doubt have the thing in bits (metaphorically) within five minutes; this would make a great homework PC for the kids.<br /><br />I think 2008 is going to be a truly great year for Linux!<br /></span><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-275424345899487100?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com4tag:blogger.com,1999:blog-6822085.post-29456817372430565252007-09-21T09:40:00.000Z2007-09-21T09:45:41.878Zwww.TristanPhillips.comI have finally put up a page where I can post links to some of the utilities I have put together.<br /><br /><a href="http://www.tristanphillips.com">www.tristanphillips.com</a><br /><br />Includes a number of useful command line applications developed by myself:<br /><br />Tools for password testing, printer hacking, account enumeration, port sniffing, photo organization, event log monitoring, command line email, file expiration, hashing, SQL data exporting, automated FTP and port forwarding.<br /><br />The tools are intended as proof of concept / testing utilities and should not be used for illegal / questionable purposes.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-2945681737243056525?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com4tag:blogger.com,1999:blog-6822085.post-72597336077172396502007-09-21T09:20:00.000Z2007-09-21T09:39:43.404ZC# TCP ChecksumRecently I have been developing some code that needed to calculate the checksum for a TCP packet before transmission.<br /><br />The TCP checksum is the 16 bit one's complement of the one's complement sum of all 16 bit words in the TCP header and text. A 96 bit pseudo header is also taken into account when calculating the checksum. This pseudo header is constructed from the IP src address, dst address, protocol and TCP header length. For the purposes of calculating the checksum, the checksum word in the TCP buffer is set to 0's.<br /><br />There seems to be very little information in regarding this floating about, and certainly no C# examples; so here is the working code, should you need it:<br /><pre><br />// Calculates the TCP checksum using the IP Header and TCP Header.<br />// Ensure the TCPHeader contains an even number of bytes before passing to this method.<br />// If an odd number, pad with a 0 byte just for checksumming purposes.<br />static ushort GetTCPChecksum(byte[] IPHeader, byte[] TCPHeader)<br />{<br /> uint sum = 0;<br /> // TCP Header<br /> for (int x = 0; x < TCPHeader.Length; x += 2)<br /> {<br /> sum += ntoh(BitConverter.ToUInt16(TCPHeader, x));<br /> }<br /> // Pseudo header - Source Address<br /> sum += ntoh(BitConverter.ToUInt16(IPHeader, 12));<br /> sum += ntoh(BitConverter.ToUInt16(IPHeader, 14));<br /> // Pseudo header - Dest Address<br /> sum += ntoh(BitConverter.ToUInt16(IPHeader, 16));<br /> sum += ntoh(BitConverter.ToUInt16(IPHeader, 18));<br /> // Pseudo header - Protocol<br /> sum += ntoh(BitConverter.ToUInt16(new byte[] { 0, IPHeader[9] }, 0));<br /> // Pseudo header - TCP Header length<br /> sum += (UInt16)TCPHeader.Length;<br /> // 16 bit 1's compliment<br /> while ((sum >> 16) != 0) { sum = ((sum & 0xFFFF) + (sum >> 16)); }<br /> sum = ~sum;<br /> return (ushort)ntoh((UInt16)sum);<br />}<br /><br />private static ushort ntoh(UInt16 In)<br />{<br /> int x = IPAddress.NetworkToHostOrder(In);<br /> return (ushort) (x >> 16);<br />}<br /></pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-7259733607717239650?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com3tag:blogger.com,1999:blog-6822085.post-9541231108762270552007-06-19T15:44:00.000Z2007-06-19T15:52:15.922ZUbuntu says no to M$After the recent deals made by a number of Linux vendors with M$ regarding patent threats, I am <span style="font-weight: bold;"><span class="blsp-spelling-corrected" id="SPELLING_ERROR_0">extremely</span></span> glad to hear that <span class="blsp-spelling-error" id="SPELLING_ERROR_1">Ubuntu</span> (Canonical) has told M$ to shove it.<br /><br />Mark <span class="blsp-spelling-error" id="SPELLING_ERROR_2">Shuttleworth</span> of Canonical <a href="http://www.markshuttleworth.com/archives/127">blogs</a>:<br /><br />Allegations of "infringement of unspecified patents" carry no weight whatsoever. We don't think they have any legal merit, and they are no incentive for us to work with Microsoft on any of the wonderful things we could do together. A promise by Microsoft not to sue for infringement of unspecified patents has no value at all and is not worth paying for. It does not protect users from the real risk of a patent suit from a pure-<span class="blsp-spelling-error" id="SPELLING_ERROR_3">IP</span>-holder (Microsoft itself is regularly found to violate such patents and regularly settles such suits). People who pay protection money for that promise are likely living in a false sense of security.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-954123110876227055?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com0tag:blogger.com,1999:blog-6822085.post-59747390861040218832007-05-31T07:33:00.000Z2007-05-31T07:36:31.082ZNovell losing money after getting into bed with M$Novell's decision to do business with Microsoft is costing them lolly:<br /><a href="http://www.blogger.com/img/gl.link.gif">http://www.theregister.co.uk/2007/05/31/novell_quarter_micosoft/</a><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6822085-5974739086104021883?l=www.sequencetechnology.co.uk%2FBlog%2Fweblog.aspx'/></div>Trishttp://www.blogger.com/profile/08314127267652714908noreply@blogger.com3