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:
To pair up the Treo
sudo hcitool cc 00:07:E0:63:33:54
and then
to spin up the connection.
pon BluetoothDialup
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
Working on some street cred in the community. See me at: Working With Rails: People
It’s like MySpace for Rails folks
Hey - I almost presented during the lighting talks in RubyConf.
I’ve just updated the scriptures.lds.org Firefox2 search plugin. I added some extra meta-data and a nice favicon logo. Enjoy
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 …
With the release yesterday of FF 2.0 I thought I’d celebrate by creating an OpenSearch format search engine plugin for it. It allows you to search the scriptures on lds.org from within Firefox.
Disclaimer: Only Works with the new Firefox 2.0
The plane leaves for Denver bright and early at 6:04. See you there!
Flash Player 9 is out in beta for Linux:
Adobe Labs - Downloads: Flash Player 9 Update
For those of you running Ubuntu Dapper the following will get you there:
sudo apt-get install libc6 libx11-6 libxext6 libxt6 libfreetype6 libfontconfig1 libgtk2.0-0 libglib2.0-0 libasound2-dev libssl-dev libasound2 libssl0.9.8
Yes! Exactly what I’m looking for:
A nice framework for ruby command-line apps!
The World Heath Organization has lifted the DDT ban!
Townhall.com::Hooray for DDT’s life-saving comeback::By John Stossel