Get your public IP via shell

To get your public IP you can use websites like www.whatismypublicip.com/ or just google for it (http://lmgtfy.com/?q=public+ip) But you can also get your public IP via the following Linux shell  command (the smart way :-D):

This gives you an output like that:

Or for IP address only output:

Example output:

To install get […]

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 […]

Set static IP

Sometimes its necessary that your machine gets a static IP-address. For example if you want to run a server or a other service on that machine. On Debian based machines you can do this by: Edit /etc/network/interfaces (f.e.: with nano)

In this case we set the IP fix to 192.168.88.6 for both wlan and ethernet.  Setup […]