Monday, March 19, 2007

Reset the TCP/IP Stack

Reset the TCP/IP Stack

Windows XP - Is the TCP/IP config acting up? Enter the command in a DOS box and this will hopefully clear the mess!

Note: Write down or screen capture DNS addresses, LAN configs and other variables. The reset will wipe out all network settings.

netsh int ip reset c:\resetlog.txt

Tuesday, March 13, 2007

GPRS Access Numbers

GPRS Access Numbers

*99#
*99***1#

Disable Data Execution Prevention (DEP)

Disable Data Execution Prevention (DEP)

Edit the BOOT.INI file in the root of the partition from which the computer boots.

  • Right-click on My Computer and select Properties.
  • Click on the Advanced tab.
  • Click on the third button—settings for system start options.
  • Click on the Edit button to edit the boot.ini file.
  • Carefully edit the /NoExecute=OptIn string and change it to AlwaysOff. This part at the end of the line should now read: /NoExecute=AlwaysOff
  • Save and close the dialog boxes by clicking on OK.

Alternative Method:

  • ATTRIB -S -H -R C:\BOOT.INI
  • NOTEPAD BOOT.INI
  • Carefully edit the /NoExecute=OptIn string and change OptIn to AlwaysOff. This part at the end of the line should now read: /NoExecute=AlwaysOff
  • Close the editor and resave the BOOT.INI file back to where it was.
  • ATTRIB +S +H +R C:\BOOT.INI
To disable DEP by modifying the Boot.ini file, change the /noexecute policy level to alwaysoff.

/NoExecute=AlwaysOff

Sunday, March 04, 2007

Shell Environment Variables

Shell Environment Variables

List the environment vars from a shell prompt:

-sh-3.00$ env