PDA

View Full Version : telnet problem



omega99
03-07-11, 11:09
running vix2.2
while playing with streampes & inetd.conf - I seem to have done something to upset telnet on port 23.
telnet ssh on port 22 works ok & all other network stuff works ok.

streampes inetd.conf config
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet server configuration database
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
ftp stream tcp nowait root /usr/sbin/vsftpd vsftpd
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
8001 stream tcp nowait root /usr/bin/streamproxy streamproxy
31335 stream tcp nowait root /usr/sbin/streamsec streamsec
31337 stream tcp nowait root /usr/sbin/streamts streamts -ps
31338 stream tcp nowait root /usr/sbin/streampes streampes
31339 stream tcp nowait root /usr/sbin/streamts streamts -ts
31340 stream tcp nowait root /usr/sbin/udpstreampes udpstreampes
31341 stream udp nowait root /usr/sbin/udpstreampes udpstreampes
31342 stream tcp nowait root /usr/sbin/streamts streamts -tsfile
31343 stream tcp nowait root /usr/sbin/streampes streames

original inetd.conf config file
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet server configuration database
#
# If you want to disable an entry so it isn't touched during
# package updates just comment it out with a single '#' character.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal
ftp stream tcp nowait root /usr/sbin/vsftpd vsftpd
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
8001 stream tcp nowait root /usr/bin/streamproxy streamproxy

can anybody suggest a place to start to see what I have stuffed up

Alias1
03-07-11, 23:52
The only mistake I can see is that this line should be at the bottom of the modified file
8001 stream tcp nowait root /usr/bin/streamproxy streamproxy
Also make sure you are using a linux compatible editor eg crimson editor on notepad ++

omega99
04-07-11, 15:55
gone back to the original inetd.conf, was having issue when using dvb-t tuner & when using media player - when Vu played up tenet to box to find streampes had gone from 1 instance to 15plus instances - killall streampes & box comes back but no sound until restarted.
seems this streampes might be more trouble than it is worth

Alias1
05-07-11, 00:12
Really that mod is only necessary if you intend to log :)

omega99
11-07-11, 11:55
I was going to log, nut now it causes too many problems so have given it a miss so far