Re: how to start telnetd server in Windows Mobile 5.0?



As Greg recommended, please make sure your registry is OK first. If this
doesn't help, could you verify that telnetd.dll is loaded? A debug version
of the OS (I'm assuming you have Platform Builder and can get this since
you're talking about SYSGEN_TELNETD) would be quite helpful in any event, to
see if and why telnetd.dll isn't being loaded, why it's not taking your
requests, etc... Telnet has pretty good debugzones but most are off by
default.

By default telnet is started at boottime. You can also potentially step
through the code -- it's in \public\servers\sdk\samples\telnetd.

I don't know how you're getting ERROR_ACCESS_DENIED. In WM 2005 I changed
it so by default you can't run 'services xyz' unless you override it via the
registry (for security reasons) but this is the only case I know of having
ERROR_ACCESS_DENIED in services or telnetd.

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2003 Microsoft Corporation. All rights
reserved.

"Greg Scott [MS]" <gregsco@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OVsvSPM2FHA.2212@xxxxxxxxxxxxxxxxxxxxxxx
> The telnet server runs under services.exe. A service has registry
> information that instructs services.exe to load and start it on boot.
> Have a look at the registry values that are brought into a WinCE image
> when services.exe is present. To do this look for the CESYSGEN tag with
> TELNETD in servers.reg.
>
> Once you add this registry I suspect you will also be able to load the
> telnet server without doing a reboot by using RegisterDevice /
> ActivateDevice / etc.
>
> John Spaith has written a lot of good blog articles about services.exe and
> telnetd: http://blogs.msdn.com/cenet/archive/category/7157.aspx.
>
> I hope this helps.
>
> --
> Greg Scott
> Software Design Engineer, Windows CE
> Microsoft Corporation
> _____________________________________________________________
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> _____________________________________________________________
>
> "mbarton888" <mbarton@xxxxxxxxxxxxxxxxxx> wrote in message
> news:1129931310.972388.244470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Hi,
>> I got SYSGEN_TELNETD included, with the dependencies, so the
>> telnetd.dll exists. But how on earth do I get it to run? I cannot use
>> the 's' command from shell.exe directly on telnetd, since it is not a
>> .exe. Loading it as a shellext dll did not work either. I thought maybe
>> the services.exe would do the trick, since there is an example showing:
>>
>> s services -d start tel0:
>> but there is an error 5 returned, which means access denied.
>>
>> Makes me wonder if there is something I need to do to create tel0:,
>> independently from just turning on SYSGEN_TELNETD.
>>
>> Anyone have a suggestion for me?
>> Thanks
>> mbarton at taprootsystems dot com
>>
>
>


.



Relevant Pages

  • Re: Web Server Configuration Problem
    ... Microsoft Corporation ... Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/. ... This posting is provided "AS IS" with no warranties, and confers no rights. ... >> the 2 default entries in registry editor. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MSMQ Install and Start on WM5 PPC
    ... registry stuff in the 1st place. ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... since in later OS's msmq was moved to services.exe from device.exe. ...
    (microsoft.public.windowsce.embedded)
  • Re: FTPD VROOTS
    ... a DEBUG build of FTP server and turn on debug zones that would help. ... This posting is provided "AS IS" with no warranties, and confers no rights. ... © 2003 Microsoft Corporation. ... I have tried the following registry ...
    (microsoft.public.windowsce.app.development)
  • Re: Web Server Configuration Problem
    ... > Microsoft Corporation ... > Check out the new CE Networking Team Blog at http://blogs.msdn.com/cenet/. ... > This posting is provided "AS IS" with no warranties, and confers no rights. ... >>> the 2 default entries in registry editor. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to configure password in telnetd server in WinCe 6.0 target.
    ... When I run a telnet to my target I am asked about a user and password, like user I use my_user (configured in registry), but for password I do not know what key I have to use. ... I have tried with empty key but it does not work. ...
    (microsoft.public.windowsce.platbuilder)

Loading