Autor Tópico: Como verificar se meu modem esta funcionando ??  (Lida 2246 vezes)

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Como verificar se meu modem esta funcionando ??
« Online: 17 de Setembro de 2008, 14:29 »
Digitei na terminal

cpd2@cpd2:~$ lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:02.0 Modem: Motorola SM56 Data Fax Modem (rev 04)
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)


E agora como faço para verificar se ele esta funcionando ??

alarcon

  • Visitante
Re: Como verificar se meu modem esta funcionando ??
« Resposta #1 Online: 17 de Setembro de 2008, 16:45 »
Como sua conexão é através de softmodem (ou winmodem), ou seja, conexão discada, ainda é necessário instalar um driver para o modem, pois sozinho ele não funciona no linux.

Para completar a informação do modem, no terminal do Ubuntu (menu Aplicações > Acessórios > Consola ou Terminal) digite:

lspci -n


cole aqui o resultado.

Alternativamente, você pode digitar no terminal isso:

lspci -d 1057:3052
 
se retornar como resposta isso:

02:02.0 Modem: Motorola SM56 Data Fax Modem (rev 04)

é por que seu motorola sm56 é suportado pelo linux (existem tipos de motorola que não são suportados) e para ativar seu modem, se usar o Ubuntu 8.04 Hardy Heron 32bits, siga este link:

http://ubuntuforum-br.org/index.php/topic,4204.msg222673.html#msg222673

que é basicamente baixar o pacote modem-arquivos-v25.tar.gz por um outro sistema operacional que acesse a internet, colocar na sua pasta de usuário no Ubuntu, clicar com o botão direito do mouse sobre ele e escolher a opção extrair aqui. Será criada uma pasta chamada de modem-arquivos-v25, entre nela e leia os arquivos Leia-me.txt (resumido) e guia_instalação.pdf (completo com ilustrações) que explica como usar este pacote para ativar seu modem, no caso dele ser suportado ok.
« Última modificação: 17 de Setembro de 2008, 17:57 por alarcon »

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Re: Como verificar se meu modem esta funcionando ??
« Resposta #2 Online: 08 de Outubro de 2008, 17:17 »
cpd@rasfax:~$ lspci -n
00:00.0 0600: 1039:0648 (rev 51)
00:01.0 0604: 1039:0003
00:02.0 0601: 1039:0963 (rev 25)
00:02.1 0c05: 1039:0016
00:02.5 0101: 1039:5513
00:02.7 0401: 1039:7012 (rev a0)
00:03.0 0c03: 1039:7001 (rev 0f)
00:03.1 0c03: 1039:7001 (rev 0f)
00:03.3 0c03: 1039:7002
00:0a.0 0200: 10ec:8139 (rev 10)
00:0c.0 0703: 1057:3052 (rev 04)
01:00.0 0300: 10de:0185 (rev a4)
cpd@rasfax:~$
cpd@rasfax:~$ lspci -d 1057:3052
00:0c.0 Modem: Motorola SM56 Data Fax Modem (rev 04)
cpd@rasfax:~$

« Última modificação: 08 de Outubro de 2008, 17:43 por williamdroops »

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Re: Como verificar se meu modem esta funcionando ??
« Resposta #3 Online: 08 de Outubro de 2008, 17:42 »
Segui o tutorial e instalei o pacote, fez todos os passos sem apresentar erro, mas na hora de conectar com pppoe, não abriu o modem, fui em configurações, e tanto na /dev/modem  como /dev/tt... em nenhuma das opções encontrou modem instalado.

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Re: Como verificar se meu modem esta funcionando ??
« Resposta #4 Online: 08 de Outubro de 2008, 17:55 »
Tentando instalar o Hylafax

cpd@rasfax:~$ sudo faxaddmodem
Serial port that modem is connected to [ttyS0]?

Ok, time to setup a configuration file for the modem.  The manual
page config(5) may be useful during this process.  Also be aware
that at any time you can safely interrupt this procedure.

Reading scheduler config file /var/spool/hylafax/etc/config.

No existing configuration, let's do this from scratch.

Country code [1]? 55
Area code [415]? 011
Phone number of fax modem [+1.999.555.1212]? 43689755
Local identification string (for TSI/CIG) ["NothingSetup"]? quantum
Long distance dialing prefix [1]?
International dialing prefix [011]?
Dial string rules file (relative to /var/spool/hylafax) [etc/dialrules]?
Tracing during normal server operation [1]?
Tracing during send and receive sessions [11]?
Protection mode for received facsimile [0600]? 0644
Protection mode for session logs [0600]? 0644
Protection mode for ttyS0 [0600]? 0666
Rings to wait before answering [1]?
Modem speaker volume [off]? on
Command line arguments to getty program ["-h %l dx_%s"]?
Pathname of TSI access control list file (relative to /var/spool/hylafax) [""]? 
Pathname of Caller-ID access control list file (relative to /var/spool/hylafax) [""]?
Tag line font file (relative to /var/spool/hylafax) [etc/lutRS18.pcf]?
Tag line format string ["From %%l|%c|Page %%P of %%T"]?
Time before purging a stale UUCP lock file (secs) [30]?
Hold UUCP lockfile during inbound data calls [Yes]?
Hold UUCP lockfile during inbound voice calls [Yes]?
Percent good lines to accept during copy quality checking [95]?
Max consecutive bad lines to accept during copy quality checking [5]?
Max number of pages to accept in a received facsimile [25]?
Syslog facility name for ServerTracing messages [daemon]?
Set UID to 0 to manipulate CLOCAL [""]?
Use available priority job scheduling mechanism [""]?

Your facsimile phone number (43689755) does not agree with your
country code (55) or area code (011).  The number
should be a fully qualified international dialing number of the form:

    +55 011 <local phone number>

Spaces, hyphens, and periods can be included for legibility.  For example,

    +55.011.555.1212

is a possible phone number (using your country and area codes).

The non-default server configuration parameters are:

CountryCode:      55
AreaCode:      011
FAXNumber:      43689755
LongDistancePrefix:   1
InternationalPrefix:   011
DialStringRules:   etc/dialrules
SessionTracing:      11
RecvFileMode:      0644
LogFileMode:      0644
DeviceMode:      0666
RingsBeforeAnswer:   1
SpeakerVolume:      off
GettyArgs:      "-h %l dx_%s"
LocalIdentifier:   quantum
TagLineFont:      etc/lutRS18.pcf
TagLineFormat:      "From %%l|%c|Page %%P of %%T"
MaxRecvPages:      25

Are these ok [yes]? y

Now we are going to probe the tty port to figure out the type
of modem that is attached.  This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200
Unable to deduce DTE-DCE speed; check that you are using the
correct device and/or that your modem is setup properly.  If
all else fails, try the -s option to lock the speed.

alarcon

  • Visitante
Re: Como verificar se meu modem esta funcionando ??
« Resposta #5 Online: 09 de Outubro de 2008, 10:27 »
Não entendi o: "...mas na hora de conectar com pppoe, não abriu o modem...", sua conexão não é discada por softmodem, precisamente o motorola sm56?

Veja o guia_istalação.pdf que mostra todo o procedimento de instalação do pacote e ainda mostra os erros mais comuns encontrados no processo de instalação do mesmo.

Pelo terminal do Ubuntu digita estes comandos e cola aqui o resultado:

dmesg | grep slamr

ps -aux | grep slmodemd

lsmod

ainda no terminal digita:

sudo /etc/init.d/sl-modem-daemon restart

depois vá no menu Aplicações > Internet > GNOME PPP e veja se consegue se conectar.

Insisto veja no guia_instalação.pdf a parte final dele que fala em solucionando problemas.

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Re: Como verificar se meu modem esta funcionando ??
« Resposta #6 Online: 09 de Outubro de 2008, 17:33 »
cpd@rasfax:~$ dmesg | grep slamr
cpd@rasfax:~$ ps -aux | grep slmodemd
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
cpd       6911  0.0  0.0   3020   780 pts/0    S+   14:28   0:00 grep slmodemd
cpd@rasfax:~$ lsmod
Module                  Size  Used by
ipv6                  267780  10
af_packet              23812  2
rfcomm                 41744  2
l2cap                  25728  13 rfcomm
bluetooth              61156  4 rfcomm,l2cap
ppdev                  10372  0
speedstep_lib           6532  0
cpufreq_userspace       5284  0
cpufreq_powersave       2688  0
cpufreq_ondemand        9740  0
cpufreq_stats           7104  0
freq_table              5536  2 cpufreq_ondemand,cpufreq_stats
cpufreq_conservative     8712  0
container               5632  0
video                  19856  0
output                  4736  1 video
dock                   11280  0
sbs                    15112  0
sbshc                   7680  1 sbs
battery                14212  0
iptable_filter          3840  0
ip_tables              14820  1 iptable_filter
x_tables               16132  1 ip_tables
ac                      6916  0
lp                     12324  0
snd_intel8x0           35356  3
snd_ac97_codec        101028  1 snd_intel8x0
ac97_bus                3072  1 snd_ac97_codec
snd_pcm_oss            42144  0
snd_mixer_oss          17920  1 snd_pcm_oss
snd_pcm                78596  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy           4868  0
snd_seq_oss            35584  0
snd_seq_midi            9376  0
button                  9232  0
evdev                  13056  3
snd_rawmidi            25760  1 snd_seq_midi
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
serio_raw               7940  0
snd_seq                54224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24836  2 snd_pcm,snd_seq
snd_seq_device          9612  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
i2c_sis96x              6148  0
sis_agp                10116  1
snd                    56996  17 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
shpchp                 34452  0
pci_hotplug            30880  1 shpchp
i2c_core               24832  1 i2c_sis96x
agpgart                34760  1 sis_agp
parport_pc             36260  1
parport                37832  3 ppdev,lp,parport_pc
soundcore               8800  1 snd
analog                 13600  0
snd_page_alloc         11400  2 snd_intel8x0,snd_pcm
psmouse                40336  0
gameport               16008  1 analog
pcspkr                  4224  0
ext3                  136712  1
jbd                    48404  1 ext3
mbcache                 9600  1 ext3
sg                     36880  0
sr_mod                 17956  0
cdrom                  37408  1 sr_mod
sd_mod                 30720  3
ata_generic             8324  0
pata_acpi               8320  0
8139too                27520  0
floppy                 59588  0
8139cp                 24704  0
mii                     6400  2 8139too,8139cp
pata_sis               15236  2
libata                159344  3 ata_generic,pata_acpi,pata_sis
scsi_mod              151436  4 sg,sr_mod,sd_mod,libata
ehci_hcd               37900  0
ohci_hcd               25348  0
usbcore               146028  3 ehci_hcd,ohci_hcd
thermal                16796  0
processor              36872  1 thermal
fan                     5636  0
fbcon                  42912  0
tileblit                3456  1 fbcon
font                    9472  1 fbcon
bitblit                 6784  1 fbcon
softcursor              3072  1 bitblit
fuse                   50580  3
cpd@rasfax:~$

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Re: Como verificar se meu modem esta funcionando ??
« Resposta #7 Online: 09 de Outubro de 2008, 17:40 »
Vou verificar a parte final.
--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/ttySL0: No such file or directory
--> Cannot open /dev/ttySL0: No such file or directory
--> Cannot open /dev/ttySL0: No such file or directory


alarcon

  • Visitante
Re: Como verificar se meu modem esta funcionando ??
« Resposta #8 Online: 09 de Outubro de 2008, 18:04 »
pelos comandos que falei para você colar aqui, percebo que você não instalou o meu pacote e por seqüencia o driver smartlink corretamente, por isso a insistência em ler com atenção o guia_instalação.pdf que fiz e o Leia-me.txt


Se seu mode tem realmente esta ID 1057:3052 e se o nome apresentado é esse Modem: Motorola SM56 Data Fax Modem (rev 04), este meu pacote deveria funcionar. Isso se usar o Ubuntu 8.04 Hardy Heron 32bits


no terminal do Ubuntu qual é o resultado do comando:

lspci -d 1057:3052


===EDITADO===

outra coisa os comandos lspci e lspci -n foram dados no mesmo computador ?

Eles não batem, veja:

Citar
cpd2@cpd2:~$ lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:02.0 Modem: Motorola SM56 Data Fax Modem (rev 04)
02:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC Gigabit Ethernet (rev 10)
cpd2@cpd2:~$


Citar
cpd@rasfax:~$ lspci -n
00:00.0 0600: 1039:0648 (rev 51)
00:01.0 0604: 1039:0003
00:02.0 0601: 1039:0963 (rev 25)
00:02.1 0c05: 1039:0016
00:02.5 0101: 1039:5513
00:02.7 0401: 1039:7012 (rev a0)
00:03.0 0c03: 1039:7001 (rev 0f)
00:03.1 0c03: 1039:7001 (rev 0f)
00:03.3 0c03: 1039:7002
00:0a.0 0200: 10ec:8139 (rev 10)
00:0c.0 0703: 1057:3052 (rev 04)
01:00.0 0300: 10de:0185 (rev a4)
cpd@rasfax:~$

está me parecendo que são máquinas diferentes (destacados em vermelho), então você tem o modem motorola sm56 numa máquina e esta tentando instalar o meu pacote com o driver smartlink numa outra máquina que não tem o modem motorola sm56
« Última modificação: 09 de Outubro de 2008, 18:11 por alarcon »

Offline williamdroops

  • Usuário Ubuntu
  • *
  • Mensagens: 61
    • Ver perfil
Re: Como verificar se meu modem esta funcionando ??
« Resposta #9 Online: 11 de Outubro de 2008, 10:06 »
Desde que abri este tópico, troquei de sistema, e de maquina, mas estou postando aqui os resultados do sistema ubuntu e somente de uma maquina, hoje eu não tenho acesso a maquina, na segunda feira redefino.

Obrigado pela atenção.