Category Archives: Linux

Stuff about Linux

Raspberry Pi: Script to (Cross) Compile a new Kernel

Hi,

a my Project Owncloud on a Raspberry Pi I want to use AppArmor to protect the lighttpd webserver. Unfortunately the default kernel is complied without apparmor support.

So I decided to build my own kernel:-)

Continue reading Raspberry Pi: Script to (Cross) Compile a new Kernel

Advertisment to support michlstechblog.info

Debian: Install a build environment at once

Hi,

if you want to compile some source packages yourself a build environment with most usable build tools is neccessary.
Continue reading Debian: Install a build environment at once

Debian: Save current active iptables rules

Hello,

some basic commands to handle a ruleset of iptables.

To dump all active iptables rules to the console rules use


root@debdev:~ # iptables-save

Continue reading Debian: Save current active iptables rules

Linux: Move a process from fore- to background

Hi,

bash offers the ability to move a running foreground process into background.

An example 🙂 Listen with netcat at tcp port 80, this process to not exit and stays in foreground.

root@debdev:~# nc -l -t -p 80 -s 10.254.1.1

Now I want to do some other things in this console.
Continue reading Linux: Move a process from fore- to background

DNS: Configure DNS to return the same IP Address for all hostnames

Hi,

its possible to catch all DNS host queries to just one IP Address. For example in an open WLAN to redirect a User to a authentication page before he can use the network.

Continue reading DNS: Configure DNS to return the same IP Address for all hostnames