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

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