Configuração de Servidor SMS !

Olá, estou montando um Servidor de SMS PlaySMS,

Já instalei tudo,  o PlaySMS, o SMSTOOLS, ja fiz tudo, coloquei o modem, mas ele naum envia, alguem aki sabe como configurar o arquivo smsd.conf para começar a enviar sms do modem ?

Se alguem souber, entrar em contato pelo msn:

hylberth@live.com.

Att,

Hylberth Lukas

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Votos 0
Enviar-me um email quando as pessoas responderem –

Respostas

  • Uma configuração que tem dado certo para o envio de SMS Shortcode é a seguinte:

    http://hotmobile.com.br/

    INTEGRAÇÃO MK-AUTH

    Local: Opções / servidores externos / SMS 
    e marque a caixa de seleção PlaySMS.

    Preencha os campos: 
    Servidor: painel.hotmobile.com.br:8080/mk-auth/index.php?u=xxx&p=xxx&to=xxx&msg=xxx&uuid=xxx
    LOGIN/ID: seu usuário do hotmobile
    Senha sua senha do hotmobile
    MK-AUTH 

  • Roberto o que eu sei é o seguinte como encontrar a porta que seu modem esta. Quando fazer isso alterar como este:

    #
    # /etc/smsd.conf
    #
    # Description: Main configuration file for the smsd
    #

    devices = Modem do seu modem
    outgoing = /var/spool/sms/outgoing
    checked = /var/spool/sms/checked
    incoming = /var/spool/sms/incoming
    logfile = /var/log/smstools/smsd.log
    infofile = /var/run/smstools/smsd.working
    pidfile = /var/run/smstools/smsd.pid
    outgoing = /var/spool/sms/outgoing
    checked = /var/spool/sms/checked
    failed = /var/spool/sms/failed
    incoming = /var/spool/sms/incoming
    sent = /var/spool/sms/sent
    stats = /var/log/smstools/smsd_stats
    loglevel = 4
    #delaytime = 10
    #errorsleeptime = 10
    #blocktime = 3600
    #stats = /var/log/smsd_stats
    #stats_interval = 3600
    #stats_no_zeroes = no
    #checkhandler = /usr/local/bin/smscheck
    receive_before_send = no
    # autosplit 0=no 1=yes 2=with text numbers 3=concatenated
    autosplit = 3
    # store_received_pdu 0=no, 1=unsupported, 2=unsupported and 8bit, 3=all
    #store_received_pdu = 1
    #validity = 255
    #decode_unicode_text = no
    #internal_combine = no
    # You can specify here an external program that is started whenever an alarm occurs.
    # alarmhandler = /path/to/an/alarmhandler/script
    # Specifies what levels start an alarmhandler. You can use value between 2 and 5.
    # alarmlevel = 4
    # eventhandler = @EVENTHANDLER@
    #blacklist = /etc/smstools/blacklist
    #whitelist = /etc/smstools/whitelist

    #[queues]
    # Commented lines are examples for germany
    # D1 = /var/spool/sms/D1
    # D2 = /var/spool/sms/D2
    # O2 = /var/spool/sms/O2
    # EPLUS = /var/spool/sms/EPLUS
    # QUAM = /var/sppol/sms/QUAM
    # MOBILCOM = /var/spool/sms/MOBILCOM
    #OTHER = /var/spool/sms/OTHER
    #[provider]
    # Commented lines are examples for germany
    # D1 = 49160, 49170, 49171, 49175, 49151
    # D2 = 491520, 49162, 49172, 49173, 49174
    # O2 = 49176, 49179, 49159
    # EPLUS = 49163, 49177, 49178, 49157
    # QUAM = 49150
    # MOBILCOM = 49156
    #OTHER = 0,1,2,3,4,5,6,7,8,9
    #[GSM1]
    # init = ATE0+CPMS="SM"+CNMI=2,0,0,2,1
    # # Windows: /dev/com1, Solaris: /dev/cua/a, Linux /dev/ttyS0
    # device = /dev/ttyS0
    # incoming = yes
    # queues = OTHER
    # You don't need a PIN for mobile phones
    # pin = 1111
    # mode = new
    # smsc = 491722270000
    # baudrate = 19200
    # rtscts = yes
    # cs_convert = yes
    # report = no
    # memory_start = 1
    # primary_memory = memory name
    # secondary_memory = memory name
    # secondary_memory_max = number
    # pdu_from_file = /var/spool/sms/GSM1-PDU
    # sending_disabled = no
    # decode_unicode_text = no
    # internal_combine = no
    #[GSM2]
    #init = ATE0
    # Windows: /dev/com2, Solaris: /dev/cua/b, Linux /dev/ttyS1
    #device = /dev/ttyS1
    #incoming = yes
    #queues = OTHER
    #You don't need a PIN for mobile phones
    #pin = 2222
    #mode = new
    #smsc = 491710760000
    #baudrate = 19200
    #rtscts = yes
    #cs_convert = yes
    #report = no
    #memory_start = 1
    #primary_memory = memory name
    #secondary_memory = memory name
    #secondary_memory_max = number
    #pdu_from_file = /var/spool/sms/GSM2-PDU
    #sending_disabled = no
    #decode_unicode_text = no
    #internal_combine = no

    [Nome do seu modem]
    init = AT
    device = /dev/ttyUSB(a porta do seu modem)
    incoming = yes
    pin = 0000
    report = yes
    memory_start = 0

    Espero ter ajudado com o pouco que eu conheço.



    Roberto disse:

    SEguinte pessoal segue minhas portas usb e abaixo o smds.conf par aque algum por favor possa me ajudar de como configurar

    aqui é as portas e to usando um modem da tim

    root@ALDigital:~# dmesg | grep usb -i
    [ 1.217396] usbcore: registered new interface driver usbfs
    [ 1.217605] usbcore: registered new interface driver hub
    [ 1.217823] usbcore: registered new device driver usb
    [ 1.242887] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.242984] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    [ 1.262231] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    [ 1.262269] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.262273] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.262276] usb usb1: Product: EHCI Host Controller
    [ 1.262278] usb usb1: Manufacturer: Linux 2.6.32-5-686-bigmem ehci_hcd
    [ 1.262281] usb usb1: SerialNumber: 0000:00:1d.7
    [ 1.262374] usb usb1: configuration #1 chosen from 1 choice
    [ 1.262410] hub 1-0:1.0: USB hub found
    [ 1.265273] uhci_hcd: USB Universal Host Controller Interface driver
    [ 1.265348] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    [ 1.265418] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.265422] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.265425] usb usb2: Product: UHCI Host Controller
    [ 1.265427] usb usb2: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.265430] usb usb2: SerialNumber: 0000:00:1d.0
    [ 1.265601] usb usb2: configuration #1 chosen from 1 choice
    [ 1.265693] hub 2-0:1.0: USB hub found
    [ 1.265800] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    [ 1.265869] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.265872] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.265875] usb usb3: Product: UHCI Host Controller
    [ 1.265877] usb usb3: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.265880] usb usb3: SerialNumber: 0000:00:1d.1
    [ 1.266028] usb usb3: configuration #1 chosen from 1 choice
    [ 1.266199] hub 3-0:1.0: USB hub found
    [ 1.266297] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    [ 1.266367] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.266370] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.266373] usb usb4: Product: UHCI Host Controller
    [ 1.266376] usb usb4: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.266378] usb usb4: SerialNumber: 0000:00:1d.2
    [ 1.266531] usb usb4: configuration #1 chosen from 1 choice
    [ 1.266622] hub 4-0:1.0: USB hub found
    [ 1.266713] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
    [ 1.266782] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.266785] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.266788] usb usb5: Product: UHCI Host Controller
    [ 1.266790] usb usb5: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.266793] usb usb5: SerialNumber: 0000:00:1d.3
    [ 1.271949] usb usb5: configuration #1 chosen from 1 choice
    [ 1.272101] hub 5-0:1.0: USB hub found
    [ 1.572172] usb 1-2: new high speed USB device using ehci_hcd and address 2
    [ 1.706703] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
    [ 1.706709] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
    [ 1.706713] usb 1-2: Product: HSPA Data Card
    [ 1.706716] usb 1-2: Manufacturer: USBModem
    [ 1.706719] usb 1-2: SerialNumber: 1234567890ABCDEF
    [ 1.706844] usb 1-2: configuration #1 chosen from 1 choice
    [ 1.716582] Initializing USB Mass Storage driver...
    [ 1.716678] scsi4 : SCSI emulation for USB Mass Storage devices
    [ 1.716845] usbcore: registered new interface driver usb-storage
    [ 1.716848] USB Mass Storage support registered.
    [ 1.717550] usb-storage: device found at 2
    [ 1.717553] usb-storage: waiting for device to settle before scanning
    [ 6.716552] usb-storage: device scan complete
    [ 6.717176] scsi 4:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [ 6.717670] scsi 4:0:0:1: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [27143.808375] usb 1-2: USB disconnect, address 2
    [27357.148023] usb 1-2: new high speed USB device using ehci_hcd and address 3
    [27357.282729] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
    [27357.282735] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
    [27357.282739] usb 1-2: Product: HSPA Data Card
    [27357.282742] usb 1-2: Manufacturer: USBModem
    [27357.282746] usb 1-2: SerialNumber: 1234567890ABCDEF
    [27357.283459] usb 1-2: configuration #1 chosen from 1 choice
    [27357.286070] scsi5 : SCSI emulation for USB Mass Storage devices
    [27357.287087] usb-storage: device found at 3
    [27357.287089] usb-storage: waiting for device to settle before scanning
    [27362.284645] usb-storage: device scan complete
    [27362.285264] scsi 5:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [27362.285881] scsi 5:0:0:1: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2

    ##################################################################################

    AQUI ME DIGAM COMO E O QUE COLCOAR NO CODIGO ABAIXO

    # Global configuration

    devices = modem1

    loglevel = 4

    logfile = /var/log/sms/smstools.log

    outgoing = /var/spool/sms/outgoing
    checked = /var/spool/sms/checked
    failed = /var/spool/sms/failed
    incoming = /var/spool/sms/incoming
    sent = /var/spool/sms/sent

    delaytime = 6
    errorsleeptime = 12
    blocktime = 180

    autosplit = 3
    receive_before_send = yes

    # Modem configuration

    # olivetti 3000 USB
    [modem1]
    #init =
    device = /dev/ttyUSB1
    incoming = yes
    #pin =
    baudrate = 115200

  • usa o comando wvdialconf , ele localiza o dispositivo
    e lança na configuração,,..
    Leonardo Oliveira disse:

    eu instalei e to mandando mensagens mas ainda não recebo a confirmação de que foram enviadas e nem recebo no pc as mensagens que o celular recebe....

    pra mandar eu fiz o seguinte..

    sem colocar o cabo usb no pc de um "ls" na pasta "/dev" depois coloquei o celular e dei outro "ls"

    assim eu pude ver qual arquivo "tty..." se refere ao celular que eu conectei, no meu caso, "ttyACM0", se nao aparecer nenhuma pasta nova quer dizer que o celular que vc está utilizando não tem técnologia GSM....

    em posse do nome do arquivo no "/etc/smsd.conf", na variável "device", que faz parte das configurações do modem atribua o valor "/dev/tty..." no meu caso a linha ficou assim "device = /dev/ttyACM0"

    espero ter ajudado

    abraços

  • Amigos os modems 3g ele veem por default como unidade de armazenamento e so inicializa a funcao modem quando instala o software, tive muitos problemas com vmware esxi 5.1  ( que se aplica tbm aos servers linux )mais finalmente consegui resolver..

    isc.sac@hotmail.com

  • Amigo, não sou expert no assunto, porém fiquei uma semana tentando fazer rodar e descobri que meu modem não havia sido reconhecido da maneira certa. Aparentemente está acontecendo o mesmo com você. Da uma olhada nesses links e ve se eles te ajudam.

    http://www.vivaolinux.com.br/artigo/Instalando-o-modem-Onda-MSA110U...

    http://www.vivaolinux.com.br/topico/Apache-Web-Server/Servidor-playsms

    Abraço

    Lucas ferreira dias salomao disse:

    SEguinte pessoal segue minhas portas usb e abaixo o smds.conf par aque algum por favor possa me ajudar de como configurar

    aqui é as portas e to usando um modem da tim

    root@ALDigital:~# dmesg | grep usb -i
    [ 1.217396] usbcore: registered new interface driver usbfs
    [ 1.217605] usbcore: registered new interface driver hub
    [ 1.217823] usbcore: registered new device driver usb
    [ 1.242887] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.242984] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    [ 1.262231] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    [ 1.262269] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.262273] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.262276] usb usb1: Product: EHCI Host Controller
    [ 1.262278] usb usb1: Manufacturer: Linux 2.6.32-5-686-bigmem ehci_hcd
    [ 1.262281] usb usb1: SerialNumber: 0000:00:1d.7
    [ 1.262374] usb usb1: configuration #1 chosen from 1 choice
    [ 1.262410] hub 1-0:1.0: USB hub found
    [ 1.265273] uhci_hcd: USB Universal Host Controller Interface driver
    [ 1.265348] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    [ 1.265418] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.265422] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.265425] usb usb2: Product: UHCI Host Controller
    [ 1.265427] usb usb2: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.265430] usb usb2: SerialNumber: 0000:00:1d.0
    [ 1.265601] usb usb2: configuration #1 chosen from 1 choice
    [ 1.265693] hub 2-0:1.0: USB hub found
    [ 1.265800] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    [ 1.265869] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.265872] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.265875] usb usb3: Product: UHCI Host Controller
    [ 1.265877] usb usb3: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.265880] usb usb3: SerialNumber: 0000:00:1d.1
    [ 1.266028] usb usb3: configuration #1 chosen from 1 choice
    [ 1.266199] hub 3-0:1.0: USB hub found
    [ 1.266297] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    [ 1.266367] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.266370] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.266373] usb usb4: Product: UHCI Host Controller
    [ 1.266376] usb usb4: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.266378] usb usb4: SerialNumber: 0000:00:1d.2
    [ 1.266531] usb usb4: configuration #1 chosen from 1 choice
    [ 1.266622] hub 4-0:1.0: USB hub found
    [ 1.266713] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
    [ 1.266782] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.266785] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.266788] usb usb5: Product: UHCI Host Controller
    [ 1.266790] usb usb5: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.266793] usb usb5: SerialNumber: 0000:00:1d.3
    [ 1.271949] usb usb5: configuration #1 chosen from 1 choice
    [ 1.272101] hub 5-0:1.0: USB hub found
    [ 1.572172] usb 1-2: new high speed USB device using ehci_hcd and address 2
    [ 1.706703] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
    [ 1.706709] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
    [ 1.706713] usb 1-2: Product: HSPA Data Card
    [ 1.706716] usb 1-2: Manufacturer: USBModem
    [ 1.706719] usb 1-2: SerialNumber: 1234567890ABCDEF
    [ 1.706844] usb 1-2: configuration #1 chosen from 1 choice
    [ 1.716582] Initializing USB Mass Storage driver...
    [ 1.716678] scsi4 : SCSI emulation for USB Mass Storage devices
    [ 1.716845] usbcore: registered new interface driver usb-storage
    [ 1.716848] USB Mass Storage support registered.
    [ 1.717550] usb-storage: device found at 2
    [ 1.717553] usb-storage: waiting for device to settle before scanning
    [ 6.716552] usb-storage: device scan complete
    [ 6.717176] scsi 4:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [ 6.717670] scsi 4:0:0:1: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [27143.808375] usb 1-2: USB disconnect, address 2
    [27357.148023] usb 1-2: new high speed USB device using ehci_hcd and address 3
    [27357.282729] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
    [27357.282735] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
    [27357.282739] usb 1-2: Product: HSPA Data Card
    [27357.282742] usb 1-2: Manufacturer: USBModem
    [27357.282746] usb 1-2: SerialNumber: 1234567890ABCDEF
    [27357.283459] usb 1-2: configuration #1 chosen from 1 choice
    [27357.286070] scsi5 : SCSI emulation for USB Mass Storage devices
    [27357.287087] usb-storage: device found at 3
    [27357.287089] usb-storage: waiting for device to settle before scanning
    [27362.284645] usb-storage: device scan complete
    [27362.285264] scsi 5:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [27362.285881] scsi 5:0:0:1: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2

    ##################################################################################

    AQUI ME DIGAM COMO E O QUE COLCOAR NO CODIGO ABAIXO

    # Global configuration

    devices = modem1

    loglevel = 4

    logfile = /var/log/sms/smstools.log

    outgoing = /var/spool/sms/outgoing
    checked = /var/spool/sms/checked
    failed = /var/spool/sms/failed
    incoming = /var/spool/sms/incoming
    sent = /var/spool/sms/sent

    delaytime = 6
    errorsleeptime = 12
    blocktime = 180

    autosplit = 3
    receive_before_send = yes

    # Modem configuration

    # olivetti 3000 USB
    [modem1]
    #init =
    device = /dev/ttyUSB1
    incoming = yes
    #pin =
    baudrate = 115200

  • acompanhando...

  • SEguinte pessoal segue minhas portas usb e abaixo o smds.conf par aque algum por favor possa me ajudar de como configurar

    aqui é as portas e to usando um modem da tim

    root@ALDigital:~# dmesg | grep usb -i
    [ 1.217396] usbcore: registered new interface driver usbfs
    [ 1.217605] usbcore: registered new interface driver hub
    [ 1.217823] usbcore: registered new device driver usb
    [ 1.242887] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.242984] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
    [ 1.262231] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
    [ 1.262269] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.262273] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.262276] usb usb1: Product: EHCI Host Controller
    [ 1.262278] usb usb1: Manufacturer: Linux 2.6.32-5-686-bigmem ehci_hcd
    [ 1.262281] usb usb1: SerialNumber: 0000:00:1d.7
    [ 1.262374] usb usb1: configuration #1 chosen from 1 choice
    [ 1.262410] hub 1-0:1.0: USB hub found
    [ 1.265273] uhci_hcd: USB Universal Host Controller Interface driver
    [ 1.265348] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
    [ 1.265418] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.265422] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.265425] usb usb2: Product: UHCI Host Controller
    [ 1.265427] usb usb2: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.265430] usb usb2: SerialNumber: 0000:00:1d.0
    [ 1.265601] usb usb2: configuration #1 chosen from 1 choice
    [ 1.265693] hub 2-0:1.0: USB hub found
    [ 1.265800] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
    [ 1.265869] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.265872] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.265875] usb usb3: Product: UHCI Host Controller
    [ 1.265877] usb usb3: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.265880] usb usb3: SerialNumber: 0000:00:1d.1
    [ 1.266028] usb usb3: configuration #1 chosen from 1 choice
    [ 1.266199] hub 3-0:1.0: USB hub found
    [ 1.266297] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
    [ 1.266367] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.266370] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.266373] usb usb4: Product: UHCI Host Controller
    [ 1.266376] usb usb4: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.266378] usb usb4: SerialNumber: 0000:00:1d.2
    [ 1.266531] usb usb4: configuration #1 chosen from 1 choice
    [ 1.266622] hub 4-0:1.0: USB hub found
    [ 1.266713] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
    [ 1.266782] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
    [ 1.266785] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.266788] usb usb5: Product: UHCI Host Controller
    [ 1.266790] usb usb5: Manufacturer: Linux 2.6.32-5-686-bigmem uhci_hcd
    [ 1.266793] usb usb5: SerialNumber: 0000:00:1d.3
    [ 1.271949] usb usb5: configuration #1 chosen from 1 choice
    [ 1.272101] hub 5-0:1.0: USB hub found
    [ 1.572172] usb 1-2: new high speed USB device using ehci_hcd and address 2
    [ 1.706703] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
    [ 1.706709] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
    [ 1.706713] usb 1-2: Product: HSPA Data Card
    [ 1.706716] usb 1-2: Manufacturer: USBModem
    [ 1.706719] usb 1-2: SerialNumber: 1234567890ABCDEF
    [ 1.706844] usb 1-2: configuration #1 chosen from 1 choice
    [ 1.716582] Initializing USB Mass Storage driver...
    [ 1.716678] scsi4 : SCSI emulation for USB Mass Storage devices
    [ 1.716845] usbcore: registered new interface driver usb-storage
    [ 1.716848] USB Mass Storage support registered.
    [ 1.717550] usb-storage: device found at 2
    [ 1.717553] usb-storage: waiting for device to settle before scanning
    [ 6.716552] usb-storage: device scan complete
    [ 6.717176] scsi 4:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [ 6.717670] scsi 4:0:0:1: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [27143.808375] usb 1-2: USB disconnect, address 2
    [27357.148023] usb 1-2: new high speed USB device using ehci_hcd and address 3
    [27357.282729] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
    [27357.282735] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
    [27357.282739] usb 1-2: Product: HSPA Data Card
    [27357.282742] usb 1-2: Manufacturer: USBModem
    [27357.282746] usb 1-2: SerialNumber: 1234567890ABCDEF
    [27357.283459] usb 1-2: configuration #1 chosen from 1 choice
    [27357.286070] scsi5 : SCSI emulation for USB Mass Storage devices
    [27357.287087] usb-storage: device found at 3
    [27357.287089] usb-storage: waiting for device to settle before scanning
    [27362.284645] usb-storage: device scan complete
    [27362.285264] scsi 5:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
    [27362.285881] scsi 5:0:0:1: CD-ROM USBModem MMC Storage 2.31 PQ: 0 ANSI: 2

    ##################################################################################

    AQUI ME DIGAM COMO E O QUE COLCOAR NO CODIGO ABAIXO

    # Global configuration

    devices = modem1

    loglevel = 4

    logfile = /var/log/sms/smstools.log

    outgoing = /var/spool/sms/outgoing
    checked = /var/spool/sms/checked
    failed = /var/spool/sms/failed
    incoming = /var/spool/sms/incoming
    sent = /var/spool/sms/sent

    delaytime = 6
    errorsleeptime = 12
    blocktime = 180

    autosplit = 3
    receive_before_send = yes

    # Modem configuration

    # olivetti 3000 USB
    [modem1]
    #init =
    device = /dev/ttyUSB1
    incoming = yes
    #pin =
    baudrate = 115200

  • Amigo qual a possibilidade de vc e ajudar a adicionar o modem remotamente? msn lucasfsalomao@hotmail.com

    tiago simao disse:

    boa tarde amigo vc conseguiu resolver a questao de as msg ficarem como pendente?

    Leonardo Oliveira disse:

    eu instalei e to mandando mensagens mas ainda não recebo a confirmação de que foram enviadas e nem recebo no pc as mensagens que o celular recebe....

    pra mandar eu fiz o seguinte..

    sem colocar o cabo usb no pc de um "ls" na pasta "/dev" depois coloquei o celular e dei outro "ls"

    assim eu pude ver qual arquivo "tty..." se refere ao celular que eu conectei, no meu caso, "ttyACM0", se nao aparecer nenhuma pasta nova quer dizer que o celular que vc está utilizando não tem técnologia GSM....

    em posse do nome do arquivo no "/etc/smsd.conf", na variável "device", que faz parte das configurações do modem atribua o valor "/dev/tty..." no meu caso a linha ficou assim "device = /dev/ttyACM0"

    espero ter ajudado

    abraços

  • Porque removeu  resposta manda para meu email por favor não vi lucasfsalomao@hotmail.com

This reply was deleted.