• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1]
1  General Category / Application ideas and development Q/A / Re: truecrypt compilation problem on: November 22, 2010, 09:40:33 PM
Once you've done it the first time its not a challenge, however the combination of an old Ubuntu 9.04 and the Sheevaplug makes for some wrinkles.

So
Code:
# Get the sourcecode for Truectypt off their website, here assume called Source.tar.gz
tar -xvzf Source.tar.gz
wget http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.11.tar.gz
tar -xvf wxWidgets-2.8.11.tar.gz
cd truecrypt-7.0a-source
wget 'ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h'
wget 'ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h'
wget 'ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h'
make NOGUI=1 WX_ROOT=/home/nigel/wxWidgets-2.8.11 wxbuild
cd to Crypto and edit Rmd160.c around line 91 so one line is commented out and 2 lines added so it looks like this
Code:

                /* Process data in RIPEMD160_BLOCK_LENGTH-byte chunks. */
                while (len >= RIPEMD160_BLOCK_LENGTH) {
/*                      RMD160Transform ((uint32 *) ctx->state, (const uint32 *) input); */
                        memcpy(ctx->buffer, input, RIPEMD160_BLOCK_LENGTH);
                        RMD160Transform ((uint32 *) ctx->state, (const uint32 *) ctx->buffer);
                        input += RIPEMD160_BLOCK_LENGTH;
                        len -= RIPEMD160_BLOCK_LENGTH;
                }

Then cd back up and then 'make'.

It should compile now no problems.  The executable is in the Main folder.

To run you must use the  --mount-options=nokernelcrypto command-line. e.g.
Code:
truecrypt --mount-options=nokernelcrypto /mnt/usb_16gb_ext3/nigel/nigel
2  Hardware and U-Boot firmware / Hardware / Re: When will a cheap reliable plug better than Sheevaplug come out? on: November 05, 2010, 11:19:12 PM
So I got a Dockstar, been my weekend project for 2 weekends, and I am well impressed, for the $27 delivered, it has all the CPU power I need. Its a tad short of memory, for example I'm hitting it hard now and its showing 62MB of swap used.
I've loaded it up with being my router and running QoS via iptables and tc and doing torrents, and being a NAS, and the torrents is causing the CPU spikes. So I've ordered a 2nd Dockstar and separate torrents from the rest.  That's partly due to memory, I'll then effectively double the memory via two units.
The Sheevaplug I got, I now think it would have been better being a Dockstar, its only doing proxy serving, its 512MB is showing 230MB free.

Guruplug? Forget it. Get 3 Dockstars and spread the load out. You then got some redundancy.

To me, having an external PSU and 3 USB ports is useful, means I don't have to worry about the heat inside the server from the PSU and  I can power boot device and storage and USB-Ethernet.

Now about 6 months after I stumbled on Plug Computers, I realize the manufacturers are thinking all wrong. Technically, the idea of Plug Computer is appealing, but they should separate the electrical power from the rest, and then focus on the capability of the server. The Sheevaplug with 512MB memory is probably a good level, but with external PSU. So the Dockstar concept, with more memory. I also think the Sheevaplug concept of USB serial is a good idea. The Dockstar hack of opening the case, or the Guruplug concept of external JTAG, is just adding more complexity.

So for me... now having used 2 Plugs (Sheevaplug, Dockstar), I'd say the right way forward is a unit which is a Plug with DC input, inbuilt console via USB, 512MB memory, SD slots, 3 USB slots, Gigabit Ethernet x2, 100Mbit x1
3  Hardware and U-Boot firmware / Hardware / Re: Seagate Dockstar on: October 19, 2010, 11:30:19 AM
I was looking at the Sheevaplug and the Guruplugs, I didn't like the one USB on the Sheeva and the loud overheating expensive Guru. So I ordered the Dockstar, I paid $28 shipped, vs $99+tax+shipping on the Sheeva and an even higher figure on the Guru.

Also, I have a USB 500GB harddrive, I really was nervous powering it off the Sheevaplug and I was thinking of making the plug a router so adding a Ethernet USB, and when I added the USB powered hub, it was getting expensive. With the Dockstar, the PSU is external and the 3 USB are powered, so that's saving me some costs.

I have Sheevaplug, with the stock optimized Ubuntu, in the context I was using it, 128MB is enough, it was running 80MB utilized with the apps I use. I have actually been trying to reduce FLASH wear by using memory more, and placed the proxy server cache in memory with a 300MB limit, as I could not get all the memory used. My advice is not get too hung up about 128MB if you're not running too many apps.

Linux is so memory-efficient, I reckon Kingston much have done the Venture Capital for Microsoft, all the memory been bought for Redmond's bloated code.

I'm a little nervous doing the physical serial thing with the Dockstar, I've not touched terminals and electronics for years. I liked the Sheevaplug approach. My Dockstar is going to file-server, I might offer it to some UK folks as a proxy server so they can Hulu, and it will be doing torrents so I can shutdown the PCs and save on overnight electricity. It should pay for itself in a few months of reduced utility bills.

4  Hardware and U-Boot firmware / Hardware / When will a cheap reliable plug better than Sheevaplug come out? on: October 17, 2010, 12:13:45 AM
I currently own just a Sheevaplug, its working fine. Thinking about ordering another plug, but what puts me off is the apparent lack of innovation in something reliable.
Seems the Sheevaplug is a viable product but it was released over 18 months ago. The successor products are just plain bad design, who needs something that hot, unreliable, noisy. At the costs they want or a Guruplug+ with a Jtag in case you mess the boot, its like a Netbook sort of cost.
What about say the Sheevaplug for $50?
Or a decent properly designed plug with new features.
Its getting a joke, really it is.
Rant over (for now).
5  Linux Stuff / General Linux questions / Re: Traffic shaping with one Ethernet? on: October 13, 2010, 11:08:01 AM
Thought of an idea. My VOIP router has a USB socket for plugging into laptops and XP recognizes as an Ethernet USB.
so.... can Linux do the same thing and can the Sheevaplug do Ethernet over its USB like a intel system running XP?
If so, then I can plug the USB into the WAN-facing and plug the Sheevaplug Ethernet into my LAN-facing and so be dual-NIC for traffic shaping.
Also, can the Ethernet-over-USB work with a powered USB hub - as i'd be plugging in the VOIP router's USB and an external USB harddrive into the hub and the hub into the Sheevaplug.
Currently deciding on a sheevaplug (my preference for cost and heat issue) or a Guruplug Server Plus (not my preference due to hot noisy).
6  Linux Stuff / General Linux questions / Traffic shaping with one Ethernet? on: October 13, 2010, 11:02:11 AM
Hi, I want to move my torrent and file-serving from my laptop down to a plug with USB disk. I already own a Sheevaplug for file-server but am now thinking also about torrent host.
The issue I have to solve is I want the torrent traffic to use the lowest priority in my home LAN, and any other traffic (e.g. surfing) to get priority. So e.g. if Hulu watching the torrents slow down to use the remaining bandwidth.
I know Linux has traffic shaping, but can this be done with one Ethernet (so can use a sheevaplug) or does it need two Ethernets? I think it has to have 2 Ethernets.
My home LAN, I recently rewired to improve my VOIP to ensure it gets the bandwidth it needs first and all the computers come 2nd, so its  DSL modem - VOIP router - Wifi. I was thinking DSL modem - Voip - Plug - Wifi.

I also have just got a cheap 500GB USB external disk, I was thinking of that for hosting the torrent. I know it will make the Plug last longer if I get a powered USB hub but I'd prefer not.
7  General Category / Success stories / Re: Remote Personal Computer on: July 14, 2010, 09:43:37 AM
So there is the "what's possible" vs "what's possible without being fired" issue.

Technically, I do what you describe now, I use SheevaPlug as a SSH server, and inside that tunnel I SOCKS proxy all my browser and email traffic, and I  use it on a computer I built myself (no keylogger). Yes, you can run a browser and full desktop on the SheevaPlug but that will place load on the Sheevaplug with the implications on heat-output of a remote plug computer, so you can have a laptop/PC on the LAN with your SheevaPlug and ssh forward from the Sheevaplug to the laptop and then get all the remote PC's functionality inside a local session. I believe then you will be using the sheevaplug more for what it is good for.

When there is a risk of a keylogger installed, a bootable USB Linux, with persistance is always something you should be carrying - allows you to turn a bricked computer (e.g. harddrive failure) into something useful, allows you to borrow a computer with leaving a footprint, etc.

Although I've not done this (yet), I think you can make your sheevaplug do a Wake-on-Lan to a PC which is in standby, you can place a PC (at home, say) on standby, get the sheevaplug to wake the PC, use the PC, and then place the PC in standby.

8  General Category / Application ideas and development Q/A / Re: truecrypt compilation problem on: July 14, 2010, 05:01:27 AM
Hi, I've wasted a day on the topic of getting Truecrypt compiled. I lost a lot of time in WX related stuff.

For your specific problem, the wiki is out of date. There is a need to patch a file in the source code.
http://www.plugcomputer.org/plugwiki/index.php/Ubuntu_TrueCrypt_Compilation

The actual patch applies version 6.3, not 6.3a, the patch fails on 6.3a. I looked at the patch and looked at the source code and made my own edits.

Then make would finish successfully.

You then to use the truecrypt executable must use --mount-options=nokernelcrypto option.

then it works (so far... I'm still testing)
Pages: [1]