====== Connect ubuntu to Windows Mobile 3G ======
I connected a netbook running Ubuntu Jaunty 9.04 (UNR) to a Windows Mobile 6.1 (WM6) phone using bluetooth to get mobile broadband access.
The Windows Mobile phone has "Internet Sharing" which allows the phone to act as a wireless router and dhcp server giving bluetooth devices access to the phone's data plan.
sudo -s
aptitude update
aptitude install bluez-compat
echo "PAND_ENABLED=1" >> /etc/default/bluetooth
/etc/init.d/bluetooth restart
5. Display current bluetooth pairings so that you can get the BD address of the phone
cat /var/lib/bluetooth/*/names
6. Add a section to your ''/etc/network/interfaces'' where 00:XX:XX:XX:XX:XX is the BD address you got from the names file above.
iface bnep0 inet dhcp
pre-up /usr/bin/pand --connect 00:XX:XX:XX:XX:XX -n
post-down /usr/bin/pand --kill 00:XX:XX:XX:XX:XX
====== Connect ======
sudo ifup bnep0
====== Disconnect ======
sudo ifdown bnep0