Instalar Modem no Ubuntu 8.04

Iniciado por deniseviana, 14 de Setembro de 2008, 16:20

tópico anterior - próximo tópico

deniseviana

Olá Amigos, preciso de uma ajudinha .... ainda sou novata como usuária linux, preciso saber como faço para instalar o modem, é internet discado.

Me ajudem ....   ????/


Desde já agradeço !!!

Atenciosamente,


Denise Viana.   ;) ;) ;)

alarcon

Citação de: deniseviana online 14 de Setembro de 2008, 16:20
Olá Amigos, preciso de uma ajudinha .... ainda sou novata como usuária linux, preciso saber como faço para instalar o modem, é internet discado.

Me ajudem ....   ????/


Desde já agradeço !!!

Atenciosamente,


Denise Viana.   ;) ;) ;)

A primeira coisa a ser feita é saber qual é o seu modem e se ele tem suporte no linux. Para isso, no Ubuntu, abra um terminal (menu Aplicações > Acessórios > Consola ou Terminal) e digite os seguintes comandos :

lspci

e

lspci -n

O primeiro comando vai listar todos os componentes PCI do seu PC e o outro vai listar todas as IDs dos componentes PCI existentes no seu PC.

Cole aqui o resultado dos dois comandos para que eu, ou outro colega, possa identificar seu softmodem para conexão discada e se o mesmo tem ou não suporte no linux.

Tonny Rayf

Estou com o mesmo problema e a resposta é a seguinte:
laptop:~# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 SATA controller: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) (rev 03)
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
laptop:~# lspci -n
00:00.0 0600: 1039:0671
00:01.0 0604: 1039:0003
00:02.0 0601: 1039:0968 (rev 01)
00:02.5 0101: 1039:5513 (rev 01)
00:03.0 0c03: 1039:7001 (rev 0f)
00:03.1 0c03: 1039:7001 (rev 0f)
00:03.3 0c03: 1039:7002
00:04.0 0200: 1039:0191 (rev 02)
00:05.0 0106: 1039:1185 (rev 03)
00:0f.0 0403: 1039:7502
01:00.0 0300: 1039:6351 (rev 10)

angelo_br

No tópico abaixo fala sobre instalação demodens.. funciona com quase todos...

um abraço

http://ubuntuforum-br.org/index.php/topic,4204.msg222673.html#msg222673
Então Percebi * Ubuntu é o MELHOR
http://entaopercebi.blogspot.com/p/linux.html

alarcon

#4
Citação de: Tonny Rayf online 21 de Outubro de 2008, 13:45
Estou com o mesmo problema e a resposta é a seguinte:
laptop:~# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 SATA controller: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) (rev 03)
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
laptop:~# lspci -n
00:00.0 0600: 1039:0671
00:01.0 0604: 1039:0003
00:02.0 0601: 1039:0968 (rev 01)
00:02.5 0101: 1039:5513 (rev 01)
00:03.0 0c03: 1039:7001 (rev 0f)
00:03.1 0c03: 1039:7001 (rev 0f)
00:03.3 0c03: 1039:7002
00:04.0 0200: 1039:0191 (rev 02)
00:05.0 0106: 1039:1185 (rev 03)
00:0f.0 0403: 1039:7502
01:00.0 0300: 1039:6351 (rev 10)


Pelos seus resultados não encontrei nada relativo a modem para conexão discada (softmodems ou winmodems), tem certeza que esta lista dos comandos lspci e lspci -n está completa?

Você usa aí windows com conexão discada ou conexão ADSL, pois pelos comandos só vi a placa de rede, talvez indicando que seu PC não tenha modem para conexão discada, apenas placa de rede para conexão ADSL, por exemplo.



===EDITADO===

Só se a sua placa de som é um placa HDA (High Definition Audio cards) que faz o papel de modem também, então seu modem seria:

ID 1039:7502
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller

Eu desconheço este tipo de modem, mas para maiores detalhes baixe o script scanModem deste link aqui:

http://linmodems.technion.ac.il/packages/scanModem.gz

coloque o arquivo scanModem.gz baixado na sua pasta de usuário clique nele com o botão direito do mouse e escolha extrair aqui, depois abra um terminal ( menu Aplicações > Acessórios > Consola ou Terminal) e digite:

chmod +x scanModem*

Para dar permissão de execução.

agora execute o script digitando no terminal isso:

./scanModem*

será criada uma pasta chamada de Modem dentro da sua pasta de usuário com vários arquivos de texto com informações relativas ao seu modem. Cole aqui o conteúdo do arquivo de texto chamado de ModemDta.txt

rhokdc

Citação de: alarcon online 21 de Outubro de 2008, 18:48
Citação de: Tonny Rayf online 21 de Outubro de 2008, 13:45
Estou com o mesmo problema e a resposta é a seguinte:
laptop:~# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 SATA controller: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) (rev 03)
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
laptop:~# lspci -n
00:00.0 0600: 1039:0671
00:01.0 0604: 1039:0003
00:02.0 0601: 1039:0968 (rev 01)
00:02.5 0101: 1039:5513 (rev 01)
00:03.0 0c03: 1039:7001 (rev 0f)
00:03.1 0c03: 1039:7001 (rev 0f)
00:03.3 0c03: 1039:7002
00:04.0 0200: 1039:0191 (rev 02)
00:05.0 0106: 1039:1185 (rev 03)
00:0f.0 0403: 1039:7502
01:00.0 0300: 1039:6351 (rev 10)


Pelos seus resultados não encontrei nada relativo a modem para conexão discada (softmodems ou winmodems), tem certeza que esta lista dos comandos lspci e lspci -n está completa?

Você usa aí windows com conexão discada ou conexão ADSL, pois pelos comandos só vi a placa de rede, talvez indicando que seu PC não tenha modem para conexão discada, apenas placa de rede para conexão ADSL, por exemplo.



===EDITADO===

Só se a sua placa de som é um placa HDA (High Definition Audio cards) que faz o papel de modem também, então seu modem seria:

ID 1039:7502
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller

Eu desconheço este tipo de modem, mas para maiores detalhes baixe o script scanModem deste link aqui:

http://linmodems.technion.ac.il/packages/scanModem.gz

coloque o arquivo scanModem.gz baixado na sua pasta de usuário clique nele com o botão direito do mouse e escolha extrair aqui, depois abra um terminal ( menu Aplicações > Acessórios > Consola ou Terminal) e digite:

chmod +x scanModem*

Para dar permissão de execução.

agora execute o script digitando no terminal isso:

./scanModem*

será criada uma pasta chamada de Modem dentro da sua pasta de usuário com vários arquivos de texto com informações relativas ao seu modem. Cole aqui o conteúdo do arquivo de texto chamado de ModemDta.txt




Ola fiz o que pediu:




Only plain text email is forwarded by the  Discuss@Linmodems.org List Server,
as HTML can contain viruses. Use as the email Subject Line:
           YourName, YourCountry  kernel 2.6.31-16-generic
With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
YourCountry will enable Country specific guidance. Linux experts in YourCountry
can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@Linmodems.org are sometimes blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org
--------------------------  System information ----------------------------
CPU=x86_64, 
Linux version 2.6.31-16-generic (buildd@crested) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009
scanModem update of:  2009_12_26


The dkms driver upgrade utilities are installed,


Some modem drivers can only be used in 32 bit modem on x86_64 systems,
while some others are competent on x86_64 Systems.  Cases are:
1) http://linmodems.technion.ac.il/bigarch/archive-seventh/msg03119.html
for the snd-hda-intel audio+modem driver. Also applicable to AC97 modem controllers.
In both cases, 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component.
2) For USB modems using the slusb.ko driver. 32 bit libraries must be installed to support the slmodemd helper having a precompiled 32 bit component
3) The hsfmodem and hcfpcimodem drivers for Conexant chipsest modes are x86_64 competent.
4) agrsm packages for LSI/AgereSystems softmodems are not competent on x86_64 systems.

There are no blacklisted modem drivers in /etc/modprobe*  files

Potentially useful modem drivers now loaded are:
       snd_hda_intel           

Attached USB devices are:
ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam
If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html
A sample report is:  http://linmodems.technion.ac.il/bigarch/archive-nineth/msg00578.html

If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@linmodems.org

For candidate card in slot 00:14.2, firmware information and bootup diagnostics are:
PCI slot   PCI ID      SubsystemID   Name
----------   ---------   ---------   --------------
00:14.2   1002:4383   1025:0124   Audio device: ATI Technologies Inc SBx00 Azalia

Modem interrupt assignment and sharing:
16:         11       3395   IO-APIC-fasteoi   ohci_hcd:usb2, HDA Intel
--- Bootup diagnostics for card in PCI slot 00:14.2 ----
[    0.972522] pci 0000:00:14.2: reg 10 64bit mmio: [0xf0700000-0xf0703fff]
[    0.972568] pci 0000:00:14.2: PME# supported from D0 D3hot D3cold
[    0.972573] pci 0000:00:14.2: PME# disabled
[   17.923490] HDA Intel 0000:00:14.2: power state changed by ACPI to D0
[   17.923506] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   18.050296] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:14.2/input/input8

The PCI slot 00:14.2 of the modem card may be disabled early in
a bootup process,  but then enabled later. If modem drivers load
but the  modem is not responsive, read DOCs/Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@linmodems.org
if help is needed.



===== Advanced Linux Sound Architecture (ALSA) diagnostics =====
The ALSA packages provide audio support and also drivers for some modems.
ALSA diagnostics are written during bootup to /proc/asound/ folders.

The ALSA verion is 1.0.20
The modem cards detected by "aplay -l"  are: None


The /proc/asound/pcm file reports:
-----------------------
00-00: ALC268 Analog : ALC268 Analog : playback 1 : capture 1
00-02: ALC268 Analog : ALC268 Analog : capture 1

about /proc/asound/cards:
------------------------
0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xf0700000 irq 16

PCI slot 00:14.2 has a High Definition Audio Card
The drivers are in the kernel modules tree at:
/lib/modules/2.6.31-14-generic/kernel/sound/pci/hda/snd-hda-intel.ko
/lib/modules/2.6.31-16-generic/kernel/sound/pci/hda/snd-hda-intel.ko
The modem codec file for the HDA card is: /proc/asound/card0/codec#1
--------------------------------------------------------
Codec: Conexant ID 2c06
Address: 1
Function Id: 0x2
Vendor Id: 0x14f12c06
Subsystem Id: 0x10250093
Revision Id: 0x100000
Modem Function Group: 0x2

The audio card hosts a softmodem chip:  0x14f12c06

14f1 is the Conexant Vendor ID, and 0x14f12c06 a softmodem chipset.
Get a hsfmodem package through http://www.linuxant.com

If not a Conexant modem, the driver hsfmodem-drivers with its dependent drivers:

----------
provide audio + modem support with the modem chip residing on the subsystem.
Any particular card can host any one of several soft modem chips.

=== Finished firmware and bootup diagnostics, next deducing cogent software. ===

Predictive  diagnostics for card in bus 00:14.2:
   Modem chipset  detected on
NAME="Audio device: ATI Technologies Inc SBx00 Azalia "
CLASS=0403
PCIDEV=1002:4383
SUBSYS=1025:0124
IRQ=16
HDA=1002:4383
SOFT=1002:4383.HDA
HDAchipVendorID=14f1
CHIP=0x14f12c06
IDENT=hsfmodem
Driver=hsfmodem-drivers

For candidate modem in:  00:14.2
   0403 Audio device: ATI Technologies Inc SBx00 Azalia
      Primary device ID:  1002:4383
    Subsystem PCI_id  1025:0124
    Softmodem codec or chipset from diagnostics: 0x14f12c06
                               from    Archives:
                        The HDA card softmodem chip is 0x14f12c06
     

Support type needed or chipset:   hsfmodem


For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt

From  http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
download hsfmodem-7.80.02.05full_k2.6.31_16_generic_ubuntu_i386.deb.zip
Under Linux unpack with:
$ unzip hsfmodem*.zip
Then install with:
$ sudo dpkg -i hsfmodem*.deb
Subsequently, the modem should be found with
$ sudo wvdialconf /etc/wvdial.conf
Edit in your personal information with:
$ sudo gedit /etc/wvdial.conf
and try dialing out with:
$ sudo wvdial.
See DOCs/Testing.txt  for details.

The directions following below need only be pursued, if the above procedures are not adequate.

Start at http://www.linuxant.com/drivers/hsf/downloads-license.php to find the
hsfmodem package matching your System. For several Linux distros, there are
precompiled drivers matched to specific kernels. These have within the FileName,
your KernelVersion:   2.6.31_16_generic
They can be found through http://www.linuxant.com/drivers/hsf/full/downloads.php
A more precise location may be given a few paragraphs below.
If an EXACT Match with your your KernelVersion is not found, one of the
"Generic packages with source" near the bottom of the page must be used.
Downloaded packages must be moved into the Linux partition (home folder is OK)
and unzipped with:
   unzip hsf*.zip
The installation command for a .deb suffic packages is, with root/adm permission:
  sudo dpkg -i hsf*.deb
while for .rpm suffix it is, with:
  rpm -i hsf*.rpm

Support for Conexant chips hosted on High Definition Audio cards may require
installation of additional packages, one of the alsa-driver-linuxant packages
on  http://www.linuxant.com/alsa-driver/  At the same time download the
alsa-driver-1.0.17-1.patch , in case it prove to be later needed. During the
hsfmodem install, there will be a message if there is necessary installation of
alsa-driver-linuxant

The installation command for a .deb suffic packages is, with root/adm permission:
  sudo dpkg -i hsf*.deb
while for .rpm suffix it is, with:
  rpm -i hsf*.rpm

There may a message that "Dependencies" are not satisfied.  In this case the Ubuntu/Debian packages to be installed are linux-libc-dev & libc6-dev. Package
names may be different for other Linuxes. If not on your install CD, these
packages can be searched for at http://packages.ubuntu.com.  After download,
they can be coinstalled with:
   sudo dpkg -i li*.deb
Again try the alsa-driver-linuxant

There may be a message that the patch must be applied.  In this case get the
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.17.tar.bz2
Under Linux, this package is unpacked with:
$ tar jxf alsa*.tar.bz2
Next the patch is applied with:
$ patch -p0 < alsa-driver-1.0.17-1.patch

See http://linmodems.technion.ac.il/bigarch/archive-eighth/msg00838.html
for details on compiling and installing replacement snd-hda-intel + its
dependent drivers.
After the installation is completed, rerun the hsfmodem installation.
Reboot and try to detect the modem with Root permission:
   sudo wvdialconf  /etc/wvdial.conf

Read DOCs/Conexant.txt

Writing DOCs/Conexant.txt


Completed candidate modem analyses.

The base of the UDEV device file system is: /dev/.udev

Versions adequately match for the compiler installed: 4.4.1
             and the compiler used in kernel assembly: 4.4.1



Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.4
   linuc_headers base folder /lib/modules/2.6.31-16-generic/build

However some compilations and executable functions may need additional files,
in the FileNames.h (so called kernel "h"eaders) collection installed in  /usr/include/ .
For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default.
Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
In not included on your install CD, search for them at http://packages.ubuntu.com
or comparable Repository for other Linux distros.
When compiling ALSA drivers, the utility "patch" will also be needed.




If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev

If an alternate ethernet connection is available,
$  apt-get update
$  apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:

Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb

Checking settings of:   /etc/ppp/options
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

In case of a message like:
   Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html

Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0 eth2
Which can interfere with Browser naviagation.

Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================

Checking for modem support lines:
--------------------------------------
     /device/modem symbolic link:   
slmodemd created symbolic link /dev/ttySL0: 
     Within /etc/udev/ files:

     Within /etc/modprobe.conf files:
/etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------