Ana Sayfa

Belarus Life:) – Huawei 3G Modem & Ubuntu 9.04

07.11.2009 at 0:28

Biraz uğraşarak Life:)’da verilen 3G modem’i Ubuntu’ya tanıtıp çalıştırdım. Aynı dertten muzderip insanlar için kısaca anlatayım dedim. Muhtemelen aynı şeyler diğer 3G modemler için de geçerlidir. Yazının devamını ana sayfaya koymuyorum ana sayfadaki yazının başlığına tıklayarak tüm yazıyı okuyabilirsiniz.

Öncelikle Ubuntu 9.10 kullanıyorsanız bu anlattıklarımı yapmanıza gerek yok. Aleti takınca zaten çalışmaya başlıyor. Ama 9.04 ve daha eski modeller için aşağıdakilere yapmanız gerekiyor.

1.lsusb ile usb donanımlara bakalım

$ lsusb
Bus 002 Device 006: ID 0bb4:0ffe High Tech Computer Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 04d9:0499 Holtek Semiconductor, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI
Bus 006 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd. 
Bus 001 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

2.  Aşağıdaki gibi usb_modeswitch uygulamasını kurun (kaynak)

  • Copy the lines below and add them to your system’s software sources. (Read about installing)
    deb http://ppa.launchpad.net/daniele.domenichelli/backports/ubuntu jaunty main
    deb-src http://ppa.launchpad.net/daniele.domenichelli/backports/ubuntu jaunty mai
  • Import public key for my PPA:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9D0C02D0
  • Update and install package usb-modeswitch
    sudo apt-get update
    sudo apt-get install usb-modeswitch

3. /etc/usb_modeswitch.conf dosyasını aşağıdaki gibi değiştirin. DefaultVendor ve DefaultProduction değerleri lsusb komutunda çıkan değerlerden geliyor. Diğer iki bilgiyi tam bilmiyorum ama onlar olmadan çalışmadı bende.

#content of /etc/usb_modeswitch.conf
DefaultVendor = 0x12d1
DefaultProduct = 0x1446
MessageEndPoint = "0x01"
MessageContent = "55534243000000000000000000000011060000000000000000000000000000"

4. usb_modeswitch komutu ile 3G modemin bir USB disk olarak tanınmasını engelleyip modem olarak işleme alınmasını sağlıyoruz.

$ sudo usb_modeswitch 

 * usb_modeswitch: tool for controlling "flip flop" mode USB devices
 * Version 1.0.2 (C) Josua Dietze 2009
 * Works with libusb 0.1.12 and probably other versions

Looking for default devices ...
 Found default devices (1)
Accessing device 003 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 No driver found. Either detached before or never attached

Received inquiry data (detailed identification)
-------------------------
  Vendor String: HUAWEI
 Product String: Mass Storage
Revision String: 2.31
-------------------------

Device description data (identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
 OK, message successfully sent
-> Run lsusb to note any changes. Bye.

5. bakalım olmuş mu? 1446 yerine 1001 çıktığını gördüyseniz oldu demektir.

$ lsusb
Bus 002 Device 006: ID 0bb4:0ffe High Tech Computer Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 04d9:0499 Holtek Semiconductor, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI
Bus 006 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 001 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

6. Olmadıysa bir de şu aşağıdaki komutu çalıştırın. Ben çalıştırdım ama ondan dolayı mı bilmiyorum. Ne olur ne olmaz aklınızda olsun.

$ sudo modprobe usbserial vendor=0x12d1 product=0x1446

7. Network Manager ikonuna sağ tıklayarak “Edit Connection”‘u seçip “Mobile Broadband” kısmına gelip orada birşey varsa onu düzenleyebilirsiniz yoksa ekleyebilirsiniz.
Life:) için APN değerini internet.life.com.by yapmanız yeterli. Şifreye falan gerek yok.

8. Hepsi bu kadar.

9. Cengiz buna da yorum yap. :)

VN:F [1.7.9_1023]
Rating: 0.0/10 (0 votes cast)
VN:F [1.7.9_1023]
Rating: 0 (from 0 votes)
Bu sayfada yazılanlar işinize yaradı mı?

Leave a Reply

Eğer resimli yorum yapmak istiyorsanız ayrıntıları burada bulabilirsiniz.
Lütfen yazım hatalarına dikkat ediniz.

Google