Personal tools
You are here: Home kaeru's blog Ubuntu

Ubuntu

2008-04-22

Centro Ubuntu Bluetooth Hotsync

Filed Under:

http://elijah.pinoguin.com/blog/blog-view/article/sync-treo-650-on-ubuntu-linux.html

This link should get you there, but I'll find time to have a graphical walk through the Centro and Ubuntu 8.04 Hardy Heron.

Don't forget to restart the bluetooth service. Also click on the bluetooth icon in the notifier and don't forget to enable network services.

Not as fast as USB sync, but definitely less troublesome without the wires.

2008-03-18

Ubuntu, Bluetooth and Digi GPRS/EDGE

Filed Under:

This was quick relatively quick to set up, by following the guide here:

https://help.ubuntu.com/community/BluetoothDialup

The only catch was that I couldn't browse my Sony Ericsson z558i. Just make your phone discoverable and then try browse it, you'll get the MAC address, which you will need.

You can pair with the phone, from the phone itself. Ubuntu will come up with a dialog box for the pass phrase. (as I recall).

Only one technical step, which is to find out the RFCOMM channel

sdptool browse  your-phone-mac-address

Look for Dial Up Networking, there should be a Channel. On my phone it's 2.

Edit /etc/bluetooth/rfcomm.conf like this,

rfcomm0 {
        bind yes;
        device your-phone-mac-address;
        channel your-phone-rfcomm-channel;
        comment "Bluetooth PPP Connection";
}

Copy and edit the chatscripts given from the link to the guide.

For Digi users, this is the chat script:

TIMEOUT 35
ECHO    ON
ABORT   '\nBUSY\r'
ABORT   '\nERROR\r'
ABORT   '\nNO ANSWER\r'
ABORT   '\nNO CARRIER\r'
ABORT   '\nNO DIALTONE\r'
ABORT   '\nRINGING\r\n\r\nRINGING\r'
''      \rAT
OK      'AT+CGDCONT=1,"IP","diginet"'
OK      ATD*99***1#
CONNECT ""

From the command line, type:

pon BluetoothDialup

and you're on the way.

To disconnect:

poff BluetoothDialup

2008-02-01

libdvdcss and TPM

Filed Under:

Playing DVDs was not an issue, but I found problems doing DVD backups, dvdrip basically hung and tzcat went crazy. Looking for command line, I found dvdbackup. Still no go, finally I found out that you needed libdvdcss form this blog post.

Funny that this is not in repositories, but you need to run a script to install it. FreeBSD has this in ports by the way.

sudo /usr/share/doc/libdvdread3/install-css.sh

And it'll fetch and install a deb package.

Usually when we mention TPM, it's Technology Park Malaysia, but in this case it refers to "Technology Prevention Measures". Of course these have been proven time and time again to be broken. So what do they do? Evil big media (through US government) have already pushed for these laws to be implemented in Malaysia.

This is something I keep spreading awareness of.

By downloading that library and making a copy of a "legally bought" DVD, you can report me to the police and under Malaysian law I could be sentenced to jail for 5 years, fined RM100,000 or both (as I recall). If Malaysia signs an FTA with the US, they want similar laws to be more inclusive with stiffer punishments. They (US government and their local proxies) actually compared drug penalties (death) with copyright penalties, and say it's too light.

By making a backup of a legally bought DVD for my daughter, so that she can continue seeing her favourite shows even if she scratches the original DVD, her dad can be sent to jail for 5 years! Am I that harmful to Malaysian society to be locked up for making a copy of Elmo's Favourite Songs?

Citizens define the laws, by electing law makers. Are our law makers representing the rights of citizens in this case or the interests of powerful foreign media corporations?

In the US most of the elected lawmakers are on the side of corporations. I wonder if local elected MPs are willing to look after the interests of Malaysians for IPR related issues whether they are from BN or the opposition.

Dual booting FreeBSD and Ubuntu Linux

Filed Under:

I still need to boot into a FreeBSD partition on my laptop to do some FreeBSD specific things now and then, which you can't do in a virtual environment.

Setting up FreeBSD to dual boot with Ubuntu (or any other Linux with grub) is simple.

  1. Install FreeBSD in a primary partition (slice) and leave some space free for your Ubuntu install during the fdisk part of the installation.
  2. Install Linux in remaining space, and install grub boot loader (usually the default)
  3. Boot into Ubuntu as it doesn't autodetect FreeBSD partition, and edit /boot/grub/menu.lst (or grub.conf on some other distros) and add the following,
title           FreeBSD
root            (hd0,0,a)
kernel          /boot/loader

2008-01-31

Ubuntu 7.10 so far

Filed Under:

The good

Everything pretty much works without any configuration (the main reason to use Ubuntu as desktop)

  • All notebook (Thinkpad X40) features working
  • Logitech wireless keyboard, all the extra keys including multimedia keys are working and mapped correctly to the right applications.
  • Proprietary stuff is supported. Granted, I can live without them, but Skype and Flash make things easier. The former with video is especial useful to stay in touch with family (kids) when apart.
  • Packages are good for the desktop, on broadband a minute or two to get a missing application running.
  • Proprietary multimedia codecs, popup dialog and click OK to install - very good.
  • Printing all auto detected. Nice new printing setup dialogs.
  • Numerous other stuff which just works with no configuration (stuff does what it should do).

The not so good

The new Intel xorg drivers have weird issues and a few quirks. They're all reported, so hopefully they will be fixed soon (at least we know 8.04 isn't too far away).

  • Mirrored display when booting up to external display (luckily can close the lid).
  • Screen remaining blank after going to sleep.
  • Compiz doesn't quite work right with some applications, notably Evolution, have to turn it off. Expose plugin also not on by default (probably most useful one).
  • SCIM default setting which causes browsers to randomly crash browsing CJK sites and input, is still on by default.
  • MD5 mismatch for nonfree flash, have to do manual install, not exactly user friendly.
  • nfs-client not in basic install

Yet to try

  • Bluetooth support
  • Suspend
  • External display with projector
  • Wacom tablet support (one of reasons to move to Linux on desktop)
  • Fax with X40 modem + bluetooth phone

Overall impressions

I'm enjoying the use so far, except for the screen not resuming from power saving mode. I hope the link from ThinkWiki helps.

FOSS/Unix ~/. settings compatibility rock. I was able to get a working desktop within several minutes, by simply checking out my most important settings and folders from personal svn and continue where I left of. Whether I'm on FreeBSD or Linux (whichever distro) as long as application major versions are the same, I can move from one to another with basically all my most common settings and working files, simply by doing svn update. This is kinda of a mini version of the online desktop, where the main storage (svn) is in the cloud, but you can easily sync to work offline on your current desktop.


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: