ΕΝΕΡΓΟΠΟΙΗΣΗ ΜΟΝΤΕΜ ΤΟΥ FUJITSU-SIEMENS AMILO D 7830 (Modem: Intel Corporation 82801DB/DBL/DBM) KAI DIAL-UP ΣΥΝΔΕΣΗ ΣΤΟ ΙΝΤΕΡΝΕΤ ΜΕ LINUX (Ubuntu 9.10)
Πήγα εδώ: http://linmodems.technion.ac.il και κατέβασα το scanModem ό,τι ακολουθεί είναι σε κονσόλα, εκτός κι αν σχολιάζω (#####)
$ cd Desktop $ gunzip scanModem.gz $ chmod +x scanModem $ ./scanModem
UPDATE=2010_01_22 Continuing as this update is only 1 weeks old, but the current Update is always at: http://linmodems.technion.ac.il
Identifying PCI bus slots with candidate modems. Running PCIbus cases Analysing card in PCI bus 00:1f.6, writing to scanout.00:1f.6
Please load the candidate driver snd-intel8x0m, with Admin/root command: sudo modprobe snd-intel8x0m Then rerun ./scanModem
$ sudo modprobe snd-intel8x0m $ ./scanModem
UPDATE=2010_01_22 Continuing as this update is only 1 weeks old, but the current Update is always at: http://linmodems.technion.ac.il
num=22
Identifying PCI bus slots with candidate modems. Running PCIbus cases Analysing card in PCI bus 00:1f.6, writing to scanout.00:1f.6 Using scanout.00:1f.6 data, and writing guidance to ModemData.txt Writing DOCs/Intel.txt Writing DOCs/Smartlink.txt
Writing residual guidance customized to your System. A subfolder Modem/ has been written, containing these files with more detailed Information:
1stRead.txt Bootup.txt dmesg.txt DOCs ModemData.txt scanout.00:1f.6 tmp and in the DOCs subfolder: DriverCompiling.txt InfoGeneral.txt Intel.txt Rational.txt Smartlink.txt SoftModem.txt Testing.txt UNSUBSCRIBE.txt wvdial.txt YourSystem.txt
Please read 1stRead.txt first for Guidance.
#####ακολουθεί όλο το 1stRead.txt και όλο το ModemData.txt #####1stRead.txt If you want help from the email group Discuss@linmodems.org, PLEASE join the List at http://www.linmodems.org . Otherwise your messages will be delayed until the evening, waiting for someone to verify it is not junk mail, before forwarding through the List server.The files in this Modem/ folder have the following roles:
ModemData.txt - Diagnostics and accumulated information cogent to your modem and host system. This is the ONLY file which should be sent to the List DISCUSS@LINMODEMS.ORG , if further help is needed. Send your email and attachments as plain text as other formats are rejected by the List Server, to avoid virus transmission. Always send the ENTIRE ModemData.txt, as It includes subtle diagnostic ouputs needed to best guide you. Please in the covering email mention your Country, to enable Country specific advice. Always use the most recent update of scanModem accessed ONLY at http://linmodems.technion.ac.il/packages/scanModem.gz to produce ModemData.txt URLs to cogent advice are regularly updated, so your problem may be solved therein. Please Do NOT send Do NOT send other files in this folder Modem/
Several informative files without diagnostics are in the DOCs subfolder. A file(s) specific to your modem chipset will be written, such as: Smartlink.txt, Conexant.txt, Intel.txt , etc
YourModem.txt - Guidance about operating your particular System, for your benefit It should NOT be sent to Discuss@linmodems.org
Rational.txt - Motivations of this scanModem package.
DriverCompiling.txt - Explains the roles of additional files which may have to be installed to support compiling of modem drivers, and the steps to take.
SoftModem.txt - Information and instructions about “soft modems”. For these modems, additional steps may be necessary for choice of supporting software. The primary PCI ID is that of the host audio or modem controller, which can support diverse Subsystems. It is the chipset of the Subsystem which determines the software needed.
ModemTesting.txt SHOULD be read, but after drivers have been installed.
InfoGeneral.txt has general information about the status of winmodem support under Linux, Do read it if ModemData.txt reports that your current modem is not supported under Linux.
Unsubscribe.txt - Howto terminate email tranmissions from the List.
If you are Linux newcomer, please do locate your local Linux group through: http://www.linux.org/groups/index.html . If you are not comfortable with English, a local Linux user can often be of substantial assistance in getting you on to the Internet.
#####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.31-17-generic-pae 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.31-17-generic-pae (buildd@palmer) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #54-Ubuntu SMP Thu Dec 10 17:23:29 UTC 2009 scanModem update of: 2010_01_22
The dialer utility package WVDIAL does not appear to be installed on your System. For Ubuntu users, there are at the bottom of http://linmodems.technion.ac.il/packages/ packages with the files necessary to install wvdial, with names like: wvdial_jaunty_amd64.zip for x86_64, 64 bit bus systems. wvdial_jaunty_i386.zip for 32 bit systems. wvdial_karmic_i386.zip for 32 bit systems. These are about 1 MB in size. After downloaded and copied into your Linux partition:
$ unzip wv*.zip
Within the new folder:
$ sudo dpkg -i *.deb
will complete the wvdial installation Please read Modem/DOCs/wvdial.txt for usage information.
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_intel8x0m
Attached USB devices are: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical ID 1516:8628 CompUSA 128M Pen Drive 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:1f.6, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ———- ——— ——— ————– 00:1f.6 8086:24c6 1734:102a Modem: Intel Corporation 82801DB/DBL/DBM
Modem interrupt assignment and sharing: 17: 50378 IO-APIC-fasteoi yenta, Intel 82801DB-ICH4, eth0, Intel 82801DB-ICH4 Modem — Bootup diagnostics for card in PCI slot 00:1f.6 —- [ 0.131818] pci 0000:00:1f.6: reg 10 io port: [0xe200-0xe2ff] [ 0.131826] pci 0000:00:1f.6: reg 14 io port: [0xe300-0xe37f] [ 0.131867] pci 0000:00:1f.6: PME# supported from D0 D3hot D3cold [ 0.131872] pci 0000:00:1f.6: PME# disabled [ 1.425477] serial 0000:00:1f.6: PCI INT B → GSI 17 (level, low) → IRQ 17 [ 1.425485] serial 0000:00:1f.6: PCI INT B disabled [ 5011.015189] Intel ICH Modem 0000:00:1f.6: PCI INT B → GSI 17 (level, low) → IRQ 17 [ 5011.015214] Intel ICH Modem 0000:00:1f.6: setting latency timer 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.
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: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 1
about /proc/asound/cards:
0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4 Intel 82801DB-ICH4 with VIA1612A at irq 17
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: card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - Modem]
The /proc/asound/pcm file reports:
00-00: Intel ICH : Intel 82801DB-ICH4 : playback 1 : capture 1 00-01: Intel ICH - MIC ADC : Intel 82801DB-ICH4 - MIC ADC : capture 1 00-02: Intel ICH - MIC2 ADC : Intel 82801DB-ICH4 - MIC2 ADC : capture 1 00-03: Intel ICH - ADC2 : Intel 82801DB-ICH4 - ADC2 : capture 1 00-04: Intel ICH - IEC958 : Intel 82801DB-ICH4 - IEC958 : playback 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 VIA1612A at irq 17 1 [Modem ]: ICH-MODEM - Intel 82801DB-ICH4 Modem Intel 82801DB-ICH4 Modem at irq 17
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 = 4c22 are translated from hexadecimal code into the modem chip identifier: SIL22
The driver snd-intel8x0m with its dependent drivers: snd_intel8x0m 13896 0 snd_ac97_codec 101216 2 snd_intel8x0m,snd_intel8x0 snd_pcm 75520 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd 59204 15 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm, snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device snd_page_alloc 9252 3 snd_intel8x0m,snd_intel8x0,snd_pcm
provide modem + audio support.
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=1734:102a IRQ=17 SOFT=8086:24c6.MC97 CodecArchived=SIL22 CodecDiagnosed=SIL22 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 1734:102a Softmodem codec or chipset from diagnostics: SIL22, a Smartlink type from Archives: SIL22 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.4.tar.gz having a compiled slmodemd. Unpack under Linux with:
$ tar zxf SLMODEMD.gcc4.4.tar.gz
and read instructions therein. But briefly, the modem is setup with command: sudo 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.
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.4.1 and the compiler used in kernel assembly: 4.4.1
The patch utility is needed for compiling ALSA drivers, and possibly others.
Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.4 linuc_headers base folder /lib/modules/2.6.31-17-generic-pae/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
For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/ get faxing.tar.gz It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port.
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 ——–
#####το dkms ήταν ήδη εγκατεστημένο
##### i extract the slmodemd.. on the desktop #####Αυτό το slmodemd: SLMODEMD_gcc4.4_alsa1.0.21 #####που το έχω βρει εδώ: http://linmodems.technion.ac.il/packages/smartlink/
$ cd /home/basilis/Desktop/SLMODEMD_gcc4.4_alsa1.0.21 $ sudo ./setup
Installing slmodemd helper to /usr/sbin/slmodemd
Writing log to slmodemd_Inst.txt ./setup: 14: slmodemd: not found Copying slmodemd to /usr/sbin/slmodemd, making exectuable, and checking for version 2.9.11 SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30 Version verified: 2.9.11 Read the slmodemd_Inst.txt
There is already installed a slmodemd of version: 2.9.11 There is a file /usr/sbin/slmodemd Moving /usr/sbin/slmodemd to /usr/sbin/slmodemd.2.9.11 Copying slmodemd to /usr/sbin/slmodemd, making exectuable, and checking for version 2.9.11 SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30 Version verified: 2.9.11 Read the slmodemd_Inst.txt
#####από: http://linmodems.technion.ac.il/packages/ #####παίρνω: wvdial_karmic_i386.zip for 32 bit systems. #####[από εδώ: wvdial-karmic.zip - ακόμα και σήμερα το 3ο απ' το τέλος] #####i install wvdial and:
$ sudo wvdialconf
[sudo] password for basilis: Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: S0 S1 S2 S3 WvModem<*1>: Cannot get information for serial port. 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 4800: AT – OK ttySL0<*1>: Speed 9600: AT – OK 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”
#####γιούπι!
$ sudo gedit /etc/wvdial.conf
#####βλέπεις: ##### Dialer Defaults Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem Baud = 460800 New PPPD = yes Modem = /dev/ttySL0 ISDN = 0 ; Phone = <Target Phone Number> ; Password = <Your Password> ; Username = <Your Login Name>}}}}}}
#####προσθέτω username, password, phone #####(ΑΦΑΙΡΩΝΤΑΣ ΤΑ ; ΣΤΗΝ ΑΡΧΗ ΤΗΣ ΣΕΙΡΑΣ και ό,τι είναι σε <>) #####και στο τέλος προσθέτω τη γραμμή: ##### Carrier Check = no ##### και:
$ sudo modprobe -r snd-intel8x0m $ sudo modprobe snd-intel8x0m $ sudo slmodemd -c GREECE --alsa modem:1
SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30 symbolic link `/dev/ttySL0' → `/dev/pts/1' created. modem `modem:1' created. TTY is `/dev/pts/1' Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
#####το αφήνω να τρέχει #####σε καινούριο τέρμιναλ:
$ sudo wvdial
–> 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: ATDT8962514140 –> Waiting for carrier. ATDT8962514140 NO DIALTONE –> No dial tone. –> Disconnecting at Sat Jan 30 03:51:22 2010
#####πακέτο… #####όμως, άμα εδώ: sudo gedit /etc/wvdial.conf #####προσθέσεις ένα μαγικό X3 σε αυτή τη σειρά (εδώ είναι ΗΔΗ τοποθετημένο…) #####Init2 = ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 #####τότε λειτουργεί ! ! !
#####αυτή είναι η διαδικασία:
$ sudo modprobe -r snd-intel8x0m $ sudo modprobe snd-intel8x0m $ sudo slmodemd -c GREECE --alsa modem:1
SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30 symbolic link `/dev/ttySL0' → `/dev/pts/1' created. modem `modem:1' created. TTY is `/dev/pts/1' Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
#####το αφήνω να τρέχει… #####σε καινούριο τέρμιναλ:
$ sudo wvdial
[sudo] password for basilis: –> WvDial: Internet dialer version 1.60 –> Cannot get information for serial port. –> Initializing modem. –> Sending: ATZ ATZ OK –> Sending: ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 X3 &C1 &D2 +FCLASS=0 OK –> Modem initialized. –> Sending: ATDT8962514140 –> Waiting for carrier. ATDT8962514140 NO CARRIER –> No Carrier! Trying again. –> Sending: ATDT8962514140 –> Waiting for carrier. ATDT8962514140 CONNECT 50667 You have entered dc-das01.netone.gr on line 51 () User Access Verification Username: –> Carrier detected. Waiting for prompt. Username: –> Looks like a login prompt. –> Sending: username username Password: –> Looks like a password prompt. –> Sending: (password) Entering PPP mode. Async interface address is unnumbered (FastEthernet0) Your IP address is 0.0.0.0. MTU is 1500 bytes –> Looks like a welcome message. –> Starting pppd at Wed Feb 3 04:27:38 2010 –> Pid of pppd: 3144 –> Using interface ppp0 –> pppd: 0X�[08]0b�[08] –> pppd: 0X�[08]0b�[08] –> pppd: 0X�[08]0b�[08] –> pppd: 0X�[08]0b�[08] –> local IP address 123.123.123.134 –> pppd: 0X�[08]0b�[08] –> remote IP address 123.123.123.18 –> pppd: 0X�[08]0b�[08] –> primary DNS address 123.123.123.11 –> pppd: 0X�[08]0b�[08] –> secondary DNS address 123.123.123.12 –> pppd: 0X�[08]0b�[08]
##### ON LINE!