Installation of a piratebox on T-Link MR3040

I just received the TL-MR3040 wifi portable access by T-link. This little box is really like the mr3020 i had for my piratebox with the main advantage of having and internal battery making the piratebox mobile for a small price ! For actually 38€ (but you may found it at lower price) it is an interesting and compact solution to bring you piratebox out.

I’ll try in the next part of this article to detail the installation process as friendly as possible. Never forget that this kind of operations are not always easy and may damage your device. Do it at your own risk.

Continue reading

Nmon cpu_summ vs cpu_all in a SMT environment

In a SMT CPU you have real primary core and SMT core, all can have process allocated to them but the performance of the primary logical processor compared to the SMT one are not equivalent. Usually the SMT power is about 20-30% of the primary one.

This impact the way the performance is measured

Continue reading

Network performance measurement script

I regularly have to test some network products like routers or homeplug devices and most of the time, I like to test the performance of that product. I’m doing it generally a couple of time and the result can vary test after test and I did not had a good, simple and basic tool to use to measure this variation.

So, after having think to it for long months, I finally started to write some bash lines to get this tool and start to get measures…

Continue reading

Jar file preloading before a go-live

Sometimes, when you go live an application handling a big applet you could have not network problem as if all the user try to get the associated Jar files in parallel this could saturate your network and impact your go-live.

One of the solution is to pre-load these JAR files into the browser of each user. Unfortunately is sound not possible to copy the files into a specific directory to do it : the Jar files must be loaded for the server.

Continue reading

PirateBox creation based on TP-Link MR3020

Some days ago I bought a TpLink MR3020 with the objective to create a pirate box and experience this kind of solution. I already tried to do a stuff like this some month ago based on a netgear wifi router having the capability of sharing usb storage. But the system was not easily portable and not extensible.

The proposed solution, based on this low cost router is an interesting opportunity to made the solution mobile.

Continue reading

UTF-8 email, body and title encoding

When sending an email with an application or sendmail, using an UTF-8 encoding, some attributes must be given if you expect the email to be displayed correctly by the reader.

To start, to get the right display in the body of the email, you need to specify the encoding in the header fields by adding :

Content-Type: text/plain; charset="UTF-8" 
Content-Transfer-Encoding: 8bit

The subject is not proceed using this attribute and it must be written in a different way to be interpreted correctly:

Subject: =?utf-8?Q?éssai=20de=20sujet?=

Here, the “?utf-8?Q?” indicates what encoding to be used in the tittle, then it is followed by the title itsleft “Q” indicates that the title is in plain text. The limit of this is that the title can’t contain space, tabs or ? without being escaped firstly. The Title is ended by termination sequence “?=

The other solution to manage title more easily is to use a base64 encoding with the “B” encoding type instead of “Q”

Subject: =?utf-8?B?base64EncodedTitle?=

This way is more easy to encode if your system handle a base64 encoding function.

FreeNas and OpenFiler experimentation

 

/!\ Article in progress, not yet finish /!\

As I needed to create a iSCSI share for some VM on a private subnetwork, instead of using a simple NFS server configuration, I was looking to test a NAS distribution. I saw on Internet two different distributions, one based on OpenBSD named FreeNas (here in version 8), the other based on Linux OpenFiler (here in version 2.99). I will test both for creating this share.

Continue reading

Oracle VM – experimentation

/!\ Article in progress, not yet finish /!\

I was looking  to test Oracle Linux since Open World, mostly because I’m curious about OVM and the nice integration with Enterprise manager 12c as a global system to manage hardware, operating system, hypervisor, virtual machine on demand and middle-ware + software.

Continue reading