![]() |
![]() |
#1 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Roadshow: Using TelNetD and Configuring the Users File
(I also posted this message on the Roadshow forum.)
Hi all! I'm a happy Roadshow user that I use on one of my Amiga while the others use Miami ![]() I recently installed TelNetD v2.0 on these Amigas without much problem. With Roadshow, I'm facing a problem: whenever I try to connect via telnet to my Amiga, TelNetD Guru 8000 0004 or the Amiga crashes entirely and reboots ![]() I think that the problem come from my Roadshow "users" file because its syntax is different from that of AmiTCP or Miami. I put the following line, but I think that it's wrong: Code:
NAME=tygre PASSWORD=abcdef UID=1 GID=1 DIR=RAM: SHELL=CLI Could anyone help? Take care! Last edited by tygre; 04 October 2022 at 23:49. Reason: More details |
![]() |
![]() |
#2 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Hi all!
I did some more test over the weekend and got something closer to working: I increased the stack to the server description with STACK=65535 and it seems that SHELL in the user file is a switch, not a keyword requiring a value ![]() Now, when I connect with a telnet client to my Amiga, SnoopDOS shows something like that: Code:
NewSell -DEVICE fakesr.device -UNIT 21 I saw that there is a DOS switch that I could add to the server description to link the I/O to the TCP stream, but when I use it, Roadshow doesn't allow my telnet client to connect anymore and the NewShell command above doesn't happen. What am I doing wrong? ![]() |
![]() |
![]() |
#3 |
Registered User
Join Date: Nov 2010
Location: Sweden
Posts: 528
|
Have you asked on the official Roadshow68k forum?
|
![]() |
![]() |
#4 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Yes indeed!
(See my first post, but I haven't received any answer there yet...) |
![]() |
![]() |
#5 |
Registered User
Join Date: Oct 2017
Location: Sweden
Posts: 16
|
Did you make any progress?
I was fiddling with VCON also. But it launches the shell in a Window on the Amiga instead of giving it to the telnet-client. I have the same issues as you with telnetd v2.0 it gurus on me. |
![]() |
![]() |
#6 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Hi AiO!
No news yet: I wrote directly to APC&TCP and a Andreas answered me back, writing that they had forwarded my e-mail to the developer ![]() With VCON, did you try the DOS switch in the server description? ![]() Cheers! |
![]() |
![]() |
#7 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Hi all!
Anyone could help? ![]() PS. I already contacted APC&TCP... |
![]() |
![]() |
#8 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Hi there!
Has anyone some ideas how to make it work? ![]() Cheers! |
![]() |
![]() |
#9 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 872
|
First of all, you were right in that it needs more stack, at default 4096 it sortof managed to work, sometimes, but if you run MuForce you see exceptions and crazy stuff happening. So I guess telnetd was really close to the stack limit with AmiTCP/Miami and calling bsdsocket.library functions in Roadshow simply needs a little bit more stack.
So this is what was needed for the stack, but you already figured that out: Code:
9.Ram Disk:> search DEVS:Internet/servers telnet NONUM telnet STACK=8192 stream noreq SYS:serv/telnetd The * as argument to NewShell is to tell NewShell to use standard input/output instead of opening a new console window for standard input/output and can be replaced with CONSOLE: in 2.0+. As Roadshow parses the arguments ReadArgs()/ReadItem()-style, * needs to be escaped with an additional *. You also you need "" quotes around the argument as it contains a space. So this is what it will look like: Code:
9.Ram Disk:> search DEVS:Internet/users patrik NONUM NAME=patrik PASSWORD=secret UID=1000 GID=1000 DIR=RAM: SHELL="**NewShell **" Last edited by patrik; 26 November 2022 at 01:26. |
![]() |
![]() |
#10 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Hi Patrik and thank you so much! With your examples, it works now!
![]() I couldn't understand what the * was about, thanks for your explanations. I just added my own startup to change the prompt like on my other Amigas. I noticed two "issues". First, the "USER" global variable doesn't seem to be set by Roadshow. Second, executing "dir" breaks something in the I/O handling: after a call to "dir", what I type in my terminal doesn't show and the prompts all show on a same line rather than on the next line ![]() Thanks again! ![]() |
![]() |
![]() |
#11 | |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 872
|
Quote:
|
|
![]() |
![]() |
#12 | |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Quote:
![]() PS. Command "list" and "ls" (from GeekGadgets) don't create this issue... |
|
![]() |
![]() |
#13 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 872
|
Got the exact same result under 3.2.1 - dir makes what I type in the prompt become invisible, but list does not.
I wonder if it can be because of some slight difference in TCP: behaviour. |
![]() |
![]() |
#14 |
Returning fan!
Join Date: Jan 2011
Location: Montréal, QC, Canada
Posts: 1,393
|
Thanks for confirming
![]() Maybe ThoR or others well-versed in the dark arts of the console will have some ideas ![]() I don't know what to do but, in the meantime, list or ls will do! Thanks again! |
![]() |
![]() |
#15 |
Amigan
![]() Join Date: Feb 2012
Location: London
Posts: 1,255
|
I setup telnetd today with Roadshow / OS 3.2.1 so thanks for this info Patrik!
I'm not seeing the issues with 'dir'. What telnet client are you using? I tried 3 clients. All support ANSI colours. - Windows: Doesn't handle CR/LF correctly (tried all terminal types). - Linux: Seems OK but misses the odd CR. - Windows Putty. This seems the best. My users file uses s:telnet-startup to run 'noreq' (see telnetd2_0.lha) Code:
NAME=user PASSWORD=password UID=1000 GID=1000 DIR=RAM: SHELL="**NewShell ** FROM s:telnet-startup" Code:
c:noreq Execute s:shell-startup PROMPT "*E[0m*E[33m%N.*E[32m%S>*E[0m " |
![]() |
![]() |
#16 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 43
Posts: 872
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
e-uae bsdsocket.library with tcpip servers (telnetd)?? | GeoKM | support.OtherUAE | 6 | 09 August 2013 12:34 |
I need help configuring Amithlon! | jimmy2x2x | support.Other | 6 | 08 April 2011 11:01 |
Configuring Joystick(s) | Kristian83 | support.WinUAE | 24 | 06 January 2009 00:34 |
Re-Configuring Picasso96 | THX1138 | support.Hardware | 4 | 26 April 2006 11:19 |
Telnetd.device | dEViAN | New to Emulation or Amiga scene | 7 | 10 October 2005 05:43 |
|
|