Can i make ubuntu server do a system beep when ubuntu is ready to log in
up vote
0
down vote
favorite
So I'm using a ssh conection to log in and I need to know when ubuntu booted and it's ready for log in so I want to hear a beep when I can.
system
add a comment |
up vote
0
down vote
favorite
So I'm using a ssh conection to log in and I need to know when ubuntu booted and it's ready for log in so I want to hear a beep when I can.
system
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So I'm using a ssh conection to log in and I need to know when ubuntu booted and it's ready for log in so I want to hear a beep when I can.
system
So I'm using a ssh conection to log in and I need to know when ubuntu booted and it's ready for log in so I want to hear a beep when I can.
system
system
asked Nov 15 at 10:19
Vyctor661
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Looks you need just to know when ssh is started. I see solution to stop ssh server autorun and make script with 2 steps run ssh + beep command.
- Be sure beep is work.
sudo apt install beep
. Then check. If isn't heart beep, run sudo modprobe pcspkr
and then beep
.
Create script which run ssh and beep (Example: sshrun):
#!/bin/bash
update-rc.d ssh defaults
systemctl enable ssh.socket
beep
Place the script you want to run in the /etc/init.d directory and make the script executable.
chmod 755 sshrun
You need check all steps first in your system environment. And сorrect each if needed.
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Looks you need just to know when ssh is started. I see solution to stop ssh server autorun and make script with 2 steps run ssh + beep command.
- Be sure beep is work.
sudo apt install beep
. Then check. If isn't heart beep, run sudo modprobe pcspkr
and then beep
.
Create script which run ssh and beep (Example: sshrun):
#!/bin/bash
update-rc.d ssh defaults
systemctl enable ssh.socket
beep
Place the script you want to run in the /etc/init.d directory and make the script executable.
chmod 755 sshrun
You need check all steps first in your system environment. And сorrect each if needed.
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
add a comment |
up vote
0
down vote
Looks you need just to know when ssh is started. I see solution to stop ssh server autorun and make script with 2 steps run ssh + beep command.
- Be sure beep is work.
sudo apt install beep
. Then check. If isn't heart beep, run sudo modprobe pcspkr
and then beep
.
Create script which run ssh and beep (Example: sshrun):
#!/bin/bash
update-rc.d ssh defaults
systemctl enable ssh.socket
beep
Place the script you want to run in the /etc/init.d directory and make the script executable.
chmod 755 sshrun
You need check all steps first in your system environment. And сorrect each if needed.
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
add a comment |
up vote
0
down vote
up vote
0
down vote
Looks you need just to know when ssh is started. I see solution to stop ssh server autorun and make script with 2 steps run ssh + beep command.
- Be sure beep is work.
sudo apt install beep
. Then check. If isn't heart beep, run sudo modprobe pcspkr
and then beep
.
Create script which run ssh and beep (Example: sshrun):
#!/bin/bash
update-rc.d ssh defaults
systemctl enable ssh.socket
beep
Place the script you want to run in the /etc/init.d directory and make the script executable.
chmod 755 sshrun
You need check all steps first in your system environment. And сorrect each if needed.
Looks you need just to know when ssh is started. I see solution to stop ssh server autorun and make script with 2 steps run ssh + beep command.
- Be sure beep is work.
sudo apt install beep
. Then check. If isn't heart beep, run sudo modprobe pcspkr
and then beep
.
Create script which run ssh and beep (Example: sshrun):
#!/bin/bash
update-rc.d ssh defaults
systemctl enable ssh.socket
beep
Place the script you want to run in the /etc/init.d directory and make the script executable.
chmod 755 sshrun
You need check all steps first in your system environment. And сorrect each if needed.
answered Nov 15 at 11:23
S_Flash
928117
928117
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
add a comment |
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
soo i cant install beep Package beep is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
– Vyctor661
Nov 15 at 12:40
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
That's a different and unrelated question. Look up how to enable the Universe repository.
– user535733
Nov 15 at 13:39
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093138%2fcan-i-make-ubuntu-server-do-a-system-beep-when-ubuntu-is-ready-to-log-in%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown