How can i make beep sound in the PC when the network cable is unplugged or no network available to any specific interface such as eth0 or eth1?
Follow up:
$ sudo apt-get install beep
$ cat /etc/modprobe.d/blacklist.conf | grep 'pcspkr'
blacklist pcspkr
$ sudo vim /etc/modprobe.d/blacklist.conf
#blacklist pcspkr
:wq
$ sudo modprobe pcspkr
$ beep