IGOS Nusantara dan Akses Seluler CDMA Haier CE100
Dari IGNwiki
Modem CDMA Haier CE100
Daftar isi
Kernel
$ uname -a Linux localhost.localdomain 2.6.33.3-85.fc13.i686 #1 SMP Thu May 6 18:44:12 UTC 2010 i686 i686 i386 GNU/Linux
Masukkan Modem
Masukkan Modem Haier CE100 ke slot USB di PC, saat awal
$ lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 046d:c045 Logitech, Inc. Optical Mouse Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 009: ID 201e:2009 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 005: ID 0bc2:2300 Seagate RSS LLC Bus 001 Device 003: ID 13b1:001e Linksys WUSBF54G 802.11bg Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Status: USB Storage
Saat awal masih dikenal sebagai USB storage
$ dmesg | tail ISOFS: changing to secondary root sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00 sr: Sense Key : Hardware Error [current] sr: Add. Sense: No additional sense information sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00 sr: Sense Key : Hardware Error [current] sr: Add. Sense: No additional sense information sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00 sr: Sense Key : Hardware Error [current] sr: Add. Sense: No additional sense information
$ ls -l /dev/ttyU* ls: tidak dapat mengakses /dev/ttyU*: Tidak ada berkas atau direktori seperti itu
Lakukan eject
# eject /dev/sr1
Status: USB Modem
# eject /dev/sr1 # dmesg |tail usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 3-1: Product: Qualcomm CDMA Technologies MSM usb 3-1: Manufacturer: Qualcomm, Incorporated usb 3-1: SerialNumber: 00100_DATACAR option 3-1:1.0: GSM modem (1-port) converter detected usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0 option 3-1:1.1: GSM modem (1-port) converter detected usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1 option 3-1:1.2: GSM modem (1-port) converter detected usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
# ls -l /dev/ttyU* crw-rw---- 1 root dialout 188, 0 Mei 23 12:35 /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 1 Mei 23 12:35 /dev/ttyUSB1 crw-rw---- 1 root dialout 188, 2 Mei 23 12:35 /dev/ttyUSB2
/etc/wvdial.conf
[Dialer smart] Auto DNS = on Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Stupid Mode = yes Modem Type = Analog Modem ISDN = 0 New PPPD = yes Phone = #777 Modem = /dev/ttyUSB0 Username = smart Password = smart Baud = 460800 Dial Command = ATDT FlowControl = CRTSCTS Ask Password = 0 Stupid Mode = 1 Compuserve = 0 Idle Seconds = 300
/etc/udev/rules.d/99-haier-ce100.rules
Agar setiap memasukkan Modem Haier CE100 ke slot USB langsung diubah menjadi USB Modem buat /etc/udev/rules.d/99-haier-ce100.rules, isinya:
SYSFS{idVendor}=="201e", SYSFS{idProduct}=="2009", RUN+="/usr/bin/eject %k"