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
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. . .
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
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
or bash/zsh profile ? rc.local is specific for system RH like ...
Best Regards
Sacx
myDomainTracker
Webmaster's Talks
Not so easy...
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-386edit 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