[Arch Linux]Could not boot to Arch and stuck in grub shell

I have made the grub configuration with grub-mkconfig -o /boot/grub/grub.cfg in the arch-chroot environment, after i generated the grub config I exited from the arch-chroot and unmount the /mnt then reboot, Arch could not be booted but instead my console was stucked in grub. this is because I have not downloaded the linux-firmware which includes … Continue reading [Arch Linux]Could not boot to Arch and stuck in grub shell

[python]Netifaces module

Netifaces is a python module maintained by Alastair and opalmer, I have been benefited by this module a lot. It is easy to use and there are a lot of possibilities with this module. Here are some examples of usage and finally there will be a code of automatic mac address changer without user to … Continue reading [python]Netifaces module

Debian: Checking your Linux for potential rootkit

You have been tasked to set up a Linux server, you have just installed the core packages of debian with debian small CD. After installation is completed, you download two rootkit checkers: apt-get update #To ensure you have the latest package database. apt-get upgrade #To ensure you have the latest package with security holes patched. … Continue reading Debian: Checking your Linux for potential rootkit

Wireshark for Linux: No interface is listed.

You are using Debian, you installed wireshark, launched it and found that there was no interface (under interface list) for wireshark to capture; you checked /etc/group and did not find a group known as wireshark, then it is most likely libpcap-dev not installed. sudo apt-get install libpcap-dev sudo dpkg-reconfigure wireshark-common. A ncurse screen appears asking … Continue reading Wireshark for Linux: No interface is listed.

Wireshark (/usr/bin/dumpcap permission denied)

The error "/usr/bin/dumpcap permission denied" appeared when executing wireshark as a normal user. Using package manager to install wireshark may encounter this problem. This is solved by adding normal user into group wireshark: gpasswd -a cyrus wireshark Check to see if you are in the group wireshark: cat /etc/group |grep wireshark Once ensure your username … Continue reading Wireshark (/usr/bin/dumpcap permission denied)