[RESOLVIDO]Conexão discada modem Conexant Ubuntu 9.04 Jaunty

Iniciado por X_R4zher, 24 de Outubro de 2009, 22:15

tópico anterior - próximo tópico

X_R4zher

Alguém pode me ajudar a configurar internet discada no Ubuntu 9.04, tentei seguir esse tutorial mas não deu certo: http://ubuntuforum-br.org/index.php/topic,48619.0.html, alguns pacotes não pudera ser instalados e eu também fico na dúvida sobre o modem que lá no tutorial fala de smartlink e o meu é Conexant. Se alguém puder me ajudar, já venho tentando usar linux há um tempo mas por usar discada e não consegui instalá - la acabo desistindo.

X_R4zher

Acho que dessa vez vai dar certo, consegui instalar o Gnome PPP e mais alguns pacotes que ele socilitou e essa parte acho que tá ok pois o programinha ta abrindo legal, o problema é que quando eu pensei que tinha instaldo o modem corretamente ai veio a surpresa algo está dando errado com ele. Tenho alguns logs aki e mais algumas informações que eu espero que sirvam para ajudar.

Tentando chamar o hsfconfig:
Citardiego@diego-desktop:~$ hsfconfig
bash: /usr/sbin/hsfconfig: Permissão negada
diego@diego-desktop:~$ sudo hsfconfig
Conexant HSF softmodem driver, version 7.68.00.09oem

If you need assistance or more information, please go to:
   http://www.linuxant.com/

When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".

No pre-built modules for: Ubuntu-9.04 linux-2.6.28-11-generic i686-SMP

Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.28-11-generic/build]

Building modules for kernel 2.6.28-11-generic, using source directory
/lib/modules/2.6.28-11-generic/build. Please wait...

ERROR: Module build failed!
Please examine the log file "/tmp/hsfconfig-buildlog.txt" to determine why.
diego@diego-desktop:~$

log da "instalação" ou pelo menos tentativa do modem:



log do erro da instalação /tmp/hsfconfig-buildlog.txt:
Citar(cd /lib/modules/2.6.28-11-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.28-11-generic/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
(cd /lib/modules/2.6.28-11-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.28-11-generic/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T -DFOUND_DELAYED_WORK  -DFOUND_NO_CTL_ELEM_RW" clean)
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfosspec.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfserial.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfengine.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfpcibasic2.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfpcibasic3.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfhda.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfmc97ich.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfmc97via.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfmc97ali.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfmc97ati.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfmc97sis.mod  /lib/modules/2.6.28-11-generic/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers
(cd /lib/modules/2.6.28-11-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.28-11-generic/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
In file included from /usr/lib/hsfmodem/modules/mod_engine.c:10:
/usr/lib/hsfmodem/modules/imported/include/osservices.h:356:20: error: string.h: No such file or directory
make[2]: *** [/usr/lib/hsfmodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
make: *** [all] Error 2

log do scaModem:
CitarAttached USB devices are:
ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0/HT203
ID 046d:0840 Logitech, Inc. QuickCam Express
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:0b.0, firmware information and bootup diagnostics are:
PCI slot   PCI ID      SubsystemID   Name
----------   ---------   ---------   --------------
00:0b.0   14f1:2f50   14f1:205f   Communication controller: Conexant Systems, Inc. Conexant SoftK56 Data/Fax Modem

Modem interrupt assignment and sharing:
15:          0          0   IO-APIC-edge      pata_via
--- Bootup diagnostics for card in PCI slot 00:0b.0 ----
[    0.479215] pci 0000:00:0b.0: reg 10 32bit mmio: [0xde000000-0xde00ffff]
[    0.479224] pci 0000:00:0b.0: reg 14 io port: [0x9000-0x9007]
[    0.479263] pci 0000:00:0b.0: PME# supported from D3hot D3cold
[    0.479268] pci 0000:00:0b.0: PME# disabled

The PCI slot 00:0b.0 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.


=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Completed candidate modem analyses.

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

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



Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.3
   linuc_headers base folder /lib/modules/2.6.28-11-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
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/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
/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
     Within any ancient /etc/devfs files:

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

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

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.28-11-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=i686, 
Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
scanModem update of:  2009_09_15


Presently install your Linux Distributions dkms package. It provides for automated driver updates,
following upgrade of your kernel.  For details see http://linux.dell.com/projects.shtml#dkms

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

Potentially useful modem drivers now loaded are:
  snd_atiixp_modem snd_via82xx_modem snd_intel8x0m     snd_hda_intel       

Attached USB devices are:
ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0/HT203
ID 046d:0840 Logitech, Inc. QuickCam Express
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:0b.0, firmware information and bootup diagnostics are:
PCI slot   PCI ID      SubsystemID   Name
----------   ---------   ---------   --------------
00:0b.0   14f1:2f50   14f1:205f   Communication controller: Conexant Systems, Inc. Conexant SoftK56 Data/Fax Modem

Modem interrupt assignment and sharing:
15:          0          0   IO-APIC-edge      pata_via
--- Bootup diagnostics for card in PCI slot 00:0b.0 ----
[    0.479215] pci 0000:00:0b.0: reg 10 32bit mmio: [0xde000000-0xde00ffff]
[    0.479224] pci 0000:00:0b.0: reg 14 io port: [0x9000-0x9007]
[    0.479263] pci 0000:00:0b.0: PME# supported from D3hot D3cold
[    0.479268] pci 0000:00:0b.0: PME# disabled

The PCI slot 00:0b.0 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.


=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Completed candidate modem analyses.

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

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



Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.3
   linuc_headers base folder /lib/modules/2.6.28-11-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
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/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
/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
     Within any ancient /etc/devfs files:

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

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


X_R4zher

Consegui instalar o modem seguindo este tutorial: http://trx64.wordpress.com/2009/07/15/modem-conexant-no-ubuntu/, que ensina inclusive a instalar o discador Gnome PPP (processo igual ao que utilizei quando disse que já tinha istalado o discador). Tudo indica que o driver que tinha baixado(Driver da DELL) e inclusive o que vem no CD do modem não estava dando certo e também faltava instalar alguns pacotes (fakeroot e buid-essentials) que o tutorial ensina como. Bom seguindo os passos consegui instalar e configurar o modem o problema é que agora depois que peço para discar ele não conecta e no log do discador aparece isso:

Citar--> Ignoring malformed input line: ";Do NOT edit this file by hand!"
--> WvDial: Internet dialer version 1.60
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATM1L3DT17003131
--> Waiting for carrier.
ATM1L3DT17003131
NO CARRIER
--> No Carrier!  Trying again.
--> Maximum Attempts Exceeded..Aborting!!
--> Disconnecting at Tue Oct 27 15:10:24 2009


Alguém sabe o que é isso e como resolver?

PS. Esse post que começou com uma dúvida tá virando um tutorial hehehe (:

X_R4zher

É tudo muito misterioso, após muitas tentativas a única coisa que eu conseguia após a discagem era NO CARRIER!
Não me lembro o que me motivou a reiniciar o pc mas após isto ao discar ouvia - se o tom de discagem do modem, coisa que não acontecia antes, e o NO CARRIER tinha sumido de início, agora tava diferente, ele tentava acessar /usr/sbin/pppd e dizia que não tinha permissão para isso e que definisse o parâmetro PPPD Path em wvdialconf. De cara vi que precisava de um chmod em /usr/sbin/pppd só não sabia que permissão dar. Fui na louca lembrando os tempos de PHP em servers linux e joguei chmod 777 heheh DEU PAU! Dai removi o chmod e alterei wvdialconf adicionando o parâmentro que tinha pedido apontando para /usr/sbin/pppd e também não funfou, pra fechar o chmod que eu tava precisando achei em: http://ubuntuforum-br.org/index.php/topic,52862.msg303249.html#msg303249 e mais o uso do gpasswd. Resolveu!!! Conectou de boa. No final das contas o necessário pra funcionar na minha máquina foi começar por esse tutorial: http://trx64.wordpress.com/2009/07/15/modem-conexant-no-ubuntu/ que ensina instalar o modem e o discador Gnome PPP e depois fazer o ajuste fino em: http://ubuntuforum-br.org/index.php/topic,52862.msg303249.html#msg303249. Não sei o porque de só dar certo quando reinicio o Ubuntu, na primeira inicialização não vai. Mas já serve, 200 anos que tento usar linux e no final foi bom. vlw!!!!