SOHO : Small Office Home Office
Freeware - Opensource software tips, tricks, tweaks & fixes for managing, securing, improving the performance of SOHO Desktop, Laptop, Networks

Sunday, April 12, 2009

How to fix No printer listed in Qcad?

Intro Qcad

QCAD is an application for computer aided drafting in two dimensions (2d). With QCAD you can create technical drawings such as plans for buildings, interiors, mechanical parts or schemas and diagrams. QCAD works on Windows, Mac OS X and many Linux and Unix Systems. The source code of the QCAD community edition is released under the GPL (Open Source).

Qcad is a free app and is available in ubuntu respiratory. You can find and install Qcad from Add/ Remove apps under graphics section.

Q: Qcad printing problem - No printers listed in QCAD?

Ans :
  • Open terminal
  • sudo nano /etc/cups/cupsd.conf
  • Find line: Printcap /var/run/cups/printcap
  • Edit it out, and make a new line, so:
# Printcap /var/run/cups/printcap
Printcap /etc/printcap
  • If you do not find the line printcap /var/run/cups/printcap then add the line " Printcap /etc/printcap " (without quotes)
  • Save and close the editor
  • Restart cups : sudo /etc/init.d/cupsys restart
  • Restart Qcad
done.....!
Continue Reading...

Saturday, April 11, 2009

Installing CDROM drivers in DOS, WIN 3.1, Win95

In order to use a CD-ROM Drive, your computer must first have a CD-ROM software driver installed. This is usually supplied with the drive but may not necessarily have been installed. The CD-ROM software driver is normally supplied on a floppy disk and includes a SETUP or INSTALL program. Following installation, the CD-ROM software driver is normally loaded at system startup time via a series of entries in the machine's C:\CONFIG.SYS & C:\AUTOEXEC.BAT files.
For example:

[config.sys]
DEVICE=C:\DOS\HIMEM.SYS
DEVICEHIGH=C:\DOS\oakcdrom.sys /D:mscd001
LASTDRIVE=F

[autoexec.bat]
LH C:\DOS\MSCDEX.EXE /D:mscd001 /l:D
The first /D: switch is the drive number, which must be the same in both config.sys and autoexec.bat. In the above example its "/D:mscd001". (If you had 2 drives fitted the second may be /D:mscd002) The /l:D switch sets a drive letter for your CD-ROM. (In this case Drive D:\) You can make this anything you want after your Hard Drives that is not taken, but make sure you put a "LASTDRIVE=" line at the end of config.sys to allow for enough environmental space. This can be made as the letter after your last drive in use (i.e. =F) as each letter used, uses a small piece of available environment. (LASTDRIVE=Z would enable ALL available Drive Letters) In this example HIMEM.SYS is used to load driver into upper memory block.
oakcdrom.sys = CD-ROM Driver (Which is named differently by each manufacturer) and can be located in its own directory.
MSCDEX.EXE is provided as part of MS-DOS and sometimes on Install Disk as well.
HIMEM.SYS is provided as part of MS-DOS and enables use of the upper memory area.

Source : http://oldfiles.org.uk/powerload/cdrom.htm

Continue Reading...

Friday, April 10, 2009

DOS printing on xp?

Q : How to print from DOS in xp to a shared printer on a network? How to connect a printer using the command " net use " ?

Ans : To print from DOS environment in xp to a printer shared on a network, in command line

net use lpt1: \\hostname\printer share name /persistent:yes

to delete the share

net use lpt1 /delete
Continue Reading...

Tuesday, March 31, 2009

Update manager error - The following signatures couldn't be verified because the public key is not available

Q : Update manager gives error :
" W: GPG error: http://ppa.launchpad.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 248DD1EEBC8EBFE8 "

Ans : sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 248DD1EEBC8EBFE8



Sources :
  • https://help.launchpad.net/Packaging/PPA#Adding
  • http://www.uluga.ubuntuforums.org/showthread.php?t=1083516&page=2
Done.....!
Continue Reading...

Thursday, March 12, 2009

Unable to download incoming attachments from yahoo

Since October many people are facing problem with downloading the incoming attachments. The fix for this is simple.

  • Update / install Flash player to current version : Check your flash version with http://playerversion.com/
  • Update / install JAVA to current version
  • Clean Cookies, Delete temp files from your browser
  • Some settings in the anti virus installed on your pc
For QuickHeal

  1. Update to the current version, update the virus database.
  2. Open options > email protection > Control attachments to your incoming mails - Disable all.

For Trend micro

  1. Update to the current version, update the virus database.
  2. Go into Virus Controls > Protection Against Viruses > click on Settings and uncheck the box "Threats in Web mail attachments".
Done.....
Continue Reading...

Wednesday, March 11, 2009

How to Unrar files?

Q : I had received a file compressed in rar format. By default the archive manager was not able to extract files and was giving error.

Ans : Sudo apt-get install rar unrar

Then gnome archieve manager was able to extract files

Note: rar is to create rar files and unrar is to extract files from rar compression
Continue Reading...

Sunday, February 15, 2009

nw-applet (network manager applet) missing from notification area

just did the regular update of my ubuntu hardy and on restart found the nw-applet (network manager applet) missing in the notification area. Without this it was hard to select the wireless zone and to know the signal strength.

So the fix:

Alt+F2
nw-applet

Done.....!
Continue Reading...

Saturday, January 24, 2009

Apache: Make Changes In a Config File Take Effect Without Restarting Server

Q. How do I make changes in a Apache server config file to take effect without restarting the Apache server itself w/o interrupting users' current session?
A. You can use httpd service or apachectl to reload configuration without interrupting users' sessions as

follows:
Login as root and type the following command
# /etc/init.d/httpd reload
OR

# apachectl -k graceful
This is also known as gracefully restarting the Apache httpd daemon. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them.
If running Apache with daemontools you can do this by:
svc -h /service/apache
Source : http://www.cyberciti.biz
Continue Reading...

Thursday, January 22, 2009

Enable ssh for user

Secure Shell (SSH)

Secure Shell (SSH) access option was removed in 4.0 as a security precaution. Most users do not need SSH access, and yet, many end-users would select all options, not knowing the risks. To enable SSH access for a user, login as root and type:
passwd 
 
usermod -s /bin/bash 

Source : http://www.clarkconnect.com/docs/Users
Continue Reading...

Wednesday, January 21, 2009

Howtos - Installing PHP 5 and MySQL 5 on ClarkConnect 4.x

Howtos - Installing PHP 5 and MySQL 5 on ClarkConnect 4.xContents
1 Overview
2 Install
3 Install Modules
4 Links

Overview

Most of the source code for ClarkConnect 4.x comes from the Red Hat Enterprise Linux 4 product. Since stability (as opposed to leading edge features) is a key policy for the Enterprise Linux product, it ships with PHP 4.3.x and MySQL 4.x. By default, ClarkConnect also ships with these PHP and MySQL versions.

This howto provides instructions on how to upgrade the PHP to 5.1.x and MySQL to 5.0.x.
Install

First, you need to add the optional software repository to your system. From the command line, run:
echo "rpm [pcn] ftp://rhel-4:hiptop@rh.apt.clarkconnect.com System extras" > \
 /etc/apt/sources.list.d/extras.list
apt-get update


If you already have PHP/MySQL installed, then run:
apt-get dist-upgrade


If you do not have PHP/MySQL installed, run:
apt-get install cc-php cc-mysql


Install Modules

Depending on your application, additional PHP modules may be required. For example, most webmail applications require PHP's IMAP module. Common PHP modules include:
gd - graphics module
imap - mail module
ldap - LDAP module
mysql - MySQL module
soap - SOAP protocol module
xml - XML parsing module

If your application requires a module, install it using the following as a guide:
apt-get update
apt-get install php-imap


You should restart the web server after installing a module:
/sbin/service httpd restart

short code : 
apt-get install cc-php cc-mysql php-imap php-gd php-ldap php-mysql php-soap php-xml
source : http://www.clarkconnect.com/docs/Howtos_-_Installing_PHP_5_and_MySQL_5_on_ClarkConnect_4.x
Continue Reading...