[SOLVED] Telnet client console SEND invalid command EDIT: Only Spanish Version
-
Interesting that the other commands work.
For example you typed "help", "d" and it worked.
What about "status" command. Does it work?You can verify that telnet client sends anything to your server using "wireshark":http://www.wireshark.org/
Maybe it is a response from your server that makes telnet client to complain.From what I found so far, telnet is a protocol that must be implemented on server and client side.
Have you implemented a telnet server ?If not and you need some tool to verify that your server is responding on some commands I would suggest to use netcat.
You can find one of implementations here "ncat":http://nmap.org/ncat/ or just google netcat.
-
Hello andreyc,
All command words works fine except 'send' in this windows xp sp3 distribution.
I debugged my app and theres no command received from telnet client. From server side i set commands while client connects i set communication correctly and full duplex.
What i can't explain to myself is why same os (different language only) works correct one and not other... configuration issues?
-
To clear situation on problem with Telnet Client:
I develop an App in PC1 Windows XP 2002 SP3 English version. This app is a server in a network listening in port 6000. Waits for clients to connect (through Telnet client for example) over lan.
The pc running my app has IP1 and its working.
From PC2 with same os i connect using >telnet IP1 6000
It connects and receives data from my app (server).
Then i press 'ctrl+}' and get to Telnet prompt@Microsoft Telnet> send AnyString
AnyString has been sent to server.@My app receives data correctly, process it and works fine.
From PC3 using W7 and Ubuntu virtual machines, same procedure than PC2 and it works fine.
From PC4 os Windows XP SP3 2002 Spanish i connect using >telnet IP1 6000
It connects and receives data from my app (server).
Then i press 'ctrl+}' and get to Telnet prompt@Microsoft Telnet> send AnyString
Invalid command. type ?/help for help@Thats why i suppose Telnet client on XP can be "configured?"
-
Looks like windows telnet client has some issues. I don't remember that you can configure it except from its command line.
You can try to compare the outputs of "status" and "display" commands from working and non-working clients and change some options using "set" command.Also you can try another network tool like netcat (see my previous post)
-
Copy of Ramón Sola's solution on another forum.
La orden send es nueva en Windows XP, pues no existía en Windows 2000.
He comprobado que se trata de un defecto de las versiones en español del cliente de Telnet en Windows XP y Windows Server 2003, un "exceso de traducción" por así decirlo.
En una parte crucial del programa, la palabra send se transformó en 'Enviar' con mayúscula inicial.
El intérprete de órdenes del cliente de Telnet convierte a minúsculas los primeros caracteres de la línea introducida antes de compararlos con las órdenes admitidas, de modo que ni siquiera 'enviar' cadena coincidirá con 'Enviar' y por tanto no se reconocerá como válida.Para corregir el problema puede usarse, por ejemplo, la antigua herramienta Resource Hacker:
- Abrir Resource Hacker y cargar el archivo \Windows\System32\Telnet.exe, bien mediante el menú File, Open, o bien arrastrándolo hacia la ventana.
- En el árbol de la parte izquierda, desplegar String Table, después el bloque 19 y seleccionar 3082, que es el código del idioma Español (España, alfabetización internacional).
- En la parte derecha, la cadena Enviar traducida incorrectamente tiene como índice el 296. Se debe sustituir la palabra Enviar por send y hacer clic en Compile Script. Si la modificación respeta las reglas, el botón se desactiva sin mostrar confirmación o mensaje alguno.
- Guardar los cambios con File, Save As, quizá también en System32. Sería preferible no reemplazar el archivo Telnet.exe de Windows sino darle un nuevo nombre y usarlo de este modo en adelante.
It´s a translation problem in Windows XP. Modifying string saves problem.