Wifi setup on Arch Linux

The following steps are showing how I did setup my wireless connection with an static IP on my ArchLinux driven RaspberryPi. You need to have installed sudo to uses this instructions: Update all packages:

Install dialog package:

Install wpa_supplicant package

Run wifi-menu:

This will start the Wifi-Setup dialog. Select your network: Choose […]

Download password protected file over shell

Therefore we use wget:

If you let -O param out the output will be stored under its original name.

Get MAC address from file system

On Debian based Linux distributions you can get the MAC address of the respective network adapter from the filesystem like shown below:

As you can see, all adapters have their own folder under  /sys/class/net/ that contains  a address file with the corresponding MAC address. If the system is not booted (offline edit). You can have a look into […]

Run multiple recoverabele sessions with screen

Sometime you nee to run a script or something like that on a remote host and you can’t be sure, that the remote session will preserve until the script has finished. Another case is mobile working. Sometimes you need the possibility to start a script on one place, send your disconnect the ssh client and open […]

Samba fileserver

All tricks round about samba fileserver goes here. Print Status:

Add User Steps to add a new samba user: add Linux-User(m creates a homedirs under /home/):

set Password:

set Samba-Password

Samba reload



Add user to group Add new User to an existing group

or if […]

Linux – Add or edit DNS-server

In most Linux distribution the nameservers are stored in the file /etc/resolv.conf So you can edit it via:

You will see something like that:

As you can see all nameserver entries follow the pattern:

When searching for an DNS-Server the list is processed top down. The first entry that is reachable and […]

Create a SSH key with 1024 Bit encryption

To generate a 1024 Bit encrypted SSH key you can use the following command:

Normally the key is saved in ~/.ssh/id_rsa together with the corresponding public key (~/.ssh/id_rsa.pub). Attention: Make sure you can remember the paraphrase later on if you entered one.