Make Your BlackBerry Double as a Modem With Barry

by Lisa Hoover - Jan. 05, 2009Comments (8)

Although I suppose, technically speaking, everyone at OStatic should use the G1 smartphone with its open source platform, some of us really love our BlackBerrys. You already know Kristin uses Funambol to sync contacts and calenders with the desktop, but tethering the BlackBerry to a laptop takes an entirely different approach.

Barry, created by open source software vendor Net Direct, lets you not only sync your contacts and calendar but also use your smartphone as a computer modem. Sure, it's not as fast as T1 or cable, but you can't beat it if you're stuck somewhere with no Internet access.

Currently, there are packages available for Ubuntu, Debian, Mandriva, and Fedora (although syncing is not supported on Fedora 9). Most older BlackBerrys work just fine with Barry, but the newest generation of devices -- the Storm and Bold -- are not yet fully supported.

According to Net Direct's Web site, you'll need three things to get your phone up and running as a modem: a Barry install, a working pppd and matching kernel, and an options file and chat script for your Blackberry provider. The apps binary packages already include chat scripts for many popular service providers including Sprint, T-Mobile, Verizon, and O2 Ireland.

In addition to tethering your BlackBerry to a laptop, you can also use Barry to make data backups, export your address book, retrieve email and memos, and perform full restores in the event of data loss.

According to a recent review of Barry, you can even use it to charge the phone's battery via the USB port on your computer. Reviewer Adam Williamson writes, "It should also be noted that another special piece of software, also provided by Barry, is needed for your Blackberry’s battery to be charged when plugged in to a Linux computer. This is because the standard default current for USB devices is 100mA, but Blackberries require 500mA of current to charge. Barry provides a utility named bcharge that handles this. When installed correctly, it will kick in automatically when the Blackberry is connected."

Clearly, a lot of work has gone into making Barry a robust app for BlackBerry users who also rely on Linux. The developers have a roadmap outlining where they plan to take the project in the future, so if you want to jump in and help, they're looking for C++ and python programmers, documentation writers, and BlackBerry users who can help identify bugs.



Gerard Braad uses OStatic to support Open Source, ask and answer questions and stay informed. What about you?



8 Comments
 

Actually the linux kernel (starting with version 2.6.27, maybe even earlier) has a USB module driver called "berry" that allows you to charge your blackberry. It didn't do anything more than charge, but it was there. Barry probably doesn't provide that functionality - it just uses the kernel module.


0 Votes

http://www.blackberryforums.com/linux-users-corner/


0 Votes

You're absolutely right about the kernel driver. Thanks for pointing that out.


I looked into this a bit and the Barry Web site has a little more information about charging via USB:


"Recent kernels have a module called berry_charge, which does similar things from the kernel level. These two methods can conflict if both run at the same time.


Due to this conflict, the binary packages are setup to install a blacklist file under /etc/modprobe.d, which will disable berry_charge as long as you have the barry-util package installed.


If you are not using the binary packages, you can use the sample blacklist file that comes with the source tarball."


(http://www.netdirect.ca/software/packages/barry/requirements.php)


0 Votes

I thought the G1 doesn't allow tethering. And apparently this is for a USB-connected Blackberry, so there is still a need for an Ubuntu Bluetooth laptop/phone tethering tool


0 Votes

Gentoo also has an ebuild file for barry: =app-pda/barry-0.14


0 Votes

You could tether your blackberry all along without berry using bluetooth. Edit /etc/bluetooth/rfcomm.conf and add your blackberry info replacing the mac address and channel for dial up networking:


rfcomm1 {

bind yes;

device 00:aa:bb:11:22:33;

channel 3;

}


pair the machine and the blackberry. Then use /dev/rfcomm1 as your modem with ppp to dial '777' and connect with your provider. YAY!


0 Votes

I have two questions:

1. Does it matter which provider you have?

2. As far as I know most US cell providers charge an extra ~$15/month to tether - does this app get around that and if so...wouldn't that be (illegally) breaching your cellular contract?


0 Votes

I have two questions:

1. Does it matter which provider you have?

2. As far as I know most US cell providers charge an extra ~$15/month to tether - does this app get around that and if so...wouldn't that be (illegally) breaching your cellular contract?


0 Votes
Share Your Comments

If you are a member, to have your comment attributed to you. If you are not yet a member, Join OStatic and help the Open Source community by sharing your thoughts, answering user questions and providing reviews and alternatives for projects.