Tag Archives: Linux

flash BIOS in Linux

Flashing BIOS in Linux can be achieved via flashrom

flashrom can be installed on your favorite linux distro or used via a live distribution as Parted Magic or SystemRescueCD


  • identify chipset
  • backup current bios
  • write new bios

Linux Package Manager Cheat Sheet

"pkg-file" refers to the package as bundled into a single installable file
"pkg" refers to the package name
"file" refers to a file on the filesystem
show description about "pkg"dpkg -s "pkg"rpm -qi "pkg"apt-cache show "pkg"yum info "pkg"
install "pkg-file"dpkg -i "pkg"rpm -ivh "pkg"apt-get install "pkg"yum install "pkg"
remove "pkg"dpkg -r "pkg"rpm -e "pkg"apt-get remove "pkg"yum remove "pkg"
find package wich owns "file"dpkg -S "file"rpm -qf "file"N/Ayum provides "file"
list files in installed "pkg"dpkg -L "pkg"rpm -ql pkg"N/AN/A
list files in "pkg-file"dpkg-deb -c "pkg-file"rpm -qlp "pkg-file"N/AN/A
list all installed packagesdpkg -lrpm -qaapt-cache pkgnamesyum list installed
verify integrity of installed files from "pkg"N/Arpm -V "pkg"N/AN/A
verify integrity of installed files from all packagesN/Arpm -VaN/AN/A
verify integrity of "pkg-file"N/Arpm -K "pkg-file"N/AN/A


cgminer on Raspberry

install cgminer

set permissions on usb devices

start cgminer

activate web interface

web interface is available at http://your-raspberrypi-ip/miner.php

keep cgminer running

edit /etc/supervisor/conf.d/cgminer.conf as follow: