How To : Internet Connection using CDMA EVDO Modem and Karmic Koala (Ubuntu 9.10)
IMPORTANT UPDATE Dec 13, 2009!!!
I wrote this fuckin tutorial in order to satisfy my fan my friend and my fan my friend
.
[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*
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
.
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:
ehek, epe meksetme dengen feckeng englesh teecher!
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.
@kamagatos
can U dial it using NetworkManager ?
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?
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.. ^^
can u answer my question?
@snboy
Sorry dude,
I got that problem too and I can’t solve it till now.
so how u can change your ip? i try to daily update nm but is just loading and never connected.
@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.
Thanks kang tantos..
Now i can use my Helena to browse the internet…
Matur Nuwun…
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
@snboy
just install libncurses5-dev before
sudo apt-get install libncurses5-dev
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
aku nuggu “HOW TO: Karmic Koala and LCD Projector” dab…. hehehe…
nggonku ra dadi-dadi kih….
@mas iponk
direstart ae mas, lak mak nyus, eh eh eh eh
nek ra yo nginstol xrandr (kongsole) & grandr (gui ne)
sudo killall nm-applet
sudo killall NetworkManager
setelah jalankan perintah ini koneksi saya putus gan..
gmna cara ngembalikanya gan..?
mas, kalo pake modem hp Smart, gimana setting nya?? lha detect aja gak?//
@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
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??
@cakil
1. punya saya bisa
2. dicoba aja bos, klo belum dicoba ya…
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
@cakil
hm…
Saya mencoba yo mung 60kBps jeh. lha wong paket yg 75rb.
jajal pake wvdial bos…
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.
oya? okelah kalobegitu saya menunggu kernel 2.6.33 di Lucid saja. hehe
Is this tutorial work on Linux Mint 8 Helena? I’m considering using Linux Mint 8 instead of Ubuntu 9.10. Thanks in advance.
” 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
@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
Mas
Umpami ndamel ubuntu 10.4 lucid
dos pundi langkah2 ipun ?
nyobi langkah kageng 9.10 mboten saget e
@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…
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?
bingung banyak coretannya gan