[Prologue]
This is note to connect my Linux machine to Celcom Broadband by using my Sony Ericsson W850i via bluetooth connection. Thanks to Yoon Kit’s note as the inspiration.
Machine: HP Compaq 6515b Operating System: Ubuntu Linux 8.10 Kernel Version: 2.6.27-11 Modem: Sony Ericsson W850i Bluetooth Modem
[Modus Operand]
Scanning Bluetooth device and browsing the services,
- root@unforgiven:~# hcitool scan
- Scanning ...
- 00:1B:59:76:EF:1D W850i
- root@unforgiven:~# sdptool browse 00:1B:59:76:EF:1D
- Browsing 00:1B:59:76:EF:1D ...
- Service Description: Sony Ericsson W850
- Service RecHandle: 0x10000
- Service Class ID List:
- "PnP Information" (0x1200)
- Service Name: OBEX SyncML Client
- Service RecHandle: 0x10001
- Service Class ID List:
- UUID 128: 00000002-0000-1000-8000-0002ee000002
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 1
- "OBEX" (0x0008)
- Service Name: Dial-up Networking
- Service RecHandle: 0x10002
- Service Class ID List:
- "Dialup Networking" (0x1103)
- "Generic Networking" (0x1201)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 2
- Profile Descriptor List:
- "Dialup Networking" (0x1103)
- Version: 0x0100
- Service Name: Serial Port
- Service RecHandle: 0x10003
- Service Class ID List:
- "Serial Port" (0x1101)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 3
- Service Name: PAN Network Access Point
- Service Description: NAP provides access to internet for one connecting PANu
- Service RecHandle: 0x10008
- Service Class ID List:
- "Network Access Point" (0x1116)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- PSM: 15
- "BNEP" (0x000f)
- Version: 0x0100
- SEQ8: 0 6 dd
- Language Base Attr List:
- code_ISO639: 0x656e
- encoding: 0x6a
- base_offset: 0x100
- Profile Descriptor List:
- "Network Access Point" (0x1116)
- Version: 0x0100
- Service Name: Hands-Free Gateway
- Service RecHandle: 0x10009
- Service Class ID List:
- "Handsfree Audio Gateway" (0x111f)
- "Generic Audio" (0x1203)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 4
- Profile Descriptor List:
- "Handsfree" (0x111e)
- Version: 0x0105
- Service Name: Headset Gateway
- Service RecHandle: 0x1000a
- Service Class ID List:
- "Headset Audio Gateway" (0x1112)
- "Generic Audio" (0x1203)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 5
- Profile Descriptor List:
- "Headset" (0x1108)
- Version: 0x0100
- Service Name: OBEX Object Push
- Service RecHandle: 0x1000b
- Service Class ID List:
- "OBEX Object Push" (0x1105)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 6
- "OBEX" (0x0008)
- Profile Descriptor List:
- "OBEX Object Push" (0x1105)
- Version: 0x0100
- Service Name: OBEX File Transfer
- Service RecHandle: 0x1000c
- Service Class ID List:
- "OBEX File Transfer" (0x1106)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 7
- "OBEX" (0x0008)
- Profile Descriptor List:
- "OBEX File Transfer" (0x1106)
- Version: 0x0100
- Service Name: OBEX IrMC Sync Server
- Service RecHandle: 0x1000d
- Service Class ID List:
- "IrMC Sync" (0x1104)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 8
- "OBEX" (0x0008)
- Profile Descriptor List:
- "IrMC Sync" (0x1104)
- Version: 0x0100
- Service Name: HID Mouse & Keyboard
- Service Description: Remote Control of PC applications and other devices
- Service Provider: Sony Ericsson
- Service RecHandle: 0x1000e
- Service Class ID List:
- "Human Interface Device" (0x1124)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- PSM: 17
- "HIDP" (0x0011)
- Language Base Attr List:
- code_ISO639: 0x656e
- encoding: 0x6a
- base_offset: 0x100
- Profile Descriptor List:
- "Human Interface Device" (0x1124)
- Version: 0x0100
- Service Name: OBEX Phonebook Server
- Service RecHandle: 0x10010
- Service Class ID List:
- "Phonebook Access - PSE" (0x112f)
- Protocol Descriptor List:
- "L2CAP" (0x0100)
- "RFCOMM" (0x0003)
- Channel: 9
- "OBEX" (0x0008)
- Profile Descriptor List:
- "Phonebook Access - PSE" (0x112f)
- Version: 0x0100
Edit /etc/bluetooth/rfcomm.conf and insert those values,
rfcomm0 {
bind yes;
device 00:1B:59:76:EF:1D;
channel 2;
comment "Irwan's W850i";
}
Restart Bluetooth service,
root@unforgiven:~# /etc/init.d/bluetooth restart
Stopping bluetooth: bluetoothd.
Starting bluetooth: bluetoothd.
Edit /etc/wvdial.conf and insert those values,
[Dialer Defaults]
Phone = *99#
Username = celcom
Password = celcom
New PPPD = yes
Modem = /dev/rfcomm0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Now I ran wvdial and I’m connected to Celcom Broadband. Yay!
- root@unforgiven:~# wvdial
- --> WvDial: Internet dialer version 1.60
- --> Cannot get information for serial port.
- --> Initializing modem.
- --> Sending: ATZ
- ATZ
- OK
- --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
- OK
- --> Modem initialized.
- --> Sending: ATDT*99#
- --> Waiting for carrier.
- ATDT*99#
- CONNECT
- ~[7f]}#@!}!}!} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&q}?THrO~
- --> Carrier detected. Waiting for prompt.
- ~[7f]}#@!}!}"} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&q}?TH>"~
- --> PPP negotiation detected.
- --> Starting pppd at Thu Mar 5 00:14:04 2009
- --> Pid of pppd: 10411
- --> Using interface ppp0
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> local IP address 10.141.202.239
- --> pppd: t[7f]
- --> remote IP address 10.64.64.64
- --> pppd: t[7f]
- --> primary DNS address 203.82.64.67
- --> pppd: t[7f]
- --> secondary DNS address 203.82.64.68
- --> pppd: t[7f]
- ^CCaught signal 2: Attempting to exit gracefully...
- --> Terminating on signal 15
- --> pppd: t[7f]
- --> Connect time 0.2 minutes.
- --> pppd: t[7f]
- --> pppd: t[7f]
- --> pppd: t[7f]
- ^C
{ 2 } Comments
tak habis2 dengan wvdial
UsingNak buat camner, takde Sony Ericsson PC Suite untuk Linux. Nanti aku try guna Wine.
UsingPost a Comment