Jumat, 16 Oktober 2009

SIM2 in Nexian G900 SIM2 in Nexian G900 Modem So It Can So It Can

Mobile Nexian G900 turned out to be directly detected by the modem driver Sabily linux (Ubuntu 9.04). So ya pingin nyoba modem. It was said that could be used for her modem SIM1 only aliases that have been congenital XL bundling it. But the "myth" is finally refuted the fact that the machine SIM2 NX-G900 series can also be used for the connection.

Here are the steps I did (using the operating system Sabily / Ubuntu 9.04):

* Connect the NX-G900 to a computer using a USB cable built hape.
* On screen will appear hape 3 (three) options, select the COM port.
* Use the command wvdialconf (as in the article Easily dial-up in linux with the phone) to make sure the modem is recognized.
  • paknefia@ns858:~$ sudo wvdialconf /etc/wvdial.conf
    [sudo] password for paknefia:
    Editing `/etc/wvdial.conf'.
    Scanning your serial ports for a modem.
    Modem Port Scan<*1>: S0 S1 S2 S3
    WvModem<*1>: Cannot get information for serial port.
    ttySL0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
    ttySL0<*1>: ATQ0 V1 E1 -- ATQ
    ttySL0<*1>: failed with 9600 baud, next try: 115200 baud
    ttySL0<*1>: ATQ0 V1 E1 -- OK
    ttySL0<*1>: ATQ0 V1 E1 Z -- OK
    ...
    ...
    ...
    ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
  • Add a few lines of this script in the / etc / wvdial.conf.
    [Dialer xl]
    Username = xlgprs
    Password = proxl
    Modem = /dev/ttyACM0
    Phone = *99#

    [Dialer axis]
    Init3 = at+cgdcont=1,"ip","axis"
    Modem = /dev/ttyACM0
    Password = 123456
    Username = axis
    Phone = *99***1#
  • To try a modem with XL card in SIM1,

    * Make sure the UART on the NX-G900 choose SIM1 (can be seen from Menu -> Settings -> Phone setup -> UART setup)
    * Open a terminal window on the computer from the menu Applications -> Accessories -> Terminal
    * Type the following command sudo wvdial in the terminal xl window.
    • paknefia@ns858:~$ sudo wvdial xl
      [sudo] password for paknefia:
      --> WvDial: Internet dialer version 1.60
      --> Cannot get information for serial port.
      --> Initializing modem.
      --> Sending: ATZ
      ATZ
      OK
      --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      OK
      --> Modem initialized.
      --> Sending: ATDT*99#
      --> Waiting for carrier.
      ATDT*99#
      CONNECT
      ~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~
      --> Carrier detected. Waiting for prompt.
      ~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~
      --> PPP negotiation detected.
      --> Starting pppd at Thu Oct 8 14:38:47 2009
      --> Pid of pppd: 19823
      --> Using interface ppp0
      --> local IP address 10.233.75.141
      --> remote IP address 10.64.64.64
      --> primary DNS address 202.152.254.245
      --> secondary DNS address 202.152.254.246
    • Connection with the XL card SIM1 success.
      paknefia@ns858:~$ ping nova.staff.ugm.ac.id
      PING hosting.ugm.ac.id (222.124.24.6) 56(84) bytes of data.
      64 bytes from hosting.ugm.ac.id (222.124.24.6): icmp_seq=1 ttl=48 time=433 ms
      64 bytes from hosting.ugm.ac.id (222.124.24.6): icmp_seq=2 ttl=48 time=374 ms
      ^C64 bytes from hosting.ugm.ac.id (222.124.24.6): icmp_seq=3 ttl=48 time=594 ms

      --- hosting.ugm.ac.id ping statistics ---
      3 packets transmitted, 3 received, 0% packet loss, time 2000ms
      rtt min/avg/max/mdev = 374.689/467.660/594.627/92.951 ms
      paknefia@ns858:~$
  • To try a modem with the card on the SIM2 AXIS,

    * Change UART on NX-G900 so that SIM2 is selected (Menu -> Settings -> Phone setup -> UART setup)
    * Type the following command sudo wvdial axis in the terminal window on the computer.
    • paknefia@ns858:~$ sudo wvdial axis
      --> WvDial: Internet dialer version 1.60
      --> Cannot get information for serial port.
      --> Initializing modem.
      --> Sending: ATZ
      ATZ
      OK
      --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      OK
      --> Sending: at+cgdcont=1,"ip","axis"
      at+cgdcont=1,"ip","axis"
      OK
      --> Modem initialized.
      --> Sending: ATDT*99***1#
      --> Waiting for carrier.
      ATDT*99***1#
      CONNECT
      ~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~
      --> Carrier detected. Waiting for prompt.
      ~[7f]}#@!}!}!} }2}"}&} }*} } }#}$@#}'}"}(}"U[03]~
      --> PPP negotiation detected.
      --> Starting pppd at Thu Oct 8 14:48:14 2009
      --> Pid of pppd: 20417
      --> Using interface ppp0
      --> local IP address 10.82.102.229
      --> remote IP address 10.64.64.64
      --> primary DNS address 203.78.115.215
      --> secondary DNS address 203.78.115.222
    • Connection successful.
      paknefia@ns858:~$ ping google.com
      PING google.com (74.125.67.100) 56(84) bytes of data.
      64 bytes from gw-in-f100.google.com (74.125.67.100): icmp_seq=1 ttl=50 time=617 ms
      64 bytes from gw-in-f100.google.com (74.125.67.100): icmp_seq=2 ttl=50 time=600 ms
      ^C
      --- google.com ping statistics ---
      3 packets transmitted, 2 received, 33% packet loss, time 2038ms
      rtt min/avg/max/mdev = 600.908/609.203/617.499/8.332 ms
      paknefia@ns858:~$
Ok. Good luck ..

Tidak ada komentar:

Posting Komentar