beep -f 300.7 -r 2 -d 100 -l 400
Try:
sudo modprobe pcspkr
and then try again.
The hardware part that produces beep sounds doesn’t seem to be loaded on Ubuntu by default. So you have to load it first.
Hope this helps.
1 Like