specifying a system beep. . .

Submitted by gberz3
on March 24, 2006 - 7:28pm

Hi All,

Looking for a bit of help with system boot beeps. Basically I have set up an encrypted system per UBUNTU FORUMS. I basically plan to have a "headless" system setup, so what I need now is to perform some sort of system notification (preferably a beep) upon being prompted to enter a password for the root decryption to take place. Any leads on how to accomplish this would be greatly appreciated.

Regards

Make sure your kernel has the

Anonymous (not verified)
on
March 25, 2006 - 6:15am

Make sure your kernel has the pcspkr module loaded or compiled in, and use the userspace program 'beep' ( http://johnath.com/beep/ - but it comes shipped in most distros )

implementation. . .

gberz3
on
March 29, 2006 - 7:09am

Excellent, thank you. My main concern now is really *how* to implement this. Although I've taken the trouble to become familiar with encrypting disks, I'm not too familiar with the Linx boot process, and how/when exactly to place the beep. Any ideas?

Regards

Easy

MightyPenguin
on
March 29, 2006 - 8:52am

I'd think all you'd have to do is call the beep program as the last action before login. So basically, just add it to the end of your rc.local.

or bash/zsh profile ? rc.loca

sacx
on
March 30, 2006 - 2:08am

or bash/zsh profile ? rc.local is specific for system RH like ...

Best Regards
Sacx
myDomainTracker
Webmaster's Talks

Not so easy...

Perx! (not verified)
on
March 30, 2006 - 3:31am

Reading the howto it's clear that the crypto root filesystem is mounted from initrd...

Just before issuing the command

dpkg-reconfigure linux-image-2.6.12-9-386

edit the file /usr/share/initrd-tools/init
and add the beep command before the following lines


get_device
mount_device

inside the mount_root subroutine

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.