Skip to content
TrySitePrice

FreeBSD Disable Bell / Beep ( Hardware beep )

Best/Tutorial

In FreeBSD, you can disable the hardware bell, also known as the system beep, by setting the hw.syscons.bell parameter to 0. This parameter can be set in the /boot/loader.conf file, which is read during the boot process.

Here are the steps to disable the hardware beep in FreeBSD:

  1. Open a terminal window or SSH into your FreeBSD system.
  2. Edit the /boot/loader.conf file using your preferred text editor. For example, you can use the ee editor:

    sudo ee /boot/loader.conf

  3. Add the following line to the file to set the hw.syscons.bell parameter to 0:

    hw.syscons.bell=0

  4. Save and close the file.
  5. Reboot your system to apply the changes.
rnAfter these steps, the hardware beep should be disabled in your FreeBSD system.