Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-23-2013, 07:12 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Networking › General Networking v
« Previous 1 ... 10 11 12 13 14

Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux
07-18-2010, 09:00 PM (This post was last modified: 07-18-2010 09:00 PM by anbu.)
Post: #1
anbu Offline
Naevy LunnyamouR
****
Global Moderators
Posts: 3,297
Joined: Feb 2010
Reputation: 52
Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux
berikut langkah-langkahnya (tes di Ubuntu Jaunty dengan kernel 2.6.28-13-generic).

Download paket sumber linux dan paket-paket untuk meng-compile module:
Code:
$ sudo apt-get install linux-source linux-headers-generic build-essential
$ sudo su
# cd /usr/src
# tar xjf linux-source-2.6.28.tar.bz2

Salin dan simpan patch berikut ini:

Code:
diff -Nurp linux-source-2.6.28.old/drivers/usb/serial/option.c linux-source-2.6.28/drivers/usb/serial/option.c
--- linux-source-2.6.28.old/drivers/usb/serial/option.c    2009-06-02 14:57:13.000000000 +0700
+++ linux-source-2.6.28/drivers/usb/serial/option.c    2009-06-24 02:39:56.000000000 +0700
@@ -292,6 +292,7 @@ static int  option_send_setup(struct tty
#define ZTE_PRODUCT_MF628            0x0015
#define ZTE_PRODUCT_MF626            0x0031
#define ZTE_PRODUCT_CDMA_TECH            0xfffe
+#define ZTE_PRODUCT_AC2726            0xfff1

#define BENQ_VENDOR_ID                0x04a5
#define BENQ_PRODUCT_H10            0x4068
@@ -511,6 +512,7 @@ static struct usb_device_id option_ids[]
    { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF626) },
    { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_MF628) },
    { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_CDMA_TECH) },
+    { USB_DEVICE(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726) },
    { USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) },
    { USB_DEVICE(0x1da5, 0x4515) }, /* BenQ H20 */
    { } /* Terminating entry */

Lalu terapkan patch-nya:

Code:
# cd linux-source-2.6.28
# patch -p1 -i /PATH/KE/DIREKTORI/NAMA-BERKAS.patch

Dan compile ulang modulenya:

Code:
# cp /boot/config-$(uname -r) /usr/src/linux-source-2.6.28/.config
# make menuconfig
# make -C /lib/modules/$(uname -r)/build M=/usr/src/linux-source-2.6.28/drivers/usb/serial

Kalau sudah beres silakan salin module option.ko ke direktori module, jangan lupa backup dulu module option.ko yang lama:

Code:
# cp /usr/src/linux-source-2.6.28/drivers/usb/serial/option.ko /lib/modules/$(uname -r)/kernel/drivers/usb/serial/
# depmod -a

Beres dah tinggal colokin usb modemnya nanti otomatis terdeteksi, gak perlu pake modprobe module lagi. Coba aja llihat di direktori /dev, kalau udah ada ttyUSB0 artinya sudah sukses.

Selanjutnya biar modem ZTE 2726 bisa terdeteksi sama network manager jadi biar gak cape-cape lagi bikin config untuk dial-up, mari kita bikin config hal untuk ZTE:

[Image: file.png]

Bikin berkas baru /usr/share/hal/fdi/information/20thirdparty/20-zte-2726.fdi

Code:
# vi /usr/share/hal/fdi/information/20thirdparty/20-zte-2726.fdi

Salin config hal berikut ini:
Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- xml -*- -->

<deviceinfo version="0.2">
  <device>
    <match key="info.category" string="serial">
      <match key="@info.parent:usb.vendor_id" int="0x19d2">
        <!-- Smart ZTE AC2726 CDMA -->
        <match key="@info.parent:usb.product_id" int="0xfff1">
          <match key="@info.parent:usb.interface.number" int="0">
            <append key="modem.command_sets" type="strlist">IS-707-A</append>
            <append key="info.capabilities" type="strlist">modem</append>
          </match>
        </match>
      </match>
    </match>
  </device>
</deviceinfo>

Simpan dan hapus berkas cache hal:

Code:
# rm /var/cache/hald/fdi-cache
Selesai, silakan restart dan sekarang seharusnya network manager sudah bisa mengenali modem ZTE 2726.
Visit this user's website Find all posts by this user
Quote this message in a reply
07-18-2010, 09:51 PM
Post: #2
Sudden_death Away
0r4ng 94nt3ng
Posts: 412
Joined: Feb 2010
Reputation: 7
RE: Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux
nice tutor kk...
ane cobain dulu yah
Visit this user's website Find all posts by this user
Quote this message in a reply
07-18-2010, 10:03 PM
Post: #3
anbu Offline
Naevy LunnyamouR
****
Global Moderators
Posts: 3,297
Joined: Feb 2010
Reputation: 52
RE: Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux
(07-18-2010 09:51 PM)Sudden_death Wrote:  nice tutor kk...
ane cobain dulu yah

monggo kakak....jangan lupa share2 ilmu kakak yah :rolleyes:
Visit this user's website Find all posts by this user
Quote this message in a reply
07-18-2010, 10:05 PM
Post: #4
whitehat Away
DC Ambassadors
***
Posts: 775
Joined: Dec 2009
Reputation: 47
RE: Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux
wahh boleh request gak buat ZTE di install trus run di ubuntu 9.04...
btw nice simple tuts...
Find all posts by this user
Quote this message in a reply
07-18-2010, 10:14 PM
Post: #5
anbu Offline
Naevy LunnyamouR
****
Global Moderators
Posts: 3,297
Joined: Feb 2010
Reputation: 52
RE: Mengoptimalkan Koneksi Modem Smart ZTE 2726 di linux
(07-18-2010 10:05 PM)whitehat Wrote:  wahh boleh request gak buat ZTE di install trus run di ubuntu 9.04...
btw nice simple tuts...

dapet dari google om

Code:
http://ubuntuforums.org/showthread.php?t=1147685
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Ask] Cara Ngeset HostOnlyAdapter VBox di LINUX Heraclez 7 161 01-02-2013 04:45 PM
Last Post: arietux
  [Ask] Modem mati hidup Shamister 9 191 12-20-2012 07:39 PM
Last Post: Super Moderator
  [Tutor] Sharing koneksi internet di Linux dengan menggunakan Modem Smart bl4ckside 4 939 09-19-2012 10:50 PM
Last Post: ffaaddiill
  [Tutor] Menghitung IP menggunakan ipcalc di Linux asong123 6 769 07-22-2012 07:14 PM
Last Post: asong123
  [Solved] Modem WiFi + Mikrotik d3m3nt012 15 1,351 05-30-2012 07:44 PM
Last Post: d3m3nt012
  Cara memperkuat sinyal Modem badwolves1986 12 870 05-19-2012 12:42 AM
Last Post: Motaro Irhaby
  [Ask] gabungin 2 Modem Speedy Jadi satu dzawa 8 798 05-14-2012 03:36 PM
Last Post: Super Moderator
  SSH tunneling di linux (socks) untuk proksi biar kegiatan deface2 lebih aman ev1lut10n 4 680 02-27-2012 11:32 AM
Last Post: mariachi
  [Cara Ngakses Gopher dari Console Linux] ev1lut10n 3 567 02-26-2012 02:59 PM
Last Post: thedexwan
  Perbedaan Modem GSM,CDMA,DIAL-UP,dan DSL Emily.Josan♫ 15 1,798 02-24-2012 02:18 AM
Last Post: TSOTF

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-23-2013, 07:12 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE