Skip to main content

Posts

Installing and Configuring Libreoffice SDK on Windows 11.

  What is Libreoffice SDK? Why do I need it. https://api.libreoffice.org/examples/examples.html#Cpp_examples Installing the SDK The instructions for installing the SDK are given in https://api.libreoffice.org/docs/install.html.  1) If you have the Libreoffice source code, you can install sdk with  --enable-odk option in autogen.input file . Then make check, make, ./autogen.sh. (https://wiki.documentfoundation.org/Development/lode). Now the SDK path will be c:/cygwin/home/$user/lode/dev/core/instdir/sdk 2. If you don't have the source code or don''t want to go through the build process again, then sdk can be installed from https://www.libreoffice.org/download/download-libreoffice/. In this case the sdk will be installed in C:\Program Files\LibreOffice\sdk. You will have to follow the path  cygwin/cygdrive/c/Program\ Files/Libreoffice/sdk/examples from cygwin shell.  The steps listed below are for installing the LibreOffice SDK Configuring the SDK in Libreoff...

No Audio Output device Installed

Recently, i installed a few updates on my Laptop including windows explorer 8 but they were not properly installed probably the computer was not properly rebooted after the updates, so it started showing the error message "No Audio output device is installed" and also did not shut down properly. My colleague suggested the following steps and it worked. 1. Go to cmd in startup and right click "run as administrator". 2. Now type "chkdsk c: /f". It showed the message unable to lock disk, can do on restart . 3. After rebooting it did a chkdsk for about 15-20 minutes and everything is working properly after that.

CD/ DVD Writing

-->I started by trying it out on my Fedora 10, but moved on to ubuntu 9.04 after it showed the message "SCSI driver not found" and "cdrecord --scanbus " would not detect the CDROM RW device. -->Then i kept searching for module "ide_cd" in the output of "lsmod". and "insmod ide_cd" said no file named ide_cd exists.But none of these is required. --> In ubuntu cdrecord --scanbus showed my device as 3,0,0 and when i inserted a CD or DVD the output of cdrecord disappeared. The guiding light came from these 2 resources:- 1. /usr/share/doc/README.wodim.ATAPI.setup (in ubuntu) 2. https://help.ubuntu.com/community/CdDvd/Burning As mentioned in link 2, i detected /dev/dvrw2 and /dev/cdrw2 both linked to sr0. Now issued the command cdrecord speed =2 dev=/dev/cdrw2 path_to_iso the command failed showing device or resource busy. I issued "umount /dev/cdrw2" then again "cdrecord speed =2 dev=/dev/cdrw2 path_to_iso"...

Linux Security

I heard this long ago from a colleague that Linux is the preferred OS because its free from virus. Never knew why is it free from virus's. This article just updated my knowledge on the subject. http://www.pcworld.com/businesscenter/article/198686/linux_trojan_raises_malware_concerns.html Here is the excerpt: 1. Linux makes up less than two percent of the overall OS market and isn't a target worth pursuing for attackers. 2. The way the Linux OS is written makes it harder to exploit a vulnerability, and that because its open source vulnerabilities are fixed in hours rather than months. 3. Linux is not impervious to attack. 4. Implement similar security controls and policies for Linux as you have in place for Windows systems and you can prevent being pwned by a backdoor Trojan. http://www.pcworld.com/businesscenter/article/195890/symantec_study_mischaracterizes_linux_spam.html says:- f you are a Linux administrator, make sure your systems do not have open mail relays available to ...

Pinging the Host

Our devices require a GPRS connection to the service provider(SP). Recently, we had a problem in which the connection to SP was lost after a certain period of time. So we had to reset the connection to the SP and resetting the connection takes a a few seconds which can be irritable to the customer. So we had to maintain the connection with the SP. Our CTO suggested that the devices number should be maintained in the APN routing table of the SP. Because the SP clears the table after some time to accomodate more incoming connection requests and clear out the ones which are inactive. So the solution was a "ping" to the SP every few minutes, so that the devices entry is maintained in the routing table of the APN. Now the device can connect to SP even after staying idle for the whole night!!

Accessing Internet on Fedora 10 using 3G Huawei USB broadband Modem from Nawras

Its been more than a month since i started to configure my Huawei modem for internet connectivity in Linux. Finally today i am logged in F10 and editing this post. 1. Firstly one has to check if the modem is being detected on the USB port. dmesg | grep USB should show entries for 2 or 3 USB ports. (ttyUSB0-ttyUSB2). My system shows 2 entries. Look the messages of following type: /***************************************************************************/ usb 4-3: GSM modem (1-port) converter now attached to ttyUSB1 scsi18 : SCSI emulation for USB Mass Storage devices usb 4-3: New USB device found, idVendor=12d1, idProduct=1003 usb 4-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 4-3: Product: HUAWEI Mobile usb 4-3: Manufacturer: HUAWEI Technologies usb-storage : device found at 6 /****************************************************************************/ The kernel should be able to identify the modem as a usb-storage device. If you have problems with this , workar...

Installing Fedora 10 on External Western digital USB drive for X86_64 AMD processor.

I am putting forward the steps to install F10 on AMD Athlon -X2 Presario CQ60 laptop and my experiences while installing it, so that anyone who reads it can benefit maybe in a small way. 1. Download Fedora iso for architechture suitable to your PC (see fedora installation notes) and create a DVD. Verify the dvd as given in http://fedoraproject.org/en/verify . You have to download a tool for checksum generation (sha1) for the dvd and compare it with the checksum listed on the fedora website for verification. http://docs.fedoraproject.org/readme-burning-isos/en_US/sn-validating-files.html 2. The WD drive should be unformatted. So i had to do that from windows vista->computer(right click)->Manage->Disk Management->WD drive (right click)->Delete partition. Otherwise i got an error that amount of space selected was not available when trying to partition the WD drive during installation. 3. Insert the WD drive and boot into the DVD. Select the default option of install. Do a c...