Tested of modem in 15/04/14
Distro: ubuntu workstation 13.04 kernel 3.8.0-19
apt-get install usb-modeswitch-data
apt-get install usb-modeswitch
Conecte the Modem and old on some seconds until that the light stay blink.
Now let's go to verify if stay work the device:
First go find the device inside of system:
Put: lsusb
Verify if the device was listed...
See if the device it's OK
check if the information of MODEM GSM and how to install the drive
Put: dmesg
To see the configyuratin specifcy of this device
Put: dmesg | grep GSM
Verify if your device USB is runing
Type: ls /dev/ttyUSB*
This command will find the modem for know where ttyUSB him stay now also saty now and alson will subscribe the file wvdial.conf.
However him will subscribe the file with wrong information. by this way you must change some final informations
Put: wvdialconf /etc/wvdial.conf
Find where ttyUSB the modem stay...
Type: nano /etc/wvdial.conf
Stay the file exactly Deixe ele exatamente like that :
###############################################################################
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
#
Modem Type = USB Modem
Modem =/dev/ttyUSB0
#
Baud = 921600
ISDN = 0
New PPPD = yes
DialCommand =ATDT
Check Def Route = on
FlowControl = Hardware(CRTSCTS)
Auto Reconnect = on
Auto DNS = off
Abort on Busy = off
Carrier Check = off
Abort on No Dialtone = off
Phone=*99***1#
Username=tim
Password=tim
###############################################################################
Obs:
OPERATORS TELECOM FROM BRAZIL:
Vivo:
User and pass: vivo/vivo
fone: *99#
APN: zap.vivo.com.br
Claro:
User and pass: claro/claro
Telefone: *99***1#
APN: bandalarga.claro.com.br
TIM:
User and pass: tim/tim
fone: *99# (for 3g conections) or *99***1# (for old plans with EDGE)
APN: tim.br
Vivo:
User and pass:vivo/vivo
fone: *99#
APN: zap.vivo.com.br
Claro:
Usuário e senha: claro/claro
fone: *99***1#
APN: bandalarga.claro.com.br
TIM:
User and pass:: tim/tim
Telefone: *99# (for 3g conections) or *99***1# (for old plans with EDGE)
APN: tim.br
TIM: +552181138200
Claro: +555191115300
Vivo: +550101102010
Oi: +550310000010
Brt: +550160000060
############################################################################
So, now we will put to work the dial wvdial
typ: wvdial
If every thing it's okay will appear some with IP and DNS.
You yet check you DNS configuration for to resolver !
Open another terminal for don't stop the modem functionality.
type: cat /etc/resolv.conf
Check the DNS number serves first and second if stay equals.
type:lsof -nPi | fgrep LISTEN
Check if is every thing okay.
Now just navigate!!! however hown this tutorial don't work so file do that:
apt-get install gammu
Inside /etc/ we have::
gammu gammu-config gammu-detect gammu-identify
type: gammu-identify
Visualyze the moden version of firmware and vendor manufactory
type: gammu-detect
check which moden portappear conected
type: gammu-config
Set the way of port that was found how connected, on option port for example:
Port /dev/ttyUSB0
Connection (at19200)
Model ()
Synchronize time (yes)
Log file (TESTE)
Log format (text)
Use locking ()
Gammu localisation ()
Save the file
Now for send sms execute this command:
Echo <put your message> | gammu sendsms <ddd+localnumber>
For to see the message received:
gammu getallsms
Font:
Nenhum comentário:
Postar um comentário