Monthly Archives: November 2008

No virtualbox kernel driver after kernel upgrade

After kernel upgrade, your VirtualBox modules will not be updated.
As a result, your virtual machines will not work.
Here is a quick fix. Run this in your terminal:

sudo /etc/init.d/vboxdrv setup

How to remove Linux

I’ve just find out that Microsoft has an article on how to remove Linux and install Windows XP.

Pretty funny, huh?

Here’s the link: http://support.microsoft.com/kb/314458

Java is unable to print to CUPS printers

If you’re using a CUPS printer on Ubunutu (or other linux distro) you may not print from Java.
There is a quick fix taken from here.
Add an /etc/cups/client.conf file containing:

ServerName localhost

Terminator – nice multi terminal application for Linux

Hi folks!

I’ve been using Terminator for quite a long time now and I find it very usefull.

Install it in Ubuntu by running:

sudo apt-get install terminator

There is a feature I would like to see in the future releases: saving the layout of the window or maybe a way to start the application with the predefined number of tabs.

Cannot use USB devices on Virtualbox 2 in Intrepid

There is a quick fix if you get some USB related errors when opening Preferences in Virtualbox 2.
You only have to add these lines in your /etc/fstab file:

# usbfs
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

Nokia N73 synchronization with opensync under Ubuntu 8.04

Yeap, Nokia N73 is a great phone and the N-Series PC Suite looks very nice.
But if you are using Linux, you can’t use the Windows PC Suite. Don’t hurry to fire up a Virtualbox or VMWare machine running Winblows just for that. My guess is is that if you are using an USB cable, it won’t work.
But the good news is that you can use OpenSync to synchronize your Nokia Symbian based phone, with your Evolution (Calendar, Tasks and Contacts) and/or with Google Calendar.
OpenSync act as an mediator between to entity to be synchronized, mapping the data between the entities types and synchronizing when possible the records exchanged, in case of conflict the standard behavior is to prompt the user for correction/decision.

I will explain the steps to you need to follow to sync a Nokia N73 (or any Symbian based phone) with Linux (I used Ubuntu 8.04), via bluetooth. Many credits going to Nailor which posted a nice guide on Ubuntu Forums.
1. Install the needed packages:

sudo apt-get -y install multisync-tools
sudo apt-get -y install multisync0.90
sudo apt-get -y install opensync-plugin-evolution
sudo apt-get -y install opensync-plugin-irmc
sudo apt-get -y install opensync-plugin-syncml
sudo apt-get -y install opensyncutils
sudo apt-get -y install opensync-plugin-google-calendar #if you wish to synchronize with Google Calendar

2. Configure msynctool:
You can configure opensync via a graphical interface using multisync-qad (using similiar settings as below) or you can use command line. Guide below is for commandline.

msynctool --addgroup Nokia

Add plugins to group. If you get errors, they are propably due to missing plugins so check you’ve installed all required plugins.

msynctool --addmember Nokia evo2-sync
msynctool --addmember Nokia syncml-obex-client

Next is the ‘trickiest’ part. Installed plugins need to be configured. First, you have to find your phone’s MAC. Use hcitool to do that:

hcitool scan

It should return something like:

Scanning ...
xx:xx:xx:xx:xx:xx cviorel-N73

Now, configure the syncml-obex-client:

msynctool --configure Nokia 2

Replace the context of the configuration (should be open in separate editor after running previous command) with the following XML:

<config>
<bluetooth_address>xx:xx:xx:xx:xx:xx</bluetooth_address>
<bluetooth_channel>10</bluetooth_channel>
<interface>0</interface>
<identifier>PC Suite</identifier>
<version>1</version>
<wbxml>1</wbxml>
<username></username>
<password></password>
<type>2</type>
<usestringtable>1</usestringtable>
<onlyreplace>0</onlyreplace>
<!-- This needs to be set to 10 000, otherwise you'll be sending more data than your phone can handle. -->
<recvLimit>10000</recvLimit>
<maxObjSize>0</maxObjSize>
<contact_db>Contacts</contact_db>
<calendar_db></calendar_db>
<note_db></note_db>
</config>

To find out what bluetooth_channel to use, run:

sdptool browse xx:xx:xx:xx:xx:xx

and look for SyncMLClient:

Service Name: SyncMLClient
Service RecHandle: 0x10011
Service Class ID List:
UUID 128: 00000002-0000-1000-8000-0002ee000002
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 10
"OBEX" (0x0008)
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"" (0x00000002-0000-1000-8000-0002ee000002)
Version: 0x0100

After configuring the syncml-obex-client it’s time to configure evo2-sync. Open configuration file with command:

msynctool --configure Nokia 1

It should look like this, so you don’t need to modify it:

<config>
<address_path>default</address_path>
<calendar_path>default</calendar_path>
<tasks_path>default</tasks_path>
</config>

4. Sync!
You should be good to go now, so you should try synchronizing:

msynctool --sync Nokia

Ubuntu 8.10 on Lenovo ThinkPad T61

Just installed Ubuntu 8.10 on my T61. Works great!
I hated that bloated Vista Business!

Items that work out of the box:
– Nvidia: 2D works, 3D requires the installation of the proprietary drivers (nVidia Quadro NVS 140)
– Wireless: Atheros card
– Bluetooth keys
– Brightness keys
– Network Card Intel 10/100/1000
– Firewire
– Wireless switch
– 4-in-1 card reader

Worked with some simple tweaking:
– fingerprint reader for login and sudo

1. Install latest thinkfinger packages:

sudo apt-get install thinkfinger-tools libpam-thinkfinger

2. Update the pam configuration files:

sudo /usr/lib/pam-thinkfinger/pam-thinkfinger-enable

3. Restart computer
4. Enroll your fingerprint (creates $HOME/.thinkfinger.bir)

tf-tool --acquire

5. Check fingerprint enrollment

tf-tool --verify

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close