Tuesday, December 30, 2008

Installing OpenOffice.org 3 on Intrepid (1st try)

Finally have the time to do a dry run of OpenOffice.org (OOo) 3.0 on Kubuntu 8.10 (Intrepid). There is the choice of using the OOo main stream or from the Canonical Personal Package Archives (PPA).

OpenOffice.org is a total remake of the popular Office productivity suite in the open source software (OSS) world that is available on Linux and MS Windows.

Installation from OpenOffice.org main stream (works)
Step 1: Download from the openoffice.org (As of today, I have OOo300m9 installed)
Step 2: Extract all of the files.
tar -xvzf /home/nicholas/software/OOo_3.0.0_LinuxIntel_install_en-US_deb.tar.gz

Step 3: Install all of the deb files.
sudo dpkg -i *.deb
sudo dpkg -i desktop-integration/*.deb

Done. Everything works fine but first thing I notice is that it saves in ODF 1.2 format which is not compatible with previous OOo2.x versions. The Extension Manager did not work with either Sun's JRE or OpenJDK's JRE.

FAILED Installation procedure for PPA (currently not working!)
Note: On 3rd Jan 2009, Kubuntu provided the same OOo3 for upgrade in its mainstream. Same results here.
Step 1: Choose Kmenu ->Applications ->Adept
Step 2: Select sources. Here choose the Third-Party Software tab and choose Add..
Enter the source as
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main


Step 3: Click Close. The update will begin immediately and when completed the software upgrade applet will be lighted. Choose to upgrade all.

Installing back OOo 2.4.1

1. Completely remove OOo3 and the PPA source list.

2. Install the OOo 2.4.1

sudo apt-get install openoffice.org

3. Install other OOo 2.4.1 Desktop specific components (optional)

sudo apt-get install openoffice.org-gnome
OR
sudo apt-get install openoffice.org-kde openoffice.org2-thesaurus-en-us pstoedit kde-icons-crystal crystalcursors xfig ivtools-bin tgif transfig

4. Install additional stuff (optional)

sudo apt-get install libxerces2-java-doc openoffice.org-help-2.4 openoffice.org-hyphenation openoffice.org2-thesaurus openclipart-openoffice.org pstoedit libmyodbc odbc-postgresql libsqliteodbc tdsodbc mdbtools libmysql-java libpg-java openoffice.org-gcj openoffice.org-report-builder openoffice.org-style-industrial openoffice.org-style-hicontrast

Saturday, December 27, 2008

Photos and Gwenview

Introduction
Just tried to view photos from the dolphin file manager. Default of Kubuntu Intrepid is to launch Gwenview 2.1.3 which is rather new to me.

It is a nice basic tool that still uses KDE3. This may explain why the Gwenview plugin did not detect the KDE Image Plugins Interface (KIPI) which is kipi-plugins version 0.1.5-1ubuntu2 at the moment. It still doesnt show the EXIF info of photos. Keyboard short cuts are still not completely incorporated for faster navigations.

The main configuration files are:
  • gwenview.rc
  • gwenviewui.rc
View mode
The photo name and size is displayed on the right sidebar. Other functions are found on the right sidebar to edit the image and to manage file operations such as move and copy photos. I have not found a way to move to next photo without going to the browse mode. The PgUp and PgDn keys did not function as I'd like it to. I need to click on the flimstrip (enabled by choosing the "Thumbnail Bar" button) to allow the right and left arrow keys to move between photos.

The slider bar at the bottom allows a neat quick a zoom feature.

Gwenview in view mode.

Browse mode
Allows quick access to all photos. This includes basic editing features of rotation, mirror, flip, resize and crop.
Gwenview in browse mode.

Gwenview was not attractive enough at first glance but it takes time for one to grow interest in it.

Wednesday, December 17, 2008

How to add Screensavers in KDE4.1

Installing KDE screensaver

KDE 4 in KUbuntu 8.10 is slightly different from KDE3. This example of installing a screen saver called KCometen will help to expose the various method of how KDE 4 works.

Step 1. Download KCometen41.0.3 from http://www.kde-apps.org/content/show.php/KCometen4?content=87586

Step 2. Compile and build the screen saver binaries.

$ apt-get install build-essential kdebase-workspace-dev libqt4-opengl-dev

$ cd /home/nicholas/sources/kcometen4-1.0.3/CMakeFiles

$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local

-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)

-- Found X11: /usr/lib/libX11.so

-- Found Threads: TRUE

-- Found Automoc4: /usr/bin/automoc4

-- Found Perl: /usr/bin/perl

-- Found KDE 4.1 include dir: /usr/include

-- Found KDE 4.1 library dir: /usr/lib

-- Found KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler

-- Found automoc4: /usr/bin/automoc4

-- Found QtOpenGL: /usr/lib/libQtOpenGL.so

-- Found QtOpenGL includes: /usr/include/qt4/QtOpenGL

-- Found KScreenSaver include: /usr/include/kscreensaver.h

-- Configuring done

-- Generating done

-- Build files have been written to: /home/oscc/sources/kcometen4-1.0.3


$ cd ..

$ make

[100%] Built target kcometen4.kss

make[1]: Leaving directory `/home/oscc/sources/kcometen4-1.0.3'

/usr/bin/cmake -E cmake_progress_start /home/oscc/sources/kcometen4-1.0.3/CMakeFiles 0

$ sudo make install

Step 3. Install the screen saver

/usr/bin/cmake -P cmake_install.cmake

-- Install configuration: "Debugfull"

-- Installing: /usr/local/bin/kcometen4.kss

-- Installing: /usr/local/share/apps/kcometen4/pixmaps/lightmap.png

-- Installing: /usr/local/share/apps/kcometen4/pixmaps/particle.png

-- Installing: /usr/local/share/kde4/services/ScreenSavers/kcometen4.desktop

-- Installing: /usr/local/share/man/man1/kcometen4.kss.1

Step 4. Edit the KDE4 configuration to use recently added screen saver. Follow changes to this by rebuilding the KDE4 system configuration cache.

Create the path for all users by adding your local installation prefix to /etc/kde4rc configuration.

$ sudo vi /etc/kde4rc

[Directories]

prefixes=/usr/local


$ sudo kbuildsycoca4

Step 5. Test and use the newly installed screen saver.

Ensure that the System Settings window is closed until your managed to reach this step.

You can test the screen saver by typing the screensaver name.

$ kcometen4.kss --setup

To apply the screensaver, open KDE System Settings, choose Desktop ->Screen Saver, look for Kcometen4.


Sunday, December 14, 2008

Kubuntu 8.10 and Bluetooth

I am working on having the handset bluetooth to pair with my Kubuntu 8.10 (Intrepid) via a bluetooth dongle. Purpose was to transfer files and use the remote control.

Kubuntu have installed the bluetooth stack called bluez by default. Kubuntu currently adviced to use the Gnome file transfer tool and it works. I am having reservations to keep this, cause the last time I did something similiar, nautilus and lots of other Gnome stuff was installed which made the KDE wobbly. E.g. sometimes the Nautilus gets launched instead of Konqueror or Dolphin.

Here are steps I have taken (bluetooth not fully working yet)
Verify that the Bluez stack is functioning
$ hcitool scan
Scanning ...
00:3E:E5:88:88:88 K810i tboxmy


Install the File transfer utility
sudo apt-get install obexftp scmxx

Install the CMAKE and Kubuntu development tools. Download kdebase-workspace-dev (~27Mb), CMAKE (~20Mb) and install.
$ sudo apt-get install kdebase-workspace-dev
$ sudo apt-get install cmake

Download KDEbluetooth4 (not included in Kubuntu Intrepid) from www.kde-aps.org then extract kdebludetooth4 and install.

$ cd kdebluetooth4-0.2/
$ cmake . -DCMAKE_INSTALL_PREFIX=/usr;
$ make
$ sudo make install

===output===
nicholas@tboxmy:~/sources/kdebluetooth4-0.2$ sudo make install
[ 73%] Built target kbluetooth4
[ 86%] Built target kbluetooth4-inputwizard
[100%] Built target kbluetooth4-devicemanager
Install the project...
-- Install configuration: "Debugfull"
-- Installing: /usr/bin/kbluetooth4
-- Installing: /usr/share/applications/kde4/kdebluetooth4.desktop
-- Installing: /usr/bin/kbluetooth4-inputwizard
-- Installing: /usr/bin/kbluetooth4-devicemanager
-- Up-to-date: /usr/share/icons/hicolor/16x16/apps/./kbluetooth4.png
-- Up-to-date: /usr/share/icons/hicolor/32x32/apps/./kbluetooth4.png
-- Up-to-date: /usr/share/icons/hicolor/64x64/apps/./kbluetooth4.png

===end output===

Restart bluetooth
$ sudo /etc/init.d/bluetooth restart

Saturday, December 13, 2008

Kubuntu 8.10 recording sounds

In the midst of configuring Mr Potato to use Martha's own voice, I found that the default Kubuntu 8.10 did not come with any voice recorder. Had to install one of the easier to use recorder called Audacity and its Lame libraries (this is the name of a set of MP3 and other sounds converter library). In Gnome there was the gnome recorder that was a simplified recorder but this did not work in the KDE 4 environment.

Step 1: Install Audacity
sudo apt-get install audacity

Step 2: Install the sound libraries
sudo apt-get install xubuntu-restricted-extras

Audacity was recording great and am saving files to .ogg format. The export feature allows my to save the Artist name, Track title, Album title, Track number, year, Genre, Comments.

A wierd thing, when I save and close the project (.aup), then next time I open it again the recorder gives an error. Need to manually reset back manually the recording device to OSS: /dev/dsp each time the file is opened.

Well, Martha is happy to hear her voice in Mr. Potato

Monday, December 8, 2008

Shopping - What web server are used?

Below is a list of shopping websites in Malaysia and the Web server its hosted on (8 Dec 08). It is in no particular order:
Apache 1 / Cayote:
  1. Beautyholicsanonymous
  2. Cari.com.my
  3. IreneLim
  4. EOE Online
  5. Malaysia Central
  6. Mydin
  7. My1stop

Apache 2:
  1. Annexe Gallery
  2. Everyday
  3. MyPDACafe
  4. Shoppingnsales
  5. Offernutz
  6. Real Mart
  7. Street Directory
  8. TimeOut
  9. The Curve
  10. Xerie
MS IIS 5:
  1. BlueHyppo
  2. Sungei Wang Plaza
  3. Sunway Pyramid
MS IIS 6:
  1. 1 Utama
  2. 121motor
  3. All99.com
  4. All Malaysia
  5. Axcess
  6. Business.com.my
  7. Ikea
  8. KUL
  9. Metrojaya
  10. Mines
  11. Motor Trader
  12. Ultimate Toys
  13. VirtualMalaysia
  14. VisionKL
Zope
  1. Berjaya Times

However, I am using a method to detect web servers that is not guaranteed corect all the time.

Sunday, December 7, 2008

Installing Firefox 3.0.4 source

The problem with Firefox on CentOS 5.2 and Ubuntu 8.10 is that the version displayed wrongly for the About command. It showed 1.9b3 instead of 3.0...

Posting the bug in CentOS, the next day K Singh reported fix.

Posting the bug in Ubuntu, no immediate positive response.

I am running through the source. If anyone also wants to work on this, here are the steps to get the Ubuntu/Debian source.

  1. Download.
    cd ~
    sudo apt-get source firefox
  2. Extract the source.
    cd firefox-3.0-3.0.4+nobinonly
    sudo mkdir mozilla
    sudo chown oscc.oscc mozilla
    tar -xjvf xulbrowser-3.0.4-source.tar.bz2
  3. Compile and run from the mozilla directory

Friday, December 5, 2008

Installing GIMP on Kubuntu 8.10

Need to edit jpeg and other images? Install GIMP along with its tools for the most complete graphical editing solution.

Steps:
sudo apt-get install gimp gimp-help-en libgimp-perl gimp-data-extras

Details of GIMP is in http://gimp.org

Wednesday, November 26, 2008

Garmin GPS

Just got hold of a Garmin Nuvi GPS set. I downloaded the malsing files via usb to Kubuntu 8.10 laptop.

Some software being tested:
  1. gpsbabel - text based and its too difficult to use as there is not much documentation.
  2. josm - Java based and took so long to load. Uses the gpsbabel engine to generate maps.
  3. qlandkarte 0.7.3 (keeps crashing when I load a map and GPX) - Can view the maps on Linux

Kubuntu 8.10 with Apache2, PHP 5 and MySQL5

In order to resume testing and developing web based application, I needed PHP, MySQL and Apache to complete the LAMP stack. Default Kubuntu 8.10 did not include those.

Steps taken.
1. Install Apache2 web server
sudo apt-get install apache2

2. Install PHP5 and enable the PHP5 in Apache
sudo apt-get install php5 php-pear
a2enmod php5

3. Install MySQL server
sudo apt-get install php5-mysql libapache2-mod-php5 mysql-server libapache2-mod-auth-mysql

This requires the setup of MySQL root password.

4. Install the Apache and MySQL documentations
sudo apt-get install apache2-doc mysql-doc-5.0

5. Enabled the user public_html directory
cd /etc/apache2/mods-enabled
sudo ln -s ../mods-available/userdir.load
sudo ln -s ../mods-available/userdir.conf

6. Steps to install the training application
  1. Create the database "example.db"

  2. Insert into the database with the script.
    mysql -u root -p example.db < mysqldata.sql

  3. Add the mcrypt tools.
    sudo apt-get install libmcrypt4 php5-mcrypt

  4. Add the MySQL pear libraries.
    sudo pear channel-update pear.php.net
    sudo pear install Auth_HTTP
    sudo pear install pear/MDB2#mysql

  5. Test the application.

Tuesday, November 25, 2008

OSS Certification at OSCC

As part of the OSCC programme to increase OSS skilled officers in the government, an OSS certification inititative is launched. This week we have just completed the 2nd Certified Linux Administrator 01 training and it is their test day. Good to see that those in my class have been making steady effort to improve themselves over the days.

Some found time to make tasty chocolate cakes for the class with well wishes.


Today, they will sit for the practical paper in the morning then the MCQ paper at 3PM. All the best to all of the hard working students. I have seen the effort some have put in, and hopefully all will be smooth sailing.

Still, there is the test C that needs to be done later.

Friday, November 14, 2008

Kubuntu 8.10 Desktop at first glance.

The KMenu
Favourites must have the System Settings menu to configure the Dashboard & Kubuntu until it is just right for daily work.


Desktop

There are Plasmoid widgets by default that I will leave on the desktop for the moment. This means that what I see is called the Dashboard and the Desktop is now a small window that can be moved around. Its neat, cause I can press Ctrl+F12 (or press the Show Dashboard Applet in the bottom panel) to dim all applications and view only the widgets and Desktop. No need to minimised all the application Windows.

By Default applications are launch with a single click, unlike the default Gnome desktop. I've been on Gnome for about 1.5 years now and its taking some getting use to reduce the number of clicks.

Workspace
Default Kubuntu had only 2 workspace and no keyboard shortcut to switch between many workspaces. I can only return to 1st workspace with Ctrl+F1.

1. Right click Pager applet (in the bottom panel) and choose "Configure Desktop", increase to 4 workspace.
2. Click Kmenu ->System Settings ->Keyboard & Mouse ->Keyboard shortcuts. In the "Action" box scroll down to "Switch one desktop to the Right", and click the Global field. Click on the "None" button and enter Ctrl+Alt+Right Arrow. Do the same for the Left direction command. Test the shortcut and click "Apply".

Screen
The screen is sharp and nice, which is why I have always choosen KDE when Looks matters.

Problems are occuring when I plugin the Likom monitor and the projector. It is flickering on those external displays as though its switches the refresh rates. The monitor configuration tool didnt seem to work as it should when I plug-in the external displays.

FIX the projector flickering: Select KMenu
1. System Settings ->Advanced ->Service Manager
2. Turn off "Detecting RANDR (monitor) changes"

Application Windows
Firefox and Thunderbird scrollbars can be improved by Choosing
Kmenu ->System Settings ->Appearance ->Gtk Styles & Fonts
Then Click "Install Scrollbar Fix..." and restart both Firefox and Thunderbird.

Screen Capture
There isnt any program link to the "PrtSc" or Print Screen button. So here are steps taken to apply the screen capture button. Seems KDE 4.1 is broken in this area of keyboard configuration. Killed the khotkeys deamon but its still reading other hotkeys, I am still looking for daemon thats accepting the hotkeys. Things I will try...

1. Update the ksnapshot (mine upgraded to 0.8.1) and other systems updates.
2. Apply the shortcut keys to the Ksnapshot program.
Choose Kmenu ->System Settings. Choose the Advanced tab ->Input Actions


System Processes
To view or terminate system processes, press Ctrl+Esc. I can send kill signals to terminate processes. This also lets me see the amount of RAM being used.

Thursday, November 13, 2008

OLPC and web browsing

The OLPC connection to the wireless network was very stable and it came with Firefox 3.0.1
The yahoo mail pages rendered better than the Kubuntu 8.10 with Firefox 3.0.1. And its so neat! However since there are tonnes of online stuff for kids it also means more fun. But most ofthe games were Flash based and the Gnash that came with OLPC did not have any sound for the flash.

Here are my notes on adding Adobe flash plugins.

1. Go to www.adobe.com and download flash 10 as an RPM package. It should then appear on the /home/olpc directory if I recall correctly. Alternativelyin a terminal type


wget http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-10.0.12.36-release.i386.rpm

2. Open a terminal and login to root

su -l

3. Install the flash

rpm -ih flash-plugin-10.0.12.36-release.i386.rpm

4. This installs flash to standard mozilla directory, which will not work. Create a link in the Activities directory for Firefox.

cd /home/olpc/Activities/Firefox-6.activity
ln -s /usr/lib/mozilla/plugins/libflashplayer.so .

5. Open Firefox and test it on the flash website.

Martha then can play the online alphabet games! yippee!

Sunday, November 9, 2008

FOSS.my 2008 at APIIT

Wow a major FOSS event held at APIIT! This I couldnt miss and I brought along Martha for both days.

FOSS.my ran between 8 to 9 Oct 2008 with a capacity of close to 250 participants. This brought about the much needed awareness for students and fellow developers who have been using OSS but have not had the chance to embrace its aura. Abdullah found it mind blowing, OSS speak. Others were just awed that there was even such a movement and the various technologies available.

I had chance to mingle with FOSSchixs Nuha, Eavay, Liyana and Saro. They are keen to recruit Martha, but I suspect its more to make her into a mascot. They will have to wait a couple more of years before Martha can show her ICT skills. If not as a programmers, maybe a coordinator of OSS projects. See photos of martha at http://flickr.com/photos/lotso

Pia had a session where everyone is invited for a 10 sec pitch on why they should own an OLPC laptop. Martha pulled me down and managed to get an OLPC! Yippee she was so happy and managed to get around quite a bit on her own. Martha could move the cursor, turn the screen and select some of the menus.

Initially I could not get the OLPC wireless to work at home. With a hard reboot, then I saw my WPA network and managed to get connected after the password prompt appeared and I entered the correct password.

Some how the web browser wasnt very easy to locate.

Monday, November 3, 2008

Kubuntu 8.10 on Thinkpad R60

Kubuntu being just released, I tried it on the following system:

Thinkpad R60
Intel 3945
RAM 1G

The result:
KDE 4.1 looked fantastic with minimal applications. The Alt-Tab between applications provided a nice 3D look.

Networking:
The Wireless didnt work as well as the Eth. With the network manager I can add a WEP (Wired equivalent privacy) wireless AP (Access point) but no connection is established. I edited the wireless AP to use WPA (Wi-fi protected access) Personal and it works.
Another matter is that Kubuntu doesnt accept channel 12,13 and 14 (EU and Japan) out of the box. To support these channels, the Ubuntu main website provided instructions to edit the /etc/modprobe.d/options with the following:
==start==
options cfg80211 ieee80211_regdom=EU

==end==

Of course this means that defaults MS Windows XP cant access the device without downloading the WPA patch.

Sample output of iwconfig
==start==

wlan0 IEEE 802.11abg ESSID:"xcitebox"
Mode:Managed Frequency:2.417 GHz Access Point: 00:12:A9:06:58:74
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality=80/100 Signal level:-65 dBm Noise level=-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

==end==

Konqueror:
The browser is far from complete for access to simple web based applications like editing this Blog. Basically, the WYSIWIG editors didnt appear during editing of this blog. Need to install JRE.

First software will be JRE using the command below:

sudo apt-get install sun-java6-plugin sun-java6-jre
Installed Flash player 10 from www.adobe.com for better access to web applications.

Firefox3:
Konqueror didnt render very well. I am installing Firefox as I can import bookmarks from my previous Firefox on Ubuntu (Gnome).

Dual monitor:
Attaching Likom monitor to the laptop, the initial resolution was 640x480. Plugged out the monitor and plugged in then the program to reconfigure the monitor appeared. This can be done manually;

kcmshell4 display

Thunderbird:
Through Adept, I installed the Thunderbird2.0.0.17. Copied the previous profile directory into ~/.mozilla-thunderbird

CODECS:
Installed MP3 codecs with
sudo apt-get install libk3b2-extracodec

Tuesday, October 28, 2008

Rise of Email spam

The Sophos Report on spam in Aug 08 will really make many companies re-look at their anti spam capability, in particular MS Windows based systems.
There are a few employees who attempt to inform or complain in the increase number of spam to the ICT managers, but these are ignored or placed in a low level of importance. Worst, I heard that one MS Exchange based organisation decided that nothing much can be done and employees were to delete spams on their own.

Some of the spams are Agent-HNY Trojan Horse, is disguised as the Penguin Panic arcade game for Apple iPhones, EncPk-CZ Trojan which pretended to be a Microsoft security patch, and the Invo-Zip malware, which masqueraded as a notice of a failed parcel delivery from firms such as UPS.

Spam origins are ranked highest from US, Russia, Turkey and China. If more desktops for critical areas are migrated to Linux, then these desktops can be proctected.

Friday, October 17, 2008

OpenOffice.org 3.0 Released!

Installed Windows OOo 3.0 (OOO300m9) on Ubuntu Linux 7.10 with Wine 1.0 successfully! Downloaded from http://mirror.oscc.org.my for faster download. Already there is a 300m10 within the week.

But the Check for updates button isnt working.

Others look good!

Friday, October 3, 2008

Fresh install of OpenOffice.org

Downloaded and installed OpenOffice.org (OO0) 300m8 on the following platform.

Wine 0.9.46
Sun Java Runtime Environment (JRE) 1.6.0_04
Ubuntu Linux 7.10

Filed bugs:
#94603 because the File ->Open dialog didnt appear till I reboot.
#94604 because the drag and copy did not show a plus sign.
#94605 because the solver tool in Calc doesnt allow slection of multiple cells for "By Changing cells" option.
#94607 because the Impress is not able to play slides with graphics smoothly. See Image below.

#94609 because the Drawing tool didnt allow wrapping of images around 3D objects.

Noticeable changes in OOo3
  1. Start Centre Dialog (appears when OOo is open without any documents).
  2. Native Tables can be added to Impress slides. This includes Table design styles in the Task Menu.
  3. Calc sheet names can now contain non alphanumeric characters like % $ ' .
  4. Calc includes a solver tool that works.
  5. Writer notes feature that is displayed at side of the document with different colours for each user.

Thursday, October 2, 2008

A CMS called Drupal

Content Management Systems (CMS) like Drupal have been popular as it provided a relatively powerful framework for customisation. As Drupal is upgraded, the user customised modules are protected to ensure that it can continue to work. Currently many CMS administrators fear upgrading their CMS as things will break due to extensive customisations.

Drupal version 5.x and 6.x currently supports PHP 5.2. This provides better security and performance. Did I mention performance? Currently due to Drupal modularity, it can be tweak for performance to the max. This depends on the web server, PHP and MySQL settings. By default, non registered visitors use Drupal cached pages which reduces load on Drupal.
See a typo3, Joomla and Drupal and part II comparison.

Drupal provides regular security updates at http://drupal.org/security and through mailing list.

Following are general precautions on installation of CMS, refer to http://tboxmy.blogspot.com/2008/08/cms-called-joomla.html
Additional precautions you can take:

Use only modules that is proven secure. Drupal security problems revolve mostly on poorly written additional modules.

Example of vulnerability:
Plugin Manager - Access Bypass, allowed any user to uninstall and remove modules.
Mail handler - SQL injection, allowed malicious users to gain administrator access.

Fax server on Linux

Installing Hylafax to achieve mass faxing. You need to know what is a fax and how it operates before proceeding here.

Currently the Ubuntu does not detect Lenovo R60's built in modem. So I did not get to actually test if the fax server works. The Thinkwiki site didnt show that R60's modem can work. However 2 years ago, Hylafax could what I tried to set out doing today on a PC with Modem attached.

Hylafax Homepage, Documentations. Listed here are the basics for Hylafax on Ubuntu.

Step 1: Installation
sudo apt-get install hylafax-client hylafax-server libfax-hylafax-client-perl transfig
[OPTIONAL]
sudo apt-get install mgetty-viewfax mgetty psrip libtiff-opengl

Step 2: Configure server
faxsetup

[NOTE] This will result in the file /etc/hylafax/config.ttyS0

Step 3: Auto server
vi /etc/default/hylafax/

Remove comment (#) for RUN_HYLAFAX=1

[TODO] Create links to
/etc/hylafax/getty-link
/etc/hylafax/vgetty-link
/etc/hylafax/egetty-link

Sending faxes
sendfax -f "myname@mydomain.com" -R -r "faxsubject" -c "coverpage comments" -x "Recipient's company" -d "Recipient@1234567" tofax.ps

Standard HylaFAX-compatible file formats are ASCII, TIFF, PostScript, and PDF (in versions newer than 4.1beta2)

Notes:
Modem support is in /var/spool/hylafax/etc/setup.modem
Configuration parameters written to /var/spool/hylafax/etc/setup.cache
Add modems with faxaddmodem command

Blog Archive