Specializing in expert technology advice and implementation in NorthEast Florida

Find CPU info in Linux

This command will give you all of the known info regarding the processor(s) under linux:
# less /proc/cpuinfo

Interface config in Debian Linux

Configuring DHCP address for your network card

If you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card

sudo vi /etc/network/interfaces
# The primary network interface: DHCP address assignment
auto eth0
iface eth0 inet dhcp

Configuring Static IP address for your network card


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:

.bashrc functions to do repetitive tasks

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...

Using ImageCache and positioning in node output (Drupal)

See "Joe's" comment here: http://drupal.org/node/139915

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;


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.


Subscribe to Jax Beach Technology Services RSS