Archive for the ‘Hardware’ Category

Will Froyo bring 802.11n to HTC Desire?

Tuesday, June 29th, 2010

I’ve read lots of release information about the upcoming Android 2.2 release Froyo which has now started to roll out to the Google Nexus One and I’m wondering if it will bring 802.11n to the HTC Desire.

People have managed to hack a kernel together for the HTC Desire and get 802.11n already, I just hope it comes officially with Froyo. And soon…

Got a New Server

Thursday, April 15th, 2010

It’s a RackMount HP DL140. It’s quite noisy, so I’ll need to work on making it quieter, and it uses considerably more juice then my old desktop server, which is to be expected.

Here is the nbench output though:

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          1028.5  :      26.38  :       8.66
STRING SORT         :           101.8  :      45.49  :       7.04
BITFIELD            :      5.0336e+08  :      86.34  :      18.04
FP EMULATION        :          166.17  :      79.74  :      18.40
FOURIER             :           18412  :      20.94  :      11.76
ASSIGNMENT          :          36.077  :     137.28  :      35.61
IDEA                :          3586.6  :      54.86  :      16.29
HUFFMAN             :          1614.8  :      44.78  :      14.30
NEURAL NET          :          27.837  :      44.72  :      18.81
LU DECOMPOSITION    :          1252.3  :      64.88  :      46.85
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 59.957
FLOATING-POINT INDEX: 39.310
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : 4 CPU GenuineIntel Intel(R) Xeon(TM) CPU 3.06GHz 3066MHz
L2 Cache            : 512 KB
OS                  : Linux 2.6.18-164.15.1.el5
C compiler          : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
libc                : libc-2.5.so
MEMORY INDEX        : 16.536
INTEGER INDEX       : 13.880
FLOATING-POINT INDEX: 21.803
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

It’s only 1U so it sits easily under my spare bed. Now the big question is, what can I do with it now I have 2x 3GHz processors running in Hyperthreading mode :)

Sheeva Plug Server Migration?

Thursday, March 4th, 2010

So, I’m back onto looking at an alternative to my old P3 based server.

I wanted to know the hardware specs of the Sheeva CPU though as even though its 1.2GHz I don’t think its going to be as fast, so I thought I’d check.

I found a page online:
(http://computingplugs.com/index.php/SheevaPlug_Performance)

I had some problems compiling nbench on my desktop, so I had a look around and found one result which helped, it was in Danish, but essentially I had to change this line in the Makefile:

# generic options for gcc
CFLAGS = -s -static -Wall -O3

to this:

# generic options for gcc
CFLAGS = -s -Wall -O3

then ran make and it was fine.

Here are the results from nbench on my server:

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          381.96  :       9.80  :       3.22
STRING SORT         :          35.155  :      15.71  :       2.43
BITFIELD            :      1.3172e+08  :      22.59  :       4.72
FP EMULATION        :          46.504  :      22.31  :       5.15
FOURIER             :          7791.5  :       8.86  :       4.98
ASSIGNMENT          :          7.2354  :      27.53  :       7.14
IDEA                :          1442.2  :      22.06  :       6.55
HUFFMAN             :          483.19  :      13.40  :       4.28
NEURAL NET          :          9.0077  :      14.47  :       6.09
LU DECOMPOSITION    :          364.16  :      18.87  :      13.62
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 18.079
FLOATING-POINT INDEX: 13.424
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : GenuineIntel Pentium III (Coppermine) 797MHz
L2 Cache            : 256 KB
OS                  : Linux 2.6.18-164.11.1.el5
C compiler          : gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
libc                : libc-2.5.so
MEMORY INDEX        : 4.343
INTEGER INDEX       : 4.642
FLOATING-POINT INDEX: 7.445
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

Here are the reults from nbench on my desktop:

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          1270.6  :      32.59  :      10.70
STRING SORT         :             276  :     123.32  :      19.09
BITFIELD            :      5.0967e+08  :      87.43  :      18.26
FP EMULATION        :             276  :     132.44  :      30.56
FOURIER             :           26984  :      30.69  :      17.24
ASSIGNMENT          :          35.888  :     136.56  :      35.42
IDEA                :          7378.1  :     112.85  :      33.50
HUFFMAN             :          2718.9  :      75.40  :      24.08
NEURAL NET          :           56.11  :      90.14  :      37.91
LU DECOMPOSITION    :            1779  :      92.16  :      66.55
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 91.588
FLOATING-POINT INDEX: 63.406
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 : Dual GenuineIntel Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz 2667MHz
L2 Cache            : 4096 KB
OS                  : Linux 2.6.31.9-174.fc12.x86_64
C compiler          : gcc version 4.4.2 20091222 (Red Hat 4.4.2-20) (GCC)
libc                :
MEMORY INDEX        : 23.113
INTEGER INDEX       : 22.663
FLOATING-POINT INDEX: 35.167
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

Here are the results from nbench on the Sheeva Plug:

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          309.72  :       7.94  :       2.61
STRING SORT         :          36.102  :      16.13  :       2.50
BITFIELD            :      9.8289e+07  :      16.86  :       3.52
FP EMULATION        :          71.075  :      34.10  :       7.87
FOURIER             :          356.63  :       0.41  :       0.23
ASSIGNMENT          :           4.207  :      16.01  :       4.15
IDEA                :          1146.3  :      17.53  :       5.21
HUFFMAN             :          452.41  :      12.55  :       4.01
NEURAL NET          :         0.49636  :       0.80  :       0.34
LU DECOMPOSITION    :          16.116  :       0.83  :       0.60
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 15.922
FLOATING-POINT INDEX: 0.646
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU                 :
L2 Cache            :
OS                  : Linux 2.6.30-rc1-00002-g1758996
C compiler          : gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
libc                : libc-2.9.so
MEMORY INDEX        : 3.317
INTEGER INDEX       : 4.549
FLOATING-POINT INDEX: 0.358
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

I’m now not so sure if it’s worth upgrading. I’ll have to look into other factors. On the site above which benchmarked the SheevaPlug they state:

“From nbench’s website, the Sheeva Plug falls somewhere around a P3 800Mhz range.”

which is exactly what I’m running in my current Compaq DeskPro Server.

Finally! We have Router Access

Sunday, June 28th, 2009

I just managed to login to my girlfriends router, its the famed Thomson TG585v7 and I tried every username and password combination I could think of, and I didn’t want to reset the router.

So, what was the combination?

After looking on the Tiscali forums I found the solution:

They referenced this:

http://www.plus.net/support/broadband/hardware/t585v7.shtml

That had the key, the serial number off the bottom of the router. I had tried the WPA key but didn’t think to try the serial. Anyway, I am in. W00t!

Linksys Router and Firefox Certificate Problem

Tuesday, April 21st, 2009

I recently moved my Linksys WAG54GS router from plain http to https access for its maintenance page. Even though I only have it accessible internally I like to be as secure as possible and given this was an easy fix I just did it.

Today I got these errors in Firefox 3.0.8:

Pop Up

Firefox Pop Up

Alert

Firefox Alert

So, I assumed that the certificate had became broken or changed in some way. So I delved into the Certificates area of my Firefox (Edit -> Preferences -> Advanced -> Encryption -> View Certificates) and I deleted the one for my router, easy to spot as it had its IP address listed.

Certificate Manager

Firefox Certificate Manager

I tried again, nothing, same error. I closed and reopened Firefox. Same error.

The solution for this one in particular is that there is also a Security Device certificate installed in the Authorities section listed as Cisco Linksys. Once I deleted this one it then gave me the normal screen as if I’d never connected to my router before.

Certificate Authority Manager

Firefox Certificate Authority Manager

The recommendation from Mozilla regarding this is here *Mozilla*

HRP-4C Fashion Robot runs Linux

Saturday, March 21st, 2009

Pretty cool, I first heard about this robot on Radio 1 of all places, not knowing then that it runs a tinkered with version of the real time Linux Kernel.

The one problem I have with the robots, is why do they always walk like they’re busting for the toilet?

Network Printing with CUPS

Sunday, November 16th, 2008

I’ve recently upgraded my network, I moved my server downstairs using a Belkin F5D7330uk, installed a new ultra quiet hard drive from Seagate (ST3250820ACE) which is very quiet and is possibly my best buy of the year and I’d reinstalled moving from Debian Etch to CentOS 5.2.

So, all that was moved downstairs, along with my printer and I wanted to get printing networked.

The problem I had last time was I was trying to get it working through Samba, too hard that way, I was redirecting files all over the place, there is an easier way.

The printer I have is an old Kyocera FS-1750 laser printer connected via Parallel port to LPT1 on my server which is an old Compaq DeskPro PC.

Here’s how I did it:

Install cups on your server, in my case its called falcon:

yum install cups

Once installed start it:

service cups start

Using my desktop machine “tie” I redirected port 5555 to port 631 (cups admin port) on falcon:

ssh -L 5555:falcon:631 user@falcon

Using tie, my desktop PC, I opened up firefox and entered the url:

127.0.0.1:5555

This then redirects the input to the connection you’ve got to your server using ssh so keep that terminal open, this is an effective method and I often use it to redirect to routers home pages or internal network devices on remote sites which I don’t want forwarded for all and sundry through the router.

This will then prompt you with the CUPs admin page:

CUPS Admin Web Interface

Once there click on administration and tick the box which says “Share published printers connected to this system” you might also want to tick the box which says “Allow remote administration” but I had some timeout issues with it so for the purposes of this guide I’ll continue to use the port forwarding method.

Once you have those boxes checked click the Change Settings button:

CUPS Tickboxes

You should then be prompted for your root username and password for your server. Enter these and press OK to continue. Cups should then restart..

Now the environment is prepared you can start to add a printer to your server.

From the CUPS admin webpage click on Home then click the Add Printer button in the middle, CUPS will then ask you to name your printer, I chose kyocera considering I don’t have another one, then if you like you can add a location and description in the fields provided:

Add Printer1

Click Continue, you will then be asked to choose the device for your printer, in my case its LPT #1:

Add Printer2

Click continue.

On the next page choose your manufacturer, again in my case Kyocera, not Kyocera Mita then click continue and choose your model. I went for Kyocera FS-1750 (en) then click Add Printer.

Cups should then successfully add your printer for you, you should see this in the printers tab.

Whilst on the printers tab it would be worth checking that the printer is set to be published, if you followed this guide in the correct order it should only say “Unpublish Printer” which is the opposite of what you want to do so don’t click it.

Now comes the part of adding the printer to you various clients, in my case a Windows XP virtual machine and my Fedora 10 desktop aka tie.

To add the printer to Fedora 10 it was simple, so simple in fact that I just went to System -> Administration -> Printing and it had appeared. Now I’m not sure if this will be the case for everyone so incase you need to add it manually from the Printing window click New -> Printer and choose IPP (Internet Printing Protocol) then input the IP address or name of the print server in the Host: box and click Find Queue, it should find your printer in there, if not in Queue type /printers/{printername} so mine would be /printers/kyocera press verify for good measure.

This all worked for me, if you have problems then check things like your firewall on your server to ensure that you are allowing the correct port through, 631.

Adding the printer to Windows is just as simple:

Click on Start
Printers and Faxes
Add a Printer -> Next
A network printer or printer attached to another computer -> Next
Connect to a printer on the internet or on a home office network and enter the URL: http://{server}/printers/{printer name} so in my case http://falcon:631/printers/kyocera -> Next
It will then prompt you to install a driver, check to see if the correct one is listed, if not download the correct one for your printer -> click OK and that should be it.

It’s always worth printing a test page to ensure everything has gone as planned.

Hopefully you followed that and now have network printing no your devices.

Got Wind?

Monday, October 6th, 2008

MSI Wind

MSI Wind laptops have more returned running Linux then Windows…

Well, according to their U.S. Director of Sales Andy Tung he is saying that there are upto 4 times more MSI winds returned that are running Linux then the equivalent Windows XP version.

His suspicions are that:

“People would love to pay $299 or $399 but they don’t know what they get until they open the box. They start playing around with Linux and start realizing that it’s not what they are used to. They don’t want to spend time to learn it so they bring it back to the store.”

What I would like to know is what this is based on, I doubt all of these people return the laptop and get the same but Windows XP version. I suspect that some of them don’t go for an MSI offering at all, and maybe they opt for an ASUS EeePC, who knows but without more information we will never know. It’s a very bad statistic to release without backing it up with other information.

More on the Elonex Onet+

Sunday, October 5th, 2008

OneT+

I used the telnetd running on the Elonex Onet to grab some more information from it, its not much at the moment but its all I could get at the time.

Next time I have access to the Elonex Onet+ I’ll let you know, its leant out to a friend of my girlfriends at the moment.

Heres what I got:

Elonex Onet+ Info

$uname -a
Linux (none) 2.4.20-celf3 #1 2008 08 18 17:51:52 HKT mips unknown

/proc $ cat cpuinfo
system type : JzRISC
processor : 0
cpu model : V4.15
BogoMIPS : 335.05
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes
VCED exceptions : not available
VCEI exceptions : not available

Elonex Onet+

Wednesday, September 10th, 2008

Elonex Onet+ Laptop

I’ve finally received my Elonex Onet+ laptop. It was originally going to just be a One laptop but they offered me a free upgrade, so I took it.

Its specs are pretty basic, something like a 400mhz processor, 1GB storage space.

When I first opened it, the build quality was apparent that its less then A class. It feels cheap and light. But, on the other hand, it was cheap, and it is light. Its much lighter then my EeePC.

Another thing that I noticed is that it doesn’t look like its intended to be upgraded. So much so that you can’t even eject the battery. Its just inside a plastic cover with screws over it. I wouldn’t be surprised if inside the RAM is soldered straight onto the motherboard too.

Check out the pictures of it here: Unboxing the Elonex Onet+ PC

Its all pretty standard. Worth the £110 I paid for it though, even if it is just for accessing the internet.