Showing posts with label bluetooth. Show all posts
Showing posts with label bluetooth. Show all posts

Tuesday, August 4, 2009

openSUSE 11.1 - Mobile broadband via Bluetooth connection

Carrier: Celcom 3G
Mobile: Motorola VE538
Connetion: Bluetooth

Package needed: wvdial, ppp

1. Connect your mobile to your laptop via a bluetooth connection

Right click on bluetooth icon -> Setup new device...


2. Disable NetworkManager

YaST Control Center -> Network Devices -> Network Settings -> Global Options -> Network Setup Method -> Traditional Method with ifup -> OK


3. Edit /etc/wvdial.conf

[Dialer celcom3g_bt]
Modem = /dev/rfcomm0
ISDN = off
Modem Type = USB Modem
Baud = 931600
Init = ATX3
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","celcom3g"
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99***1#
Phone1 = *99***1#
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATM0L0DT
Ask Password = off
Password = ;
Username = ;
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = off
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
Minimize = on
Dock = on




4. sudo wvdial celcom3g_bt

--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATX3
ATX3
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","celcom3g"
AT+CGDCONT=1,"IP","celcom3g"
OK
--> Modem initialized.
--> Sending: ATM0L0DT*99***1#
--> Waiting for carrier.
ATM0L0DT*99***1#
CONNECT 115200
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Tue Aug 4 19:20:54 2009
--> Pid of pppd: 22601
--> Using interface ppp0
--> local IP address xx.xx.xx.xx
--> remote IP address xx.xx.xx.xx
--> primary DNS address xx.xx.xx.xx
--> secondary DNS address xx.xx.xx.xx
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect




-

Sunday, April 19, 2009

Windows Vista x64 - Bluetooth phone DUN connection issue

Error 619: "The port was disconnected."

Solution (based on DiGi connection):

  1. open Device Manager
  2. Modem --> open Properties for Standard Modem over Bluetooth link
  3. on Advanced tab's Extra settings, add --> +cgdcont,"ip","diginet"


Error 734: "The PPP Link Control Protocol Was Terminated"

Solution: http://support.microsoft.com/kb/318718




Saturday, April 18, 2009

openSUSE 11.1 - Banshee - Bluetooth Headset

1. Create/update ~/.asoundrc with....
pcm.bluetooth {
type bluetooth
device 0A:1B:2C:3D:4E:5F <-- use 'hcitool scan to get bluetooth headset MAC address'
}


2. Run -->
gconftool-2 -t string -s /system/gstreamer/0.10/default/musicaudiosink "alsasink device=bluetooth"

* Revert to normal speaker -->
gconftool-2 -t string -s /system/gstreamer/0.10/default/musicaudiosink "autoaudiosink"


3. Load Banshee and enjoy...


Requirement package:

bluez, bluez-gnome, bluez-alsa



Reference: http://wiki.bluez.org/wiki/HOWTO/AudioDevices

General News - Play-Asia.com