FreeBSD Disable Bell / Beep ( Hardware beep )

by on June 6, 2009 · 5 comments· LAST UPDATED February 22, 2014

in , ,

I know how to disable beep sound under Linux, but the settings are not working under FreeBSD laptop. How do I disable beep sound on FreeBSD operating system?

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
RequirementsFreeBSD
Estimated completion time1m
To enable or disable bell use MIB hw.syscons.bell on FreeBSD operating systems. To set MIB on FreeBSD use the sysctl comamnd line utility, which retrieves kernel state and allows processes with appropriate privilege to set kernel state.

Disable bell with systctl command

Type the following command to disable for current session:
# sysctl hw.syscons.bell=0

Make sure settings remains same after you reboot the laptop, enter:
# echo "hw.syscons.bell=0" >> /etc/sysctl.conf

Test it:
# reboot

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 5 comments… read them below or add one }

1 ashwani June 7, 2009 at 1:23 pm

nice info…
but i wonder who use this distro….which one is Vivek favorite ?? ;-)

Reply

2 nixCraft June 7, 2009 at 5:55 pm

FreeBSD != Linux, so it is not distro!

It is complete operating system used by many users around the world.

Reply

3 Govind Singh June 8, 2009 at 6:50 am

thanks
its working

Reply

4 落水狗 September 14, 2009 at 2:46 pm

Thank you
Really a great job
I’ve been looking for this solution for days

Reply

5 Kris February 22, 2014 at 6:37 pm

Me too :)))

It is working so ……..HAPPY DAYS!!!!!!

Reply

Leave a Comment

Tagged as: , , , , , , , , ,

Previous Faq:

Next Faq: