Dreambox 7020s
Is there a way of altering the standard telnet port from 23 to another one please ? either via telnet commands or other??
many many thanks in anticipation
dig5
Dreambox 7020s
Is there a way of altering the standard telnet port from 23 to another one please ? either via telnet commands or other??
many many thanks in anticipation
dig5
So normally you can change the following line in /etc/inetd.conf file:
To:
Zitattelnet stream tcp nowait root /usr/sbin/telnetd telnetd -p 2323
And include the following line in /etc/servioces file:
Zitattelnet 2323/tcp
The problem that it seems that telnetd software (which is a part of BusyBox) is not compiled with the -p option. The above should work if you re-compile busybox to include the -p option for telnetd.
rgds.
it's not required. it would be required for running telnetd without inetd, but we use inetd.
the first token ("telnet") refers to the port. simply change it to a number like "1234" (for port 1234).
you don't need to touch the services file.
Thank you, as always, perfection
dig5
Hello again my friends, i do appologise for my niaivity in this subject.
Zitattelnet stream tcp nowait root /usr/sbin/telnetd telnetd -p 2323
and
Zitatthe first token ("telnet") refers to the port. simply change it to a number like "1234" (for port 1234).
I have done both in the etc/inetd.conf file....
from.....
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
to.....
telnet stream tcp nowait root /usr/sbin/telnetd telnetd -p 3838
and to.....
telnet stream tcp nowait root /usr/sbin/telnetd telnetd -p3838 (no spaces)
and then .....
3838 stream tcp nowait root /usr/sbin/telnetd telnetd
As instructed.... telnet will not connect in any of these cases....
Could you pllease explain exactly how to alter which cfg file to make this work please?
kind reegards
dig5
Edit: Also I have returned the file (inetd.conf) to its original text and now telnet will not connect at all????
The Fault text......
ZitatBusyBox v1.01 (2006.06.26-00:34+0000) multi-call binary Usage: busybox [function] [arguments]... or: [function] [arguments]... BusyBox is a multi-call binary that combines many common Unix utilities into a single executable. Most people will create a link to busybox for each function they wish to use and BusyBox will act like whatever it was invoked as! Currently defined functions: [, ar, arping, ash, awk, basename, bunzip2, busybox, bzcat, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, df, dirname, dmesg, dos2unix, du, dumpkmap, echo, egrep, env, expr, false, fbset, fgrep, find, free, ftpget, ftpput, getkey, grep, gunzip, gzip, hdparm, head, hexdump, hostname, id, ifconfig, ifdown, ifup, insmod, ip, kill, killall, klogd, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsmod, md5sum, mkdir, mkfifo, mknod, mkswap, mktemp, modprobe, more, mount, mv, nc, netstat, nslookup, od, openvt, patch, pidof, ping, pivot
Thank you again laith.said I have got all that.... thank you.
I now have a problem of telnet failing to connect at all! All the files (script files) are as they were but telnet just WILL NOT connect.
DCC error text says....
Error 10057 function Send Socket is not connected.
ftp connects but telnet will not connect at all. a file appears to have been corrupted.... if you can tell me how to test further and or remidy this, i wiuld be really grateful
once again... many thanks for all your help
digger556
Did you use a linux-compatible editor to change the files?
Yes, good point floh.
digger556, you need a linux editor not a windows one, else you need to run dos2unix command in the box (I know you cannot if you cannot teknet).
one other think is that you need to restart the box before the changes takes effect.
If both not work, but your 2 files and tell me the port. I will fix it for you and post it back.
regards,
ZitatAlles anzeigenOriginal von digger556
Thank you again laith.said I have got all that.... thank you.
I now have a problem of telnet failing to connect at all! All the files (script files) are as they were but telnet just WILL NOT connect.
DCC error text says....
Error 10057 function Send Socket is not connected.
ftp connects but telnet will not connect at all. a file appears to have been corrupted.... if you can tell me how to test further and or remidy this, i wiuld be really grateful
once again... many thanks for all your help
digger556
DCC used only the standard port!
When the telnet port on the dreambox is changed, DCC cannot work...
ZitatAlles anzeigenOriginal von laith.said
Mate,
So what tmbinc was telling, is that becuase we are using inetd, we do not need to write the -p thing in the /etc/inetd.conf
Nothing is to be done in inetd.conf file. Only change in the /etc/services from:
To:
Actually tmbinc said sth else
Change
telnet stream tcp nowait root /usr/sbin/telnetd telnetd
To
1234 stream tcp nowait root /usr/sbin/telnetd telnetd
Many many thanks for ALL your replies to date my friends....
To edit the conf.file i used the editor in flash fxp.... it works with all other linux conf.files i edit, without an issue ? is this OK?
I still have no telnet from my pc to the 7020. as far as i am aware, the conf.files are back to their original status but the 7020 wont connect...... says an i/o error ????
Can anyone please help with this one.....
first. i would like to reinstate telnet in its original form.ie, on port 23 as normal.
second. how do i alter the port from 23 to another port for security. Please use laymans terms for those of us less literate in the use of linux
and lastly. can i use flashfxp to edit the script files in linux ?
I had it running, so it should be piece of cake.
Please post the two files and I will help you on them.
rgds.
ZitatOriginally posted by laith.said
I had it running, so it should be piece of cake.
Please post the two files and I will help you on them.
rgds.
Hi Laith.said
Many many appologies for not getting back in touch faster my friend.... ive been busy with work and other stuff.
I didnt want spoon-feeding m8, i wanted to learn this myself with help from yourselves.... may i take this opportunity to thank you for your offer of help but i have now sorted the files back to their original state and telnet now work as it did originally.
Could you please post which is the best editor for these files on a windows based pc.... to ftp using flashfxp programme. Or is the flashfxp editor ok to use.... ps: i used that last time and the telnet function corrupted???
again..... many many thanks for your assistance.
dig5
You are welcomed m8 :o)
I use codewright, but it is not something form of the shelves so I do not expect that you would just have it. Sorry for that.
Else try winvi (freeware). I did not use it myslef, but some use it.
good luck.
Hi,
I would like to change the port at which the telnet service is listenning to, but I'm not able to make any changes to the /etc/inetd.conf, since it is READ ONLY filesystem. How did you guys actually change it?
Peter