Wednesday, September 16, 2009

Remote Desktop Error 1702 getting session names. Error [1702]: The binding handle is invalid.

I have it working now, if you can't get Remote Desktop working. AKA it was working before and it suddenly stopped, an update may have gotten you. After some googling and a bit of fiddling I brought up the cmd prompt and got the Error[1702] error when typing qwinsta. The problem ended up being that somehow my Terminal Services were disabled.

I fixed it by going to control panel -> Administrative Tools -> Services

Scroll down to terminal services right click, go to properties and set to automatic, then right click and click start service. This may work for you, it did for me.

Wednesday, September 9, 2009

controlling pins on Openwr Kamikaze

Just for those people, (reminder to myself), looking for a way to easily control LEDs and other lights on a OpenWRT router running Kamikaze. Login to the router and install kmod-gpio-dev


$>opkg install kmod-gpio-dev
$>cd /proc/diag
$>cd leds
$>echo 0 > power


This should cause your power light to start blinking. You can send 0 or 1 to any of these LEDs listed in LEDs.

kmod-leds-gpio is not available

I was trying to compile the package kmod-leds-gpio in Kamikaze but it didn't show up. It seems that there is an issue with the latest version of default kernel_config for that module, in order to get it to work type


$>make kernel_menuconfig


Then go to

[*] LED support -->
[M] LED support for GPIO connected Pins

OpenWRT Kamikaze compile single package

I found the solution to this on this site
openwrt building

You have to type the following to compile a package without compiling the entire build tree


$> make package/i2c-gpio-custom/{clean,compile,install} V=99 DEVELOPER=1


This is from the top directory of Kamikaze.