wordpress y2014 m04 d23 h10 single s-y2009 s-m03 s-d05 s-h08 s-category-celcom-3g s-category-tipstrickshowto s-category-ubuntu s-category-w850i s-author-irwan">
Skip to content

Connecting Linux to Celcom Broadband via W850i Bluetooth Modem

[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,

  1. root@unforgiven:~# hcitool scan
  2. Scanning ...
  3.     00:1B:59:76:EF:1D   W850i
  4. root@unforgiven:~# sdptool browse 00:1B:59:76:EF:1D
  5. Browsing 00:1B:59:76:EF:1D ...
  6. Service Description: Sony Ericsson W850
  7. Service RecHandle: 0x10000
  8. Service Class ID List:
  9.   "PnP Information" (0x1200)
  10.  
  11. Service Name: OBEX SyncML Client
  12. Service RecHandle: 0x10001
  13. Service Class ID List:
  14.   UUID 128: 00000002-0000-1000-8000-0002ee000002
  15. Protocol Descriptor List:
  16.   "L2CAP" (0x0100)
  17.   "RFCOMM" (0x0003)
  18.     Channel: 1
  19.   "OBEX" (0x0008)
  20.  
  21. Service Name: Dial-up Networking
  22. Service RecHandle: 0x10002
  23. Service Class ID List:
  24.   "Dialup Networking" (0x1103)
  25.   "Generic Networking" (0x1201)
  26. Protocol Descriptor List:
  27.   "L2CAP" (0x0100)
  28.   "RFCOMM" (0x0003)
  29.     Channel: 2
  30. Profile Descriptor List:
  31.   "Dialup Networking" (0x1103)
  32.     Version: 0x0100
  33.  
  34. Service Name: Serial Port
  35. Service RecHandle: 0x10003
  36. Service Class ID List:
  37.   "Serial Port" (0x1101)
  38. Protocol Descriptor List:
  39.   "L2CAP" (0x0100)
  40.   "RFCOMM" (0x0003)
  41.     Channel: 3
  42.  
  43. Service Name: PAN Network Access Point
  44. Service Description: NAP provides access to internet for one connecting PANu
  45. Service RecHandle: 0x10008
  46. Service Class ID List:
  47.   "Network Access Point" (0x1116)
  48. Protocol Descriptor List:
  49.   "L2CAP" (0x0100)
  50.     PSM: 15
  51.   "BNEP" (0x000f)
  52.     Version: 0x0100
  53.     SEQ8: 0 6 dd
  54. Language Base Attr List:
  55.   code_ISO639: 0x656e
  56.   encoding:    0x6a
  57.   base_offset: 0x100
  58. Profile Descriptor List:
  59.   "Network Access Point" (0x1116)
  60.     Version: 0x0100
  61.  
  62. Service Name: Hands-Free Gateway
  63. Service RecHandle: 0x10009
  64. Service Class ID List:
  65.   "Handsfree Audio Gateway" (0x111f)
  66.   "Generic Audio" (0x1203)
  67. Protocol Descriptor List:
  68.   "L2CAP" (0x0100)
  69.   "RFCOMM" (0x0003)
  70.     Channel: 4
  71. Profile Descriptor List:
  72.   "Handsfree" (0x111e)
  73.     Version: 0x0105
  74.  
  75. Service Name: Headset Gateway
  76. Service RecHandle: 0x1000a
  77. Service Class ID List:
  78.   "Headset Audio Gateway" (0x1112)
  79.   "Generic Audio" (0x1203)
  80. Protocol Descriptor List:
  81.   "L2CAP" (0x0100)
  82.   "RFCOMM" (0x0003)
  83.     Channel: 5
  84. Profile Descriptor List:
  85.   "Headset" (0x1108)
  86.     Version: 0x0100
  87.  
  88. Service Name: OBEX Object Push
  89. Service RecHandle: 0x1000b
  90. Service Class ID List:
  91.   "OBEX Object Push" (0x1105)
  92. Protocol Descriptor List:
  93.   "L2CAP" (0x0100)
  94.   "RFCOMM" (0x0003)
  95.     Channel: 6
  96.   "OBEX" (0x0008)
  97. Profile Descriptor List:
  98.   "OBEX Object Push" (0x1105)
  99.     Version: 0x0100
  100.  
  101. Service Name: OBEX File Transfer
  102. Service RecHandle: 0x1000c
  103. Service Class ID List:
  104.   "OBEX File Transfer" (0x1106)
  105. Protocol Descriptor List:
  106.   "L2CAP" (0x0100)
  107.   "RFCOMM" (0x0003)
  108.     Channel: 7
  109.   "OBEX" (0x0008)
  110. Profile Descriptor List:
  111.   "OBEX File Transfer" (0x1106)
  112.     Version: 0x0100
  113.  
  114. Service Name: OBEX IrMC Sync Server
  115. Service RecHandle: 0x1000d
  116. Service Class ID List:
  117.   "IrMC Sync" (0x1104)
  118. Protocol Descriptor List:
  119.   "L2CAP" (0x0100)
  120.   "RFCOMM" (0x0003)
  121.     Channel: 8
  122.   "OBEX" (0x0008)
  123. Profile Descriptor List:
  124.   "IrMC Sync" (0x1104)
  125.     Version: 0x0100
  126.  
  127. Service Name: HID Mouse & Keyboard
  128. Service Description: Remote Control of PC applications and other devices
  129. Service Provider: Sony Ericsson
  130. Service RecHandle: 0x1000e
  131. Service Class ID List:
  132.   "Human Interface Device" (0x1124)
  133. Protocol Descriptor List:
  134.   "L2CAP" (0x0100)
  135.     PSM: 17
  136.   "HIDP" (0x0011)
  137. Language Base Attr List:
  138.   code_ISO639: 0x656e
  139.   encoding:    0x6a
  140.   base_offset: 0x100
  141. Profile Descriptor List:
  142.   "Human Interface Device" (0x1124)
  143.     Version: 0x0100
  144.  
  145. Service Name: OBEX Phonebook Server
  146. Service RecHandle: 0x10010
  147. Service Class ID List:
  148.   "Phonebook Access - PSE" (0x112f)
  149. Protocol Descriptor List:
  150.   "L2CAP" (0x0100)
  151.   "RFCOMM" (0x0003)
  152.     Channel: 9
  153.   "OBEX" (0x0008)
  154. Profile Descriptor List:
  155.   "Phonebook Access - PSE" (0x112f)
  156.     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!

  1. root@unforgiven:~# wvdial
  2. --> WvDial: Internet dialer version 1.60
  3. --> Cannot get information for serial port.
  4. --> Initializing modem.
  5. --> Sending: ATZ
  6. ATZ
  7. OK
  8. --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
  9. ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
  10. OK
  11. --> Modem initialized.
  12. --> Sending: ATDT*99#
  13. --> Waiting for carrier.
  14. ATDT*99#
  15. CONNECT
  16. ~[7f]}#@!}!}!} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&q}?THrO~
  17. --> Carrier detected.  Waiting for prompt.
  18. ~[7f]}#@!}!}"} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&q}?TH>"~
  19. --> PPP negotiation detected.
  20. --> Starting pppd at Thu Mar  5 00:14:04 2009
  21. --> Pid of pppd: 10411
  22. --> Using interface ppp0
  23. --> pppd: t[7f]
  24. --> pppd: t[7f]
  25. --> pppd: t[7f]
  26. --> pppd: t[7f]
  27. --> pppd: t[7f]
  28. --> pppd: t[7f]
  29. --> pppd: t[7f]
  30. --> local  IP address 10.141.202.239
  31. --> pppd: t[7f]
  32. --> remote IP address 10.64.64.64
  33. --> pppd: t[7f]
  34. --> primary   DNS address 203.82.64.67
  35. --> pppd: t[7f]
  36. --> secondary DNS address 203.82.64.68
  37. --> pppd: t[7f]
  38. ^CCaught signal 2:  Attempting to exit gracefully...
  39. --> Terminating on signal 15
  40. --> pppd: t[7f]
  41. --> Connect time 0.2 minutes.
  42. --> pppd: t[7f]
  43. --> pppd: t[7f]
  44. --> pppd: t[7f]
  45. ^C

Comment(s) via Facebook

{ 2 } Comments

  1. piju | March 7, 2009 at 6:12 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.7 on Mac OS X Mac OS X 10

    tak habis2 dengan wvdial

    Using Mozilla Firefox Mozilla Firefox 3.0.7 on Mac OS X Mac OS X 10
  2. Irwan | March 7, 2009 at 6:15 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.7 on Ubuntu Linux Ubuntu Linux

    Nak buat camner, takde Sony Ericsson PC Suite untuk Linux. Nanti aku try guna Wine.

    Using Mozilla Firefox Mozilla Firefox 3.0.7 on Ubuntu Linux Ubuntu Linux

Post a Comment

Your email is never published nor shared. Required fields are marked *