tag:blogger.com,1999:blog-65433055501176890682024-02-19T15:05:50.942+00:00FintasticalUnknownnoreply@blogger.comBlogger61125tag:blogger.com,1999:blog-6543305550117689068.post-33322315850373920752017-04-25T11:21:00.001+01:002017-04-25T11:21:43.571+01:00Hidden Wi-Fi Network on the Roku 2If you have a Roku 2 media streamer and use a wireless network scanning tool such as Acrylic Wi-Fi Home, you might see a hidden wi-fi network on exactly the same wireless channel as your router. Depending on the location of your PC, the signal for this hidden network might be stronger than your wireless router. Changing the channel on your router doesn't help, as the hidden network "follows" and switches to the same channel again.<br />
<br />
This is due to a feature in the Roku called "Wi-Fi" direct. This allows for wireless devices (such as phones and other wi-fi remote controls) to connect to the Roku. As the Roku 2 comes with an infra-red remote control, this additional Wi-Fi network isn't really needed (as long as you're not planning to control it via wi-fi).<br />
<br />
Connecting the Roku 2 to the internet via a wired connection means that the hidden Roku wireless network can be on a different channel, but to reduce interference I've disabled Wi-Fi Direct on my Roku 2 by following these steps: -<br />
<br />
<ul>
<li> Home</li>
<li> Settings</li>
<li> System</li>
<li> Advanced system settings</li>
<li> Device connect</li>
<li> Disable Device connect</li>
</ul>
<br />
<br />
Once you've done this, you should see the additional wireless network disappear.<br />
<div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-86868073120204834012016-04-18T21:57:00.000+01:002016-04-18T21:57:05.343+01:00BT Infinity and Netflix on Roku 2 (Error message ui-800-3)If you're having issues getting your Roku working with Netflix on BT Infinity, it might be worth trying to turn off parental controls.<br />
<br />
It appears that BT enforce the use of their own DNS servers which causes issues for the Roku when connecting to Netflix (but strangely things work OK via the app on YouView).<br />
<br />
This gave me the error message "Netflix has encountered an error. Retrying in xx seconds. Code: ui-800-3 (%MSL_INTERNAL_CODE%)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB9j0jCWl5vz42DxtgV6QnjqQYJBdOwjcwQ5HTnE0eezr_DQsCbF15HT2GfB84C57GbY2C_NMd4bXX7lkRIQRuSa5yfmdI57T2-76RxfawhL2pQkR-Vpzag-L-hsPNvLjewMxOgMNNTqmp/s1600/roku-netflix-error-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="74" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB9j0jCWl5vz42DxtgV6QnjqQYJBdOwjcwQ5HTnE0eezr_DQsCbF15HT2GfB84C57GbY2C_NMd4bXX7lkRIQRuSa5yfmdI57T2-76RxfawhL2pQkR-Vpzag-L-hsPNvLjewMxOgMNNTqmp/s320/roku-netflix-error-1.jpg" width="320" /></a></div>
<br />
When trying to test the connection I got failures acccessing "nw-2-5".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwuxr2PvoQZWoxRTq2xblyfvtUL_gzugdrNTpJVLhOIP5AZAimKVE2E72ilK1xmubpCJLLLvXQSR-E55RYQxh_eqr6toU8U5KVqT5UwRhmJ-TM0HveoKb9cEPNzwOhfDHCt4XWLca1U9vj/s1600/roku-netflix-error-3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="166" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwuxr2PvoQZWoxRTq2xblyfvtUL_gzugdrNTpJVLhOIP5AZAimKVE2E72ilK1xmubpCJLLLvXQSR-E55RYQxh_eqr6toU8U5KVqT5UwRhmJ-TM0HveoKb9cEPNzwOhfDHCt4XWLca1U9vj/s320/roku-netflix-error-3.jpg" width="320" /></a></div>
<br />
<br />
Turning off (and then deleting the settings) parental controls within the "My BT" website fixed things on my Roku 2 (4205E) but I had to wait for a couple of hours after the changes.<br />
<br />
Hope this helps somebody!<br />
Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-6543305550117689068.post-28059172458466710232015-06-26T20:26:00.000+01:002015-06-26T20:27:29.429+01:00Best Swift Programming Tutorial<center>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvtimKYD5pJXya1JQlz6mZdAr30upPKQN3yMkivI4lUo1hR5NZYdNwpYNu9ESijcAD2Mk-5qYGiuIwA4RrR7kt9pf1dwWJ4NEDGR_L0xIregIEmJd2K31DC-XfKd5DiCIGwmAr3KL1Ov_y/s1600/swift.png" imageanchor="1" ><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvtimKYD5pJXya1JQlz6mZdAr30upPKQN3yMkivI4lUo1hR5NZYdNwpYNu9ESijcAD2Mk-5qYGiuIwA4RrR7kt9pf1dwWJ4NEDGR_L0xIregIEmJd2K31DC-XfKd5DiCIGwmAr3KL1Ov_y/s320/swift.png" /></a>
</center>
<p>For anybody learning Swift to develop iOS apps, there are plenty of tutorials around, but the best one that I have found by far is this one: <a href="http://www.hackingwithswift.com/">Hacking with Swift iOS Tutorial</a>. It contains loads of hands-on tutorials, and also a <a href="http://www.hackingwithswift.com/read/0/overview/">quick overview on Swift theory</a> too.
</p>
<p>I've tried other courses/tutorials, but this is by far the best, and even better, its free!</p>
<p>Highly recommended.</p>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-81863206361782477292013-10-23T21:34:00.001+01:002013-10-23T21:36:47.388+01:00Apache, MySQL and PHP in OS X Mavericks 10.9Unfortunately upgrading from OS X Mountain Lion ( 10.8) to Mavericks (10.9) stopped my AMP (Apache, MySQL, PHP) installation working.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW87Tevd947_0PS69cvD6kfKiWxZurGlBaSfcSArdylrhr9w5siNFUP4cyWpXtxKZFEZSbCyWItz3iOALFFW7Fjzhqa1hdyCtkox7VmYZ4vXVDXzp74VOiNy2zrzViaFmemQc9Hwi7rCvv/s1600/mavericks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW87Tevd947_0PS69cvD6kfKiWxZurGlBaSfcSArdylrhr9w5siNFUP4cyWpXtxKZFEZSbCyWItz3iOALFFW7Fjzhqa1hdyCtkox7VmYZ4vXVDXzp74VOiNy2zrzViaFmemQc9Hwi7rCvv/s200/mavericks.png" width="200" /></a></div>
<br />
<br />
Luckily, this is just down to an apache configuration file being overwritten and is easy to correct...<br />
<br />
<b>1. Edit Apache Configuration</b><br />
<br />
<span style="font-family: Courier New, Courier, monospace;">sudo vi /private/etc/apache2/httpd.conf</span><br />
<br />
a. Uncomment following line to re-enable virtual hosts: -<br />
<br />
<span style="font-family: Courier New, Courier, monospace;"> Include /private/etc/apache2/extra/httpd-vhosts.conf</span><br />
<br />
b. Uncomment following line to re-enable PHP: -<br />
<br />
<span style="font-family: Courier New, Courier, monospace;"> LoadModule php5_module libexec/apache2/libphp5.so</span><br />
<br />
<b>2. Restart Apache</b><br />
<br />
<span style="font-family: Courier New, Courier, monospace;">sudo apachectl restart</span><br />
<br />
<br />
There was no need to change any of my MySQL installation, this continued working after the installation.<br />
<br />Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-6543305550117689068.post-36868908998049518002013-09-01T21:44:00.001+01:002013-10-23T21:36:08.307+01:00Installing Streamripper on Mac OS X via HomebrewHere's a quick post on how to install "streamripper" on OS X, with a little help from <a href="http://brew.sh/">homebrew</a>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpA0-bQoVqlFv8t5LNnQALCqzam6sGZj9gkVS8vsMnSosBRST5INivVEAg4gXWEWf9iwj3VsT8_T2Dj_KnVL5APZj-LxfgFK9OZ6BJ2TdFN1uCTGwZSokxAgq_nkxNi2tUBYyMr9dmdp2/s1600/home-brew.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="107" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpA0-bQoVqlFv8t5LNnQALCqzam6sGZj9gkVS8vsMnSosBRST5INivVEAg4gXWEWf9iwj3VsT8_T2Dj_KnVL5APZj-LxfgFK9OZ6BJ2TdFN1uCTGwZSokxAgq_nkxNi2tUBYyMr9dmdp2/s320/home-brew.png" width="320" /></a></div>
<br />
<br />
1. Install homebrew<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"</span><br />
<br />
2. Check installation<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">brew doctor</span><br />
<br />
3. Fix any issues<br />
<br />
I had the message "Warning: /usr/bin occurs before /usr/local/bin"...<br />
<br />
To fix this, edit "/etc/paths" and change the order of the directories.<br />
<br />
On re-running "brew doctor", you should hopefully now get the message "Your system is ready to brew."<br />
<br />
4. Install "streamripper"<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">brew install streamripper</span><br />
<br />
5. Run streamripper<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">streamripper http://(your stream URL here)</span><br />
<br />
6. Play files<br />
<br />
If you want to listen to your MP3 recordings from the command-line, you can use the built-in OS X "afplay" command.<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">afplay file.mp3</span><br />
<br />
<br />
<h3>
Homebrew Notes</h3>
Here are some additional notes on homebrew.<br />
<br />
Software is installed into directories inside "/usr/local/Cellar/" with symbolic links created in "/usr/local/bin".<br />
<br />
For example, after installing "streamripper", a directory "/usr/local/Cellar/streamripper" will be created (along with some other dependencies), and a symbolic link "/usr/local/bin/streamripper" will be created which points to "../Cellar/streamripper/1.64.6/bin/streamripper"<br />
<br />
To get the latest packages and homebrew: -<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">brew update </span><br />
<br />
Upgrade the installed software with: -<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">brew upgrade</span><br />
<br />
These commands can be combined as: -<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">brew update && brew upgrade</span><br />
<div>
<br /></div>
To uninstall softeare: -<br />
<br />
<span style="background-color: #fff2cc; font-family: Courier New, Courier, monospace;">brew uninstall imagemagick</span><br />
<br />
There is a great on-line package browser here: <a href="http://braumeister.org/">http://braumeister.org/</a><br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-13492434128918555342013-02-22T10:39:00.002+00:002013-02-22T10:39:35.558+00:00Quick Wipe of Hard Drive using LinuxThis is what I have found to be the quickest way to wipe a hard drive under Linux (you can use an Ubuntu Live CD to do this).<br />
<br />
<pre>sudo shred -v -z -n 1 /dev/sda
</pre>
<br />
(where 'sda' is whatever your drive is - sda, sdb, sdc etc)<br />
<br />
The parameters used in the above example are: -<br />
<br />
<ul>
<li>-v = verbose (show progress)</li>
<li>-z = add a final overwrite with zeros</li>
<li>-n 1 = Overwrite 1 time (instead of the default of 25)</li>
</ul>
<br />
This should overwrite any sensitive data on the disk once followed by zeros. Modern hard drives shouldn't need more than one pass overwrite anyway according to <a href="http://www.infosecisland.com/blogview/16130-The-Urban-Legend-of-Multipass-Hard-Disk-Overwrite.html">this article</a>.<br />
<br />
This method is by far the fastest that I have found - some of the other methods were estimated to take 3 days to complete on a 250GB hard drive, this way only took an hour or two.<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-41193502649418202112012-12-30T21:46:00.001+00:002012-12-31T00:09:57.854+00:00Installing SL4A on Alcatel Android PhoneThe first thing to do on my new <a href="http://fintastical.blogspot.co.uk/2012/12/cheap-uk-android-phone.html">cheapo Android phone</a> is to install <a href="http://code.google.com/p/android-scripting/">Scripting Layer for Android</a> and Python on it.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmqN_KoYFmBYQSTWw57F92ANtyNWq-xVF9YXEueX84TqIoHPNUVYfTaPIsQtdf8nBkRjLckD7C2f_MOkSIOmf21TfS0D9VbiLWiqtRvvcmm1cOhAWohCATLhGhdbznGx4MWf2gPa410vy6/s1600/sl4a.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmqN_KoYFmBYQSTWw57F92ANtyNWq-xVF9YXEueX84TqIoHPNUVYfTaPIsQtdf8nBkRjLckD7C2f_MOkSIOmf21TfS0D9VbiLWiqtRvvcmm1cOhAWohCATLhGhdbznGx4MWf2gPa410vy6/s1600/sl4a.png" /></a></div>
Here's a quick guide...<br />
<br />
<a name='more'></a><br />
<b>1. Install SL4A</b><br />
<ul>
<li>Go to <a href="http://code.google.com/p/android-scripting/">this page</a> from your device and click the barcode.</li>
<ul>
<li>The file "sl4a_r6.apk" should be downloaded.</li>
</ul>
<li>Click on "Download" (you may have to go to settings to allow non-Market apps to be installed)</li>
<li>Click "Install"</li>
<ul>
<li>SL4A is now installed</li>
</ul>
</ul>
<b>2. Install Python Interpreter
</b><br />
<ul>
</ul>
<ul>
<li>Start SL4A</li>
<li>Press Menu -> View -> Interpreters</li>
<li>Press Menu -> Add</li>
<li>Select "Python 2.6.2" - this will download the necessary package</li>
<li>After the download is complete, swipe down the notificatons area and select "PythonForAndroid_r5.apk" and press "Install"</li>
<li>Once installed, you need to go to the "Python for Android" app and press the "Install" button within it.</li>
<ul>
<li>Various files will be downloaded and installed - eventually you will get the message "Installation Successful"</li>
</ul>
<li>Go back into the SL4A app and you should see "Python 2.6.2" listed as an interpreter</li>
</ul>
That's it!<br />
<br />
The <a href="http://code.google.com/p/android-scripting/wiki/ApiReference">API Reference</a> is essential, and <a href="http://www.mithril.com.au/android/doc/">this page</a> also has some useful information.<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-54483017987763567182012-12-28T21:36:00.000+00:002012-12-31T00:07:32.641+00:00Cheap UK Android PhoneI bought a cheapo Alcatel OT 983 Android phone to play with, it was only £40 from o2 on pay-as-you-go<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl9bukOdJpNV-xgNsDFDUTjS2ugk65zrA-BIegVVz66-u4cUgt-voInfcfAkbDsYaizViTDeihQnVAwqdjodMR9WAzgJvBv8UkpO_Jtn-2V5auAUmKtab0tZZWWYJn6iMARcBe-Jwwqr2K/s1600/alcatel-983.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl9bukOdJpNV-xgNsDFDUTjS2ugk65zrA-BIegVVz66-u4cUgt-voInfcfAkbDsYaizViTDeihQnVAwqdjodMR9WAzgJvBv8UkpO_Jtn-2V5auAUmKtab0tZZWWYJn6iMARcBe-Jwwqr2K/s320/alcatel-983.jpg" width="320" /></a></div>
<br />
Here are the specs...<br />
<br />
<a name='more'></a><br />
<ul>
<li>Android 2.3.7 (Gingerbread)</li>
<li>3.5" Capacitive Touch Display (320x480)</li>
<li>1Ghz CPU (Broadcom BCM21552)</li>
<li>512MB RAM</li>
<li>3 megapixel camera (but no camera flash)</li>
<li>Wi-Fi / USB / Bluetooth</li>
<li>GPS</li>
<li>3G</li>
<li>FM Radio</li>
<li>Micro-SD Slot (comes with a 2GB Card)</li>
<li>Charging by micro-USB cable (mains power supply provided)</li>
</ul>
<br />
As it comes on the o2 network, I'm going to get a giffgaff SIM card which should work fine.<br />
<br />
Hopefully I'll update this blog with some experiments and projects.<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-35539758308169438752011-07-10T17:04:00.000+01:002013-01-03T22:04:00.062+00:00Enabling mod_rewrite in Apache under Ubuntu ServerHere's some quick instructions on enabling mod_rewrite in Apache under Ubuntu 10.04 Server.<br />
<ol>
<li>sudo a2enmod rewrite</li>
<li>sudo vi /etc/apache2/sites-available/default</li>
<li>Change "AllowOverride" from "None" to "all" for the /var/www directory.</li>
<li>sudo /etc/init.d/apache2 restart</li>
</ol>
That's it!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-74222721909512733372011-05-18T23:17:00.000+01:002012-12-31T09:01:42.597+00:00Arduino with Sparkfun 7-segment Serial DisplayHere's a quick example of getting an Arduino working with a <a href="http://www.sparkfun.com/products/9765">Sparkfun 7-Segment Serial Display</a>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.sparkfun.com/products/9765"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL1A3r5C8piLs718p8GbP0paqNfBRoNESISx7q62NeZjHoxO2ZQbWKzDndvSEi8mdwblzSWB7k27YVJia7gUu-YGKYh3M2Fo270JV1pDlYc36f9O7-YIYemZ6FbYGz0GMN_wrIMddKNzR1/s320/sparkfun-7-seg-display.jpg" width="320" /></a></div>
<br />
<br />
<a name='more'></a><br />
This short example just counts up from zero to 9999.<br />
<br />
<iframe allowfullscreen="allowfullscreen" frameborder="0" height="282" mozallowfullscreen="mozallowfullscreen" src="http://player.vimeo.com/video/56340196?title=0&byline=0&portrait=0" webkitallowfullscreen="webkitallowfullscreen" width="500"></iframe>
<br />
<h2>
Connections</h2>
<ul>
<li>Arduino 5v pin to "VCC" on LED module</li>
<li>Arduino GND pin to "GND" on LED module</li>
<li>Arduino TX pin to "RX" on LED module</li>
</ul>
<h2>
Source Code</h2>
<pre class="prettyprint linenums">int i = 1;
char buf[12];
void setup() {
Serial.begin(9600);
Serial.print("v");
}
void loop() {
sprintf(buf, "%04d", i);
Serial.print(buf);
if(i < 9999) i++;
delay(1000);
</pre>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6543305550117689068.post-80370798040372719372010-11-23T00:09:00.000+00:002012-12-31T10:32:56.471+00:00Installing Peerguardian Linux on Ubuntu 10.10Here are some quick notes on how to install pgl under Ubuntu 10.10.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnWLBPl9TB0ft9wSFgyaCxC9TFS8LJPWIxlH8WcbWF396t839lJGgu_mni5f1QqHjYAk3-YjLtHn8UMAgWF2-nHgeC6Vu_GHKJBF3z1KXEqUh19qUhyphenhyphenI43UFhcXohAUiRGGEv1S02Vcvjs/s1600/PeerGuardian.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnWLBPl9TB0ft9wSFgyaCxC9TFS8LJPWIxlH8WcbWF396t839lJGgu_mni5f1QqHjYAk3-YjLtHn8UMAgWF2-nHgeC6Vu_GHKJBF3z1KXEqUh19qUhyphenhyphenI43UFhcXohAUiRGGEv1S02Vcvjs/s200/PeerGuardian.png" width="200" /></a></div>
<br />
<h2>
<a name='more'></a>1. Add the gpg key to the apt keyring </h2>
<pre class="prettyprint">gpg --keyserver keyserver.ubuntu.com --recv 9C0042C8
gpg --export --armor 9C0042C8 | sudo apt-key add -</pre>
<br />
<h2>
2. Add the repository sources to your /etc/apt/sources.list </h2>
<pre class="prettyprint">vi /etc/apt/sources.list
deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu maverick main</pre>
<br />
<div style='float: right;'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1195534433315791";
/* 336x280 Text */
google_ad_slot = "8639695759";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h2>
3. Update packages & install pgl</h2>
<pre class="prettyprint">sudo apt-get update
sudo apt-get install pgld pglcmd</pre>
(Answer the questions during installation process.)<br />
<br />
<h2>
4. To check status: -</h2>
<pre class="prettyprint">sudo pglcmd status</pre>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6543305550117689068.post-19975878803013619102010-11-23T00:04:00.000+00:002012-12-31T09:12:34.372+00:00Checking video codec information via the command-lineHere are a couple of commands to get he information about a video file in Linux (bitrate etc): -<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl7yJ2tycqW6gFgkYzMiZCDT-RebLCJM3NzhEJbHQM8XMj65EDm_gmXjlOBLlkh8zmkCany2mR4U9G9uuoQcJmKGIwILAUlr9DfS8x6BSFKdkhb-xZoKlW-qjrMZCGb-MlBqm4NKI-60zy/s1600/play_button.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="191" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl7yJ2tycqW6gFgkYzMiZCDT-RebLCJM3NzhEJbHQM8XMj65EDm_gmXjlOBLlkh8zmkCany2mR4U9G9uuoQcJmKGIwILAUlr9DfS8x6BSFKdkhb-xZoKlW-qjrMZCGb-MlBqm4NKI-60zy/s200/play_button.jpg" width="200" /></a></div>
<br />
<pre> ffmpeg -i foo.avi </pre>
<pre> mplayer -vo null -ao null -identify -frames 0 foo.avi </pre>
<pre></pre>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-62410007954657592712010-11-16T21:00:00.000+00:002012-12-31T10:28:37.211+00:00VirtualBox piix4_smbus ErrorVirtualBox 3.2.10 gives me the following error message when booting Ubuntu 10.10:-<br />
<pre class="prettyprint">piix4_smbus 0000.00.07.0: SMBus base address uninitialized - upgrade bios or use force_addr=0xaddr
</pre>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://www.virtualbox.org/"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN8onlHs9KE0bWWlFNtbdBWeJjrTUIEjdhGInBGXFmRVWDOI0K0NIH8bOBGuTYh1ANfoq43_XnsDHqkkK5tKtkCNhNcP-bqx_c5SZE8Q54F_qz2XJ1qDP8pjNSAss6SMoP0xj5V-2eeqYb/s200/Virtualbox_logo.png" width="200" /></a></div>
<br />
This error is caused by VM having no smbus but Ubuntu always trying to load the module. It doesn't affect anything but is a bit annoying - to fix...<br />
<h2>
<a name='more'></a>
<div style='float: right;'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1195534433315791";
/* 336x280 Text */
google_ad_slot = "8639695759";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
1. Check module is being loaded</h2>
<pre class="prettyprint">lsmod | grep i2c_piix4
</pre>
<br />
<h2>
2. If so, blacklist it in /etc/modprobe.d/blacklist.conf, by adding the following to the end of the file:- </h2>
<pre class="prettyprint">blacklist i2c_piix4</pre>
<br />
<h2>
3. Update the initramfs </h2>
<pre class="prettyprint">update-initramfs -u -k all</pre>
<br />Unknownnoreply@blogger.com46tag:blogger.com,1999:blog-6543305550117689068.post-112722863909538922010-10-29T22:44:00.000+01:002012-12-31T00:11:30.974+00:00Serial connection to Seagate Dockstar via FTDI USB-Serial CableHere's a quick summary of how to use a FTDI data cable to connect to a Seagate Dockstar.<br />
<h2>
<a name='more'></a>Requirements</h2>
<ul>
<li>Xbox 360 DVD power cable ( <a href="http://www.dealextreme.com/details.dx/sku.42313">http://www.dealextreme.com/details.dx/sku.42313</a> )</li>
<li>Strip of 5 male header pins ( <a href="http://www.oomlout.co.uk/male-header-36-pin-x4-p-254.html">http://www.oomlout.co.uk/male-header-36-pin-x4-p-254.html</a> )</li>
<li>FTDI USB-Serial cable ( <a href="http://www.oomlout.co.uk/usb-serial-cable-33v-p-232.html">http://www.oomlout.co.uk/usb-serial-cable-33v-p-232.html</a> )</li>
</ul>
<br />
<h2>
Making the Connector</h2>
<ol>
<li>Cut the cable of the Xbox power connector in half.</li>
<li>You're interested in the 3 pins at the top left (looking from behind), so seperate these and strip them.</li>
<li>Snap a strip of male header pins so that you have 5 pins. Remove pins #2 and #3</li>
<li>Solder the top left-most pin (GND) to header pin #1</li>
<li>Solder the top next pin (TX) to pin #5</li>
<li>Solder the top third pin (RX) to pin #4</li>
</ol>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBxSJEDfps0MsblSAM8FuiHQGvjLm1TBfZkOQ2oBa1IyoBY663f1gDQbbeagNTMBRQo2FApr29wnrGVIbCS1muGQE27gYTKI-O3ZXgddp4GOWDA8REfEwnBvKnfJaED4-6lPkdpHMbJErC/s1600/dockstar_connector_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBxSJEDfps0MsblSAM8FuiHQGvjLm1TBfZkOQ2oBa1IyoBY663f1gDQbbeagNTMBRQo2FApr29wnrGVIbCS1muGQE27gYTKI-O3ZXgddp4GOWDA8REfEwnBvKnfJaED4-6lPkdpHMbJErC/s1600/dockstar_connector_1.jpg" /></a></div>
<br />
<h2>
Connecting</h2>
<ol>
<li>Plug pin #1 of the header pins into the socket to connect to the black cable of the USB-serial cable<br />(this will mean that pin #4 goes to the orange, and #5 to yellow)</li>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZk9HO79t26A_-ber7_6ZpH08fo_b1oTOEKkLTDlf7NsS3-8IzxJ5Nx26_trWpSD-kMq6J5M9QQi7rqU8s-3RPPJugFcE3DJbGRgdtQEGO_rnkq3_jvbuQgSv_ClU6QZMy4lnq789drUV5/s1600/dockstar_connector_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZk9HO79t26A_-ber7_6ZpH08fo_b1oTOEKkLTDlf7NsS3-8IzxJ5Nx26_trWpSD-kMq6J5M9QQi7rqU8s-3RPPJugFcE3DJbGRgdtQEGO_rnkq3_jvbuQgSv_ClU6QZMy4lnq789drUV5/s320/dockstar_connector_2.jpg" width="320" /></a></div>
<li>Open your dockstar and plug the xbox connector onto the header pins (if you orientate your dockstar so the header pins are at<br />the top, the xbox top-left wire connects to the dockstar top-left pin)</li>
<br />
<li>Plug in your USB-serial cable to your PC</li>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGBrv2zYPxdxTOYd0wJjGGXXj0NwRb2A9u6MnirMSXLEovGfkt9gBvYSBnoUzCRLsD7S0v_Fhr7OkYFHhwPArshR8_fr_A_RBUjKEJtpFTw1e7IVDOC0RdiqDNhfzTSbGVkGgNYAHtZZ05/s1600/dockstar_connector_3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGBrv2zYPxdxTOYd0wJjGGXXj0NwRb2A9u6MnirMSXLEovGfkt9gBvYSBnoUzCRLsD7S0v_Fhr7OkYFHhwPArshR8_fr_A_RBUjKEJtpFTw1e7IVDOC0RdiqDNhfzTSbGVkGgNYAHtZZ05/s320/dockstar_connector_3.jpg" width="320" /></a></div>
<li>Open putty and use the following connection settings: -<br /><code> Serial<br />Serial line: COM5 (or whatever COM port the USB-serial adapter has)<br />Speed: 115200<br />Data bits: 8<br />Stop bits: 1<br />Parity: none<br />Flow control: none</code></li>
<br />
<li>Click "Open" in putty</li>
<br />
<li>Power up the Dockstar</li>
<br />
<li>Watch the putty window - the boot-up messages should appear.</li>
</ol>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6543305550117689068.post-17895726287401135382010-10-29T21:21:00.000+01:002012-12-31T00:12:28.940+00:00Connecting an Arduino to a Seagate DockstarHere's a quick summary of how to connect your arduino to a Seagate Dockstar.<br />
<h1>
<a name='more'></a>Checking connection</h1>
<br />
1. Install Plugbox Linux on the Dockstar (via <a href="http://plugapps.com/index.php5?title=PlugApps:Pogoplug_Setboot">http://plugapps.com/index.php5?title=PlugApps:Pogoplug_Setboot</a> )<br />
<br />
2. Plug in arduino to Dockstar via USB cable<br />
<br />
3. Check arduino recognised<br />
<br />
<code>[root@Plugbox ~]# dmesg</code><br />
The bottom lines should look something like: -<br />
<br />
<code>[ 126.200168] usb 1-1.3: new full speed USB device using orion-ehci and address 4<br />[ 126.382290] usbcore: registered new interface driver usbserial<br />[ 126.382974] USB Serial support registered for generic<br />[ 126.383709] usbcore: registered new interface driver usbserial_generic<br />[ 126.383722] usbserial: USB Serial Driver core<br />[ 126.401088] USB Serial support registered for FTDI USB Serial Device<br />[ 126.401283] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected<br />[ 126.401569] usb 1-1.3: Detected FT232RL<br />[ 126.401582] usb 1-1.3: Number of endpoints 2<br />[ 126.401592] usb 1-1.3: Endpoint 1 MaxPacketSize 64<br />[ 126.401601] usb 1-1.3: Endpoint 2 MaxPacketSize 64<br />[ 126.401610] usb 1-1.3: Setting MaxPacketSize 64<br />[ 126.402330] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0<br />[ 126.403067] usbcore: registered new interface driver ftdi_sio<br />[ 126.403080] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver</code><br />
<br />
4. Check which device to use<br />
<br />
<code>[root@Plugbox ~]# ls -ltr /dev/ttyU*<br />crw-rw---- 1 root uucp 188, 0 Oct 29 13:17 /dev/ttyUSB0</code><br />
<h1>
Communication via Command Line</h1>
<br />
1. Configure serial port (taken from <a href="http://www.arduino.cc/playground/Interfacing/LinuxTTY">http://www.arduino.cc/playground/Interfacing/LinuxTTY</a>)<br />
<br />
<code>[root@Plugbox ~]# stty -F /dev/ttyUSB0 cs8 19200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts</code><br />
(19200 should match the baud rate set via Serial.begin(XXXX) in the arduino program)<br />
<br />
2. Read data from arduino: -<br />
<br />
<code>[root@Plugbox ~]# cat /dev/ttyUSB0</code><br />
3. Send data to arduino: -<br />
<br />
<code>[root@Plugbox ~]# echo "Hello Arduino" > /dev/ttyUSB0</code><br />
<h1>
Communication via Minicom</h1>
<br />
1. Install minicom<br />
<br />
<code>[root@Plugbox ~]# pacman -Sy minicom</code><br />
2. Fire up minicom<br />
<br />
<code>[root@Plugbox ~]# minicom -D /dev/ttyUSB0 -b 19200</code>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-11875633508152829802010-02-14T21:58:00.000+00:002012-12-31T00:13:26.903+00:00Creating EFI String for Asus 8400GS SilentThere are a number of ways of getting your graphics card working within OS X (in order of difficulty) : -<br />
<ul>
<li>Adding "GraphicsEnabler=Yes" to Chameleon /Extra/com.apple.Boot.plist</li>
<li>Adding EFI string to Chameleon /Extra/com.apple.Boot.plist</li>
<li>Using an injector such as NVInject or NVEnabler</li>
<li>Patching your DSDT file</li>
</ul>
The first one didn't work for my Asus Silent EN8400GS, so here's how I generated and added an EFI string.<br />
<br />
<a name='more'></a>First, install "<a href="http://forum.netkas.org/index.php/topic,64.0.html">gfxutil</a>"<br />
Next, get the location of your graphics card by entering the following: -<br />
<pre>gfxutil -f display
</pre>
You should get something back like this: -<br />
<pre>DevicePath = PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)
</pre>
Next, create a file called "graphics.plist" which is the following (but put your settings in): -<br />
<script src="https://gist.github.com/4405825.js"></script>
<br />
Next you need to generate a hex string to be inserted - run the following command: -
<br />
<pre>gfxutil -i xml -o hex graphics.plist graphics.hex
</pre>
This will create a "graphics.hex" file in the current directory.<br />
Lastly, copy and paste this string into your /Extra/com.apple.Boot.plist file in the following format: -<br />
<pre><key>device-properties</key>
<string>640200000100000001000000580200000d00000002010c00d041030a010000000101060000010101060000007fff04001e00000072006f006d002d007200650076006900730069006f006e000000270000006e5669646961204765666f72636520383430304753204f70656e474c20456e67696e6522000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000004e00560043004100500000001800000004000000000003000400000000000007000000000e0000006e0061006d00650000000b000000646973706c617914000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d41100000006d006f00640065006c000000190000006e5669646961204765666f726365203834303047530e0000004e00560050004d000000200000000100000000000000000000000000000000000000000000000000000014000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4220000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163220000005600520041004d002c0074006f00740061006c00730069007a0065000000080000000000002020000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616322000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c61791c0000006400650076006900630065005f00740079007000650000000f0000004e5644412c506172656e74</string></pre>
Reboot and voila! You should have Quartz Extreme (QI) and Core Image (CI) enabled - open up Front Row, if it works then you're done!Unknownnoreply@blogger.com13tag:blogger.com,1999:blog-6543305550117689068.post-46814185977300555832010-01-23T15:56:00.000+00:002012-12-31T00:14:17.428+00:00Sub-£200 HackintoshHere are the specs of my soon-to-be-built hackintosh...<br />
<div style="padding-left: 30px;">
<span style="color: purple;"></span></div>
<a name='more'></a><span style="color: purple;">Gigabyte GA-G31M-ES2L iG31 Socket 775 mATX Motherboard<br />Manuf Code: GA-G31M-ES2L<br /><a href="http://www.ebuyer.com/product/152225">£ 32.35</a></span><br /><br /><br />
<div style="padding-left: 30px;">
<span style="color: purple;">Intel Celeron Dual Core CPU - E1500 2.2 GHz (800 MHz) Socket 775 512kb Cache<br />Manuf Code: BX80557E1500<br /><a href="http://www.ebuyer.com/product/165381"> £ 34.63</a></span><br /></div>
<div style="padding-left: 30px;">
<span style="color: purple;">Asus 8400GS Silent 512MB DDR2 DVI VGA Out PCI-E Graphics Card<br />Manuf Code: 8400GSILENTP512MA<br /><a href="http://www.ebuyer.com/product/174131">£24.86</a></span><br /></div>
<div style="padding-left: 30px;">
<span style="color: purple;">Crucial 2GB DDR2 800MHz/PC2-6400 RAM<br />Manuf Code: CT25664AA800<br /><a href="http://www.ebuyer.com/product/142399"> £ 34.00</a></span><br /></div>
<div style="padding-left: 30px;">
<span style="color: purple;">Shiny Piano Black/Silver Slim MicroATX Mini Tower Case With 400W PSU<br />Manuf Code: 908BL<br /><a href="http://www.ebuyer.com/product/134832"> £ 31.05</a></span><br /></div>
<div style="padding-left: 30px;">
<span style="color: purple;">Netgear GA311 PCI Network Card<br />Manuf Code: GA311-100PES<br /><a href="http://www.ebuyer.com/product/60013"> £ 16.49</a></span><br /></div>
<div style="padding-left: 30px;">
<span style="color: purple;">Sony AD-5240S 24x Dual Layer SATA DVD±RW<br />Manuf Code: AD-5240S-0B<br /><a href="http://www.ebuyer.com/product/170014"> £ 15.30</a></span></div>
<div style="padding-left: 30px;">
<strong><span style="color: purple;">TOTAL : £ 188.68</span></strong></div>
<br /><br />Ok, I've cheated a little bit - I already had an old 80GB SATA Hard Drive which I will use for this PC, but they can be picked up for around a tenner on ebay...<br />
<br />
<br />
<br />
<br />
<br />
Unknownnoreply@blogger.com7tag:blogger.com,1999:blog-6543305550117689068.post-41757784038763896702010-01-10T12:49:00.000+00:002012-12-31T09:07:21.216+00:00Installing Torrentflux on the Viglen MPC-LThis is a quick guide to installing Torrentflux on my Viglen MPC-L.<br />
<br />
<a name='more'></a>First, make sure that python, mysql-server and mysql-client are installed.<br />
<br />
Then simply install the software with apt-get: -<br />
<pre> sudo apt-get install torrentflux</pre>
<br />
Once it is installed, point your web browser at the following location (where a.b.c.d is the IP address of your Viglen).: -<br />
<br />
http://a.b.c.d/torrentflux<br />
<br />
...and then start uploading .torrent files to it.<br />
<br />
By default, files are saved in the following location: -<br />
<pre> /var/cache/torrentflux/</pre>
<br />
By default, the ports used are 49160- 49300, so remember to open these on your firewall/router.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-26571689214804329552010-01-06T19:04:00.000+00:002012-12-26T11:37:16.190+00:00Pictures of Hard Drive Swap in RevoHere are some pictures of swapping the hard drive in my Acer Aspire Revo.<br/><br/>[gallery link="file" columns="2" orderby="title"]Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-1944649443345167902010-01-02T13:49:00.000+00:002012-12-31T09:18:57.822+00:00Windows 7 and Samba SharesThis is a quick guide to setting up Samba file sharing on my Viglen MPC-L server which is running Ubuntu 8.04.3 LTS. The client is a Windows 7 machine – no changes to the registry or local security policy were needed. The following applies to the version of samba from the repositories - smbd version 3.0.28a.<br />
<h2>
<strong><a name='more'></a>1. </strong><strong>Install Samba</strong></h2>
<br />
<pre>sudo apt-get install samba smbfs</pre>
<br />
<h2>
<strong>2. </strong><strong>Edit Samba Configuration File</strong></h2>
<br />
Find the line which is commented out - “; security=user” and change it to: -<br />
<pre>security = user</pre>
<br />
<pre>username map = /etc/samba/smbusers</pre>
<br />
Find the line “encrypt passwords = no” and change it to “encrypt passwords = true”<br />
<br />
Add a section for each share that you want to be available: -<br />
<pre>[data]</pre>
<br />
<pre>browseable = yes</pre>
<br />
<pre>comment = Data</pre>
<br />
<pre>path = /data</pre>
<br />
<pre>force user = viglen</pre>
<br />
<pre>force group = users</pre>
<br />
<pre>read only = No</pre>
<br />
<pre>guest ok = Yes</pre>
<br />
<strong> </strong><br />
<h2>
<strong>3. </strong><strong>Add “smbusers” file</strong></h2>
<br />
A new file is now needed to map smb users onto local linux users. Create the file: -<br />
<pre>sudo vi /etc/samba/smbusers</pre>
<br />
and add the following to it: -<br />
<pre>viglen = "viglen"</pre>
<br />
<h2>
<strong>4. </strong><strong>Change SMB Password for user</strong></h2>
<br />
Set a password for the viglen smb user by running the following command: -<br />
<pre>sudo smbpasswd viglen</pre>
<br />
<h2>
<strong>5. </strong><strong>Restart Samba</strong></h2>
<br />
<pre>sudo /etc/init.d/samba restart</pre>
<br />
<h2>
<strong>6. </strong><strong>Test Connection from Windows</strong></h2>
<br />
Open a windows command prompt (Start -> cmd) and enter the following command (with the correct IP address and password)<br />
<pre>net use q: \\aaa.bbb.ccc.ddd\data password /user:viglen</pre>
<br />
You should get a message “The command completed successfully.”, and Q: should be accessible through Windows Explorer etc.<br />
<br />
To remove the share, enter the following command: -<br />
<pre>net use /d q:</pre>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-31826817184911594482009-11-12T01:03:00.000+00:002012-12-31T09:14:51.086+00:00Netgear DGN2000 with o2 LLU BroadbandHere are the settings for if you want to replace the standard o2 Thomson modem/router with the Netgear DGN2000. These should be entered into the web interface.<br />
<h3>
<a name='more'></a>Setup / Basic Settings</h3>
<br />
Does Your Internet Connection Require A Login? No<br />
Account Name: Blank<br />
Domain Name: Blank<br />
Internet IP Address: Get Dynamically From ISP (If you have a static IP address, enter it here).<br />
Domain Name Server (DNS) Address: Get Automatically From ISP (I'm actually using the OpenDNS servers, so I have entered 208.67.222.222 and 208.67.220.220)<br />
NAT (Network Address Translation): Enable<br />
Router MAC Address: Use Default Address<br />
<h3>
Setup / ADSL Settings</h3>
<br />
Multiplexing Method: LLC-based<br />
VPI: 0<br />
VCI: 101<br />
<h1>
Routing Issues</h1>
<br />
Unfortunately, I suffered intermittent routing issues - other users have reported similar issues in <a href="http://forum.o2.co.uk/viewtopic.php?t=22311">this thread</a>.<br />
<br />
Thanks to wilderbeastie, there is a workaround detailed <a href="http://forum.o2.co.uk/viewtopic.php?p=140379#140379">here</a>:<br />
<h2>
Option One</h2>
<br />
1. Enable telnet access in the router.<br />
<br />
http://192.168.0.1/setup.cgi?todo=debug<br />
<br />
2. Login via telnet to 192.168.0.1 (via putty or the command line)<br />
<br />
3. Run the following command: -<br />
<br />
"echo 0 > /proc/sys/net/ipv4/neigh/nas0/ucast_solicit"<br />
<br />
This setting doesn't survive a reboot so needs re-applying every time.<br />
<br />
If you suffer loss of routing, this procedure also seems to restore it (i.e. you shouldn't need to reboot first).<br />
<h2>
Option Two</h2>
<br />
This is exactly the same fix as detailed in option one but the command is inside the following link - all you need to do is copy & paste (all one line) into your browser and enter the username and password: -<br />
<br />
http://192.168.0.1/setup.cgi?todo=ping_test&c4_IPAddr=%26/bin/echo%200%20%3E/proc/sys/net/ipv4/neigh/nas0/ucast_solicit<br />
<br />
Again, this fix doesn't survive a reboot.<br />
<h2>
Option Three</h2>
<br />
James from ADSL24 has patched the standard firmware to run the relevant commands on startup of the router.<br />
<br />
The downloads are <a href="http://adsl24.co.uk/forum/showthread.php?t=7628">here</a>.<br />
<br />
This method will survive a reboot.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-15085752453465292902009-11-01T12:26:00.000+00:002012-12-26T11:37:16.181+00:00Accessing ADSL Line Stats from o2 Wireless Box IIII can't find any easy way to access ADSL line stats through the o2-supplied "Wireless Box III" (a Thomson TG585n).<br/><br/>The only way that I could access them is by using <a href="http://192.168.1.254/cgi/b/dsl/dt/?ce=1&be=0&l0=1&l1=0">this link</a>.<br/><br/>Once you've got them, you can copy them into a stats checker such as <a href="http://adsl.tin2tin.net/"> this one</a>.<br/><br/>This should all work with the standard "Administrator" user (no password), other functionality is available with the SuperUser user - password default is "O2Br0ad64nd".Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-55704889253420461682009-07-14T00:06:00.000+01:002012-12-31T00:17:29.981+00:00Writing Python with PSPad<br />
<a href="http://www.pspad.com/"> PSPad </a> is a great editor for programmers. Instead of using a dedicated Python IDE, PSPad can be tweaked to compile and run scripts directly. Here's how...<br />
<br />
<a name='more'></a><br /><br />
<ul>
<li> Go to Settings -> Highlighters Settings</li>
<li> Select "Python" in the left hand pane (if its not selected already)</li>
<li> Select the "Compiler" tab</li>
<li> In the "compiler" text box, enter or browse to the location of the Python compiler (e.g. C:\Program Files\Python26\python.exe)</li>
<li> In the "parameters" text box, enter "%File%" (note the double quotes)</li>
<li> Put a tick box in the "Capture Program Output Window" option</li>
<li> In the "LOG parser" text box, enter *file %F *line %L*</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwGRND52CV1tCqFUWRmsfJTA43eXc6cJ8F_GM2Dn0XRdtQ0nI5_mEs3vR4JBiHJuPeIOnkokJFi-bejRHQ9JX_7EV_B6SdcZFtEtVrXB-Uj4n-COpUSWfDyKwxmyldKiToXXsYrao_D24r/s1600/pspad_python.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwGRND52CV1tCqFUWRmsfJTA43eXc6cJ8F_GM2Dn0XRdtQ0nI5_mEs3vR4JBiHJuPeIOnkokJFi-bejRHQ9JX_7EV_B6SdcZFtEtVrXB-Uj4n-COpUSWfDyKwxmyldKiToXXsYrao_D24r/s1600/pspad_python.gif" /></a></div>
<br />
Once this is set up correctly, you will be able to run .py files directly from PSPad by going to File -> Compile or using the shortcut (Ctrl+F9). Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6543305550117689068.post-18976096015935175212009-07-08T22:20:00.000+01:002012-12-31T09:18:57.820+00:00Updating twitter from pythonJust looking into posting twitter updates from python. I've found three methods so far: -<br />
<ul>
<li> <a href="http://mike.verdone.ca/twitter/"> Python Twitter Tools</a></li>
<li> <a href="http://code.google.com/p/python-twitter/"> python-twitter</a></li>
<li> <a href="http://www.commandlinefu.com/commands/view/176/update-twitter-via-curl"> Command-line via Curl </a> (can possible do with urllib)</li>
</ul>
Hmmm, more investigation required...Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6543305550117689068.post-62981737250431992242009-07-07T23:25:00.000+01:002012-12-31T00:19:24.980+00:00Upgrading Memory in Acer RevoHere are some quick instructions on upgrading the memory in an Acer Aspire Revo PC.<br />
<br />
<a name='more'></a><br /><br />
<br />
<br />Unscrew the screw in the case (its where the stand goes). This will void your<br />warranty as you have to break the seal of the sticker.<br />
<br />
<br />
<br />Gently prise the case apart - you will need a knife or something similar to <br />stick between the two sides. Once you have wiggled it a bit, you should be able to pull the top off - just be careful.<br />
<br />
<br />
It's fairly obvious where the RAM goes: - <br />
<br />
<br />
<br />Plug in the RAM module - it goes in at a slight angle - make sure it goes all the way in before locking it in place - the clips should go over the tabs at the side.<br />
<br />
<br />
Here's what it looks like with the RAM installed: - <br />
<br />
<br />
Then re-assemble the case. Unknownnoreply@blogger.com0