Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

telnetd

156 views
Skip to first unread message

Coyote Seven

unread,
Apr 18, 2003, 10:58:10 AM4/18/03
to
The problem: To get a 'quick and dirty' telnet daemon working on my
Amiga emulation just to see if I can. People could telnet into my
Windows machine and get... AmigaDOS. Pretty funny, huh?

Quick search on Aminet for telnetd came up only with 'telnetd 2.0'
which works with AmiTCP 3.0 or later. I don't really need AmiTCP since
WinUAE emulates the bsdsocket.library already, but I do need inetd to
get this to work. So, I searched for AmiTCP on Aminet. Only version
2.x-something. Great. Well, I grab it anyway. What else am I going to
do? I set everything up quickly and used the example passwd and group
files just so I could get started, and made the appropriate entry into
the inetd.conf file.

I restarted WinUAE. From an Amiga shell, I ran inetd. Then I tried to
telnet back into my machine from Windows' telnet program. No refused
connection, so that was a good sign. But also no Login: prompt either.
I could type stuff in and it would echo back... it was almost zen
like. But other than that, nothing. I was confused. I still am! I
reset the Amiga emulation and the connection was instantly closed. So
-something- is working, but I don't know why it won't go all the way.

Any help would be greatly appreciated!

Thomas Rapp

unread,
Apr 19, 2003, 6:20:54 AM4/19/03
to

"Coyote Seven" <slu...@earthlink.net> schrieb im Newsbeitrag
news:6oUna.30522$4P1.2...@newsread2.prod.itd.earthlink.net...


It does not work this way. You cannot combine WinUAE's bsdsocket emulation
with AmiTCP or Miami or whatever. WinUAE's bsdsocket is just a wrapper for
Winsock. It does not have inetd on the Amiga side. The only way to start a
listener is to start it as a program. If telnetd does not support this, it
cannot be used on WinUAE.

What in fact does work is the TCP-Handler contained in AmiTCP. This way you
can start a simple telnet daemon by just entering

newshell tcp:23

in a shell window.

Bye,
Thomas


Ryan J. Paque

unread,
Apr 20, 2003, 2:05:39 AM4/20/03
to
Coyote Seven wrote:
> The problem: To get a 'quick and dirty' telnet daemon working on my
> Amiga emulation just to see if I can. People could telnet into my
> Windows machine and get... AmigaDOS. Pretty funny, huh?


I have set up a CNet BBS inside WinUAE via TelnetD with absolutely no
problems. The version I have requires only the following:

A text file called "telnetd-device.conf" which is located in AMITCP:DB/
- You do not actually need AmiTCP... just an assign. TelnetD
works off the internal bsdsocket emulation.
- This file contains one line consisting of the port number
TelnetD should listen to, the number of connections you want
to allow, and your local IP address... it should read
something like "23 10 255.255.255.255" unless your local IP
is different for some odd reason.

Then, simply direct your software to use telnetd.device as your I/O, and
there you go!

> Quick search on Aminet for telnetd came up only with 'telnetd 2.0'
> which works with AmiTCP 3.0 or later. I don't really need AmiTCP since
> WinUAE emulates the bsdsocket.library already, but I do need inetd to
> get this to work. So, I searched for AmiTCP on Aminet. Only version
> 2.x-something. Great. Well, I grab it anyway. What else am I going to
> do? I set everything up quickly and used the example passwd and group
> files just so I could get started, and made the appropriate entry into
> the inetd.conf file.

I've never actually tried running AmiTCP under WinUAE... in fact, I've
never run AmiTCP in my life... but I thought there was a v4 demo on Aminet?

>
> I restarted WinUAE. From an Amiga shell, I ran inetd. Then I tried
> to telnet back into my machine from Windows' telnet program. No refused
> connection, so that was a good sign. But also no Login: prompt either.
> I could type stuff in and it would echo back... it was almost zen
> like. But other than that, nothing. I was confused. I still am! I
> reset the Amiga emulation and the connection was instantly closed. So
> -something- is working, but I don't know why it won't go all the way.

TelnetD is more of a replacement for serial.device then a full service
telnet server. My suggestion might not be what you're looking for, but
it was fun for me to figure out when I tried to get it working a year ago.

Ryan

0 new messages