Epsilontau's Blog
Erfahrungen und Eindrücke

Jan
27

Hello out there,

some of you might have bought or thought of getting an ebook reader.
For me, I’m always interessted what else it might do.
So right now, I have a rooted Sony-PRS-T1 with android marked installed.

And so here is my question:
What apps do you recommend to be used on a ebook reader (considering the e-ink display)?
Let me know … !

Jun
18

Für alle die sich schon immer gefragt haben wie man auf einfache Weise die Konfigurationsdaten und Daten (nicht Programme) seines Linux-Systems backup-t.

Hier die Lösung für den Fall das man auf ein ext Dateisystem schreibt (externe Festplatte oder partition).


sudo cp -pra /home/USER /DESTINATION

Dez
24

Do you backup your data on a regular base?

Did you ever think of how painful it would be to loose the one perfect picture you have of your son … riding his bike for the first time without training wheels.

It’ll really be a pain in the ass … right?

To quote a friend of mine – regarding backups – there are on two different kind of people:
“Those how backup (already) … and those who WILL backup”

From one point of view I proofed that statement to be true … because I also learned the hard way.

Well, especially in these times, where the price for one gigabyte is below the price of one cigarette, the questions is why “nobody” cares about proper backups.

One reason might be that there are plenty of tools doing the thing (some better and some worse) and they are usually not compatible.

Another one it that a backup requires eighter repeated manuall work (doing the backup) and therefore disciplin or an proper automation which requires a good load of brainpower for concept and setup.

The idea behind this article is to give you, my reader, an idea and overview of “gui-based” open source backup tools (on linux but not necessary limited to it).

Here is a list of the tools I’ve collected so far and will take a closer look at. Any comments, additions and corrections are welcome.

- Time Drive (backend: duplicity)
- Time Vault (version 0.1x – development)
- Keep (backend: rdiff)
- Flyback (backend: rsync)

As a first task I will investigate the functionality and look-and-feel of creating, revising and restoring local backups (e.g. on usb-harddisk).
I will also look closer on how the incrementation and versioning works.

Further steps will include other backup locations such as webdav, ftp and samba shares.

Nov
15

Guide: ssh reverse tunneling with public key protection

This short guide is supposed to reflect one possible way of setting up a ssh reverse tunnel including protection trough private key.

The use case is that you (as an advisor) want to help someone else via the internet without having your user configuring his router (dsl connection expected as condition).
As a result, the user only needs to execute the command you send via email in a console (this guide only takes care of Linux at first).

I assume that you (as you follow my description) have local control of both machines (not necessary at the same time).
Additionaly I won’t create different key pairs for the HOST and the CLIENT.
I will add this to the guide on time, for now I expect you trust the user so far (also you just can block port forwarding on your router anyway).

In my further explanation, the CLIENT will be the machine of the user that needs help, where the HOST is the machine that you (or any other advisor) uses.

So here is the agenda of what to do in the order I did it.
Some steps depend on others but some don’t. I’ve tried to mention links as they approach.

These steps have to be done on both machines (due to the fact that you have two single connections).

1. Install SSH-client and -server

# USERNAME@MACHINE:~$ sudo aptitude install openssh-client openssh-server

2. Change ssh-server configuration using your preferred editor (I used pico because it’s gui)

# USERNAME@MACHINE:~$ sudo pico /etc/ssh/sshd_config

a) Set port for incoming ssh connection (default is 22) to a custom value between 10000 and 32000.
In this scenario use the same internal port for both CLIENT and SERVER)

Port 22 -> Port XXXXX

b) Deny root login

PermitRootLogin yes -> no

c) Deny login via password authentication

PasswordAuthentication yes -> no

d) Activate and set path+filename for public key (id_rsa.pub)
Note: the file “authorized_keys” is supposed to contain ALL public keys you need to have.
To make it easier in our case, and because we will use the same keys on both machines, I renamed it to id_rsa.pub (the name of the key by default)

#AuthorizedKeysFile %h/.ssh/authorized_keys -> AuthorizedKeysFile %h/.ssh/id_rsa.pub

3. Generate key pair (private and public key) in default folder (/home/USERNAME/.ssh)
The command generates the key pair (id_rsa / id_rsa.pub) if you use the default.

# USERNAME@MACHINE:~$ ssh-keygen -t rsa

At this point you should be able to establish a connection from CLIENT to HOST and the other way round.
This is highly recommended also to proof the finger-print of both machines and make them known to each other.

4. Connect CLIENT to HOST and the other way round

# USERNAME@MACHINE:~$ ssh USERNAMEHOST@HOSTNAME -p XXXXX
# USERNAME@MACHINE:~$ ssh USERNAMECLIENT@CLIENTNAME -p XXXXX

Now we have reached an important point of the setup. If this works out, HOST and CLIENT are known to each other and able to connect in via ssh using public key protection.
In any case of an error take a look at the logfile.

# USERNAME@MACHINE:~$ less /var/log/auth.log

You might need get back to the logfile at any time you connection doesn’t work.

Expecting the connection works both ways, we are don with the client expect that you shoud make sure the user can easily access the console to execute the command you will lateron send him (if he needs your help).
I usually set the key-shortcut for a new console to CRTL+ALT+T to make it easy, but placing a shortcut on the desktop or to any panel will also be fine.

The following steps are to be done when you are asked for assistance.
Especially the port forwarding should be deactivated after your work is done because of security reasons.

5. Find out your external IP address using web sites like www.what-is-my-ip.com.
Command to automatically read IP from one of these sites using grep will follow soon.

6. Set port forwarding to route external port XXXXX to internal port XXXXX.
For security set up the route to the fixed internal IP you machine uses and deactivate the route as soon as you’re done.

7. Create command to setup reverse tunnel for execution on your users machine (CLIENT).
The syntax uses another port for the reverse connection shown as YYYYY. Again, any port between 10000 and 32000 (execpt XXXXX).
Send this line (ideally in an encrypted email – it contains your username!) to your user and ask him to execute this command.

ssh -R YYYYY:localhost:XXXXX USERSERVER@PUBLICIPSERVER -p XXXXX

[PUBLICIPSERVER is your external (public) IP]

8. Connect the SERVER to the CLIENT using the reverse route on port YYYYY.

ssh USERCLIENT@localhost -p YYYYY

Now you should be able to have console access to you users machine. Easily check this running e.g. and df -h command.

Sep
09

Karten Sind bestellt – auf gehts zur Ideensammlung und Vorbereitung :)

Aug
20

Diesmal etwas off-Topic … und ja, die Nachträge zu Taubertal schlummern noch in den Wüstungen meines Hirns …

Nach einiger Schraubarbeit hab ich die letzten Tage dem “kaputten” NC6000 Laptop mittel anderen Mainboard wieder leben eingehaucht.
Außer kleineren Problemchen mit dem Gehäuse des internen SD-Kartenlesers hat das dank Anleitung recht gut funktioniert.

Bleibt die Frage ob sich dem alten Herzstück des Laptop mittel nachlöten des Spannungreglers wieder leben einhauchen lässt.

Vielleicht kann mir einer der begnadeten Elektriker ja beim verbrennen des Chips helfen … ;o)

Hier hab ich ein Bild gefunden
Spannungswandler NC6000

Links:

http://www.internetforen.de/viewtopic.php?t=11216

Aug
09

Kennst Du nicht auch dieses besondere Gefühl?
… ein Mischung aus verbleibender Kraft und Erschöpfung,
aus Freude über das Erlebte und Wehmut, dass es vorbei ist?
Diesen Moment, an dem Vergangenheit, Gegenwart und Zukunft für einen winzigen Moment zu verschmelzen scheinen?…

P8090152

Erinnerst Du Dich an die Erleichterung nachdem Du das Werk eines harten Tages vollendet hast?
An die angenehme Erschöpfung nach einem anstrengenden Tag in den Bergen oder auf dem Fahrrad?
Empfindest Du es nicht auch als merkwürdig angenehm, den halb trockenen Scheiß auf der Haut, von Adrenalin und Endorphin noch immer leicht berauscht …

Nun …
Dies ist das Gefühl was bleibt nach so einem Festival, mein Gefühl, gerade in diesem Augenblick.
Geboren aus Schweiß, Gesang, wenig Schlaf, so manchem Bier, Zeit mit Bekannten und guten Freunden – kurz gesagt: Lebensfreude!

Das schöne an solchen Momenten ist, das sie lange in Erinnerung bleiben und das sie immer noch ein wenig in einem nachhallen … so wie ein Echo das langsam leiser wird. Darum schreibe ich solange die Ereignisse noch wie real greifbar sind, die Hitze der Tage und Begeisterung noch spürbar sind … wie die letzten Strahlen der untergehenden Sonne, wenn sie im Meer versinkt …

Es ist nicht alles perfekt gelaufen, manches hätte man sich vielleicht anders gewünscht … und dennoch, es war schön, wir waren dabei und wir kommen wieder … zu Taubertal 2010.

Ich schließe hier für heute … lasse den Nachklang auf mich wirken … sauge den Geruch und Geschmack der vergangenen Tage in mich auf …
Und verspreche weitere Eindrücke und Details für die nächsten Tage.

Aug
07

Zwei Mädels allein in unserem kleinen Zeltdorf; Langeweile war fehl am Platz. Was machten sie? Haare frisieren, Bändchen knüpfen und Frauengespräche führen.
Unser Kommentar zum Abend: Gute Musik von der einen Seite; blödes Gerede von der anderen und wir mitten drin mit knallenden Sektkorken, wobei wir nicht wissen wo sie wieder runter kamen.
Fazit: Zwei Flaschen Sekt sind genug um festzustellen, dass es doch ganz gut ist Frau zu sein.
Ein Mann ein Wort, eine Frau drei Absätze!!!

Verfasst von Sonja & Alex

Aug
06

waren heut abend im steinbruch war recht witzig, haben eine freundin von alex die nicht mehr herr ihrer sinne begleit. ihre bekannte hat ein wenig gestresst aber wir haben uns nicht provozieren lassen. danach gings zurück ins pavalion bei einer gemütlichen runde haben wir uns noch unterhalten und haben dann noch den abend ganz vernsöhnlich aus kliegen lassen.

geschrieben von herbert grüsse

Aug
06

Das Rennen hat begonnen, der Anhänger war beladen, die Autos bis zum Dach vollgestopft und alle mehr oder minder gestresst.

Nach einer gemütlichen Fahrt hinter den LKWs her (mit 90 wegen des Anhängers) sind wir so ca um halb eins am Campingplatz (sprich Acker) angekommen.

Die Jungs haben derweil schon mal den ersten Pavillon und das erste Hauszelt aufgebaut. Bei unserer Ankunft fing das Gewussel an.

P8060003

Ich hab als Gas-Wasser-S* Verantwortlicher erstmal den Gaskühlschrank abgeladen und ausgerichtet – natürlich sehr exakt – mit Wasserwaage ;o)

Die Vorhut hat schon vorgeglüht, dementsprechend gings nicht immer so flott voran, aber wir sind ja schließlich im Urlaub.
Herbert hat die LED-Beleuchtung installiert, wir die Innenkabinen eingehängt.
Die Duschkabine steht auch schon, mal sehen welche Probleme noch bei der Wasserversorgung und der Pumpe noch auf uns zukommen.

So denn, neuer Tag, neuer Ärger ;o) …

Follow

Bekomme jeden neuen Artikel in deinen Posteingang.