4.21.2006
ryan powers | parodybag.net | Google Calendar Event Notifications for Verizon Wireless Customers
ryan powers | parodybag.net | Google Calendar Event Notifications for Verizon Wireless Customers
4.14.2006
Firefox keyboard shortcuts
F7 - Caret browsing
ALT-ENTER open URL in new TAB
ctrl-enter adds www. .com shift-enter www. .net ctrl-shift-enter www. .org
open find dialog: / just like in vi. (this tip came from Daniel http://dmiessler.com/archives/752 )
4.06.2006
Can't start Windows Firewall
Fix: netsh winsock reset
then reboot
see -- After you run Microsoft Windows AntiSpyware (Beta), you have network-related problems, or you receive an error message
3.30.2006
DNS/Wins/DHCP links and articles
How to configure DNS dynamic updates in Windows Server 2003 - http://support.microsoft.com/kb/816592/
When one of these events triggers a DNS update, the DHCP Client service, not the DNS Client service, sends updates. If a change to the IP address information occurs because of DHCP, corresponding updates in DNS are performed to synchronize name-to-address mappings for the computer. The DHCP Client service performs this function for all network connections on the system. This includes connections that are not configured to use DHCP.
If you use multiple Windows Server 2003-based DHCP servers on your network and if you configure your zones to enable secure dynamic updates only, use the Active Directory Users and Computers snap-in to add your DHCP server computers to the built-in DnsUpdateProxy group. When you do this, all your DHCP servers have the secure rights to perform proxy updates for any one of your DHCP clients. For more information, see the "Using DNS servers with DHCP" topic or the "Manage groups" topic in Windows Server 2003 Help.
Netbios name resolution requirements of exchange server 2003 - http://www.computerperformance.co.uk/w2k3/services/WINS_exchange.htm
WINS in Windows 2003 - http://www.computerperformance.co.uk/w2k3/services/WINS_Home.htm
WINS/DNS Integration - http://www.computerperformance.co.uk/w2k3/services/WINS_DNS.htm
WINS replication - http://www.computerperformance.co.uk/w2k3/services/WINS_Replication.htm
WINS troubleshooting - http://www.computerperformance.co.uk/w2k3/services/WINS_Troubleshooting.htm
DNS preferred order - http://support.microsoft.com/kb/286834
How to migrate a WINS Database from Windows 2000-based WINS server to a Windows 2003-based WINS server - http://support.microsoft.com/kb/875419
How to view and transfer FSMO roles in Windows Server 2003 - http://support.microsoft.com/kb/324801
How to move a DHCP database from a computer that is running Windows NT Server 4.0, Windows 2000, or Windows Server 2003 to a computer that is running Windows Server 2003 - http://support.microsoft.com/kb/325473
How to upgrade Windows 2000 domain controllers to Windows Server 2003 - http://support.microsoft.com/kb/325379
videos: Managing Windows Server 2003 Best Practices (FSMO,DHCP,DNS,WINS) - http://www.microsoft.com/technet/community/events/windows2003srv/tnt1-106.mspx
dhcp bp - http://technet2.microsoft.com/WindowsServer/en/Library/75cd0e1f-f464-40ea-ac88-2060e6769f331033.mspx
wins bp - http://technet2.microsoft.com/WindowsServer/en/Library/ed9beba0-f998-47d2-8137-a2fc52886ed71033.mspx
dsa.msc /server=ipaddress
3.29.2006
Ascii chart with the control codes/characters
ASCII table with control chars:
http://www.commonsoftinc.com/Babylon_Cpp/Documentation/Res/KASCIICharTab
le.htm
shell file name completion
On some Linux distros-
To have the shell complete the name using the Esc, Esc keystrokes:
set -o vi-esccomplete
Curl and proxysg
Getting past proxysg via curl:
curl -u : --ntlm --location-trusted -b cookie.jar -c cookie.jar http://www.bonhamconsulting.com
with curlrc in place: (--location disables the -L in the curlrc file)
curl -u : --ntlm --location --location-trusted -b cookie.jar -c cookie.jar http://www.bonhamconsulting.com
Listing HP-UX kernel parameters
HP Kernel parameters:
listing:
sysdef
kmtune
kmtune -l
kmtune -l -q {parameter}
ex: kmtune -l -q dbc_max_pct or just: kmtune -q dbc_max_pct
How to monitor a terminal session
shadow/view/watch a telnet session:
on the viewer's telnet session: chmod 666 /dev/pts/xx
on the "watched" session side, do: program_name | tee /dev/pts/xx
or just: script /dev/pts/xx
Test smtp using telnet
telnet smtp_server 25
RSET (does a reset, if you happen to screw up one of the lines)
HELO mymail.me.local
MAIL FROM:<fromme@me.local>
RCPT TO:<toyou@you.local>
data
From: fromme@me.local
To: toyou@you.local
Date: Tue, 02 Aug 2005 12:24:31 -0500
Subject: this is a test
This is a manual smtp mailing test.
.
Note the single period on a line by itself at the end of the message.
View full email message source in Outlook 2003
View full email message source, not just headers in Outlook 2003:
http://www.slipstick.com/mail1/viewheaders.htm
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Options\Mail\SaveAllMIMENotJustHeaders = 1 (Reg_Dword)
3.28.2006
Citrix Metaframe client hangs
STP on TruCluster NICS
Any NICs in a Tru64 TruCluster environment, whether they be the cluster interconnect or the regular public lan NICs, should have spanning tree protocol (STP) turned off on the port they are connected to. See the TruCluster Server Cluster Administration guide (part number: AA-RHGYE-TE
On a Cisco switch, in enable mode:
config t
interface FastEthernet0/1
no spanning-tree portfast
Don't forget to save the running config to nvram.
Remove the drunk monkey logo
Spam map
3.27.2006
Get AlphaServer SRM console version
Firmware Rev: 7.0-3
system fam:38 cpu:8 smm:1978
Remove formatting from man pages
3.26.2006
transition from batch to unix shell scripts
Beginner's Guide to Unix Shell Programming - http://www-rnks.informatik.tu-cottbus.de/de/staff/mm/docs/BeginnersGuideToUnixShellProgramming.html
cron deficiencies
From: http://www.darklab.net/resources/hpux-mailinglist/0715.html
DO SOMETHING ON THE LAST DAY OF A MONTH
Unfortunately, cron does not give us a simple way to say
'run this on the last day of month'. Fiddling with the
different length months, leap years, y2k bugs and so on is
messy. Here's a simple solution that gives all the dirty
work to some well tested utility. The idea is to check whether
*tomorrow* is the first day of a month.
Solution 1 (using date, change MET to your local time zone)
#!/bin/sh
if test `TZ=MET-24 date +%d` = 1; then
# today is the last day of month
fi
You can call this script from cron, say with a crontab of
4 2 28-31 * * /path/to/your/script