Archive

Archive for the ‘sysadmin’ Category

How to build your own kernel for Fedora 14

February 2nd, 2012 No comments


Building a custom kernel is one of the most important rites of passage for advanced Unices users. This process, while time consuming, will provide many benefits to your system. Unlike the GENERIC kernel, which must support a wide range of hardware, a custom kernel only contains support for your PC's hardware. This has a number of benefits, such as:

  • Faster boot time. Since the kernel will only probe the hardware you have on your system, the time it takes your system to boot can decrease dramatically.

A pseudo serial sniffer for RS232 communications

January 30th, 2012 No comments

All electronic devices, computers and  micro controllers need to exchange data with other devices. One of the most used  way, since 1969, is the serial transmission using the RS232 standard when the EIA defined it. Serial transmission is commonly used with modems and for non-networked communication between computers, terminals, printers and other devices It is  useful for debugging purpose in embedded system. In the following paragraphs we describe the serial transmission in the two forms: Synchronous and Asynchronous. 

How to select odd (or even ) raws from a text file using the bash

January 27th, 2012 No comments

Yesterday I had to select some raws (1, 5, 9, ….) from a text file.

This has been a hard job because I was trying to solve the wrong problem……

Really, before coding you should analyze deeply your problem and then you should think which tool you need to use.

However, come on and see my experiments:

First of all we need a test file, I'll use the following:

How to solve “libssl.so.10: cannot open shared object file: No such file or directory” error in Ubuntu 9.10

January 23rd, 2012 No comments

During my experiments with LTIB I've encoutered the following error

 

Processing: gettext

=====================

Build path taken because: no prebuilt rpm, 

Testing network connectivity for gpp

OK GPP: is available

Try gettext-0.15.tar.gz.md5 from the GPP

How to install minicom on Mac OS X – Snow leopard

January 16th, 2012 No comments

Minicom is a text-based modem control and terminal emulation program for Unix-like operating systems, originally written by Miquel van Smoorenburg, and modeled after the popular MS-DOS program Telix. Minicom includes a dialing directory, ANSI and VT100 emulation, an (external) scripting language, and other features. Minicom is a menu-driven communications program. It also has an auto zmodem download.

Working with the TCN75 temperature sensor

January 9th, 2012 No comments

How to use the TCN75 temperature sensor

In this article I'm going to show to you how to use the TCN75 we have mounted on our boards.

The TCN75 is a very simple temperature sensor but at the same time it is very accurate, with a precision of ±0,5 ° C, fra 25°C≤ TA ≤ 100°C e ±3 °C -55°C≤ TA ≤ +125°C.

Working with the RTCC MCP 79410 RTCC (Real Time Clock with Calendar)

December 30th, 2011 No comments

How to use the MCP79410 Real Time Clock

In this article I'm going to show you how to use the MCP 79410 we have mounted on our boards.

The MCP79410 is a Real Time Clock (RTC) chip that uses a digital compensation of the time to realize an accurate clock/calendar. It has a programmable output line (it is possible to program up to two alarms), it can be backupped by an external battery (there is an ad hoc circuit), it has a small non volatile memory to store data and a small backupped SRAM.

Santa came…. with Untethered jailbreak

December 28th, 2011 No comments

The dev-team has a gift for you.. :

"@pod2g has created a terrific gift for iOS fans — an untethered 5.0.1 jailbreak for non-A5 devices! 

Many of you have already been following @pod2g’s blog where he’s been keeping everyone up to date on his progress.  And so you know that he recently decided to push the button on a release for all devices except the new iPhone4S and iPad2.  @pod2g’s untether involves two separate exploits and a few other “tricks” — and since he’s taken the @comex approach of doing nearly everything himself, you know his plate has been full these past few months!

3 ways to remove duplicate lines from a text file

December 27th, 2011 No comments

 

One of the more diffcult job, while using the shell, is working with text files to filter their content.


In the following few lines you will find 3 different ways to remove all the duplicate lines from a text file.


First of all, I'll introduce three commands that are available on almost all of the linux distributions, and maybe in all Unix dialects:

uniq

Discard all but one of successive identical lines from INPUT (or standard input), writing to OUTPUT (or standard output).

 

How to install Twidge on centos

December 12th, 2011 No comments

Last week I needed to install twidge on a centos 5.7 server.

Truly, twidge is very simple to install into debian (or derived) linux distribution, but I found some problems while installing it into my centos server. 

First of all you shall download the twidge binaries from here:

https://github.com/jgoerzen/twidge/downloads

the twidge binary requires libcurl-gnutls

simply type the following command:

Statistical data collected by Statpress SEOlution (blogcraft).