bonjour,
ayant un probleme avec ma freebox, je souhaite en attendant que celui ci soit resolu,
utiliser la connexion bas debit qui est mise à ma disposition. Je dois pour cela
utiliser une connexion modem et c'est là que les ennuis commencent 🙂
je dispose d'un ordinateur portable Acer de la serie aspire2000. Le manuel d'utilisation,
m'indique que je dispose d'un modem 56kb/s integre. J'ai verifié que le bios prenait en charge le modem interne.
Pour configurer la connexion modem je me dirige vers administration>Network device control (je suis sous KDE)
je remarque qu' à l'inverse de la carte ethernet et wifi qui avait été detecté et configuré des l'installation de F9, le modem
ne l'est pas.
je decide donc de creer une nouvelle connexion de type modem:
je ne touche pas au parametre par defaut proposés hormis le numero de tel, l'identifiant , le code et le peripherique modem (dans l'onglet materiel)

voila ce à quoi ressemble le fichier de configuration crée

[root@localhost ~]# vi /etc/sysconfig/networking/devices/ifcfg-modem_interne
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Modem
DEVICE=ppp0
BOOTPROTO=dialup
ONBOOT=no
USERCTL=no
PEERDNS=yes
AC=off
BSDCOMP=off
VJCCOMP=off
CCP=off
PC=off
VJ=off
LINESPEED=57600
MODEMPORT=/dev/ttyS0
PROVIDER=free
DEFROUTE=yes
PERSIST=no
PAPNAME=****** (nota j'ai enlevé cette ligne pour le mail pour plus de confidencialité 🙂 )
WVDIALSECT=modem_interne
MODEMNAME=Modem0
DEMAND=no
IPV6INIT=no
NM_CONTROLLED=no
IDLETIMEOUT=600



losque j essaye de l'activer j'ai le mesage d'erreur suivant qui apparait:
Device modem_interne: The connect script failed (maybe wrong password or wrong phone number).

et voila ce que me donne le /var/log/messages
[root@localhost ~]# tail -f /var/log/messages

Nov 9 21:01:14 localhost ifup-ppp: pppd démarré pour modem_interne sur /dev/ttyS0 à 57600
Nov 9 21:01:14 localhost kernel: PPP generic driver version 2.4.2
Nov 9 21:01:14 localhost pppd[32413]: pppd 2.4.4 started by root, uid 0
Nov 9 21:01:15 localhost nm-system-settings: ifcfg-fedora: parsing /etc/sysconfig/network-scripts/ifcfg-modem_interne ...
Nov 9 21:01:15 localhost nm-system-settings: ifcfg-fedora: error: Unknown connection type 'Modem'
Nov 9 21:01:16 localhost wvdial[32435]: WvDial: Internet dialer version 1.60
Nov 9 21:01:16 localhost wvdial[32435]: Initializing modem.
Nov 9 21:01:16 localhost wvdial[32435]: Sending: ATZ
Nov 9 21:01:16 localhost wvdial[32435]: Sending: ATQ0
Nov 9 21:01:16 localhost wvdial[32435]: Re-Sending: ATZ
Nov 9 21:01:16 localhost wvdial[32435]: Modem not responding.
Nov 9 21:01:16 localhost pppd[32413]: Connect script failed
Nov 9 21:01:17 localhost pppd[32413]: Exit.

si je change l'argument de MODEMPORT du fichier de config par un des autres choix (/dev/modem /dev/ttyI0 ......) wvdial ne commence meme pas son travail.

je donne le contenu du fichier wvdial.conf
[root@localhost ~]# vi /etc/wvdial.conf
[Modem0]
Modem = /dev/ttyS0
Baud = 57600
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM0
FlowControl = NOFLOW
[Dialer modem_interne]
Username = ******* (idem que plus haut pour la confidentialité 🙂 )
Password = *******
Phone = *********
Stupid Mode = 1
Init1 = ATZ
Inherits = Modem0



comment pourrais je resoudre ce probleme?
A mon avis ce n'est pas un vrai modem mais un "winmodem" et il faut installer un pilote approprié. D'ou tiens tu que ce /dev/ttyS0 correspondrait à ce modem ?

Avant tout il faut nous dire de quel type de puce-modem il s'agit ? Connexant ?
hello,
j'ai utilise un lien vers un script trouvé sur le forum (scanmodem) voila ce que me donne le ficher modemdata.txt
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.25.11-97.fc9.i686 
 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.25.11-97.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Mon Jul 21 01:31:09 EDT 2008
 scanModem update of:  2008_11_06

 There are no blacklisted modem drivers in /etc/modprobe*  files 
Attached USB devices are:
 ID 1970:0000 Dane-Elec Corp. USA 
 ID 1d6b:0002 Linux Foundation 2.0 root hub
 ID 1d6b:0001 Linux Foundation 1.1 root hub
 ID 1d6b:0001 Linux Foundation 1.1 root hub
 ID 045e:0084 Microsoft Corp. Basic Optical Mouse
 ID 1d6b:0001 Linux Foundation 1.1 root hub

USB modems not recognized

For candidate card in slot 00:1f.6, firmware information and bootup diagnostics are:
 PCI slot    PCI ID        SubsystemID    Name
 ----------    ---------    ---------    --------------
 00:1f.6    8086:24c6    1025:003c    Modem: Intel Corporation 82801DB/DBL/DBM 

 Modem interrupt assignment and sharing: 
 10:    1402499    XT-PIC-XT        yenta, ehci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, Intel 82801DB-ICH4, Intel 82801DB-ICH4 Modem, firewire_ohci, eth1, eth0, radeon@pci:0000:01:00.0
 --- Bootup diagnostics for card in PCI slot 00:1f.6 ----
ACPI: PCI Interrupt 0000:00:1f.6[b] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:1f.6[b] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt for device 0000:00:1f.6 disabled
ACPI: PCI Interrupt 0000:00:1f.6[b] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1f.6 to 64

 The PCI slot 00:1f.6 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.16
The modem cards detected by "aplay -l"  are: 
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]

The /proc/asound/pcm file reports:
-----------------------
00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1
00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1
00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1
01-00: Intel ICH - Modem : Intel 82801DB-ICH4 Modem - Modem : playback 1 : capture 1

about /proc/asound/cards:
------------------------
 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                      Intel 82801DB-ICH4 with ALC202 at irq 10
 1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
                      Intel 82801DB-ICH4 Modem at irq 10

Modem firmware information is in /proc/asound/card1/codec97#0/mc97#1-1
-----------------------------------------------
Extended modem ID: codec=1 LIN1

Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c27
are translated from hexadecimal code into the modem chip identifier:  SIL27


The driver snd-intel8x0m with its dependent drivers:
snd_intel8x0m          16780  0 
snd_ac97_codec         94368  2 snd_intel8x0m,snd_intel8x0
snd_pcm                67076  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    48312  17 snd_intel8x0m,snd_seq_dummy,snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         11400  3 snd_intel8x0m,snd_intel8x0,snd_pcm
----------
provide modem + audio support.

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

Predictive  diagnostics for card in bus 00:1f.6:
    Modem chipset  detected on
NAME="Modem: Intel Corporation 82801DB/DBL/DBM "
CLASS=0703
PCIDEV=8086:24c6
SUBSYS=1025:003c
IRQ=10
SOFT=8086:24c6.MC97
CodecArchived=SIL27
CodecDiagnosed=SIL27
CodecClass=SIL
IDENT=slmodemd
SLMODEMD_DEVICE=modem:1
Driver=snd-intel8x0m

 For candidate modem in:  00:1f.6
   0703 Modem: Intel Corporation 82801DB/DBL/DBM 
      Primary device ID:  8086:24c6
    Subsystem PCI_id  1025:003c 
    Softmodem codec or chipset from diagnostics: SIL27, an LSI/AgereSystems type
                               from    Archives: SIL27
                        
      

Support type needed or chipset:    slmodemd

 An ALSA (Advanced Linux Sound Architecture) modem driver:  snd-intel8x0m
 provides Low Level support enabling contact with the modem hardware.
 For all BUT Conexant chip soft modems (using hsfmodem software)
 complementary High Level support is through a Smartlink utility:  slmodemd

 Download from http://linmodems.technion.ac.il/packages/smartlink/ 
 the package SLMODEMD.gcc4.3.tar.gz having a compiled slmodemd. Unpack under Linux with:
     $ tar zxf SLMODEMD.gcc4.3.tar.gz
 and read instructions therein. But briefly, the modem is setup with command:
      slmodemd -c YOUR_COUNTRY --alsa modem:1
 reporting dynamic creation of ports:
    /dev/ttySL0 --> /dev/pts/N   , with N some number
 Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance.

----------------end Softmodem section --------------

Writing DOCs/Intel.txt
Writing DOCs/Smartlink.txt
============ end Smartlink section =====================

 Completed candidate modem analyses.

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

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

 linux-headers-2.6.25.11-97.fc9.i686 resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
    


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 pppd properties:
    -r-xr-xr-x 1 root root 318024 mai 13 11:13 /usr/sbin/pppd

In case of an "error 17" "serial loopback" problem, see:
    http://linmodems.technion.ac.il/linmodems/archive-sixth/msg02637.html

To enable dialout without Root permission do:
    $ su - root  (not for Ubuntu)
         chmod a+x /usr/sbin/pppd
or under Ubuntu related Linuxes
     chmod a+x /usr/sbin/pppd

Checking settings of:    /etc/ppp/options
lock

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 eth1
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:
/etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",        NAME="modems/mwave", GROUP="uucp"
     Within /etc/modprobe.conf files:

     Within any ancient /etc/devfs files:

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

--------- end modem support lines --------
@Heldwin:
*non je n'ai pas essayé wvdialconf
*effectivement j'ai rentre le num de tel de la forme 0860**** et c'est ainsi qu il apparait dans mes fichiers
n'ayant plus le net il m'est difficile de repondre rapidement,
je vous fais un topo de ce que j'ai fait apres le diagnostoc de scanmodem

apres le diagnostic de scandmodem
j'ai telecharge sur
from http://linmodems.technion.ac.il/packages/smartlink/
une version compilee de slmodem:
SLMODEMD.gcc4.3.tar.gz
j ai execute la commande
#  slmodemd -c FRANCE --alsa modem:1
SmartLink Soft Modem: version 2.9.11 Aug  3 2008 22:31:06
symbolic link `/dev/ttySL0' -> `/dev/pts/5' created.
modem `modem:1' created. TTY is `/dev/pts/5'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
********
j ai cree ensuite un autre lien symbolique /dev/modem pointant vers /dev/pts/5
********
j'ai lance wvdialconf:
# wvdialconf  /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2   S3
WvModem<*1>: Cannot get information for serial port.
ttySL0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
********
l'edition du fichier /etc/wvdial.conf donne:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = yes
Modem Type = Analog Modem
ISDN = 0
Phone = 0868920911
Modem = /dev/ttySL0
Username = <monusername>
Carrier Check = no
Password = <monpassword>
Baud = 460800

lorsque je lance wvdial:
[root@localhost SLMODEMD.gcc4.3]# wvdial --config /etc/wvdial.conf
--> WvDial: Internet dialer version 1.60
--> Cannot get 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: ATDT0868920911
--> Waiting for carrier.
ATDT0868920911
--> Timed out while dialing.  Trying again.
--> Sending: ATDT0868920911
--> Waiting for carrier.
NO CARRIER
ATDT0868920911
--> No Carrier!  Trying again.
--> Sending: ATDT0868920911
--> Waiting for carrier.
NO CARRIER
je stoppe l'execution, il fait une trentaine d'essai mais fini le diagnotic par no DIALtone.


dois je faire une croix sur l'activation de mon modem interne ou bien ai je oublié une etape?
mais fini le diagnotic par no DIALtone.
ça veut dire que, selon lui, tu n'as pas branché le modem dans la prise murale de téléphone et qu'il n'y a pas de tonalité de numérotation.
Essaie de tester tout ça avec minicom, de numéroter à la main et d'écouter dans le haut parleur du pc ce qui se passe.
4 jours plus tard
j ai changé le cable relié à la prise téléphonique murale, le resultat est le meme BUSY ou No Carrier comme reponse pour finalement au bout d'un certain nombre de requetes.

Je n'ai jamais utilisé minicom pour l'instant, le man est assez sommaire. Si tu veux avoir une eventuelle réponse sonore, passer en init3 ATM1L3 ds le wvcdial.conf produirait-il la meme reponse?
si oui ca ne produit pas plus de son.
billy_thefit wrote:j ai changé le cable relié à la prise téléphonique murale, le resultat est le meme BUSY ou No Carrier comme reponse pour finalement au bout d'un certain nombre de requetes.

Je n'ai jamais utilisé minicom pour l'instant, le man est assez sommaire. Si tu veux avoir une eventuelle réponse sonore, passer en init3 ATM1L3 ds le wvcdial.conf produirait-il la meme reponse?
si oui ca ne produit pas plus de son.
utilise minicom dans un terminal, c'est mieux

le man est sommaire ? fais juste ctrl-A tu auras toutes les commandes disponibles.

Une seule chose:
tant que tu n'as pas un OK en réponse à la chaine at , ton modem ne fonctionne pas.
Bien sur il faut appuyer sur "entrée" apres at