.oO  |  List directory  |  History  |  Similar  |  Print version
Home 
Main 
   Databases 
   qmail 
   Old Braindump Pages 
Linux 
FreeBSD 

Linux > Connect Ubuntu to Windows Mobile 3G

 
rw-rw-r--   ian   linux

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.

Ubuntu Setup

  1. Right click on the bluetooth icon and select Preferences
  2. Select "Always Visible"
  3. Pair the Windows Mobile phone with your Ubuntu laptop (Start --> Settings --> Connections --> Bluetooth --> Add new device...)
  4. Install pand and enable pand on boot
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

Windows Mobile Phone

  1. Go to: Start --> Programs --> Internet Sharing
  2. Set the PC Connection to Bluetooth PAN
  3. Click Connect

(Bluetooth will be started automatcially on the phone).

Ubuntu

  1. Open a terminal and connect
sudo ifup bnep0

Disconnect

Ubuntu

sudo ifdown bnep0

Windows Mobile Phone

  1. Disable bluetooth to save your battery


Reference http://braindump.mrzesty.net/Linux/ConnectUbuntuToWindowsMobile3G

Comments: 0 New comment

Prev. OpenManage on Dell with Debian AMD64   Screen and other settings for a new host Next


Home | Main | Linux | FreeBSD