Re: how to start telnetd server in Windows Mobile 5.0?
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 24 Oct 2005 13:04:15 -0700
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
>>
>
>
.
- References:
- how to start telnetd server in Windows Mobile 5.0?
- From: mbarton888
- Re: how to start telnetd server in Windows Mobile 5.0?
- From: Greg Scott [MS]
- how to start telnetd server in Windows Mobile 5.0?
- Prev by Date: Re: Formatting partitions using Storage Manager control panel
- Next by Date: Re: running a service/driver/application upon startup
- Previous by thread: Re: how to start telnetd server in Windows Mobile 5.0?
- Next by thread: Re: Formatting partitions using Storage Manager control panel
- Index(es):
Relevant Pages
|
Loading