Bluetooth

Config

  • /etc/bluetooth/rfcomm.conf

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

        # Bluetooth address of the device
        device xx:xx:xx:xx:xx:xx;
    
        # RFCOMM channel for the connection
        channel 2;
    
        # Description of the connection
        comment "omenE65-dun";
    

    }

Pairing

  • Start Bluetooth
  • Applet is necessary if not running GNOME

    $ sudo /etc/init.d/bluetooth start $ /usr/bin/bluetooth-applet

  • Initiate connection from phone

  • Enter pins on phone and in bluetooth-applet popup

PPP

  • /etc/ppp/e65-tmobile-chat

    ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT TIMEOUT 120 "" "AT&F" OK "ATE1" OK 'AT+CGDCONT=1,"IP","general.t-mobile.uk"' SAY "Calling T-Mobile 3G" TIMEOUT 60 OK "ATD99**1#" CONNECT c

  • /etc/ppp/peers/e65-tmobile

    /dev/rfcomm6 460800 idle 7200 lock crtscts modem noauth replacedefaultroute defaultroute user any password any connect "/usr/sbin/chat -V -f /etc/ppp/e65-tmobile-chat" noipdefault

    usepeerdns

    novj dump

Networking

  • /etc/network/interfaces

    iface e65-tmobile inet ppp provider e65-tmobile

Init

# /etc/init.d/bluetooth start
# ifup e65-tmobile

Bugs

  • Have to copy resolv.conf manually

    cp /etc/ppp/resolv.conf /etc/resolv.conf