Skip to content

Connecting to Celcom Broadband via Linux & Huawei Modem

Huawei E220 Huawei E220
Operating System: Debian GNU/Linux (Testing aka Lenny)
Kernel Version: 2.6.22-3-amd64
Modem: Huawei E220

Yes, I knew Shakir has blogged on this, but I still want to share my experience. Last week, I've got my chance to connect to Celcom Broadband by using Huawei E220 on my Debian laptop. Thanks to Blue Cube staff who gave me the permission to try that HSDPA usb modem. Well, what I can tell you is, the process is hassle-less! - just like what I did on Sierra Wireless Aircard 875U before.

From /var/log/messages,

CODE:
  1. Feb 28 13:10:03 unforgiven kernel: usb 5-2: new full speed USB device using ohci_hcd and address 4
  2. Feb 28 13:10:04 unforgiven kernel: usb 5-2: configuration #1 chosen from 1 choice
  3. Feb 28 13:10:04 unforgiven kernel: scsi6 : SCSI emulation for USB Mass Storage devices
  4. Feb 28 13:10:09 unforgiven kernel: scsi 6:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
  5. Feb 28 13:10:09 unforgiven kernel: sr0: scsi-1 drive
  6. Feb 28 13:10:09 unforgiven kernel: sr 6:0:0:0: Attached scsi generic sg1 type 5
  7. Feb 28 13:10:18 unforgiven kernel: sr: Sense Key : No Sense [current]
  8. Feb 28 13:10:18 unforgiven kernel: sr: Add. Sense: No additional sense information
  9. Feb 28 13:10:23 unforgiven kernel: printk: 26 messages suppressed.
  10. Feb 28 13:10:23 unforgiven kernel: usb 5-2: USB disconnect, address 4
  11. Feb 28 13:10:23 unforgiven kernel: usb 5-2: new full speed USB device using ohci_hcd and address 5
  12. Feb 28 13:10:24 unforgiven kernel: usb 5-2: configuration #1 chosen from 1 choice
  13. Feb 28 13:10:24 unforgiven kernel: option 5-2:1.0: GSM modem (1-port) converter detected
  14. Feb 28 13:10:24 unforgiven kernel: usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
  15. Feb 28 13:10:24 unforgiven kernel: option 5-2:1.1: GSM modem (1-port) converter detected
  16. Feb 28 13:10:24 unforgiven kernel: usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
  17. Feb 28 13:10:24 unforgiven kernel: scsi7 : SCSI emulation for USB Mass Storage devices
  18. Feb 28 13:10:29 unforgiven kernel: scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
  19. Feb 28 13:10:29 unforgiven kernel: sr0: scsi3-mmc drive: 0x/0x caddy
  20. Feb 28 13:10:29 unforgiven kernel: sr 7:0:0:0: Attached scsi generic sg1 type 5
  21. Feb 28 13:10:29 unforgiven kernel: sr: Sense Key : No Sense [current]
  22. Feb 28 13:10:29 unforgiven kernel: sr: Add. Sense: No additional sense information

Creating wvdial configuration,

CODE:
  1. unforgiven:~# wvdialconf
  2. Editing `/etc/wvdial.conf'.
  3. Scanning your serial ports for a modem.
  4. Modem Port Scan<*1>: S0   S1   S2   S3   
  5. WvModem<*1>: Cannot get information for serial port.
  6. ttyUSB0<*1>: ATQ0 V1 E1 -- OK
  7. ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
  8. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
  9. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
  10. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
  11. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- +CME ERROR: SIM failure
  12. ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: huawei
  13. ttyUSB0<*1>: Speed 4800: AT -- OK
  14. ttyUSB0<*1>: Speed 9600: AT -- OK
  15. ttyUSB0<*1>: Speed 19200: AT -- OK
  16. ttyUSB0<*1>: Speed 38400: AT -- OK
  17. ttyUSB0<*1>: Speed 57600: AT -- OK
  18. ttyUSB0<*1>: Speed 115200: AT -- OK
  19. ttyUSB0<*1>: Speed 230400: AT -- OK
  20. ttyUSB0<*1>: Speed 460800: AT -- OK
  21. ttyUSB0<*1>: Max speed is 460800; that should be safe.
  22. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
  23. WvModem<*1>: Cannot get information for serial port.
  24. ttyUSB1<*1>: ATQ0 V1 E1 -- OK
  25. ttyUSB1<*1>: ATQ0 V1 E1 Z -- OK
  26. ttyUSB1<*1>: ATQ0 V1 E1 S0=0 -- OK
  27. ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
  28. ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
  29. ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- +CME ERROR: SIM failure
  30. ttyUSB1<*1>: Modem Identifier: ATI -- Manufacturer: huawei
  31. ttyUSB1<*1>: Speed 4800: AT -- OK
  32. ttyUSB1<*1>: Speed 9600: AT -- OK
  33. ttyUSB1<*1>: Speed 19200: AT -- OK
  34. ttyUSB1<*1>: Speed 38400: AT -- OK
  35. ttyUSB1<*1>: Speed 57600: AT -- OK
  36. ttyUSB1<*1>: Speed 115200: AT -- OK
  37. ttyUSB1<*1>: Speed 230400: AT -- OK
  38. ttyUSB1<*1>: Speed 460800: AT -- OK
  39. ttyUSB1<*1>: Max speed is 460800; that should be safe.
  40. ttyUSB1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
  41. Found a modem on /dev/ttyUSB0.
  42. /etc/wvdial.conf<Warn>: Can't open '/etc/wvdial.conf' for reading: No such file or directory
  43. /etc/wvdial.conf<Warn>: ...starting with blank configuration.
  44. Modem configuration written to /etc/wvdial.conf.
  45. ttyUSB0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2"
  46. ttyUSB1<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2"

Dialling to Celcom Broadband.....

CODE:
  1. unforgiven:~# wvdial
  2. --> WvDial: Internet dialer version 1.56
  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
  9. ATQ0 V1 E1 S0=0 &C1 &D2
  10. OK
  11. --> Modem initialized.
  12. --> Sending: ATDT*99#
  13. --> Waiting for carrier.
  14. ATDT*99#
  15. CONNECT
  16. --> Carrier detected.  Waiting for prompt.
  17. --> Don't know what to do!  Starting pppd and hoping for the best.
  18. --> Starting pppd at Thu Feb 28 13:23:40 2008
  19. --> Pid of pppd: 6351
  20. --> Using interface ppp0
  21. --> pppd: �+
  22. --> pppd: �+
  23. --> pppd: �+
  24. --> pppd: �+
  25. --> pppd: �+
  26. --> pppd: �+
  27. --> local  IP address 10.164.68.100
  28. --> pppd: �+
  29. --> remote IP address 10.64.64.64
  30. --> pppd: �+
  31. --> primary   DNS address 202.188.0.133
  32. --> pppd: �+
  33. --> secondary DNS address 202.188.1.5
  34. --> pppd: �+

So, the conclusion is; Linux users who use Celcom Broadband can buy either Sierra Wireless Aircard 875U or Huawei E220 without any prejudice as I can confirm that both are working well on our beloved operating system. Next, I'm going to try the Blue Cube modem, just wait for the next episode ;)

{ 19 } Comments

  1. piju | March 4, 2008 at 10:01 pm | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux

    damn, ini yang celcom punya
    aku rasa lain dari yang maxis tu
    yang maxis tu cam dah kena ubahsuai.
    pelik aku dapat result macam2 time configure

    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux
  2. irwan | March 5, 2008 at 12:53 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux

    Pendapat aku,

    -Ko dah cuba tips drpd Shakir ke belum? Yg perlu remove & add usb module tu.
    -Cuba modem tu kat laptop/pc lain.
    -Cuba guna sim card drpd Celcom pulak

    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux
  3. piju | March 5, 2008 at 9:22 am | Permalink
    Using ELinks ELinks 0.11.2 on FreeBSD FreeBSD

    aku dah cuba yang shakir, tp gagal
    dah aku dah cuba yang geekool, kejap OK kejap tak ok, kalo dapat dial pun, dapat ip, tp still takleh browse.
    aku jumpa satu blog, budak ni siap buat installer script, tp masih jgk gagal,
    aku rasa la, ni masalah dengan maxis ni,
    mungkin dia dah ubah huawei punya modem tu,
    aku tengok dia punya somekind of watcher kat windows pun dia dah buat macam dia punya,
    memang pun, sebab yang maxis ni, hanya sewaan berkontrak, very shit!

    Using ELinks ELinks 0.11.2 on FreeBSD FreeBSD
  4. piju | March 5, 2008 at 9:24 am | Permalink
    Using ELinks ELinks 0.11.2 on FreeBSD FreeBSD

    aku dah cuba yang shakir, gagal,
    yang geekool pun kejap jadi kejap tak,
    dapat ip, tp takleh nak browse,
    aku rasa maxis dah ubah huawei tu kot,
    sebab tu dia punya somekind of watcher kat windows pun letak nama dia,
    damn

    Using ELinks ELinks 0.11.2 on FreeBSD FreeBSD
  5. irwan | March 5, 2008 at 1:21 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Windows Windows XP

    Maxis tengah ada problem kot (ayat nak menyedapkan hati). Try ler guna kat laptop/pc lain OR guna sim card Celcom pulak.

    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Windows Windows XP
  6. piju | March 5, 2008 at 9:34 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Ubuntu Linux Ubuntu Linux

    entah, maxis ni memang sucks lah
    aku rasa dia dah ubah modem tu kot,
    damn.

    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Ubuntu Linux Ubuntu Linux
  7. piju | March 6, 2008 at 11:20 am | Permalink
    Using Mozilla Mozilla 1.7.13 on FreeBSD FreeBSD

    ok,
    bukan aku sorang mengalami masalah ni,
    sahir pun dah cakap,
    kat mac dia pun takleh.
    so conclusion nya,
    memang maxis sucks ess!!

    Using Mozilla Mozilla 1.7.13 on FreeBSD FreeBSD
  8. rezdrake | March 6, 2008 at 6:56 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Windows Windows XP

    Tuuu diaa.. unforgiven tuu :D.sempoi sempoi.. bila laa nak merasa layan broadband ni.. hehe.. duk kat Mcd jaa aku ni hehe

    Using Mozilla Firefox Mozilla Firefox 2.0.0.12 on Windows Windows XP
  9. piju | March 7, 2008 at 2:27 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux

    tengok,
    mcd pun ada wifi.
    tp aku dah takleh lepak dengan ko,
    im going…

    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux
  10. piju | March 10, 2008 at 4:09 pm | Permalink
    Using Mozilla Mozilla 1.7.13 on FreeBSD FreeBSD

    okeh tuanguru,
    hamba mintak izin dan restu untuk pegi kursus,
    halalkan makan minum hamba.
    amin.

    Using Mozilla Mozilla 1.7.13 on FreeBSD FreeBSD
  11. egy | March 24, 2008 at 9:19 pm | Permalink
    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP

    hm..leh aku tanye??
    antare huawei ngan blue cube tu yg mane lg bgs??
    aku tak xpert sgt bab2 ni..
    sry kalo aku slh tanye..hehehe

    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP
  12. irwan | March 25, 2008 at 9:51 am | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux

    egy,
    Aku prefer Huawei modem atas sebab,
    -Huawei E220 work out of box pada Linux, Blue Cube modem tidak
    -Huawei adalah jenama antarabangsa yg proven, Blue Cube pula adalah jenama baru yg tak banyak maklumat

    Anyway, aku lagi suka modem Sierra :D

    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux
  13. matt | April 18, 2008 at 12:16 pm | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux

    Aku menggunakan Debian Etch dengan Celcom broadband dan Nokia N80 sebagai modem. Modem N80 memang cantik je boleh detect tapi aku tak tau mcm ner nak masukkan no tel, username dan password pada wvdial.conf tu. Setahu aku Celcom takde lak bagi aku no tel untuk simcard broadband tu.

    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux
  14. irwan | April 18, 2008 at 7:35 pm | Permalink
    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux

    matt,
    No yg kena dial adalah *99# atau *99***1#. Username/password boleh letak apa-apa sahaja. Boleh tengok contoh wvdial pada posting lama aku ni, http://blog.irwan.name/?p=220

    Good Luck :)

    Using Debian IceWeasel Debian IceWeasel 2.0.0.12 on Debian GNU/Linux Debian GNU/Linux
  15. matt | April 19, 2008 at 2:39 am | Permalink
    Using Epiphany Epiphany 2.14 on Debian GNU/Linux Debian GNU/Linux

    OK bos, dah boleh dah … :)- aku masukkan no spt ko bagi kat atas tu. Satu hal lagi betul ke org kata pakai modem mcm hp ni slow skit kalu nak dibandingkan dedicate modem spt huawei atau blue cube tu.

    Using Epiphany Epiphany 2.14 on Debian GNU/Linux Debian GNU/Linux
  16. irwan | April 19, 2008 at 1:24 pm | Permalink
    Using Opera Mini/Mobile Opera Mini/Mobile 4.0.10406

    matt,
    Aku tak pernah jumpa bukti kukuh menunjukkan guna dedicated modem lebih laju drpd guna phone modem. Anyway, aku sendiri prefer dedicated modem.

    Using Opera Mini/Mobile Opera Mini/Mobile 4.0.10406
  17. haizan | June 12, 2009 at 9:38 am | Permalink
    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP

    salam. sya ada masalah dengan modem usb bluecube. kenapa ubuntu tak boleh detect modem tu. sedangkan kalau guna win xp tak masalah pun. dah set celcom kat networking manager tp tak boleh juga. atau ubuntu mmg tak compatible dgn modem jenis bluecube? pelik la rasanya apapun hardware patut boleh detect.

    Using Internet Explorer Internet Explorer 7.0 on Windows Windows XP
  18. Irwan | June 12, 2009 at 10:30 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.0.11 on Windows Windows XP

    haizan,
    Tengok posting ni: http://blog.irwan.name/?p=455
    Cuba driver ni, http://www.bluecube.com.my/content.php?cat=45&pageid=97

    Using Mozilla Firefox Mozilla Firefox 3.0.11 on Windows Windows XP
  19. pocoyo | May 1, 2010 at 3:18 pm | Permalink
    Using Mozilla Firefox Mozilla Firefox 3.6.3 on Linux Linux

    Huawei E1550 ok gak, tapi kena tau guna usb_modeswitch, dialer pakai kppp je lagi senang.

    Using Mozilla Firefox Mozilla Firefox 3.6.3 on Linux Linux

{ 1 } Trackback

  1. Using WordPress WordPress 2.2.1

    [...] as promised in the previous post, today I was able to test the Blue Cube USB Modem, thanks to Blue Cube Pavillion KL. As far as I [...]

Post a Comment

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