<?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>Project Notes &#187; Eee PC</title>
	<atom:link href="http://projectnotes.co.uk/category/eee-pc/feed/" rel="self" type="application/rss+xml" />
	<link>http://projectnotes.co.uk</link>
	<description>Random Computer, Internet and Electronics Projects</description>
	<lastBuildDate>Sat, 31 Jul 2010 10:33:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>EeePC, Portable Hdd &amp; 3G Phone &#8211; On The Road!</title>
		<link>http://projectnotes.co.uk/2008/09/eeepc-portable-hdd-3g-phone-on-the-road/</link>
		<comments>http://projectnotes.co.uk/2008/09/eeepc-portable-hdd-3g-phone-on-the-road/#comments</comments>
		<pubDate>Sun, 14 Sep 2008 13:10:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Eee PC]]></category>
		<category><![CDATA[EeePC]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.projectnotes.co.uk/?p=140</guid>
		<description><![CDATA[Last week, I got a chance to use the system live, I was away for a week with only the EeePC system and a three.co.uk 3G phone from Sony for a modem.  All did not go well! As explained in &#8230; <a href="http://projectnotes.co.uk/2008/09/eeepc-portable-hdd-3g-phone-on-the-road/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week, I got a chance to use the system live, I was away for a week with only the <strong>EeePC</strong> system and a <strong>three.co.uk</strong> <strong>3G</strong> phone from Sony for a <strong>modem</strong>.  All did not go well!<span id="more-123"></span></p>
<p>As explained in an earlier post, rather than mess with the <strong>EeePC</strong> setup, I  &#8216;mount -bind&#8217; the /dev and /proc folders of a <strong>linux</strong> root system sitting in an <strong>external drive</strong> ( a portable hard drive being faster by a mile than a usb <strong>memory stick</strong>).</p>
<p>This allows me to take several systems with me when working away (or simply on holiday).  I have a copy of the &#8216;general desktop&#8217; I use day to day, the php &amp; mysql system I tinker with and an <strong>OpenWrt</strong> <strong>buildroot</strong> system for the router.  These all live in folders under the /vz folder of the hard drive.</p>
<p>I have tinkered with the system for a while now and it is quite a simple matter to press &#8220;Ctrl-Alt-T&#8221; on the <strong>EeePC</strong> to get a terminal, &#8220;sudo su -&#8221; to get to the root shell, I don&#8217;t even have to type the &#8220;mount &#8211;bind&#8221; or &#8220;choot&#8221; commands in, a couple of presses on the up arrow and they are there in the command history.</p>
<p>At home, the system works fine, I turn off the wireless, run the gsm script and access the web.  With the <strong>3G</strong> locally, I get between fast ISDN and early (512k) <strong>broadband</strong> speeds &#8211; not always good enough for <strong>Skype</strong>, but for general web browsing, emails and updating a blog, good enough.</p>
<p>However, last week, when we got to our destination (North Devon), I found that the phone only had a <strong>gsm</strong> connection &#8211; that starts at 9.6k.  Downloading voicemail messages emailed from the office took about 5 min per minute of message!  I got to keep up with the emails, but not much else.</p>
<p>The problem that stopped me dead in my tracks however, was that some websites (the bank, <strong>google adsense</strong> etc.)would refuse to completely load.  All of the sites that failed were https sites.  I keep shortcuts and login details stored within the &#8220;general desktop&#8221; system.  These sites seemed to be loading up to the part of the page where the login details would show.</p>
<p>The slow connection had me thinking that the browser must be giving up before the page was delivered, or perhaps it was something to do with the gsm modem service.</p>
<p>When I got back, I set the system back up and tried both the <strong>wifi</strong>/<strong>broadband</strong> link and the <strong>3g</strong> modem connection.  Sure enough, when accessing the sites through the <strong>3g</strong> phone, the same secure passworded pages failed.  Accessing those same sites via the Wifi/Broadband everything was fine.  Being back at the office, and with a faster connection, and copies on hand, I was able to try a few things out.</p>
<p>Re-naming the .mozilla folder caused the browser to &#8216;forget everything&#8217; and I could once again access the sites.  Swapping back to the regular .mozilla folder, I dug a little deeper.</p>
<p>Deleting temp files made no difference (I had tried that whilst away), deleting the mozilla cookie files revealed them to be the problem!  Now some of the sites I need store part of the account details within cookies, so I guess I&#8217;ll have to make a few notes before setting off next time, as it seems that some site/cookies hold info about the connection you logged in with.</p>
<p>So, if you have any trouble accessing a passworded site and you are plumbed in to a different connection, try deleting or renaming the cookie files within the .mozilla/firefox folder.</p>
<p>With access to some sites, impossible and others slow, I was not able to do to much with the EeePC/Hard Drive combo this trip.  The system however, as a means of keeping several working environments accessable from the <strong>EeePC</strong> (or any other linux laptop) is &#8211; in my book &#8211; a winner!  The Hard drive (or memory stick if you favour battery operation over speed) can be carried away from the laptop, if that gets lost, none of your work or passwords are on the internal drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://projectnotes.co.uk/2008/09/eeepc-portable-hdd-3g-phone-on-the-road/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A VPS in the Home/Office</title>
		<link>http://projectnotes.co.uk/2008/09/a-vps-in-the-homeoffice/</link>
		<comments>http://projectnotes.co.uk/2008/09/a-vps-in-the-homeoffice/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 01:26:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Eee PC]]></category>
		<category><![CDATA[EeePC]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://www.projectnotes.co.uk/?p=127</guid>
		<description><![CDATA[If a VMWare Server/Workstation or VMWare Player make life easy when mixing Linux and Windows on a single system, then a VPS will wipe the floor with them if you need to run several Linux environments and are not worried &#8230; <a href="http://projectnotes.co.uk/2008/09/a-vps-in-the-homeoffice/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If a <strong>VMWare Server</strong>/<strong>Workstation</strong> or <strong>VMWare Player</strong> make life easy when mixing Linux and Windows on a single system, then a <strong>VPS</strong> will wipe the floor with them if you need to run several Linux environments and are not worried about high end graphics.<span id="more-110"></span></p>
<p>Usually, a <strong>VPS</strong> (Virtual Private Server) is offered by <strong>web hosting</strong> companies to their customers as an alternative to virtual hosting (where they can upload web pages and applications, but not configure the server software) and Dedicated Hosting (Where they get &#8211; and pay for &#8211; an entire server that they can specify and manage themselves).  Like <strong>Virtual Machines</strong> on a <strong>Workstation</strong>, a VPS on a server allows the hosting supplier to slice up one big server into many smaller servers, each with their own operating system, RAM and Hard Disk space.</p>
<p>Now, on one of these hosted VPS machines, you get enough resources to run a few web services accross one or more domains &#8211; depending on your budget.  The operating systems are pre-installed with the minimum software required, its up to you to add more &#8211; but its best to stick with the minimum you need for reasons of performance and security.</p>
<p>Move that same VPS system onto your own server connected to your workstation with a 100Mb network behind a properly setup router/fire wall and things are very different.</p>
<p>You can slice up your server however you need, I&#8217;m using a recent single core machine with 3 Gb RAM and a couple of 80 Gb SATA Hard Drives raided together.  At the moment, a 110Gb Drive is also sitting on the IDE connector.  It currently has seven containers running, the smallest has 900Mb ram and 6Gb of Hard Drive Space and is a bit of an overkill running DNS to the rest of the network as it does.</p>
<p>The Largest has 3Gb RAM, 26Gb of Main Hard Disk and exclusive access to the 110Gb IDE drive.  This is my &#8216;Desktop&#8217; system.  It runs VNCServer, creating a virtual desktop that I can log into from wherever I happen to be sitting, an Ubuntu 8 Server operating system with the addition of XFCE desktop (compiled from source rather than the Ubuntu packages), Firefox web browsing, Gftp, Thunderbird for email, Open Office for general documents, PDF Viewer etc.  Also running in this container is <strong>Samba</strong>, so that I can share any files with the windows machines I now use to access the system.</p>
<p>In order to run server software like <strong>Samba</strong>, that requires a little more access to the networ card than usual, the OpenVZ vethN device is used, this requires that a script is run on the server after the container has started.  As I don&#8217;t often need to restart the server or the desktop container very often, I run this from a SSH login.</p>
<p>Regular server software such as Apache, sshd and even VNC Server are quite happy with the regular &#8216;venetX&#8217; devices that start whenever a container is started.</p>
<p>The VPS Software running all this is <a title="OpenVZ" href="http://www.openvz.org"><strong>OpenVZ</strong></a>.  It has command line tools for creating and modifying  &#8217;containers&#8217; and there are several templates for various distributions of linux, or you can create your own.</p>
<p>On top of this, there is a great browser based tool for managing the server, <a title="VTONF: The Free Software Virtual private server control panel" href="http://www.vtonf.com"><strong>VTONF</strong></a> is <strong>GPL</strong> software from a hosting company called Bobcares.  It allows you to completely run the VPS Server using a browser, creating, starting, stopping and modifying containers at the click of a button.</p>
<p>So, How is this any better than a Virtual Machine running on a server?</p>
<p>Well, as the only software running as some version or other of Linux, OpenVZ is able to keep all of the container file spaces under a single directory &#8220;/vz&#8221; on the main system.  To inspect or retrieve some files, from a container, you just need to navigate to the relevant directory under &#8220;/vz&#8221;.</p>
<p>If a container is going to need more space that you planned for, VTONF (or a shell command) will allow you to increase it.  Ditto for memory.</p>
<p>Unlike a VPS up at a web host, your VPS Server can be asked to map any physical device ( in the &#8216;/dev&#8217; directory) can be mapped to a container.</p>
<p>I recently found another advantage.  As the file system inside an OpenVZ container is simply a complete linux system root, should you need to use it on another linux system, it can be copied to a drive or memory stick and then, it is just a matter of &#8216;mount -bind&#8217;ing then &#8216;/dev&#8217; and &#8216;/proc&#8217; directories before chrooting into the container root.</p>
<p>I did this with an <strong>EeePC</strong> and the Container I use to do a bit of <strong>PHP</strong> developement.  A couple of changes in the container&#8217;s &#8216;/etc&#8217; folder &#8211; to deal with the different network settings &#8211; and I was able to start the container&#8217;s <strong>apache</strong> webserver and log into the content management system using the EeePC web browser pointed at &#8220;http://localhost&#8221; .</p>
]]></content:encoded>
			<wfw:commentRss>http://projectnotes.co.uk/2008/09/a-vps-in-the-homeoffice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EeePC, 3G Broadband, Mobile Phones</title>
		<link>http://projectnotes.co.uk/2008/08/eeepc-3g-broadband-mobile-phones/</link>
		<comments>http://projectnotes.co.uk/2008/08/eeepc-3g-broadband-mobile-phones/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 18:26:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eee PC]]></category>
		<category><![CDATA[3G]]></category>
		<category><![CDATA[EeePC]]></category>
		<category><![CDATA[Skype]]></category>

		<guid isPermaLink="false">http://www.projectnotes.co.uk/?p=75</guid>
		<description><![CDATA[One of the reasons I got the EeePC was so that I could have easy access to the internet when away from home. I already knew that although getting a mobile phone to work with a Linux system is not &#8230; <a href="http://projectnotes.co.uk/2008/08/eeepc-3g-broadband-mobile-phones/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the reasons I got the <strong>EeePC</strong> was so that I could have easy access to the internet when away from home.</p>
<p>I already knew that although getting a <strong>mobile phone</strong> to work with a Linux system is not always easy, I had read that several people had had luck using both usb cables and BlueTooth connections.<span id="more-65"></span></p>
<p>I&#8217;m on <strong>Three mobile network</strong> and have a &#8216;<strong>Skype Phone</strong>&#8216; or <strong>WP-S1</strong> and a <strong>Sony W910i</strong> that Three used as an incentive for me to re-commit to them, saying that the Broadband Speed through the phone would be better than the <strong>WP-S1</strong>.  What they forgot to tell me was that in my area, the signal is not that great all of the time anyway.</p>
<p>The avarage download speed I get at home is pretty good, somewhere between fast ISDN and the original 512k broadband.  Uploads however are usually about 50-60k.  Good enought for browsing, email and the od bit of remote access, but not quite ready for VOIP or <strong>Skype</strong> via the computer &#8211; I guess the Skype function in the WP-S1 is using the band width differently.</p>
<p>The <strong>EeePC</strong>&#8216;s Skype however gives good results when connected via a wifi link or network cable.</p>
<p>The <strong>Sony W910i</strong> would not (for me) connect via the blue tooth connection, but the usb cable works with a little tinkering.  Again, the details found on <a title="http://forum.eeeuser.com" href="http://forum.eeeuser.com">http://forum.eeeuser.com</a> (try searching for usb and three.co.uk) produced several examples of how to get connected.</p>
<p>Currently, I use the W910i by poping up a terminal window and running &#8220;pon gsm&#8221; as root.</p>
<p>Sometimes this fails with an error message on the phone, but I just click the ok button on the phone and try the command again.  Once connected its fine.</p>
<p>If I was going to start from scratch and wanted to limit my monthly outgoings, I would get a 3G modem or a Skype Phone on pay as you go.  Topping up and converting the cash to broadband access gives up to 30 days to get throught the download allowance (1G, 3G or more currently £10 gets you 1G) &#8211; If you don&#8217;t use it for a while, don&#8217;t top it up &#8211; Pretty good internet access without regular bills &#8211; not bad.</p>
<p>As an extra, if its a Skype Phone / WP-S1 your using, (currently) topping up will give you access to the Skype function for 30 days &#8211; It only works for calls to other Skype computer users, not Skype In or Skype Out calls.</p>
]]></content:encoded>
			<wfw:commentRss>http://projectnotes.co.uk/2008/08/eeepc-3g-broadband-mobile-phones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Asus EeePC Sub Notebook</title>
		<link>http://projectnotes.co.uk/2008/08/asus-eeepc/</link>
		<comments>http://projectnotes.co.uk/2008/08/asus-eeepc/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 01:56:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Eee PC]]></category>
		<category><![CDATA[chroot]]></category>
		<category><![CDATA[EeePC]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.projectnotes.co.uk/?p=41</guid>
		<description><![CDATA[A little while ago I got 4 4Gb EeePC Sub Notebook, The Wide screen Advent Laptop I have is great for presentations or watching dvds, but its too large to carry about for the odd occasion I need a portable &#8230; <a href="http://projectnotes.co.uk/2008/08/asus-eeepc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A little while ago I got 4 4Gb <strong>EeePC</strong> Sub Notebook, The Wide screen Advent Laptop I have is great for presentations or watching dvds, but its too large to carry about for the odd occasion I need a portable network machine.<span id="more-35"></span></p>
<p>Like most, I had plans to replace the xandros linux with one I am more familiar with.  To my surprise, the simple control panel is fine for navigating the built in apps, they all work (for me) very well, and the <strong>EeePC</strong> connect to the internet via both my <strong>wifi</strong> network and <strong>3g</strong> phones.</p>
<p>If I need exta software, its mostly command line stuff and that can be run very easily using a chrooted memory stick or external hard disk.</p>
<p>After being disapointed with <strong>Ubuntu</strong>&#8216;s handling of various media on the web, I was reluctant to throw out the <strong>EeePC</strong>&#8216;s Xandros, especially when it connected to the net using both wifi and (with a little tinkering) both of the <strong>3g</strong> phones I currently own.  It also played the beeb iPlayer streaming video out of the box &#8211; something that proved to be a bit hit and miss with Ubuntu.</p>
<p>For the rest of the software I may need, most are command line such as the openwrt build system for compiling the router software, apache, mysql and php to do a bit of web development, these can all be installed into a minimal linux (Ubuntu) install on another system and copied to a large memory stick or portable hard drive (ext2 formatted).</p>
<p>Then just plug it in.  The <strong>eeepc</strong> will see the the memory stick or hard drive and offer to open it.</p>
<p>Call up a terminal window (Ctrl-Alt-T).</p>
<p>&#8216;ls /media&#8217; to see where the stick has been mounted, (usualy related to the manufacturer name of the memory stick/drive).</p>
<p>and then</p>
<p>&#8216;sudo su &#8211; &#8216;</p>
<p>followed by &#8216;mount &#8211;bind /dev /media/memorystick/partition1/dev&#8217;</p>
<p>and &#8216;mount &#8211;bind /proc /media/memorystick/partition1/proc&#8217;</p>
<p>finally &#8216;chroot /media/memorystick/partition1&#8242;</p>
<p>You will then get a root prompt for the operating system located inside the memory stick/hard drive.  As the /dev and /proc have been bound to the corresponding directories in the chrooted memory stick/hard drive, it will be able to access the system devices and status of the eeepc host.</p>
<p>If the /etc/resolve.conf file is pointing to a different nameserver, you will have to edit it (or copy it using another Terminal window) to be the same as the one in the eeepc.</p>
<p>After that, you should be able to &#8216;apt-get&#8217; any software you need -remember that the ram is short, your sharing it with the eeepc, so anything that usually requires large amounts of ram or swap will probably fail &#8211; if you are using an external hard drive, a swap file can be created and used from the xandros side, swap files on memory sticks should be avoided.</p>
<p>If you have some windowed software that needs Xserver to run &#8211; I perfer to use synaptic to locate and install software, as long as it will run without the full gnome or kde system, apt-get the application, apt will also drag down any required bits and pieces.</p>
<p>In a regular Terminal window, &#8216;sudo su -&#8217; followed by &#8216;xhost localhost&#8217; to allow connections from the local machine, on the chrooted Terminal, &#8216;export DISPLAY=localhost:0&#8242; before running the program.</p>
<p>Providing you keep track of the terminals and only add or remove software in the chrooted one and your not using any hardware related apps, if it all goes wrong, just re-format the memory stick or external hard drive and try again &#8211; no harm to the <strong>eeepc</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://projectnotes.co.uk/2008/08/asus-eeepc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
