it all flows together

scott barber blog

Archive for the ‘ubuntu’ Category

Thursday
Nov 30,2006

So there are a few tutorials out there for linking your Linux laptop to your Treo 650 for dial-up-networking, but nothing Ubuntu Dapper or Edgy Specific - or Sprint PCS Specific.

Here’s what I’ve done to get it all to play nicely together:

Install bluez-passkey-gnome. This allows you to input the PIN to get the treo and your bluetooth device to pair. I spent a good 1-2 hours on this alone!

sudo apt-get install bluez-passkey-gnome

In fact — add that to your gnome session. The executable is bt-applet

So now you can safely pair your Treo to your laptop and set it as a “trusted device”

I left my /etc/bluetooth/hcid.conf stock except I changed the PIN.

Now you need to edit a few files. Here’s what mine look like:

/etc/bluetooth/rfcomm.conf:

#
# RFCOMM configuration file.
#

rfcomm0 {
# Automatically bind the device at startup
bind yes;

# Bluetooth address of the device
device 00:07:E0:63:33:54;

# RFCOMM channel for the connection
channel 1;

# Description of the connection
comment "DUN to Treo 650";
}

/etc/chatscripts/BluetoothDialup:

TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\rRINGING\r'
'' \rATZ
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""

/etc/ppp/peers/BluetoothDialup:

noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
defaultroute
usepeerdns
/dev/rfcomm0 115200
local
novj

Now all you need to do to start-up is run:

sudo hcitool cc 00:07:E0:63:33:54
To pair up the Treo
and then

pon BluetoothDialup
to spin up the connection.
You’ll need to wait 20-30 secounds to get fully connected, but it’s sweet nectar when you see ir ppp0 device with an IP address and all.

To shut ‘er down you can just poff BluetoothDialup.

The cool thing about Sprint PCS is that they give you an outside routeable IP address!

Thanks to the following for inspiration / credit:

http://www.uslinux.net/docs/sprint-wireless-internet.php
for the ppp scripts to connect to sprint

https://help.ubuntu.com/community/BluetoothDialup
for the Ubuntu love

and
http://www.gurulabs.com/goodies/Using_Linux_and_Bluetooth_DUN_with_the_Treo650.php
for the original pimpin howto

VMWare issues with Edgy Eft

Monday
Oct 30,2006

Is your VMWare Workstation broken after your Edgy Eft upgrade?
Errors with libpng12.so.0?

Short answer:
sudo apt-get remove libdbus-1-2

Long answer:
VMTN Discussion Forums: edgy eft libpng12.so.0 …

Flash 9 for Ubuntu

Monday
Aug 28,2006

Amen Brotha. It’s OK to be tricky like this.

Flash 9 for Xubuntu « Xubuntu Blog

Ubuntu Bash Aliases

Tuesday
Aug 1,2006

Even though it seems that there a a proliferation of code snippet sites, this one entry caught my eye. (Notice the ubuntu references?)

Programming is Hard: Bash aliases [bash]

Democracy Player on Dapper

Tuesday
Jul 25,2006

Democracy player .debs giving you the fits? (ie: ImportError: libgtkembedmoz.so)
Install ‘mozilla-dev’ and ‘mozilla-psm’ as seen in:
#3234 (Problem running on Ubuntu Dapper) - Democracy - Trac

Rails Live CD

Friday
Jun 23,2006

A new Rails LiveCD just came out. It’s got:

  • Ruby 1.8.4
  • Rails 1.1.2
  • Capistrano 1.1.0
  • Mongrel 0.3.13
  • Rake 0.7.1
  • Subversion
  • MySQL 4.1.12
  • MySQL Administrator
  • RadRails
  • KDevelop
  • Kate

If only it were built using Ubuntu or Knoppix and not Mandriva :)

Sweet smell of Ubuntu

Thursday
Jun 1,2006

Everyone’s (me included) fav distro has been pushed nearer to perfection once again with the release of Dapper Drake. Set phasers to download! Some other Ubuntu highlights (that make ubuntu so easy to love) include:

1. apt-get install vmware-player :) Oh freaking yes.
2. Support for SPARC and the new Sun Fire models
3. Xubuntu is now in main. BTW: nice startup logo

Dang

Friday
May 26,2006

Where’s a rich dying uncle when you need one?

Ubicon is slated for August 18th and 19th in Mountain View, CA at Google’s Headquarters. It’s even free! I just need a few plane tickets and I’ll be set.

Musings

Wednesday
May 17,2006
  • I was SO close to closing the deal on my MythTV box. I had one more piece to purchase - the TV tuner card. I bought a WinFast 2000 XP RM at Fry’s Electronics (And really - Fry’s is one of the reasons why I moved to Phoenix) for a whopping $37. It was a good deal, but after fiddling with it for a few hours I realized that my poor little Celeron wasn’t up to snuff for software encoding. I need either a beefier CPU or a hardware encoding TV Tuner. I’m pulling for PVR-150 that I can find on sale. MythTV - you will be mine, oh yes - you will be mine.
  • Phoenix is a cool place to live. We actually have good sports teams here. Suns anyone? pulling it out in double overtime against the Clippers was awesome! I’m not even a huge basketball fan, but man the Suns really get you going. I can hardly say that about the Utah Jazz. Plus the D-Backs aren’t half bad this year. Go AZ!
  • Mmmm… Dapper Drake. Ubuntu’s latest kick-butt offering is almost on us. I’ve been running the pre-release since Flight 2 and it’s SO lovely. Stable has heck too.

Edgy Life

Thursday
Apr 20,2006

For you Ubuntu fans out there:

Dapper +1 is now know as “Edgy Eft”

I’m a big fan of the concept for this release: Bleeding Edge.

I can’t wait to order a load of Dapper CDs and give em out to the world.

Meta


Blogroll


Twitter


My del.icio.us


RSS My last.fm