Telnet is not working in ubuntu 14.04
I'm new to Ubuntu and want to install Telnet and then enable it. I tried following commands-
sudo apt-get install xinetd
sudo apt-get install telnetd
Both were installed ,and I checked that which ports were open with-
netstat -tulpn
This showed me that 23 port was not opening and hence I can't open Telnet. I disabled Firewall disabled with-
sudo ufw diable
Do you have any idea? On another machine I installed the same way and it worked there, but now on my machine it is not working. Please help me to solve this problem. I also tried to restart Xinetd but it was not helpful.
14.04 telnet
add a comment |
I'm new to Ubuntu and want to install Telnet and then enable it. I tried following commands-
sudo apt-get install xinetd
sudo apt-get install telnetd
Both were installed ,and I checked that which ports were open with-
netstat -tulpn
This showed me that 23 port was not opening and hence I can't open Telnet. I disabled Firewall disabled with-
sudo ufw diable
Do you have any idea? On another machine I installed the same way and it worked there, but now on my machine it is not working. Please help me to solve this problem. I also tried to restart Xinetd but it was not helpful.
14.04 telnet
I think you need to reboot for the firewall changes to take effect. You at least have to restart theufw
service. Trysudo ufw 23
to just allow it and thensudo service ufw restart
to restart the firewall.
– TheWanderer
Oct 1 '15 at 19:13
@Zacharee1 thank you for answer, but it not help me
– GeoVIP
Oct 1 '15 at 19:30
try restarting xinetdsudo service xinetd restart
– user448115
Oct 1 '15 at 21:22
add a comment |
I'm new to Ubuntu and want to install Telnet and then enable it. I tried following commands-
sudo apt-get install xinetd
sudo apt-get install telnetd
Both were installed ,and I checked that which ports were open with-
netstat -tulpn
This showed me that 23 port was not opening and hence I can't open Telnet. I disabled Firewall disabled with-
sudo ufw diable
Do you have any idea? On another machine I installed the same way and it worked there, but now on my machine it is not working. Please help me to solve this problem. I also tried to restart Xinetd but it was not helpful.
14.04 telnet
I'm new to Ubuntu and want to install Telnet and then enable it. I tried following commands-
sudo apt-get install xinetd
sudo apt-get install telnetd
Both were installed ,and I checked that which ports were open with-
netstat -tulpn
This showed me that 23 port was not opening and hence I can't open Telnet. I disabled Firewall disabled with-
sudo ufw diable
Do you have any idea? On another machine I installed the same way and it worked there, but now on my machine it is not working. Please help me to solve this problem. I also tried to restart Xinetd but it was not helpful.
14.04 telnet
14.04 telnet
edited Oct 1 '15 at 18:45
Priyansh
4901518
4901518
asked Oct 1 '15 at 18:35
GeoVIPGeoVIP
10112
10112
I think you need to reboot for the firewall changes to take effect. You at least have to restart theufw
service. Trysudo ufw 23
to just allow it and thensudo service ufw restart
to restart the firewall.
– TheWanderer
Oct 1 '15 at 19:13
@Zacharee1 thank you for answer, but it not help me
– GeoVIP
Oct 1 '15 at 19:30
try restarting xinetdsudo service xinetd restart
– user448115
Oct 1 '15 at 21:22
add a comment |
I think you need to reboot for the firewall changes to take effect. You at least have to restart theufw
service. Trysudo ufw 23
to just allow it and thensudo service ufw restart
to restart the firewall.
– TheWanderer
Oct 1 '15 at 19:13
@Zacharee1 thank you for answer, but it not help me
– GeoVIP
Oct 1 '15 at 19:30
try restarting xinetdsudo service xinetd restart
– user448115
Oct 1 '15 at 21:22
I think you need to reboot for the firewall changes to take effect. You at least have to restart the
ufw
service. Try sudo ufw 23
to just allow it and then sudo service ufw restart
to restart the firewall.– TheWanderer
Oct 1 '15 at 19:13
I think you need to reboot for the firewall changes to take effect. You at least have to restart the
ufw
service. Try sudo ufw 23
to just allow it and then sudo service ufw restart
to restart the firewall.– TheWanderer
Oct 1 '15 at 19:13
@Zacharee1 thank you for answer, but it not help me
– GeoVIP
Oct 1 '15 at 19:30
@Zacharee1 thank you for answer, but it not help me
– GeoVIP
Oct 1 '15 at 19:30
try restarting xinetd
sudo service xinetd restart
– user448115
Oct 1 '15 at 21:22
try restarting xinetd
sudo service xinetd restart
– user448115
Oct 1 '15 at 21:22
add a comment |
1 Answer
1
active
oldest
votes
Try the following:
Configure the /etc/inetd.conf file manually by adding the line
"telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd" to it with elevated permissions.
Then, configure the /etc/xinetd.conf file manually by adding
"instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30"
to the default settings section (with elevated permissions).
Restart Ubuntu.
Restart the telnet server by running the commnd "sudo /etc/init.d/xinetd restart".
When you finish, use the command "telnet -tln" to check to see if the telnet server successfully opened a socket for you on Port 23
If so, you should see a line in the output that looks like the following:
TCP 0 0 (your local address):23 0.0.0.0:* LISTENING
If so, run ifconfig to grab the IPv4 and take that over to your other machine (running the telnet client). In that terminal run "telnet (the IPv4 you wrote down)". If everything's configured correctly (it may take a few seconds depending on your connection speed) it should connect and prompt you for a username/password. Enter them and you're in.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f680550%2ftelnet-is-not-working-in-ubuntu-14-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try the following:
Configure the /etc/inetd.conf file manually by adding the line
"telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd" to it with elevated permissions.
Then, configure the /etc/xinetd.conf file manually by adding
"instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30"
to the default settings section (with elevated permissions).
Restart Ubuntu.
Restart the telnet server by running the commnd "sudo /etc/init.d/xinetd restart".
When you finish, use the command "telnet -tln" to check to see if the telnet server successfully opened a socket for you on Port 23
If so, you should see a line in the output that looks like the following:
TCP 0 0 (your local address):23 0.0.0.0:* LISTENING
If so, run ifconfig to grab the IPv4 and take that over to your other machine (running the telnet client). In that terminal run "telnet (the IPv4 you wrote down)". If everything's configured correctly (it may take a few seconds depending on your connection speed) it should connect and prompt you for a username/password. Enter them and you're in.
add a comment |
Try the following:
Configure the /etc/inetd.conf file manually by adding the line
"telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd" to it with elevated permissions.
Then, configure the /etc/xinetd.conf file manually by adding
"instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30"
to the default settings section (with elevated permissions).
Restart Ubuntu.
Restart the telnet server by running the commnd "sudo /etc/init.d/xinetd restart".
When you finish, use the command "telnet -tln" to check to see if the telnet server successfully opened a socket for you on Port 23
If so, you should see a line in the output that looks like the following:
TCP 0 0 (your local address):23 0.0.0.0:* LISTENING
If so, run ifconfig to grab the IPv4 and take that over to your other machine (running the telnet client). In that terminal run "telnet (the IPv4 you wrote down)". If everything's configured correctly (it may take a few seconds depending on your connection speed) it should connect and prompt you for a username/password. Enter them and you're in.
add a comment |
Try the following:
Configure the /etc/inetd.conf file manually by adding the line
"telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd" to it with elevated permissions.
Then, configure the /etc/xinetd.conf file manually by adding
"instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30"
to the default settings section (with elevated permissions).
Restart Ubuntu.
Restart the telnet server by running the commnd "sudo /etc/init.d/xinetd restart".
When you finish, use the command "telnet -tln" to check to see if the telnet server successfully opened a socket for you on Port 23
If so, you should see a line in the output that looks like the following:
TCP 0 0 (your local address):23 0.0.0.0:* LISTENING
If so, run ifconfig to grab the IPv4 and take that over to your other machine (running the telnet client). In that terminal run "telnet (the IPv4 you wrote down)". If everything's configured correctly (it may take a few seconds depending on your connection speed) it should connect and prompt you for a username/password. Enter them and you're in.
Try the following:
Configure the /etc/inetd.conf file manually by adding the line
"telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd" to it with elevated permissions.
Then, configure the /etc/xinetd.conf file manually by adding
"instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30"
to the default settings section (with elevated permissions).
Restart Ubuntu.
Restart the telnet server by running the commnd "sudo /etc/init.d/xinetd restart".
When you finish, use the command "telnet -tln" to check to see if the telnet server successfully opened a socket for you on Port 23
If so, you should see a line in the output that looks like the following:
TCP 0 0 (your local address):23 0.0.0.0:* LISTENING
If so, run ifconfig to grab the IPv4 and take that over to your other machine (running the telnet client). In that terminal run "telnet (the IPv4 you wrote down)". If everything's configured correctly (it may take a few seconds depending on your connection speed) it should connect and prompt you for a username/password. Enter them and you're in.
answered Sep 13 '16 at 11:27
Al ShakespeareAl Shakespeare
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f680550%2ftelnet-is-not-working-in-ubuntu-14-04%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
I think you need to reboot for the firewall changes to take effect. You at least have to restart the
ufw
service. Trysudo ufw 23
to just allow it and thensudo service ufw restart
to restart the firewall.– TheWanderer
Oct 1 '15 at 19:13
@Zacharee1 thank you for answer, but it not help me
– GeoVIP
Oct 1 '15 at 19:30
try restarting xinetd
sudo service xinetd restart
– user448115
Oct 1 '15 at 21:22