Adam Jarret

Blog

Debian: Beep at Login Prompt

| Tags: debian, fyi, linux

A spare PC that's been kicking around my apartment recently got a fresh dose of Lenny.

As a headless machine, it's handy to have the system beep when it reaches the log in prompt to announce that it's ready to accept SSH connections.

This is achieved with the beep command which can be installed with

apt-get install beep

The beep command can be used to play beeps at different frequencies and durations. For my "system ready" sound I decided on:

beep -f 750 -l 200 -n -f 650 -l 200 -n -f 750 -l 200

To execute the above command when the log in prompt is displayed, paste it into /etc/rc.local before the line exit 0.

Debian

Comments are closed for this post.