Archive for May, 2006

GPRS via Bluetooth and Nokia 9300

May 28, 2006

(Update: Instructions for connecting via the DKU2 cable now at the end of the post.)
This is how I made the GPRS Internet connection working from my Ubuntu Dapper laptop via a Nokia 9300 and Bluetooth. I found this info on an Ubuntu forums thread, kudos go to emperon:

  1. Have a working bluetooth setup.
  2. hcitool scan gives you your phone’s BD address. Make a note of this.
  3. sdptool search DUN will show you the appropriate channel to use. Make a note of this.
  4. Check that you have a 4-number code in /etc/bluetooth/pin unless your phone and the machine are very friendly already. Your phone may ask for this number later.
  5. Type rfcomm bind /dev/rfcomm0 X:X:X:X:X:X YY (where X:X:X:X:X:X is the BD address and YY is the channel number).
  6. Type rfcomm and check that the channel is either “clear” or “closed”.
  7. Create /etc/ppp/peers/gprs with the following contents:
    /dev/rfcomm0
    connect '/usr/sbin/chat -v -f /etc/ppp/peers/gprs.chat'
            noauth
            defaultroute
            usepeerdns
            lcp-echo-interval 65535
            debug
  8. Create /etc/ppp/peers/gprs.chat with the following contents:
    TIMEOUT                 15        
    ECHO                    ON
    HANGUP                  ON      
    ''                      AT
    OK                      ATZ     
    OK                      ATD*99*#
    (NOTE: *99*# above is the number to call. This one works for Sonera in Finland and many other providers, but call your friendly provider helpdesk and make sure you have the correct one.)
  9. Initiate bluetooth pairing between your phone and the computer.
  10. Make the call: sudo pppd call gprs
  11. Surf away!

Here’s instructions for connecting via the DKU2 cable supplied with the 9300. Cables are uncool and sometimes get in the way, but the procedure is simpler. This info comes mostly from gr0kzer0 in another forum thread:

  1. Install wvdial.
  2. Connect the cable.
  3. Run wvdialconf /etc/wvdial.conf
  4. Edit the /etc/wvdial.conf just created. Look at the last four lines, we edit the Phone, Password and Username lines (the username and password are bogus ones. wvdial wants non-empty ones but you can enter Batman’s credentials there if you like), and additionally force the modem into Stupid Mode.
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    Baud = 460800
    New PPPD = yes
    Modem = /dev/ttyACM0
    ISDN = 0
    Phone = *99#
    Password = foo
    Username = bar
    Stupid Mode = 1

    (NOTE: Again try to find a suitable phone number)
  5. Now you should be able to dial out with wvdial or GNOME PPP.

Technorati Tags: , , , ,

It’s all clear to me now

May 25, 2006

The European Commission has finally clarified the European software patent issue once and for all. Software clearly is either patentable or not patentable, depending on your opinion and on the size of your business. You can get a software patent filed at the European Patent Office, and somebody with enough money for the lawsuit can then ask the European Court of Justice to invalidate the patent on the grounds that it describes a piece of software.

So this means that dominant tech companies can add software patents to their patent portfolios in order to ensure their dominance just like in the US, and small tech companies are free to go bankrupt while fighting in court for their right to do business and innovate in Europe.

Not confused enough yet? Let Yahoo! News try and explain:
EC: Software is not patentable – Yahoo! UK & Ireland News

Technorati Tags:

Lifehack: how to erase permanent marker from your whiteboard

May 25, 2006

This must be the ultimate tip of the day. I know many people who sweat trying to clean their whiteboards, accidentally stained with permanent marker.  WikiHow has the HOWTO:

  1. Get the board you want the stuff off.
  2. Get a dry erase marker (yes, we will make marks to take marks) and a dry eraser.
  3. Draw over what you want to erase (make sure you draw slowly to fill it in better).
  4. Erase.
  5. Done!

I haven’t tried this yet, but soon will since my whiteboard is in a pretty sorry state. :)
(Via Lifehacker.com)

Ubuntu: Past, Present and Future look in parallel

May 23, 2006

Today’s updates brought some things that make it seem like Ubuntu Dapper is finalizing: neither login messages, release identificators, nor the artwork advertises Dapper’s beta status anymore, the system default look is awesome, and everything works as advertised.

What better way to celebrate the official release of Dapper on June 1st than remember old times? Matt has made the artwork from all previous Ubuntu releases parallel installable, so if you feel nostalgic, you can use the Warty theme and wallpaper.

Technorati Tags: ,

New packages

May 22, 2006

I've uploaded packages of GNOME phone manager, LyX 1.4, REOBack and Finnish dict dictionaries on the new packages page. Enjoy.

Technorati Tags: ,

Upgrading Ubuntu now a snap!

May 22, 2006

Ubuntu Breezy users can now upgrade to Dapper more easily than ever. (Actually, someone who isn’t comfortable with the standard Debian dist-upgrade method shouldn’t upgrade before Dapper stabilizes on June 1st, but the method is already there.) I don’t think any other operating system is this easy to upgrade. Daniel shows us how in his blog:
daniel.holba.ch/blog » Blog Archive » Upgrading to Ubuntu 6.06

Technorati Tags: ,

Are you filthy rich? Get ready for Windows Vista!

May 21, 2006

Microsoft has published the hardware requirements for Windows Vista, scheduled for release perhaps sometime this century. A “Vista Capable PC” must have a 800MHz processor and 512M RAM, and a DirectX 9  capable video card. If you want any of the goodies in the new Aero interface, you must have a 1GHz processor, 1G RAM, and 128M of video RAM.

Most consumer-level laptops don’t meet those requirements, and I wonder if companies will run to upgrade all their machines in order to deliver the Aero eye candy to all their office workers.

I wonder if the good old alliance between Microsoft and hardware manufacturers will still work. “What kind of stuff would you like to sell the suckers this year? We’ll be happy to make software that requires it.”

Technorati Tags: ,

GNOME Phone Manager for Dapper

May 19, 2006

Since the gnome-phone-manager-0.6 on dapper is broken, I built a package from the latest 0.7 sources. Since I know someone might be insterested in a working phone manager, I've uploaded the package on Box.net. My package works, but not perfectly of course: you'll have to make a link in /usr/share/gnome-phone-manager to the phone icon or the phone manager will crash upon startup. So after you install the package do "sudo ln -s /usr/share/pixmaps/cellphone.png /usr/share/gnome-phone-manager" and enjoy. As always, there's no guarantee and if my packages break your system or are found eating children on the midnight streets, don't bother me.

May 19th is the Open Discussion Day

May 17, 2006

If you still have legacy instant messaging accounts on MSN, Yahoo!, AIM or whatever, don't log in on them on the 19th. Don't forget to inform your buddes first! :)

Encourage your friends on these networks to chat with you via Jabber instead, so you can get free from incompatible proprietary channels altogether. Read more about it on Ploum's blog. Thank you.

Integrating your personal information space with “The Searchable GNOME”

May 14, 2006

GNOME 2.14 has been unofficially dubbed “The Searchable GNOME” for a reason. The latest iteration of GNOME takes desktop integration to a level where you can stop caring about the whereabouts of files on your file system, or indeed about the location of a specific piece of information in your personal information space or on the Internet. You probably already have forgotten where you files are, so the key to achieving the best possible comfort is

  • Accept the fact that you have no idea where your stuff is;
  • Realize that most of your data is in digital form, or can be digitized;
  • Make sure that all of your personal information space is searchable, both online and locally
  • Use the right applications! Always be prepared to sacrifice your favorite application in favor of one that integrates to your working environment most seamlessly

Your information space consists of all the stuff you have on your computer’s home directory (mail, documents, calendar entries, chat logs…) and, optimally, everything you have read and seen on the Web. All this information should be at your fingertips at all times.

GNOME hacker extraordinaire Jeff Waugh put it best in a recent interview: we need to get rid of the WIMP (Windows, Icons, Menus, Pointer) paradigm which has dominated on the desktop for so long because

“when I wake up in the morning, I don’t think that I have to rearrange my windows and sort my icons — they’re not the things that I find important. The things that I actually care about are people, events, documents and getting laid.”

So we need a user interface that doesn’t get between us and those things that really matter.

So this is how close to Luis I can get though a single text entry widget on my desktop, the Deskbar applet: from this single interface, I can mail him, go to his home page as well as other relevant pages via a Google search, open past e-mail and chat conversations with him, and peruse any document on my hard disk mentioning him.

Searching for Luis
Fig. 1: Searching for Luis


Note that there is no indication in the above screenshot to the applications that will be used to handle this data. I don’t care, and I shouldn’t be bothered with such details. If I want to contact Luis, I want to click his name and write him a message. I certainly don’t want to peruse my application menus to find an e-mail application, open a contacts database to find his address and then try to remember what I wanted to say to him. Also, I don’t want to open a presentation program, find a file (hoping I have given the file a descriptive name and archived it into a reasonably discoverable directory structure) and open it. All I want is Luis-information!

The first commandment in making your stuff searchable: build your desktop around Beagle, and only use applications that Beagle is aware of. Do not give in to the lure of a non-beaglified application, be it as awesome as it may, if there is a beagle-aware application available. In short, choose freely from the list of supported applications on the Beagle home page, but do not look elsewhere. I’m sure Opera is a cool browser, but if you want your browsing history indexed by Beagle, don’t use it. If you use Thunderbird, switch to Evolution. Read news feeds with Liferea or Blam. Keep your notes in a Tomboy sticky wiki. Index your photos with F-Spot. Learn to love these programs, you have no choice. Your life will be easier. Really.

Believe the Web2.0 hype. Well, some of it. Much of your data should live online. Switch to Gmail instead of keeping huge local mail archives, simply because Gmail is more searchable. With Gmail you can keep all your mail, and you don’t have to organize it because their search is faster than your ability to figure out the organization plan you had in mind a year ago. I’m sure other mail services are just as nice, but a plugin happens to be available which integrates Gmail into the deskbar and thus into your desktop. Use del.icio.us and tag all interesting pages so they are also searchable from the deskbar. Another upside with keeping your data on other people’s servers is that (let’s face it) Google’s servers are more likely to stay up 24/7 than yours so you can get to your data from any machine, anytime. Similarly, use F-Spot to tag your photos and upload them to Flickr (why Flickr of all the photo upload services on the Web? Because that’s what F-Spot supports, and F-Spot is what Beagle supports!) Use Gmailfs or Box.net to store data you might want to keep accessible at all times.

Keep your address book and calendar online, especially if you need to access it from different locations and devices. I keep my info on the ScheduleWorld.com servers because they’ve built their service on open standards. The SyncML, iCal, and LDAP protocols they use enable me to handle and access my data from my desktop, laptop, and mobile phone, and keep them all in sync at all times. This is doubly valuable for someone who use the forbidden combination of a Nokia smartphone and Linux systems. Since I use Evolution on the desktop, my address book and calendar are integrated in all my GNOME applications where it makes sense.

The days of totally transparent interfaces has not yet come, and we cannot get to people, events, documents, or laid with the power of thought alone quite yet, but there’s no reason not to make handing our information as easy as possible.

Disclaimer: the above concerns the data in my personal information space. I have made accessing my information as easy as possible, not as secure as possible. Some of the methods, such as accessing Gmail via the deskbar, are inherently insecure. I don’t recommend using similar methods for your million dollar company’s customer database and information like that.

Technorati Tags: , , ,

Welcome to peruse my private data, US officials!

May 14, 2006

The govenment’s interest in my private data has always annoyed me. So I was not particularly happy with the new EU data retention law passed this February. The news that based on this law and previous agreements my data may also be available to US authorities somehow doesn’t really come as a big surprise. Perhaps commenting further on this affair is unwise, lest the Gestapo FBI does find my data to be valuable in the war against Terra
Read the EUobserver.com article instead.

Open Document Format is now ISO standard 26300

May 4, 2006

The International Standards Organization has accepted the Open Document Format developed by OpenOffice.org as an international standard. Good news, freedom lovers! Perhaps governments and other stubborn bodies will not be so eager to force citizens (the owners of their own personal data) to use “industry standard software” such as Microsoft Office. Instead, as the OO.o press release states, “For the first time in the history of computing, software users will be guaranteed that they will be able to use their data in any compliant software package, both now and in the future.” Nice job, OpenOffice hackers and suits!