mail_e36
22nd September 2009, 09:28 PM
Netcat is known as the Swiss Army Knife of Networking. A version of Netcat for Windows CE (WinMo) exists at the URL below, but has anyone gotten this to work on a modern Windows Mobile device? When I run it I get the "Cmd line:" screen but as soon as I enter anything on the keyboard I get "No Ports To Connect To"
http://prt.fernuni-hagen.de/~bischoff/wince/netcat-wince-arm-pocket-wce300.zip
Has anyone tried Netcat on a Windows Mobile 5 or 6 device?
UPDATE: December 2009: Got NetCat working on Windows Mobile 6.1 by installing a Command Prompt by following instructions at the following URLL http://dalelane.co.uk/blog/?p=122
In case the website disappears, here is the web site text by someone named Dale Lane:
Getting Command Shell working on Windows Mobile 5
Microsoft provide a command shell for Windows Mobile as a part of their Developer Power Tools package.
I fancied giving it a try tonight (for no particular reason other than that I like using the command line, and my phone has a full QWERTY keyboard) so followed the instructions to install it.
No luck – it didn’t work. No errors, it just didn’t work – nothing happened.
It took a bit of playing around with, but I’ve managed to get it running…
It needed a registry hack:
set HKEY_LOCAL_MACHINE\Drivers\Console\OutputTo to 0.
I did it with a quick bit of code:
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
namespace RegistryAccess
{
class Program
{
static void Main(string[] args)
{
RegistryKey baseKey = Registry.LocalMachine;
RegistryKey driversKey = baseKey.OpenSubKey("Drivers", true);
RegistryKey consoleKey = driversKey.OpenSubKey("Console", true);
consoleKey.SetValue("OutputTo", 0);
}
}
}
but if you have a registry editor, you can do it with that. (I’m short of space on my phone at the moment, so have uninstalled every non-essential app, including my registry editor.)
Then after a reboot, the command shell seems to be working.
The only downside is that it doesn’t seem to realise it’s running on a VGA screen, so the text is really small. But still… I have a command line now – yay! :-)
Update: My first mobile command-line app was a port of my command-line To-Do list tools – after a quick try, they seem to work fine. I quite like this – it’s actually quicker than navigating to and filling in the Pocket Outlook forms to just enter the text I want then hit Enter.
http://prt.fernuni-hagen.de/~bischoff/wince/netcat-wince-arm-pocket-wce300.zip
Has anyone tried Netcat on a Windows Mobile 5 or 6 device?
UPDATE: December 2009: Got NetCat working on Windows Mobile 6.1 by installing a Command Prompt by following instructions at the following URLL http://dalelane.co.uk/blog/?p=122
In case the website disappears, here is the web site text by someone named Dale Lane:
Getting Command Shell working on Windows Mobile 5
Microsoft provide a command shell for Windows Mobile as a part of their Developer Power Tools package.
I fancied giving it a try tonight (for no particular reason other than that I like using the command line, and my phone has a full QWERTY keyboard) so followed the instructions to install it.
No luck – it didn’t work. No errors, it just didn’t work – nothing happened.
It took a bit of playing around with, but I’ve managed to get it running…
It needed a registry hack:
set HKEY_LOCAL_MACHINE\Drivers\Console\OutputTo to 0.
I did it with a quick bit of code:
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Win32;
namespace RegistryAccess
{
class Program
{
static void Main(string[] args)
{
RegistryKey baseKey = Registry.LocalMachine;
RegistryKey driversKey = baseKey.OpenSubKey("Drivers", true);
RegistryKey consoleKey = driversKey.OpenSubKey("Console", true);
consoleKey.SetValue("OutputTo", 0);
}
}
}
but if you have a registry editor, you can do it with that. (I’m short of space on my phone at the moment, so have uninstalled every non-essential app, including my registry editor.)
Then after a reboot, the command shell seems to be working.
The only downside is that it doesn’t seem to realise it’s running on a VGA screen, so the text is really small. But still… I have a command line now – yay! :-)
Update: My first mobile command-line app was a port of my command-line To-Do list tools – after a quick try, they seem to work fine. I quite like this – it’s actually quicker than navigating to and filling in the Pocket Outlook forms to just enter the text I want then hit Enter.