Disable PC speaker

If you recycle an old desktop machine into a ‘home’ server, maybe you have a machine with a PC speaker. To disable this annoying little thing:

  • unload the pcspkr module: rmmod pcspkr
  • blacklist the module to prevent udev from loading it:
# echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf