Monday, February 25, 2008

Nokia CDMA - Fedora Linux - Old Archives from http://www.mbone.info

NOKIA CDMA with Linux v.1.0

(original url: http://mbone.petra.ac.id/u/ichtus/CDMA/cdma.html)
if connection too slow, please try this link

- CHANGES v.1.0 - 10 September 2004
1. Upgrade to postpaid
(thank you for starone, as 9 September I can connect internet again, and without fee as long as this month)
2. Change back to "Baud" 115200 (more stable connection)

- CHANGES v.0.5 - 19 August 2004
1. Rework requirement issue
2. Some small fix

- CHANGES v.0.4 - 22 July 2004
1. Add ICQ client connection issue (starone DNS, doesn't resolve correct for ICQ server hostname)
2. Change "Baud" to 230400 (more higher bandwidth!)
3. Remove TODO section

- CHANGES v.0.3 - 1 July 2004
1. FC1 kernel else than 2.4.22-1.2115.nptl report not working
2. Typo phonenix to phoenix

- CHANGES v.0.2 - 29 June 2004
1. Troubleshooting Kabel dan Handphone
2. Penambahan screenshot "Modem Lights Applet" connect
3. Fedora Core 2 testing
4. Add Handphone Nokia 6585 via Infrared
5. Remove koneksi dengan script pppd (tidak bekerja, bantuan dari rekan-2 sangat diharapkan)

- started, v.0.1 - 16 June 2004

Nokia phones CDMA compatible under Linux (N2280, N3105, N6585) - Tested !

website yang direkomendasikan untuk dibaca terlebih dahulu:
1. http://www.google.com
(keyword: linux cdma)
2. http://www.infolinux.web.id
(keyword: cdma di freebsd)

Daftar Isi:
1. Background
2. Peralatan yang dibutuhkan
3. Program yang dibutuhkan
4. Tahap konfigurasi (dengan redhat-config-network)
5. Dial CDMA dengan Linux
6. Debugging
7. Troubleshooting Koneksi
8. ICQ client connection problem




Background:

Akhir-akhir karena gencarnya penyedia jasa komunikasi melakukan gebrakan dengan teknologi CDMA, yang diawali dengan Telkom Flexi, Fren dari mobile-8, dan terakhir starone dari Indosat
banyak teman yang mencoba teknologi baru ini untuk mencari solusi murah berinternet ria (ya walaupun menurut penulis sendiri tetap mahal di handsetnya :) ), dan sekalian bersama little manual ini penulis juga berterima kasih kepada teman saya Stefanus dan Ferry yang bersedia meminjamkan handset nokia beserta kabel data untuk uji coba CDMA di Linux.

"Siapa bilang linux tidak bisa cdma?"



Peralatan yang dibutuhkan:
1. Handset Nokia 2280, Nokia 3105, Nokia 6585 (untuk tipe nokia yang lain, belum diuji coba walaupun penulis yakin bisa)
2. Kabel Data USB(bisa dibeli di toko-2 handphone) (note: Kabel dengan kabel data driver Prolific yang berjalan dengan baik di Linux)
3. Komputer dengan basis Linux

Program yang dibutuhkan di FC1:
1. ppp-2.4.1-15
2. wvdial-1.53-12
3. redhat-config-network-1.3.10-1
4. kernel module pl2303 (catatan: FC1 sudah menyediakan module, tanpa harus recompile kernel. kernel-2.4.22-1.2115.nptl kernel bawaan dari fedora)

Program yang dibutuhkan di FC2:
1. ppp-2.4.2-2
2. wvdial-1.53-13
3. system-config-network-1.3.16-1 (di FC2, utilitas redhat-config-* berubah menjadi system-config-*)
4. kernel module pl2303 (catatan: FC2 sudah menyediakan module, tanpa harus recompile kernel)

Referensi CDMA AT command:
1. driver nmpCDMA1xRTT.inf (driver nokia cdma modem di windows, bisa didapatkan di website nokia)

Tahap konfigurasi (sebagai root):
1. Pengujian koneksi modem di nokia

# wvdialconf --config hanyaTesting.conf

ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- ERROR
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- [fe][fe]
ttyUSB0<*1>: Speed 460800: AT -- [fe][fe]
ttyUSB0<*1>: Speed 460800: AT -- [fe][fe]
ttyUSB0<*1>: Max speed is 230400; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK


2. Set up koneksi starone dengan redhat-config-network:

# redhat-config-network



Redhat-config-network-gui

contoh koneksi (liat gambar diatas).

klik bagian hardware:

redhat-config-network

add new, pilih modem:

redhat-config-network-2

set properties seperti di gambar yang bawah:

Redhat-config-network-gui-3
pada N2280 dan N3550

untuk N6585 via infrared:
Screenshot-Redhat-config-network-gui-9

klik OK.

Kembali ke bagian Devices, klik New, pilih "Modem connection":

Redhat-config-network-gui-4

isi properties seperti tahap-tahap dibawah:

Redhat-config-network-gui-5

Redhat-config-network-gui-6

Redhat-config-network-gui-7

klik Apply. Lanjutkan langkah seperti gambar dibawah,

edit koneksi yang telah dibuat tadi, dengan klik tombol edit:

Redhat-config-network-gui-8

set Modem port ke modem yang sudah dibuat pada gambar pertama tadi, dan turn on "Let PPP do all authentication" (stupid mode=1).

edit file wvdial.conf (dengan memakai text editor favorite anda):
Gnome-terminal

Pada bagian [Modem1]:
1. hilangkan baris
Init3 = ATM1L0

Pada bagian [Dialer starone]
1. tambahkan baris
Init1 = AT
Init2 = AT+crm=1
Init3 = AT+cso=33
Init4 = ATE0V1

ok. konfigurasi sudah selesai.


catatan:

- N6585 dengan menggunakan koneksi via infrared membutuhkan beberapa langkah untuk memastikan infrared hubungan dari komputer dengan ponsel
1. Nyalakan service infrared

# service irda start

2. Load module serial infrared

# modprobe ircomm

3. Testing modem dengan memakai wvdial

# cd /dev/
# ln -s ircomm0 modem
# wvdialconf testcdma.conf

4. lanjutan tahap-tahap instalasi seperti biasa


Dial CDMA dengan Linux (starone)

Ada 3 cara untuk mengaktifkan dial starone pada konfigurasi yang sudah kita buat sebelumnya:
1. Terminal
untuk konek ke starone

$ /sbin/ifup starone

untuk mematikan koneksi

$ /sbin/ifdown starone



2. gnome-applet-modem (koneksi internet pada gnome)
Gnome-modem-applets

edit preference dari Modem Lights (modem applet di taskbar gnome):
Modemlights_applet2

Modemlights_applet2-1

tampilan di taskbar gnome
Screenshot-Modemlights_applet2-2

klik connect
Screenshot-Modemlights_applet2-3


3. dengan wvdial

# wvdial starone


Debugging

# tail -f /var/log/messages

jika berhasil, kira-kira akan keluar output seperti ini:

Jun 14 23:06:58 ichtusmobile ifup-ppp: pppd started for starone on /dev/ttyUSB0 at 115200
Jun 14 23:06:58 ichtusmobile pppd[2179]: pppd 2.4.1 started by root, uid 0
Jun 14 23:06:59 ichtusmobile wvdial[2200]: WvDial: Internet dialer version 1.53
Jun 14 23:06:59 ichtusmobile wvdial[2200]: Initializing modem.
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Sending: AT
Jun 14 23:07:00 ichtusmobile wvdial[2200]: AT
Jun 14 23:07:00 ichtusmobile wvdial[2200]: OK
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Sending: AT+crm=1
Jun 14 23:07:00 ichtusmobile wvdial[2200]: AT+crm=1
Jun 14 23:07:00 ichtusmobile wvdial[2200]: OK
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Sending: AT+cso=33
Jun 14 23:07:00 ichtusmobile wvdial[2200]: AT+cso=33
Jun 14 23:07:00 ichtusmobile wvdial[2200]: OK
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Sending: ATE0V1
Jun 14 23:07:00 ichtusmobile wvdial[2200]: ATE0V1
Jun 14 23:07:00 ichtusmobile wvdial[2200]: OK
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Modem initialized.
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Sending: ATDT#777
Jun 14 23:07:00 ichtusmobile wvdial[2200]: Waiting for carrier.
Jun 14 23:07:03 ichtusmobile wvdial[2200]: CONNECT
Jun 14 23:07:03 ichtusmobile wvdial[2200]: Carrier detected. Chatmode finished.
Jun 14 23:07:03 ichtusmobile pppd[2179]: Serial connection established.
Jun 14 23:07:03 ichtusmobile pppd[2179]: Using interface ppp0
Jun 14 23:07:03 ichtusmobile pppd[2179]: Connect: ppp0 <--> /dev/ttyUSB0
Jun 14 23:07:06 ichtusmobile modprobe: modprobe: Can't locate module ppp-compress-21
Jun 14 23:07:06 ichtusmobile modprobe: modprobe: Can't locate module ppp-compress-21
Jun 14 23:07:09 ichtusmobile pppd[2179]: Could not determine remote IP address: defaulting to 10.64.64.64
Jun 14 23:07:09 ichtusmobile pppd[2179]: local IP address 219.83.80.63
Jun 14 23:07:09 ichtusmobile pppd[2179]: remote IP address 10.64.64.64
Jun 14 23:07:09 ichtusmobile pppd[2179]: primary DNS address 202.155.0.20
Jun 14 23:07:09 ichtusmobile pppd[2179]: secondary DNS address 202.155.0.15


Troubleshooting Kabel dan Handphone

List problem yang harus diperiksa:
1. Check kabel
Informasi dari forumponsel (http://www.forumponsel.com) adanya beberapa jenis kabel data DKU-5:
- DKU-5 buatan RRC (kotak berwarna kuning)
- DKU-5 dengan kotak warna putih
- DKU-5 original dari Nokia (not working under linux!)
- MA-8620E (type lama, bisa dicheck pada cd yang disertakan dalam kemasan terdapat program "Phone Data Suite", selain itu mungkin termasuk type MA yang baru)
- MA-8630E (type baru - not working under linux!) -> dilaporkan ada yang bisa dikenali di linux (FC2)

Bagi yang bisa membawa Laptop under linux bisa dicoba di toko handphonenya, atau membawa CD Linux Knoppix untuk testing dengan wvdial
Kabel DKU-5 dan MA yang saat ini berjalan under linux dengan module pl2303 (latest v.0.10) bisa dengan melakukan koneksi modem dengan menggunakan wvdial.


2. Check handphone
Handphone dari penulis(N2280 garansi Startel) mengalami masalah koneksi 3G modem karena adanya setting dari "NAM Programming" (*3001#12345#) yang tidak sesuai,
hal ini bisa diatasi dengan meng-copy setting tersebut dari N2280 yang tidak bermasalah dengan menggunakan program phoenix (terima kasih kepada Pak Alfred untuk hal ini) dan
men-save setting tersebut pada N2280 yang bermasalah.


ICQ client/Gaim connection problem

- Ada permasalahan di DNS server yang dipake starone (202.155.0.20 & 202.155.0.15), coba ubah setting atau preference dari ICQ client untuk
bagian server hostname menjadi ip address.
Contoh di icq client di linux dengan Gaim,
Tools -> Accounts -> Modify Icq Account -> Show more details -> ganti "Auth Host" login.oscar.aol.com => 205.188.179.233
-> ip address dari login.oscar.aol.com bisa didapatkan dengan koneksi internet yang lain dengan DNS server yang berbeda pula:
1. host -t A login.oscar.aol.com (linux)
2. ping login.oscar.aol.com (windows)

- Yahoo client dilaporkan tidak ada masalah (ymessenger, gaim, gyach)


Last update: 10 September 2004
last words,
any problem please send email to me:
1. ichtus_lewi@yahoo.com
2. ichtus@gmail.com

No comments:

Aktivasi DNS Over HTTPS (DoH) DNS Google di Mikrotik v6.47

Domain Name System atau biasa disebut DNS merupakan salah satu fitur yang ada pada setiap perangkat jaringan. Berfungsi pada sistem untuk me...