By donmc, 11 March, 2010

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:

By admin, 31 January, 2010

A cool thing to do if you find yourself doing something LOTs of times:

Edit your ".bashrc" (in your home directory)
and create your personalised script as follows:

sudo chmod 774 $1 $2 $3 $4;
sudo chown www-data.www-data $1 $2 $3 $4;

Then you can execute the command "wch" with parameters to execute the commands you want. Very cool...

By admin, 31 January, 2010

See "Joe's" comment here:

Go to [Content management] > [Content types] > [Manage fields] and make sure yiour image field is LIGHTER than [body] eg -2
this will force the image above your teaser but not yet inline

then go to modules > system > defaults.css

and add

.field-type-image img {
float: right;
margin-left: 1em;
border: 0px solid red;

Note: my CCK image field is called "image" and I choose to float it right, adjust yours to suit your tastes.

By donmc, 27 January, 2010

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.

By donmc, 10 January, 2010

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:

By donmc, 5 January, 2010

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.

By donmc, 13 December, 2009

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)

By donmc, 13 December, 2009

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

By donmc, 7 December, 2009

I thought this was an interesting analogy for the IPV6 Address Space: