tantos

nek wedi ojo wani-wani, nek wani ojo wedi-wedi

How To : Internet Connection using CDMA EVDO Modem and Karmic Koala (Ubuntu 9.10)

November13

IMPORTANT UPDATE Dec 13, 2009!!!

I wrote this fuckin tutorial in order to satisfy my fan my friend and my fan my friend :D .
[ad#ad-posttext]

I googled and finally found this bug in Network Manager 0.8.
The solution is downgrading your network manager. But I didn’t know how to downgrade packages in Ubuntu without disabling my apt line that linked to the latest version of packages. If you wanna try, this may be a good tutorial. And, if you downgrade your Network Manager by following tutorial from community help, you can start by Installing dependencies then Make your Karmic automatically eject your EVDO modem each computer start and so on.


Let’s start…
UPDATE Dec 13, 2009
Add these lines into your /etc/sources.list :

#network manager
deb http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main
deb-src http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main

Downgrading your Network Manager from 0.8 to 0.7 :
Killing Network Manager applet and Network Manager itself :

sudo killall nm-applet
sudo killall NetworkManager

Completely Removing Modem Manager and Network Manager :

sudo apt-get purge modemmanager network-manager*

Installing dependencies :

sudo apt-get install libpolkit-dbus2 libpolkit2 libpolkit-gnome0 libpolkit-grant2

If you downgrading your network manager following instruction from Community help, please continue reading Make your Karmic automatically eject your EVDO modem each computer start.

Disable all apt line in /etc/apt/sources.list, and add these two lines :

deb http://ppa.launchpad.net/network-manager/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/network-manager/ppa/ubuntu karmic main

Updating package list :

sudo apt-get update

Installing Network Manager 0.7 :

sudo apt-get install network-manager network-manager-gnome

Restart your system :

sudo reboot

Make your Karmic automatically eject your EVDO modem each computer start :
Create a new file /etc/udev/rules.d/99-evdo-modem.rules, and fill it with :

SYSFS{idVendor}=="201e", SYSFS{idProduct}=="2009", RUN+="/usr/bin/eject %k"

Note : My 99-evdo-modem.rules file can only handle Haier CE100 EVDO modem. If you have different modem, change 0x201e using your modem vendorID, and 0×2009 using your productID.
To check your vendorID and productID of your modem, do :

lsusb

In my Karmic, the results of lsusb command are :

Bus 005 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 064e:c108 Suyin Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 201e:2009  ==============================> this is vendorID:modemID of Haier CE100 EVDO modem
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Now, try to plug in your EVDO modem, if it doesn’t appear in Network Manager applet, try to hack your kernel :
Hacking it’s kernel :
Try this only if your Karmic doesn’t detect your modem :

sudo su
apt-get install linux-source linux-headers-generic build-essential
cd /usr/src
tar xjf linux-source-2.6.31.tar.bz2

Replace your option.c file (located in /usr/src/linux-source-2.6.31/drivers/usb/serial/option.c) using this one : download my option.c.
The difference between yours and mine in line 587 because I’ve added this line into the file:

{ USB_DEVICE(0x201e, 0x2009) },

Note : My option.c file can only add support to handle Haier CE100 EVDO modem. If you have different modem, change 0x201e using your modem vendorID, and 0×2009 using your productID.

[ad#ad-post]

Back to your terminal, and run the following command :

cd linux-source-2.6.31
cp /boot/config-$(uname -r) /usr/src/linux-source-2.6.31/.config
make menuconfig
make -C /lib/modules/$(uname -r)/build M=/usr/src/linux-source-2.6.31/drivers/usb/serial
cp /usr/src/linux-source-2.6.31/drivers/usb/serial/option.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/
depmod -a

Again, restart your computer, then plug in your EVDO modem, if Karmic doesn’t detect, please continue…
Replace your 10-modem.fdi file (/usr/share/hal/fdi/information/10freedesktop/10-modem.fdi) using mine, download here. The differences is in lines 82-89. Again, if your modem is not Haier CE100 EVDO modem, replace it’s vendorID and productID using yours.

That’s all…, now restart your computer then plug in your EVDO modem and enjoy :D .

ps : dont forget to enable your apt line in /etc/apt/sources.list.

Thanks to my resources :
Launchpad Bug
SkyIsGrey.org
blankblondtank.wordpress.com
My previous post.

Also thanks to fuckin english teacher.

Related posts:

  1. How To Internet Connection Using Haier CE100 and Ubuntu 9.04
  2. How To : Karmic Koala and Broadcom Wireless BCM4312 rev 01
  3. How To : Karmic Koala and Canon PIXMA iP1800-iP1900
  4. Waiting For Ubuntu 9.10 Release
  5. Installing Apache 2, MySQL 5.1, and PHP 5.2 from Source in Ubuntu 9.04 (Jaunty)
31 Comments to

“How To : Internet Connection using CDMA EVDO Modem and Karmic Koala (Ubuntu 9.10)”

  1. Avatar November 13th, 2009 at 1:17 am lare ingkang sae Says:

    ehek, epe meksetme dengen feckeng englesh teecher!


  2. Avatar November 14th, 2009 at 2:09 am kamagatos Says:

    Hi, I have also a CDMA EVDO modem,but I didn’t need to downgrade NetworkManager to 0.7 to use my modem. i just used usb_modeswitch to switch my usb device into a modem. once recognized, i used wvial to call ttyUSB. after that my modem worked normally.


  3. Avatar November 14th, 2009 at 5:11 am tantos Says:

    @kamagatos
    can U dial it using NetworkManager ?


  4. Avatar November 29th, 2009 at 3:54 pm snboy Says:

    i follow u guide and my internet connection working now. but interface “Edit Connection” not show. so i can’t change my DNS and ip. can u tell me how to show “Edit Connection” in NM 0.7 with ubuntu9.10?


  5. Avatar December 1st, 2009 at 6:14 am Budi Says:

    Thanks bro Tantos..

    I inspired from this article to make my Gadmei UTV 330+ works in karmic, yeah, exactly, the recompiling the module ‘how to’.. ^^

    Now, I can watch TV using Gadmei UTV 330+ in karmic.. ^^


  6. Avatar December 8th, 2009 at 2:20 pm snboy Says:

    can u answer my question?


  7. Avatar December 9th, 2009 at 11:33 pm tantos Says:

    @snboy
    Sorry dude,
    I got that problem too and I can’t solve it till now.


  8. Avatar December 12th, 2009 at 9:17 pm snboy Says:

    so how u can change your ip? i try to daily update nm but is just loading and never connected.


  9. Avatar December 13th, 2009 at 3:16 am tantos Says:

    @snboy solved!
    try using this nm :

    deb http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main
    deb-src http://ppa.launchpad.net/network-manager/trunk/ubuntu karmic main

    if modem doesn’t work, hack your kernel again :)
    now nm+evdo = OK, edit nm = OK.


  10. Avatar December 13th, 2009 at 6:54 pm 15Persen Says:

    Thanks kang tantos..

    Now i can use my Helena to browse the internet…

    Matur Nuwun…


  11. Avatar December 15th, 2009 at 8:51 pm snboy Says:

    i still get problem T_T

    i do update nm with trunk and i hack kernel again. but it still don’t want to connected. just loading ()

    i get problem when run command make menuconfig and this output:
    *** Unable to find the ncurses libraries or the
    *** required header files.
    *** ‘make menuconfig’ requires the ncurses libraries.
    ***
    *** Install ncurses (ncurses-devel) and try again.
    ***
    make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
    make: *** [menuconfig] Error 2


  12. Avatar December 16th, 2009 at 3:19 am tantos Says:

    @snboy
    just install libncurses5-dev before
    sudo apt-get install libncurses5-dev


  13. Avatar December 16th, 2009 at 9:51 am snboy Says:

    need more advice…..

    i instaled libncurses5-dev… when i run make menuconfig
    there show gui configuration and i dont know what i must i do?
    (so i just choose exit and continue u tutorial)

    actually my nm detec my modem ce100 but it just loading again again and again.

    never conect to internet. i did update and upgrade. my kernel 2.6.31-16


  14. Avatar December 30th, 2009 at 11:47 am iponk Says:

    aku nuggu “HOW TO: Karmic Koala and LCD Projector” dab…. hehehe…

    nggonku ra dadi-dadi kih….


  15. Avatar December 30th, 2009 at 12:21 pm tantos Says:

    @mas iponk
    direstart ae mas, lak mak nyus, eh eh eh eh
    nek ra yo nginstol xrandr (kongsole) & grandr (gui ne)


  16. Avatar January 16th, 2010 at 5:42 pm numlock Says:

    sudo killall nm-applet
    sudo killall NetworkManager

    setelah jalankan perintah ini koneksi saya putus gan..
    gmna cara ngembalikanya gan..?


  17. Avatar January 19th, 2010 at 12:42 pm cahyo Says:

    mas, kalo pake modem hp Smart, gimana setting nya?? lha detect aja gak?//


  18. Avatar January 19th, 2010 at 1:42 pm tantos Says:

    @numlock
    ndak perlu jalanin itu gan, itu udah tak coret kok. yg tak coret ndak usah dipake

    @cahyo
    masa ndak ndetek Gan? py yo? sini aku pinjem HP nya aja :D


  19. Avatar February 15th, 2010 at 6:37 pm cakil Says:

    mas mau nanya,gimana yaa biar koneksi smart haier ce100 bisa lebih dari 60 kbps??
    oiyaaa,,tutorial di atas bisa langsung konek gak ketika ditancepkan??


  20. Avatar February 16th, 2010 at 1:22 am tantos Says:

    @cakil
    1. punya saya bisa
    2. dicoba aja bos, klo belum dicoba ya… :D


  21. Avatar February 16th, 2010 at 3:14 pm cakil Says:

    saya pernah membaca baca bahwa module usbserial di Linux memang tidak diperuntukkan untuk modem kecepatan tinggi, makanya cuma mentok di 60 kbps,apa betul yaa mas??

    sudah saya coba,tapi cuma bisa otomatis eject :D


  22. Avatar February 16th, 2010 at 4:50 pm tantos Says:

    @cakil

    hm…
    Saya mencoba yo mung 60kBps jeh. lha wong paket yg 75rb.
    jajal pake wvdial bos…


  23. Avatar February 16th, 2010 at 5:57 pm cakil Says:

    saya emang pake wv dial je mas,sama aja tetep 60 kbps maksimal,,katanya sih harus dipatch tapi gak dong soalnya lg 3 hari pake ubuntu nih,masih newbie hehe
    trus kalo dah menggunakan kernel 2.6.33 sudah tidak perlu di patch lagi.


  24. Avatar February 17th, 2010 at 5:13 pm tantos Says:

    oya? okelah kalobegitu saya menunggu kernel 2.6.33 di Lucid saja. hehe


  25. Avatar February 18th, 2010 at 7:16 pm Mrti Says:

    Is this tutorial work on Linux Mint 8 Helena? I’m considering using Linux Mint 8 instead of Ubuntu 9.10. Thanks in advance.


  26. Avatar March 16th, 2010 at 9:26 pm gethuk gorenx Says:

    ” wah bahasanya sekarang dah nggak krama inggil ki, sing duwur di translate na gan meng banyumasan gan..kebetulan aku ada modem cdma su 6500u di karmic ku ga detect py kang?? moga-moga bahasane banyumasan.. matur suwun gan


  27. Avatar March 16th, 2010 at 10:10 pm tantos Says:

    @gethuk
    lha, panjenengan kok le maringi komeng mboten nganggih kromo inggil meniko mbah?
    sepindah, dipun-cek rumiyin mbah, wontening perintah “lsusb” meniko wonten ukoro ingkang ghoib punopo mboten?
    menawi wonten, cobi diprentah nganggeh “modprobe …mbuhlah…”
    mekaten rumiyin, kulo badhe micek


  28. Avatar May 6th, 2010 at 8:50 am grangan Says:

    Mas
    Umpami ndamel ubuntu 10.4 lucid
    dos pundi langkah2 ipun ?
    nyobi langkah kageng 9.10 mboten saget e :(


  29. Avatar May 6th, 2010 at 12:14 pm tantos Says:

    @garangan
    wah, kulo dereng nate nganggeh lucid jeh mbah. Besok nek sampun upgrade tak bisiki. tapi kedahipun cara-caranipun sami kaliyan versi pinten kemawon.
    intinipun ngenalaken modem ten kernelipun + otomatis eject modem (khusus kagem modem ingkang wonten mode storage-ne)

    mekaten mbah…


  30. Avatar May 24th, 2010 at 1:09 am stacey Says:

    gue pake nokia 2685 lewat bluetooth kok gak bisa pdhal udah pake Blueman bisa konek and transfer data di Hape.
    Connection managernya gak bisa di ADD knapa ya?


  31. Avatar September 20th, 2011 at 2:03 pm skripsi gratis Says:

    bingung banyak coretannya gan


Email will not be published

Website example

Your Comment:

[+] kaskus emoticons