Tuesday, November 28, 2006

Getting DNN 4.x to work on Win2K3 IIS

Download ASP.net 2.0 framework form http://msdn.microsoft.com/netframework/downloads/updates/default.aspx

Then run: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -I

In IIS go to ASP.NET tab and change the asp.net version to 2.0XXX

In IIS click on "Webservice Extensions"
Click on ASP.NET and "allow" it.

Tuesday, November 14, 2006

Minimal Setup of W2K3 VPN with NAT

0) Disable Windows Firewall service
1) Add Remote Access Role with VPN & NAT.
2) Assign private IPs to clients eg 192.168.x.x
3) Include basic firewall.
4) Punch hole in firewall for PPTP port (1723), assign to external IP/NIC in basic firewall
5) Add remote access policy to include windows/AD group for access to VPN
6) Enable name resolution on basic firewall
7) On the VPN server IP properties tab, use the external NIC for DNS queries

Thursday, October 5, 2006

IE6SP1 WWW_Auth logout Javascript

document.execCommand("ClearAuthenticationCache", "false");

Saturday, August 5, 2006

Hibernating/suspending from the command line on Windows XP

Enter:

rundll32 powrprof.dll,SetSuspendState

Whether it hibernates or suspends depends on Control Panel power options.

Attachments:

if (document.getElementById("idAttachmentsTable").rows.length == 0) document.getElementById("idAttachmentsRow").style.display='none';

Hibernating from the command line in Windows Vista

shutdown /h

Friday, April 14, 2006

Changing Linux to Text Console Login

Log in to the PC as root.
Edit /etc/inittab
Change the 5 in the line:

id:5:initdefault:

to 3.

The id:5 denotes the runlevel that Linux will boot up into. Runlevel 5 is the graphical login mode. This means that when Linux starts it will go directly into X11. The initdefault stands for the default runlevel. Change this runlevel to 3 for multiuser mode console login.
 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn