donmc's blog

Manual Start/Stop of the GUI in Ubuntu

To stop the GUI:

The easist way is to open a terminal and execute these commands:

sudo /etc/init.d/gdm stop

And then ctrl+alt+backspace to end your current session

To restart the GUI:

sudo /etc/init.d/gdm start

Clear the Print Queue in Windows 7/Vista

If you have hung print jobs in Windows 7 or Vista, you can clear the print queue easily by using these steps.
1. Click Start.
2. Type Command.
3. Right-click Command Prompt and select Run as administrator.
4. Type net stop spooler then press Enter.
5. Type del %systemroot%\System32\spool\printers\* /Q then press Enter.
6. Type net start spooler then press Enter.

Windows Live Mail - the missing menus

Those out there that use(ed) Outlook Express should know that there is no such thing in Windows 7. Also true in Vista, where "Windows Mail" was released.

Yet another major change for Windows 7: the new (free) email client is called "Windows Live Mail" and the most annoying new "Feature" is the missing menus.

To see the old menu you are looking for; hit the "ALT" key by itself. Then, the menu will magically appear.

Mystery solved!

Excellent Diff Serv overview for Cisco Vs. Linux

See the entire document (Table of Contents) here:

Testing voice circuits in Cisco IOS

The easiest way to test outbound calls is to build a simple plain old telephone service (POTS) dial-peer on the voice gateway. For example:

Enabling TELNET in Windows 7

It turns out that by default TELNET was not packaged with Windows 7. Apparently this was also true for Windows Vista.
Telnet is known to be insecure and so by default, Microsoft now DISABLES any likely security holes. Whenever you can, you should always use SSH.
That being said, you can enable Telnet this way:

  1. Start
  2. Control Panel
  3. Programs And Features
  4. Turn Windows features on or off
  5. Check Telnet Client
  6. Hit OK

After that you can start Telnet via the "CMD" - Command Prompt.

Microsoft SQL Server version checking

You can run the following SQL Query to determine the running Version of SQL Server 2005:
"SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')"

Release Sqlservr.exe
RTM 2005.90.1399
SQL Server 2005 Service Pack 1 2005.90.2047
SQL Server 2005 Service Pack 2 2005.90.3042
SQL Server 2005 Service Pack 3 2005.90.4035

If you get an error message that "Agent XPs" have not been enabled, you can execute these commands in the SQL Management Studio:

DNS Event ID 6702

I get these errors regularly in the Windows Server 2003 Event Log:
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 6702
Date: 12/31/2009
Time: 4:37:05 PM
User: N/A
Computer: XXXX
DNS server has updated its own host (A) records. In order to ensure that its DS-integrated peer DNS servers are able to replicate with this server, an attempt was made to update them with the new records through dynamic update. An error was encountered during this update, the record data is the error code.

RFC 1918 - Private IPV4 Addresses

The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets:

  • - (10/8 prefix)
  • - (172.16/12 prefix)
  • - (192.168/16 prefix)

BGP Prefix List (for route filtering)

To filter routes and from bgp route declarations outgoing from RTR_SYDNEY :

RTR_SYDNEY(config)#ip prefix-list FILTER1 deny
RTR_SYDNEY(config)#ip prefix-list FILTER1 deny
RTR_SYDNEY(config)#ip prefix-list FILTER1 permit le 32
RTR_SYDNEY(config)#router bgp 777
RTR_SYDNEY(config-router)#neighbor prefix-list FILTER1 out

RTR_SYDNEY#clear ip bgp * soft


Subscribe to RSS - donmc's blog