dplung’s weblog


Install bluetooth modem (SE M600i, ProXL) di linux suse 10.2
January 18, 2008, 1:16 am
Filed under: Linux
Suport bluetooth pada linux suse 10.2 sudah sangat bagus, malah disini tidak diperlukan driver. Bluetooth yang ditancapkan pada rongga USB langsung dikenal. Untuk itu daemon hcid dan sdpd harus dijalankan.
# /etc/init.d/bluetooth start
atau jalankan YaST:
System -> System Services (Runlevel) -> bluetooth enableLihat:
# dmesg | grep Blue
Bluetooth: Core ver 2.10
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
# lsusb
Bus 001 Device 006: ID 0a5c:2021 Broadcom Corp.
# hciconfig -a hci0
hci0: Type: USB
BD Address: 00:11:22:33:44:55 ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING PSCAN
RX bytes:976 acl:0 sco:0 events:62 errors:0
TX bytes:463 acl:0 sco:0 commands:36 errors:0
Features: 0xff 0xff 0×0d 0×38 0×08 0×08 0×00 0×00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: ‘Muah’s suse (0)’
Class: 0×12010c
Service Classes: Networking, Object Transfer
Device Class: Computer, Laptop
HCI Ver: 1.1 (0×1) HCI Rev: 0×3 LMP Ver: 1.1 (0×1) LMP Subver: 0×800
Manufacturer: Broadcom Corporation (15)
Bisa di-ping juga:
# l2ping 00:11:22:33:44:55
Lihat servicenya:
# sdptool browse 00:11:22:33:44:55 | grep Service\ Name
Service Name: Dial-up Networking
Service Name: Serial Port
Service Name: OBEX SyncML Client
Service Name: PAN Network Access Point
Service Name: Hands-Free Gateway
Service Name: Headset Gateway
Service Name: OBEX Object Push
Service Name: OBEX File Transfer
Service Name: OBEX IrMC Sync Server
Service Name: HID Mouse & Keyboard
Scan HP:
# hcitool scan
Scanning …
00:11:22:33:44:55 Muah
# sdptool browse 00:11:22:33:44:55
….
Service Name: Dial-up Networking
Service Description: Symbian OS,UIQ phone
Service Provider: Sony Ericsson
Service RecHandle: 0×10012
Service Class ID List:
“Dialup Networking” (0×1103)
Protocol Descriptor List:
“L2CAP” (0×0100)
“RFCOMM” (0×0003)
Channel: 7
Language Base Attr List:
code_ISO639: 0×656e
encoding: 0×6a
base_offset: 0×100
Profile Descriptor List:
“Dialup Networking” (0×1103)
Version: 0×0100
….# vi /etc/bluetooth/hcid.conf
options options {
autoinit yes;
security auto;
pairing multi;
passkey “1234″;
}

device {
name “Muah’s %h (%d)”;
class 0×12010c;
iscan enable;
pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}

# vi /etc/bluetooth/rfcomm.conf
rfcomm0 {
bind yes;
device 00:11:22:33:44:55;
channel 7;
comment “SE M600i”;
}

# rfcomm bind /dev/rfcomm0 00:11:22:33:44:55 7

# vi /etc/wvdial.conf
[Dialer Defaults]
Modem = /dev/rfcomm0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,”IP”,”www.xlgprs.net”,”0.0.0.0″,0,0
Area Code =
Phone = *99#
Username = xlgprs
Password = proxl
Ask Password = 0
Dial Command = ATD
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

Atau pakai kppp:
# kppp
[Configure]->[Modem]->[new]
[Accounts]->[New]->[Manual setup]->[Add]->
Connection name: proXl
[Add]->
Enter a phone number:*99#
[Device]->
M600i,
/dev/rfcomm0,
CRTSCTS,
CR,
115200
[Modem Commands]->
Initialization String 2=AT+CGDCONT=1,”IP”,”www.xlgprs.net”
Dial String=ATD
[Modem]->[Query Modem]
Login ID=xlgprs
Password=proxl
[Connect]


No Comments Yet so far
Leave a comment



Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>