Koneksi Ubuntu dengan Sierra 881U + Telkomsel Flash
17 March 2009 oleh admin
Ceritanya kemarin dapat rejeki tambahan, trus ngelobi bunda untuk beli modem dan diijinkan. Thanx bunda. So, tadi pagi sampai pabrik langsung kontak Budi mBethil nanyain stok modem. Katanya yang Huawei E220 sedang kosong. hiks … Akhirnya pilihan jatuh pada Sierra Wireless 881U. Rada ragu juga sih bakal kedetek gag ama ubuntu, kalo Huawei E220 sudah pernah nyoba dan berhasil kedetek dengan baik.
Ok, buka bungkus, masukin sim card, pasang batere trus colokin. Coba test pake lsusb
$ lsusb
Bus 001 Device 008: ID 1199:6856 Sierra Wireless, Inc.
Fyuh, kedetek. Lanjut dech setting wvdial
$ sudo wvdialconf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyUSB0: ATQ0 V1 E1 -- OK
ttyUSB0: ATQ0 V1 E1 Z -- OK
ttyUSB0: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0: Modem Identifier: ATI -- MC8781
ttyUSB0: Speed 9600: AT -- OK
ttyUSB0: Max speed is 9600; that should be safe.
ttyUSB0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem: Cannot get information for serial port.
ttyUSB1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem: Cannot get information for serial port.
ttyUSB2: ATQ0 V1 E1 -- OK
ttyUSB2: ATQ0 V1 E1 Z -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2: Modem Identifier: ATI -- Manufacturer: Sierra Wireless, Inc.
ttyUSB2: Speed 9600: AT -- OK
ttyUSB2: Max speed is 9600; that should be safe.
ttyUSB2: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
Ok, sampai sini sepertinya tidak ada masalah, tinggal edit file /etc/wvdial.conf, karena pake telkomsel flash disini gw pasang APN internet
$ sudo vim /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","internet"
ISDN = 0
Modem Type = Analog Modem
Modem = /dev/ttyUSB0
Dial Command = ATDT
Phone = *99#
Username = ''
Password = ''
Baud = 9600
Ok, simpan setting di atas, selanjutnya tinggal konek
$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Tue Mar 17 21:54:33 2009
--> Pid of pppd: 7824
--> Using interface ppp0
--> local IP address 114.121.32.168
--> remote IP address 10.64.64.64
--> primary DNS address 202.152.0.2
--> secondary DNS address 202.155.14.251
Yes … berhasil … berhasil. Lanjutin ngrampok casino ah ![]()
Related posts:
Put menulis: Pada 09.08.09 jam 12:38
punyaku kok slalu bilang…
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun Aug 9 12:27:13 2009
–> Pid of pppd: 6302
–> Using interface ppp0
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> Disconnecting at Sun Aug 9 12:27:14 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
–> Auto Reconnect will be attempted in 80 seconds
–> Cannot get information for serial port.
or
Disconnecting at Sun Aug 9 13:20:27 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
or
–> Carrier detected. Waiting for prompt.
–> Don’t know what to do! Starting pppd and hoping for the best.
–> Starting pppd at Sun Aug 9 13:21:34 2009
–> Pid of pppd: 6030
–> Using interface ppp0
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> Disconnecting at Sun Aug 9 13:21:34 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
–> Auto Reconnect will be attempted in 5 seconds
–> Cannot get information for serial port.
tolong dibantu,,,
thx…
newbie neh
Put menulis: Pada 09.08.09 jam 12:40
kok selalu gini yak…
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun Aug 9 12:27:13 2009
–> Pid of pppd: 6302
–> Using interface ppp0
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> Disconnecting at Sun Aug 9 12:27:14 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
–> Auto Reconnect will be attempted in 80 seconds
–> Cannot get information for serial port.
or
Disconnecting at Sun Aug 9 13:20:27 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
or
–> Carrier detected. Waiting for prompt.
–> Don’t know what to do! Starting pppd and hoping for the best.
–> Starting pppd at Sun Aug 9 13:21:34 2009
–> Pid of pppd: 6030
–> Using interface ppp0
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> Disconnecting at Sun Aug 9 13:21:34 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
–> Auto Reconnect will be attempted in 5 seconds
–> Cannot get information for serial port.
minta bantuan dunk…
thx
newbie
Put menulis: Pada 09.08.09 jam 12:41
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun Aug 9 12:27:13 2009
–> Pid of pppd: 6302
–> Using interface ppp0
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> pppd: ��� ���
–> Disconnecting at Sun Aug 9 12:27:14 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
–> Auto Reconnect will be attempted in 80 seconds
–> Cannot get information for serial port.
or
Disconnecting at Sun Aug 9 13:20:27 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
or
–> Carrier detected. Waiting for prompt.
–> Don’t know what to do! Starting pppd and hoping for the best.
–> Starting pppd at Sun Aug 9 13:21:34 2009
–> Pid of pppd: 6030
–> Using interface ppp0
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> pppd: �[12]� �[11]�
–> Disconnecting at Sun Aug 9 13:21:34 2009
–> The PPP daemon has died: A modem hung up the phone (exit code = 16)
–> man pppd explains pppd error codes in more detail.
–> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
–> Auto Reconnect will be attempted in 5 seconds
–> Cannot get information for serial port.
awaludin z menulis: Pada 10.10.09 jam 10:48
@PUT:
coba perintah ini:
ip /usr/sbin/pppd
$ sudo chown root
$ sudo chmod 4754 /usr/sbin/pppd
$ sudo chmod 777 /etc/ppp/pap-secrets
$ sudo chmod 777 /etc/ppp/peers