انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => سخت‌افزار => نصب و پیکربندی انواع مودم و اتصال به اینترنت => نویسنده: arash در 31 امرداد 1386، 12:08 ب‌ظ

عنوان: نصب مودم
ارسال شده توسط: arash در 31 امرداد 1386، 12:08 ب‌ظ
من یک مودم SoftV92 data fax modem دارم که تو اوبنوتو نصب نمیشه. از طریق روشی که تو ویکی بود هم رفتم ولی همیشه یک علامت خطر کنار علامت نتورک میاد. حالا باید چه کار کنم؟!
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: hasannoori در 31 امرداد 1386، 12:21 ب‌ظ
من یک مودم SoftV92 data fax modem دارم که تو اوبنوتو نصب نمیشه. از طریق روشی که تو ویکی بود هم رفتم ولی همیشه یک علامت خطر کنار علامت نتورک میاد. حالا باید چه کار کنم؟!
دوست عزیز ابتدا به آدرس http://linmodems.technion.ac.il/Farsi/ یه سری بزن،
بعد ابزار ScanModem (http://linmodems.technion.ac.il/packages/scanModem.gz) رو دانلود کن.
بعد اون رو تو دسکتاپت بریز و دستورات زیر رو اجرا کن:
cd ~/Descktop
gunzip scanModem.gz
sudo chmod +x scanModem
sudo ./scanModem
ابزار فوق اطلاعات مفیدی درباره نوع مودم و درایور اون و چگونگی نصب و راه اندازیش میده!
اطلاعات رو در پوشه Modem میریزه.
شما اول محتویات اون رو به دقت بخون(مخصوصا ModemDara.txt) و اگر از اون سر در نیاوردی محتویاتش رو اینجا
کپی کن تا بتونیم کمکتون کنیم. ;D
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: arash در 31 امرداد 1386، 08:17 ب‌ظ
تمام کارهایی روکه گفتید انجام دادم. اینم فایل ModemData.txt این شما و این هم مودم من:
[Only plain text email is forwarded by the  DISCUSS@linmodems.org List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry  kernel 2.6.20-15-generic
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=i686, 
Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007
 scanModem update of:  2007_August_19


ALSAversion 1.0.13
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

 PCI slot PCI ID SubsystemID Name
 ---------- --------- --------- --------------
 04:00.0 14f1:2f00 14f1:2004 Communication controller: Conexant HSF 56k HSFi Modem

 Modem interrupt assignment and sharing:
 15:      18217          0   IO-APIC-edge      libata

 --- Bootup diagnostics for card in PCI slot 04:00.0 ----

 PCI slot PCI ID SubsystemID Name
 ---------- --------- --------- --------------
 00:1b.0 8086:27d8 1458:a002 Audio device: Intel Corporation 82801G

 Modem interrupt assignment and sharing:
 16:        771          0   IO-APIC-fasteoi   uhci_hcd:usb4, HDA Intel

 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[   14.467133] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
[   14.467153] PCI: Setting latency timer of device 0000:00:1b.0 to 64

 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===

 New HCF.HSF device 8086:27d8
 For candidate modem in PCI bus:  00:1b.0
   Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  8086:27d8
 Support type needed or chipset: HCF.HSF
 


Writing Intel.txt

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

The 14f1:2f00 chipset has a free support package: http://ubuntuforums.org/showthread.php?t=180632
Otherwise formal support for Conexant chipset modems is available ONLY through http://www.linuxant.com/drivers with a free trial package suporting minimal 14K speed, with purchase fo software key needed for full 56K service.

Read Conexant.txt for details  and Modem/YourSystem.txt for follow through guidance.  Driver speed is limited to 14,400 until a key is purchased
There are two support package types: hsfmodem  and hcflinmodem for older HCF modems
 http://www.lorenzobettini.it/linux/LinuxSonyVaioVGN-S5VP_B reports a
 problem and solution in stalling a key, after testing of the free low
 speed test package.

 8086:27d8 could be either a HSF or HCF Conexant modem, because of ambiguous
 use of the PCI ID by modem assemblers. First try the hcflinodem package.
 If the installation aborts, then use the hsfmodem package. Read Conexant.txt
 for details and Modem/YourSystem.txt for follow through guidance.

 The hsfmodem package serves a great variety of Conexant chipset modems.
 From  http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
 download hsfmodem_VersionSpec_k2.6.20_15_generic_ubuntu_i386.deb.zip
                           with 2.6.20_15_generic equivalent to 2.6.20-15-generic, your kernel version.
 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 Testing.txt  for details.
 
 Read Conexant.txt

Writing Conexant.txt


 For candidate modem in PCI bus:  04:00.0
   Class 0780: 14f1:2f00 Communication controller: Conexant HSF 56k HSFi Modem
      Primary PCI_id  14f1:2f00
 Support type needed or chipset: hsfmodem
 


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

The 14f1:2f00 chipset has a free support package: http://ubuntuforums.org/showthread.php?t=180632
Otherwise formal support for Conexant chipset modems is available ONLY through http://www.linuxant.com/drivers with a free trial package suporting minimal 14K speed, with purchase fo software key needed for full 56K service.

Read Conexant.txt for details  and Modem/YourSystem.txt for follow through guidance.  Driver speed is limited to 14,400 until a key is purchased
There are two support package types: hsfmodem  and hcflinmodem for older HCF modems
 http://www.lorenzobettini.it/linux/LinuxSonyVaioVGN-S5VP_B reports a
 problem and solution in stalling a key, after testing of the free low
 speed test package.

 The hsfmodem package serves a great variety of Conexant chipset modems.
 From  http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
 download hsfmodem_VersionSpec_k2.6.20_15_generic_ubuntu_i386.deb.zip
                           with 2.6.20_15_generic equivalent to 2.6.20-15-generic, your kernel version.
 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 Testing.txt  for details.
 
 Read Conexant.txt

Writing 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.1.2
             and the compiler used in kernel assembly: 4.1.2


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.20-15-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 libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default.



If a driver compilation files with message including some lack of some FileName.h (stdio.h for example.
Some additional kernel-header files need installation to /usr/include.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com

For Ubunut feisty, additional packages required were:
 build-essential curl debhelper dpkg-dev g g4.1 gettext git-core gitk
 html2text intltool-debian kernel-package kernel-wedge libc6-dev
 libcurl3-gnutls libdigest-sha1-perl liberror-perl libstdc4.1-dev
 linux-libc-dev po-debconf rcs tcl8.4 tk8.4


Checking pppd properties:
-rwsr-xr-- 1 root dip 269224 2007-04-05 07:11 /usr/sbin/pppd

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

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

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/YourSystem.txt concerning other COMM channels: eth0 eth0:avah
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for the 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:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
/etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base: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
-------
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: Mehdi در 31 امرداد 1386، 11:53 ب‌ظ
ظاهرا چیپ مودم شما Conexant هست. راه‌اندازش رو از اینجا (http://support.dell.com/support/downloads/download.aspx?c=us&l=en&s=gen&releaseid=R155004&SystemID=INSPIRONI6400/E1505&servicetag=&os=UBLN&osl=en&deviceid=8593&devlib=0&typecnt=0&vercnt=1&catid=-1&impid=-1&formatcnt=1&libid=20&fileid=206745) بگیرید و نصب کنید....
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: hasannoori در 01 شهریور 1386، 11:19 ق‌ظ
همونطور که مهدی عزیز گفتند چیپ ست مودم شما از نوع : Connexant هست.
و علاوه بر آدرسی که ایشون گفتند که مزبوط به کمپانی Dell هست که اخیرا اقدام به این کار خدا پسندانه کرده.
شما میتونید به این آدرس هم مراجعه کنید:
http://ubuntuforums.org/showthread.php?t=180632
در اونجا روش نصب این نوع مودم رو و درایور رایگانش رو ارائه داده.
در صورتی که اینها جواب نداد:
درایور رو از  اینجا (http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
 download hsfmodem_VersionSpec_k2.6.20_15_generic_ubuntu_i386.deb.zip) بگیر.
بعد دستورات زیر رو اجرا کن:
   
 برای باز کردن زیپ:
 $ unzip hsfmodem*.zip
 جهت نصب درایور:
 $ sudo dpkg -i hsfmodem*.deb
 پیکربندی برنامه دایالر
 $ sudo wvdialconf /etc/wvdial.conf
 با دستور زیر یه فایل باز میشه و باید در اون شماره تلفن یوزر و پسورد رو در جای مناسب قرار بدید.:
 $ sudo gedit /etc/wvdial.conf
 برای کانکت شدن هم فرمان زیر رو بزن:
 $ sudo wvdial
برای اطلاع بیشتر درباره wvdial (http://wiki.ubuntu-ir.org/wvdial) به http://wiki.ubuntu-ir.org/wvdial مراجعه کنید.
هر مرحله هم مشکل داشتی با ذکر مرحله و توضیحات بفرمایید ما درخدمتیم(البته قبل از طرح هر گونه سوال چندین بار خودتون سعی کنید و یا کارها تون رو بررسی کنید)
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: arash در 01 شهریور 1386، 02:17 ب‌ظ
ممنون. مودم نصب شد! این پست رو از اوبنتو زدم
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: moshen212 در 28 شهریور 1386، 05:06 ق‌ظ
سلام
من هم درايور كمپاني Dell و گرفتم ولي زمان نصب با 2كليك قفل مي كنه
و با دستور dpkg -i يه چيز هايي از kernel ميگه با توجه به اينكه يوبنتو من 6.06 هست لطفا يكي بگه چه كار مي تونم بكنم
البه پيشاپيش از پيگيريهاتون ممنون هستم .
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: Mohammad Hoseini در 28 شهریور 1386، 05:19 ق‌ظ
سلام
خب پیغامش را بنویسید تا  بتوانیم راهنماییتون کنیم.
 ;)
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: amin در 28 شهریور 1386، 05:33 ق‌ظ
سلام
من هم درايور كمپاني Dell و گرفتم ولي زمان نصب با 2كليك قفل مي كنه
و با دستور dpkg -i يه چيز هايي از kernel ميگه با توجه به اينكه يوبنتو من 6.06 هست لطفا يكي بگه چه كار مي تونم بكنم
البه پيشاپيش از پيگيريهاتون ممنون هستم .

این درایور ها مخصوصا اوبونتو ۷/۰۴ هستن  :o
معلومه که از کرنل بد و بیراه میگه . برای اینکه کرنل شما قدیمیه  ;D
یه کار خوب میتونی بکنی که اوبونتوی جدید رو نصب کنی و از شر این مشکلات خلاص بشی ;)
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: moshen212 در 29 شهریور 1386، 03:43 ق‌ظ
جا داره ازAmin , Mohammad hoseini , بقيه ي عزيزان تشكر كنم اميد وارم شما كه كار ما تازه واردها رو راه مي اندازيد خدا خودش كارتون رو راه بيندازه  :o
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 10 مهر 1386، 06:50 ب‌ظ
سلام
لطف می کنین بگین مودم من چیه و از کجا درایورشو بگیرم؟
لب تاب من 
hp nx7300
 Only plain text email is forwarded by the  DISCUSS@linmodems.org List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry  kernel 2.6.20-15-generic
 This will alert cogent experts, and  distinguish cases in the Archives.
 YourCountry will enable Country Code guidance.
 Occassionally responses are blocked by an Internet Provider mail filters.
 So in a day, also check the Archived responses at http://www.linmodems.org .
 Local Linux experts can be found through: http://www.linux.org/groups/index.html
--------------------------  System information ----------------------------
CPU=i686, 
Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007
 scanModem update of:  2007_Sept_24


 There are no blacklisted modem drivers in /etc/modprobe*  files
USB modem not detected by lsusb


Several modems are supported by drivers with ALSA, the Advanced Linux Sound Architecture software.
Copying ALSA diagnostics to Modem/ALSAbarbati.tgz
ALSAversion = 1.0.13

Modem or candidate host audio card have firmware information and diagnostics:

 PCI slot   PCI ID      SubsystemID   Name
 ----------   ---------   ---------   --------------
 00:1b.0   8086:27d8   103c:30a2   Audio device: Intel Corporation 82801G

 Modem interrupt assignment and sharing:
 16:      73666   IO-APIC-fasteoi   HDA Intel, i915@pci:0000:00:02.0, eth0
 --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[   17.196000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
[   17.196000] PCI: Setting latency timer of device 0000:00:1b.0 to 64

 === Finished modem firmware and bootup diagnostics section. ===
 === Next deducing cogent software ===

8086:27d8 is a High Definition Audio card, possibly hosting a soft modem.
Bootup diagnostics lack ALSA data.
 and a NEW HDA softmodem controller.

 The HDA modem codec file is: /proc/asound/card0/codec#1
-----------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x103c1378
Revision Id: 0x100200

 The audio card hosts a softmodem chip with Vendor ID:  0x11c11040

 The softmodem chip 0x11c11040 is not yet supported under Linux.
 Code must be developed by manufacture LSI Inc.
 See details in http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00915.html
 Read InfoGeneral.txt about alternatives modem hardware.

HDAmodemChip=0x11c11040
 Softmodem chip 0x11c11040 is not yet supported under Linux,
 see http://linmodems.technion.ac.il/bigarch/archive-seventh/msg00858.html

 For candidate modem in PCI bus:  00:1b.0
   Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
      Primary PCI_id  NEW_softmodem_8086:27d8
 Support type needed or chipset:   slmodemd
 

 Already loaded into the kernel is snd-hda-intel and audio drivers it depends on,
 displayed by:   lsmod | grep snd_hda_intel
Module                  Size  Used by
-------------------------------------
snd_hda_intel          21912  1
snd_hda_codec         205440  1 snd_hda_intel
snd_pcm                79876  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd                    54020  12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc         10888  2 snd_hda_intel,snd_pcm


The diagnostic outputs for this softmodem section have their raw information in
folders and text files under /proc/asound/ which you can browse. The information
is from files:
   /proc/asound/pcm
-------------------------------
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: AD198x Analog : AD198x Analog : playback 1 : capture 1

   /proc/asound/modules
-------------------------------
 0 snd_hda_intel
   11c11040
-------------------------------

-------------------------------
Current support status of HDA cards is:
  Vendor IDs  Chip maker     Support type
  ----------  ----------    -------------
  0x14f12bfa  Conexant      hsfmodem , not slmodemd compatible
  0x14f12c06  Conexant      hsfmodem , not slmodemd compatible
  0x11c1040  AgereSystems  snd-hda-intel + slmodemd, support not estabished
  All others currently supported
   /proc/asound/card0/codec#1
-------------------------------


and from the command:
   aplay -l | grep -i modem
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]

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

Writing Intel.txt
Writing 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.1.2
             and the compiler used in kernel assembly: 4.1.2


 
 Minimal compiling resources appear complete:
   make utility - /usr/bin/make
   Compiler version 4.1
   linuc_headers base folder /lib/modules/2.6.20-15-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 libc6-dev (and for Debian/Ubuntu,  linux-libc-dev). The also required headers of package libc6 are commonly installed by default.



If a driver compilation files with message including some lack of some FileName.h (stdio.h for example.
Some additional kernel-header files need installation to /usr/include.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com

For Ubuntu Feisty, additional packages required were:
 libc6-dev linux-libc-dev
available through http://packages.ubuntu.com/ , if not on the install CD.
Such packages may have different names for other Linux distributions.
Try installing just the libc6-dev, then test the compile again.


Checking pppd properties:
   -rwsr-xr-- 1 root dip 269224 2007-04-05 07:11 /usr/sbin/pppd

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

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

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/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.

 Don't worry about the following, it is for the 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:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem:# blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

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

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

عنوان: پاسخ به: نصب مودم
ارسال شده توسط: Hani در 10 مهر 1386، 07:06 ب‌ظ
سلام

تا اونجایی که من فهمیدم چیپست مودمتون conexant از نوع hsf هستش از درایور دل هم می تونین استفاده کنین : http://direct2dell.com/one2one/archive/2007/07/17/21325.aspx
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 10 مهر 1386، 07:06 ب‌ظ
مودم شما از نوع smartlink هست. اینجا رو نگاه کنید برای نحوه نصب: http://wiki.ubuntu-ir.org/DialupModemHowto/Smartlink?highlight=%28modem%29
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 10 مهر 1386، 07:09 ب‌ظ
سلام

تا اونجایی که من فهمیدم چیپست مودمتون conexant از نوع hsf هستش از درایور دل هم می تونین استفاده کنین : http://direct2dell.com/one2one/archive/2007/07/17/21325.aspx
به نظر نمیاد که conexant باشه چون خود برنامه scanModem اینطور گفته:
نقل‌قول
Writing Smartlink.txt
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: Hani در 10 مهر 1386، 07:18 ب‌ظ
:D شرمنده تازه کاریی و هزار درد سر
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 11 مهر 1386، 12:15 ق‌ظ
آقا هر کاری می کنم یه اروری میده.اعصابمو ریخته بهم.چیکارش کنم؟
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 11 مهر 1386، 12:17 ق‌ظ
چه اروری می ده ؟ ارورش رو بزارید اینجا ببینیم مشکلش از کجاست....
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 11 مهر 1386، 01:56 ب‌ظ
اول طبق url که دادین:
 module-assistant، "برای کامپایل کردن آسان و نصب راه انداز می توانید از
 استفاده کنید"
•   
$ sudo module-assistant auto-install sl-modem
$ sudo depmod -a
این کارو کردم که
  : داد  Error
"sudo: module-assistant: command not found"
بعد طبق:
 
مراحلی خاص نسخه Dapper و به بالای آن"
بعلت وجود یک باگ(اشکال در طراحی نرم افزارBUG)در این نسخه از اوبونتو، شما نیاز دارید تا یک سری مراحل که در زیر توضیح داده شده اند را انجام دهید

سپس بسته sl-modem-daemon
را نصب کنید"
    رو داد:Error ابن کارو کردم که این
"error: Dependency is not satisfiable : libC6

استفاده کردم که اینم نتیجش:make بعد از دستور

farid@IQ:~/Desktop/slmodem-2.9.9e-pre1a$ make
make -C modem all
make[1]: Entering directory `/home/farid/Desktop/slmodem-2.9.9e-pre1a/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
modem_main.c:45:20: error: unistd.h: No such file or directory
modem_main.c:46:20: error: stdlib.h: No such file or directory
modem_main.c:47:19: error: stdio.h: No such file or directory
modem_main.c:48:20: error: string.h: No such file or directory
modem_main.c:49:19: error: errno.h: No such file or directory
modem_main.c:50:21: error: termios.h: No such file or directory
modem_main.c:51:19: error: fcntl.h: No such file or directory
modem_main.c:52:23: error: sys/types.h: No such file or directory
modem_main.c:53:22: error: sys/stat.h: No such file or directory
modem_main.c:54:23: error: sys/ioctl.h: No such file or directory
modem_main.c:55:22: error: sys/mman.h: No such file or directory
modem_main.c:56:19: error: sched.h: No such file or directory
modem_main.c:57:20: error: signal.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from modem_main.c:58:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
modem_main.c:59:17: error: grp.h: No such file or directory
In file included from ./modem.h:49,
                 from modem_main.c:70:
./modem_defs.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u8’
./modem_defs.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u16’
./modem_defs.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u32’
./modem_defs.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s8’
./modem_defs.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s16’
./modem_defs.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s32’
In file included from ./modem.h:50,
                 from modem_main.c:70:
./modem_homolog.h:53: error: expected specifier-qualifier-list before ‘u8’
./modem_homolog.h:103: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘id’
In file included from ./modem.h:51,
                 from modem_main.c:70:
./modem_dp.h:82: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem_dp.h:83: error: expected declaration specifiers or ‘...’ before ‘u8’
In file included from modem_main.c:70:
./modem.h:136: error: expected specifier-qualifier-list before ‘u16’
./modem.h:172: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:173: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:189: error: expected specifier-qualifier-list before ‘u16’
./modem.h:217: error: expected specifier-qualifier-list before ‘u8’
./modem.h:261: error: field ‘termios’ has incomplete type
./modem.h:314: error: expected specifier-qualifier-list before ‘u8’
./modem.h:335: error: expected specifier-qualifier-list before ‘u32’
./modem.h:337: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:338: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:349: error: expected specifier-qualifier-list before ‘u8’
./modem.h:366: error: expected specifier-qualifier-list before ‘u8’
./modem.h:431: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:432: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:434: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:435: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:437: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:438: error: expected declaration specifiers or ‘...’ before ‘u8’
modem_main.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘modem_perm’
modem_main.c: In function ‘modemap_start’:
modem_main.c:553: warning: implicit declaration of function ‘ioctl’
modem_main.c:557: warning: implicit declaration of function ‘memset’
modem_main.c:557: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:558: warning: implicit declaration of function ‘write’
modem_main.c: In function ‘mdm_device_read’:
modem_main.c:600: warning: implicit declaration of function ‘read’
modem_main.c: In function ‘mdm_device_setup’:
modem_main.c:614: error: storage size of ‘stbuf’ isn’t known
modem_main.c:616: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:617: warning: implicit declaration of function ‘stat’
modem_main.c:619: warning: implicit declaration of function ‘fprintf’
modem_main.c:619: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:619: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:619: error: (Each undeclared identifier is reported only once
modem_main.c:619: error: for each function it appears in.)
modem_main.c:619: warning: implicit declaration of function ‘strerror’
modem_main.c:619: error: ‘errno’ undeclared (first use in this function)
modem_main.c:619: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:622: warning: implicit declaration of function ‘S_ISCHR’
modem_main.c:623: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:627: warning: implicit declaration of function ‘open’
modem_main.c:627: error: ‘O_RDWR’ undeclared (first use in this function)
modem_main.c:629: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:629: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:633: warning: implicit declaration of function ‘minor’
modem_main.c:614: warning: unused variable ‘stbuf’
modem_main.c: In function ‘mdm_device_release’:
modem_main.c:639: warning: implicit declaration of function ‘close’
modem_main.c: At top level:
modem_main.c:649: error: ‘PATH_MAX’ undeclared here (not in a function)
modem_main.c: In function ‘create_pty’:
modem_main.c:653: error: storage size of ‘termios’ isn’t known
modem_main.c:660: warning: implicit declaration of function ‘getpt’
modem_main.c:661: warning: implicit declaration of function ‘grantpt’
modem_main.c:661: warning: implicit declaration of function ‘unlockpt’
modem_main.c:662: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:662: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:662: error: ‘errno’ undeclared (first use in this function)
modem_main.c:662: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:670: warning: implicit declaration of function ‘tcgetattr’
modem_main.c:672: warning: implicit declaration of function ‘cfmakeraw’
modem_main.c:673: warning: implicit declaration of function ‘cfsetispeed’
modem_main.c:673: error: ‘B115200’ undeclared (first use in this function)
modem_main.c:674: warning: implicit declaration of function ‘cfsetospeed’
modem_main.c:677: warning: implicit declaration of function ‘tcsetattr’
modem_main.c:677: error: ‘TCSANOW’ undeclared (first use in this function)
modem_main.c:679: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:679: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:683: warning: implicit declaration of function ‘fcntl’
modem_main.c:683: error: ‘F_SETFL’ undeclared (first use in this function)
modem_main.c:683: error: ‘O_NONBLOCK’ undeclared (first use in this function)
modem_main.c:685: warning: implicit declaration of function ‘ptsname’
modem_main.c:685: warning: assignment makes pointer from integer without a cast
modem_main.c:693: warning: implicit declaration of function ‘getgrnam’
modem_main.c:693: warning: initialization makes pointer from integer without a cast
modem_main.c:695: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:695: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:699: warning: implicit declaration of function ‘chown’
modem_main.c:699: error: dereferencing pointer to incomplete type
modem_main.c:701: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:701: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:707: warning: implicit declaration of function ‘chmod’
modem_main.c:707: error: ‘modem_perm’ undeclared (first use in this function)
modem_main.c:709: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:709: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:714: warning: implicit declaration of function ‘unlink’
modem_main.c:715: warning: implicit declaration of function ‘symlink’
modem_main.c:716: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:716: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:721: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:653: warning: unused variable ‘termios’
modem_main.c: At top level:
modem_main.c:741: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘keep_running’
modem_main.c: In function ‘mark_termination’:
modem_main.c:746: error: ‘keep_running’ undeclared (first use in this function)
modem_main.c: In function ‘modem_run’:
modem_main.c:752: error: storage size of ‘tmo’ isn’t known
modem_main.c:753: error: ‘fd_set’ undeclared (first use in this function)
modem_main.c:753: error: expected ‘;’ before ‘rset’
modem_main.c:754: error: storage size of ‘termios’ isn’t known
modem_main.c:760: error: ‘keep_running’ undeclared (first use in this function)
modem_main.c:767: warning: implicit declaration of function ‘FD_ZERO’
modem_main.c:767: error: ‘rset’ undeclared (first use in this function)
modem_main.c:768: error: ‘eset’ undeclared (first use in this function)
modem_main.c:770: warning: implicit declaration of function ‘FD_SET’
modem_main.c:784: warning: implicit declaration of function ‘select’
modem_main.c:784: error: ‘NULL’ undeclared (first use in this function)
modem_main.c:787: error: ‘errno’ undeclared (first use in this function)
modem_main.c:787: error: ‘EINTR’ undeclared (first use in this function)
modem_main.c:789: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:789: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:789: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:796: warning: implicit declaration of function ‘FD_ISSET’
modem_main.c:807: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:807: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:817: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:817: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:842: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:842: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:851: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:854: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:854: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:858: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:869: warning: implicit declaration of function ‘memcmp’
modem_main.c:881: error: ‘EAGAIN’ undeclared (first use in this function)
modem_main.c:885: error: ‘EIO’ undeclared (first use in this function)
modem_main.c:888: error: ‘HUPCL’ undeclared (first use in this function)
modem_main.c:893: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:905: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:905: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:914: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:754: warning: unused variable ‘termios’
modem_main.c:752: warning: unused variable ‘tmo’
modem_main.c: In function ‘modem_main’:
modem_main.c:932: warning: implicit declaration of function ‘basename’
modem_main.c:932: warning: passing argument 1 of ‘modem_debug_init’ makes pointer from integer without a cast
modem_main.c:936: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:936: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:937: warning: implicit declaration of function ‘exit’
modem_main.c:937: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:945: warning: implicit declaration of function ‘sprintf’
modem_main.c:945: warning: incompatible implicit declaration of built-in function ‘sprintf’
modem_main.c:947: warning: passing argument 2 of ‘modem_create’ makes pointer from integer without a cast
modem_main.c:948: warning: assignment makes pointer from integer without a cast
modem_main.c:954: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:955: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:958: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:961: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:965: error: storage size of ‘prm’ isn’t known
modem_main.c:966: warning: implicit declaration of function ‘mlockall’
modem_main.c:966: error: ‘MCL_CURRENT’ undeclared (first use in this function)
modem_main.c:966: error: ‘MCL_FUTURE’ undeclared (first use in this function)
modem_main.c:967: error: ‘errno’ undeclared (first use in this function)
modem_main.c:967: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:969: warning: implicit declaration of function ‘sched_get_priority_max’
modem_main.c:969: error: ‘SCHED_FIFO’ undeclared (first use in this function)
modem_main.c:970: warning: implicit declaration of function ‘sched_setscheduler’
modem_main.c:971: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:965: warning: unused variable ‘prm’
modem_main.c:976: warning: implicit declaration of function ‘signal’
modem_main.c:976: error: ‘SIGINT’ undeclared (first use in this function)
modem_main.c:977: error: ‘SIGTERM’ undeclared (first use in this function)
modem_main.c:990: warning: implicit declaration of function ‘usleep’
modem_main.c:1003: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:926: warning: unused variable ‘path_name’
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/home/farid/Desktop/slmodem-2.9.9e-pre1a/modem'
make: *** [modem] Error 2
farid@IQ:~/Desktop/slmodem-2.9.9e-pre1a$  
  حالا باید چیکار کنم؟
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: amin در 11 مهر 1386، 02:50 ب‌ظ
اگر ممکن هست ،‌نوع چیپست مودم و همینطور نسخه ی اوبونتو نصب شده رو بنویسید .
"error: Dependency is not satisfiable : libC6
این یعنی یا درایور شما قدیمی هست یا اوبونتو . به هر حال به هم نمیخورن.
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 11 مهر 1386، 03:01 ب‌ظ
دستور زیر رو بزنید و بعد مراحلی که تو اون لینک گفته شده رو تکرار کنید:
sudo apt-get install module-assistant
یک پکیج دیگه که هم لازم دارین glibc هست. برید و در ترمینال عبارت sudo apt-get install glibc رو وارد کنید ولی بعد از کلمه glibc هیج فاصله ای نزارید (یعنی space نزنید) و بعد ۲بار دکمه TAB کیبورد رو فشار بدید. خودش یک لیست برات میاره می گه چه ورژنش برای نصب آماده هست. حالا می تونید اسم اون ورژن رو وارد کنید و بزنید نصب بشه. (مثلاً اسم پکیج که برای من نصب شده glibc-2.3.5-0ubuntu1 هست. ممکنه برای شما با این متفاوت باشه)
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 11 مهر 1386، 07:13 ب‌ظ
اگر ممکن هست ،‌نوع چیپست مودم و همینطور نسخه ی اوبونتو نصب شده رو بنویسید .
"error: Dependency is not satisfiable : libC6
این یعنی یا درایور شما قدیمی هست یا اوبونتو . به هر حال به هم نمیخورن.


ubuntu 7.04
chipsetرو نمیدونم اما مدلش agere system HDA modem
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 11 مهر 1386، 07:15 ب‌ظ
root@IQ:/home/farid# sudo apt-get install module-assistant
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package module-assistant




root@IQ:/home/farid# sudo apt-get install glibc

دو بار  زدم  هیچ اتفاقی نیفتاد.اینتر زدم:



Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package glibc

عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 11 مهر 1386، 09:10 ب‌ظ
شما مخازن اوبوتو رو کامل نکردین که این ارور رو گرفتین. اینجا رو نگاه کنید و کارهایی که توش گفته رو انجام بدید و بعد دوباره با دستوری که بهتون گفتم module-assistant و glibc رو نصب کنید:
http://wiki.ubuntu-ir.org/Repositories/UbuntuFeisty?highlight=%28repositories%29
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 12 مهر 1386، 01:25 ق‌ظ
شما مخازن اوبوتو رو کامل نکردین که این ارور رو گرفتین. اینجا رو نگاه کنید و کارهایی که توش گفته رو انجام بدید و بعد دوباره با دستوری که بهتون گفتم module-assistant و glibc رو نصب کنید:
http://wiki.ubuntu-ir.org/Repositories/UbuntuFeisty?highlight=%28repositories%29

این کارو کردم.به اینترنت که نمیتونم وصل شم از cd  استفاده کردم و بعد از glibc......که همچین چیزی توش نبود.
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 12 مهر 1386، 01:57 ق‌ظ
منظورتون از cd همون سی دی هما هست یا که سی دی اوبونتو ؟
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 12 مهر 1386، 01:50 ب‌ظ
 سی دی اوبونتو
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 12 مهر 1386، 02:54 ب‌ظ
سی دی اوبونتو به صورت پیشفرض این بسته ها رو نداره. یا باید از DVD اوبونتو استفاده کنید، یا از سی دی هما، یا به اینترنت وصل باشی یا اینکه در نهایت از برنامه wubdepends استفاده کنید (می تونید اینجا رو ببینید: http://forum.ubuntu-ir.org/index.php?topic=2037.msg12370#msg12370)
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 18 مهر 1386، 12:48 ق‌ظ
شما DVD اوبونتو  رو دارین؟از کجا بخرم؟تو انقلاب نبود
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 18 مهر 1386، 12:50 ق‌ظ
من همین چند ساعت پیش یکی از دوستان عزیز زحمت کشیدن و DVD Feisty رو برام آوردن. اگه شما تهران هستید می تونم براتون بفرستم
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 18 مهر 1386، 10:50 ق‌ظ
آره تهرانم.اینجا آدرس بذارم یا تلفن یا چی؟!
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 23 مهر 1386، 07:42 ب‌ظ
سلام مهندس دستت درد نکنه ولی نمیدونم چرا طلسم شده؟
وقتی این دستور رو میزنم
$ sudo module-assistant auto-install sl-modem
وارد محیط آبی رنگ میشه و بعد از اون این خطارو میده:
dh_testdir                                                                 
dh_testroot                                                               
rm -f build-arch-stamp build-indep-stamp configure-stamp                   
# Add here commands to clean up after the build process.                   
/usr/bin/make clean SUPPORT_ALSA=1                                         
make[1]: Entering directory `/usr/src/modules/sl-modem'                     
make[1]: Leaving directory `/usr/src/modules/sl-modem'                     
cd modem; /usr/bin/make clean SUPPORT_ALSA=1                               
make[1]: Entering directory `/usr/src/modules/sl-modem/modem'               
make[1]: Leaving directory `/usr/src/modules/sl-modem/modem'               
dh_clean                                                                   
/usr/bin/make -C drivers clean                                             
make[1]: Entering directory `/usr/src/modules/sl-modem/drivers'             
 rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o               
 amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
 rm -f -r .tmp_versions                                                     
 make[1]: Leaving directory `/usr/src/modules/sl-modem/drivers'             
 /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules     
  make[1]: Entering directory `/usr/src/modules/sl-modem'                   
  dh_testdir                                                                 
  dh_testroot                                                                 
  rm -f build-arch-stamp build-indep-stamp configure-stamp                   
  # Add here commands to clean up after the build process.                   
  /usr/bin/make clean SUPPORT_ALSA=1                                         
 make[2]: Entering directory `/usr/src/modules/sl-modem'                     
  make[2]: *** No rule to make target `clean'.  Stop.                       
  make[2]: Leaving directory `/usr/src/modules/sl-modem'                     
  make[1]: [clean] Error 2 (ignored)                                         
  cd modem; /usr/bin/make clean SUPPORT_ALSA=1                               
  make[2]: Entering directory `/usr/src/modules/sl-modem/modem'               
 make[2]: *** No rule to make target `clean'.  Stop.                       
  make[2]: Leaving directory `/usr/src/modules/sl-modem/modem'               
  make[1]: [clean] Error 2 (ignored)                                         
  dh_clean                                                                   
  /usr/bin/make -C drivers clean                                             
  make[2]: Entering directory `/usr/src/modules/sl-modem/drivers'             
  rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o               
  amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~                                 
  rm -f -r .tmp_versions                                                     
  make[2]: Leaving directory `/usr/src/modules/sl-modem/drivers'             
  for templ in                                                               
  /usr/src/modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst         
  /usr/src/modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst.backup   
  /usr/src/modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst.module   
  s.in; do \                                                                 
 cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.20-16-generic/g'` ; \   
    done                                                                     
  for templ in `ls debian/*.modules.in` ; do \                               
      test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}         
  ${templ%.modules.in}.backup 2>/dev/null || true; \                         
      sed -e 's/##KVERS##/2.6.20-16-generic/g                                 
  ;s/#KVERS#/2.6.20-16-generic/g ; s/_KVERS_/2.6.20-16-generic/g ;           
  s/##KDREV##/2.6.20-16.32/g ; s/#KDREV#/2.6.20-16.32/g ;                     
  s/_KDREV_/2.6.20-16.32/g  ' < $templ > ${templ%.modules.in}; \             
    done                                                                     
  dh_clean -k                                                                 
  dh_installdirs lib/modules/2.6.20-16-generic/misc usr/lib/sl-modem         
  if ! test -e drivers/Makefile ; then echo "Please update the package,     
  extract the tarball!"; exit 1 ; fi                                         
  /usr/bin/make -C drivers KERNEL_DIR=/lib/modules/2.6.20-16-generic/build   
                                                                               
KVERS=2.6.20-16-generic                                                   
  make[2]: Entering directory `/usr/src/modules/sl-modem/drivers'             
  gcc-4.1 -I/lib/modules/2.6.20-16-generic/build/include -o kernel-ver       
  kernel-ver.c                                                               
  kernel-ver.c:6:19: error: stdio.h: No such file or directory               
  kernel-ver.c: In function ‘main’:                                         
  kernel-ver.c:11: warning: incompatible implicit declaration of built-in     
  function ‘printf’                                                         
  kernel-ver.c:11: error: ‘UTS_RELEASE’ undeclared (first use in this         
  function)                                                                 
  kernel-ver.c:11: error: (Each undeclared identifier is reported only once   
  kernel-ver.c:11: error: for each function it appears in.)                 
  make[2]: *** [kernel-ver] Error 1                                         
  make[2]: Leaving directory `/usr/src/modules/sl-modem/drivers'             
   make[1]: *** [binary-modules] Error 2                                     
  make[1]: Leaving directory `/usr/src/modules/sl-modem'                     
  make: *** [kdist_build] Error 2                                                                         

وقتی هم توی فولدر
sl-modem_2.9.9+e-pre2.orig.tar.gz
میرم و دستور
Make
رو میزنم این خطارو میده:

make -C modem all
make[1]: Entering directory `/home/barbati/Desktop/slmodem/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
modem_main.c:45:20: error: unistd.h: No such file or directory
modem_main.c:46:20: error: stdlib.h: No such file or directory
modem_main.c:47:19: error: stdio.h: No such file or directory
modem_main.c:48:20: error: string.h: No such file or directory
modem_main.c:49:19: error: errno.h: No such file or directory
modem_main.c:50:21: error: termios.h: No such file or directory
modem_main.c:51:19: error: fcntl.h: No such file or directory
modem_main.c:52:23: error: sys/types.h: No such file or directory
modem_main.c:53:22: error: sys/stat.h: No such file or directory
modem_main.c:54:23: error: sys/ioctl.h: No such file or directory
modem_main.c:55:22: error: sys/mman.h: No such file or directory
modem_main.c:56:19: error: sched.h: No such file or directory
modem_main.c:57:20: error: signal.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from modem_main.c:58:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
modem_main.c:59:17: error: grp.h: No such file or directory
In file included from ./modem.h:49,
                 from modem_main.c:70:
./modem_defs.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u8’
./modem_defs.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u16’
./modem_defs.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u32’
./modem_defs.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s8’
./modem_defs.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s16’
./modem_defs.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s32’
In file included from ./modem.h:50,
                 from modem_main.c:70:
./modem_homolog.h:53: error: expected specifier-qualifier-list before ‘u8’
./modem_homolog.h:103: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘id’
In file included from ./modem.h:51,
                 from modem_main.c:70:
./modem_dp.h:82: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem_dp.h:83: error: expected declaration specifiers or ‘...’ before ‘u8’
In file included from modem_main.c:70:
./modem.h:136: error: expected specifier-qualifier-list before ‘u16’
./modem.h:172: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:173: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:189: error: expected specifier-qualifier-list before ‘u16’
./modem.h:217: error: expected specifier-qualifier-list before ‘u8’
./modem.h:261: error: field ‘termios’ has incomplete type
./modem.h:314: error: expected specifier-qualifier-list before ‘u8’
./modem.h:335: error: expected specifier-qualifier-list before ‘u32’
./modem.h:337: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:338: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:349: error: expected specifier-qualifier-list before ‘u8’
./modem.h:366: error: expected specifier-qualifier-list before ‘u8’
./modem.h:431: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:432: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:434: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:435: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:437: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:438: error: expected declaration specifiers or ‘...’ before ‘u8’
modem_main.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘modem_perm’
modem_main.c: In function ‘modemap_start’:
modem_main.c:553: warning: implicit declaration of function ‘ioctl’
modem_main.c:557: warning: implicit declaration of function ‘memset’
modem_main.c:557: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:558: warning: implicit declaration of function ‘write’
modem_main.c: In function ‘mdm_device_read’:
modem_main.c:600: warning: implicit declaration of function ‘read’
modem_main.c: In function ‘mdm_device_setup’:
modem_main.c:614: error: storage size of ‘stbuf’ isn’t known
modem_main.c:616: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:617: warning: implicit declaration of function ‘stat’
modem_main.c:619: warning: implicit declaration of function ‘fprintf’
modem_main.c:619: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:619: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:619: error: (Each undeclared identifier is reported only once
modem_main.c:619: error: for each function it appears in.)
modem_main.c:619: warning: implicit declaration of function ‘strerror’
modem_main.c:619: error: ‘errno’ undeclared (first use in this function)
modem_main.c:619: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:622: warning: implicit declaration of function ‘S_ISCHR’
modem_main.c:623: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:627: warning: implicit declaration of function ‘open’
modem_main.c:627: error: ‘O_RDWR’ undeclared (first use in this function)
modem_main.c:629: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:629: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:633: warning: implicit declaration of function ‘minor’
modem_main.c:614: warning: unused variable ‘stbuf’
modem_main.c: In function ‘mdm_device_release’:
modem_main.c:639: warning: implicit declaration of function ‘close’
modem_main.c: At top level:
modem_main.c:649: error: ‘PATH_MAX’ undeclared here (not in a function)
modem_main.c: In function ‘create_pty’:
modem_main.c:653: error: storage size of ‘termios’ isn’t known
modem_main.c:660: warning: implicit declaration of function ‘getpt’
modem_main.c:661: warning: implicit declaration of function ‘grantpt’
modem_main.c:661: warning: implicit declaration of function ‘unlockpt’
modem_main.c:662: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:662: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:662: error: ‘errno’ undeclared (first use in this function)
modem_main.c:662: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:670: warning: implicit declaration of function ‘tcgetattr’
modem_main.c:672: warning: implicit declaration of function ‘cfmakeraw’
modem_main.c:673: warning: implicit declaration of function ‘cfsetispeed’
modem_main.c:673: error: ‘B115200’ undeclared (first use in this function)
modem_main.c:674: warning: implicit declaration of function ‘cfsetospeed’
modem_main.c:677: warning: implicit declaration of function ‘tcsetattr’
modem_main.c:677: error: ‘TCSANOW’ undeclared (first use in this function)
modem_main.c:679: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:679: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:683: warning: implicit declaration of function ‘fcntl’
modem_main.c:683: error: ‘F_SETFL’ undeclared (first use in this function)
modem_main.c:683: error: ‘O_NONBLOCK’ undeclared (first use in this function)
modem_main.c:685: warning: implicit declaration of function ‘ptsname’
modem_main.c:685: warning: assignment makes pointer from integer without a cast
modem_main.c:693: warning: implicit declaration of function ‘getgrnam’
modem_main.c:693: warning: initialization makes pointer from integer without a cast
modem_main.c:695: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:695: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:699: warning: implicit declaration of function ‘chown’
modem_main.c:699: error: dereferencing pointer to incomplete type
modem_main.c:701: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:701: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:707: warning: implicit declaration of function ‘chmod’
modem_main.c:707: error: ‘modem_perm’ undeclared (first use in this function)
modem_main.c:709: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:709: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:714: warning: implicit declaration of function ‘unlink’
modem_main.c:715: warning: implicit declaration of function ‘symlink’
modem_main.c:716: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:716: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:721: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:653: warning: unused variable ‘termios’
modem_main.c: At top level:
modem_main.c:741: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘keep_running’
modem_main.c: In function ‘mark_termination’:
modem_main.c:746: error: ‘keep_running’ undeclared (first use in this function)
modem_main.c: In function ‘modem_run’:
modem_main.c:752: error: storage size of ‘tmo’ isn’t known
modem_main.c:753: error: ‘fd_set’ undeclared (first use in this function)
modem_main.c:753: error: expected ‘;’ before ‘rset’
modem_main.c:754: error: storage size of ‘termios’ isn’t known
modem_main.c:760: error: ‘keep_running’ undeclared (first use in this function)
modem_main.c:767: warning: implicit declaration of function ‘FD_ZERO’
modem_main.c:767: error: ‘rset’ undeclared (first use in this function)
modem_main.c:768: error: ‘eset’ undeclared (first use in this function)
modem_main.c:770: warning: implicit declaration of function ‘FD_SET’
modem_main.c:784: warning: implicit declaration of function ‘select’
modem_main.c:784: error: ‘NULL’ undeclared (first use in this function)
modem_main.c:787: error: ‘errno’ undeclared (first use in this function)
modem_main.c:787: error: ‘EINTR’ undeclared (first use in this function)
modem_main.c:789: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:789: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:789: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:796: warning: implicit declaration of function ‘FD_ISSET’
modem_main.c:807: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:807: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:817: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:817: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:842: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:842: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:851: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:854: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:854: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:858: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:869: warning: implicit declaration of function ‘memcmp’
modem_main.c:881: error: ‘EAGAIN’ undeclared (first use in this function)
modem_main.c:885: error: ‘EIO’ undeclared (first use in this function)
modem_main.c:888: error: ‘HUPCL’ undeclared (first use in this function)
modem_main.c:893: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:905: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:905: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:914: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:754: warning: unused variable ‘termios’
modem_main.c:752: warning: unused variable ‘tmo’
modem_main.c: In function ‘modem_main’:
modem_main.c:932: warning: implicit declaration of function ‘basename’
modem_main.c:932: warning: passing argument 1 of ‘modem_debug_init’ makes pointer from integer without a cast
modem_main.c:936: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:936: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:937: warning: implicit declaration of function ‘exit’
modem_main.c:937: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:945: warning: implicit declaration of function ‘sprintf’
modem_main.c:945: warning: incompatible implicit declaration of built-in function ‘sprintf’
modem_main.c:947: warning: passing argument 2 of ‘modem_create’ makes pointer from integer without a cast
modem_main.c:948: warning: assignment makes pointer from integer without a cast
modem_main.c:954: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:955: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:958: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:961: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:965: error: storage size of ‘prm’ isn’t known
modem_main.c:966: warning: implicit declaration of function ‘mlockall’
modem_main.c:966: error: ‘MCL_CURRENT’ undeclared (first use in this function)
modem_main.c:966: error: ‘MCL_FUTURE’ undeclared (first use in this function)
modem_main.c:967: error: ‘errno’ undeclared (first use in this function)
modem_main.c:967: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:969: warning: implicit declaration of function ‘sched_get_priority_max’
modem_main.c:969: error: ‘SCHED_FIFO’ undeclared (first use in this function)
modem_main.c:970: warning: implicit declaration of function ‘sched_setscheduler’
modem_main.c:971: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:965: warning: unused variable ‘prm’
modem_main.c:976: warning: implicit declaration of function ‘signal’
modem_main.c:976: error: ‘SIGINT’ undeclared (first use in this function)
modem_main.c:977: error: ‘SIGTERM’ undeclared (first use in this function)
modem_main.c:990: warning: implicit declaration of function ‘usleep’
modem_main.c:1003: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:926: warning: unused variable ‘path_name’
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/home/barbati/Desktop/slmodem/modem'
make: *** [modem] Error 2
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 23 مهر 1386، 08:34 ب‌ظ
دکتر جان الان رفتم یکبار دیگه اون فایل modemdata.txt شما رو خوندم. یه کاری کن! اگه مودمت ALSA رو ساپورت کنه که دیگه لازم نیست این همه دردسر بکشی. راحت نصب می شه. اول این رو تست کن که خیالمون راحت بشه که رومی روم یا زنگی زنگ ؟! ;)
اول اون سری کارهایی که برای restore کردن پکیج ها گفتم رو انجام بدین و بعدش بزنید:
sudo apt-get install sl-modem-daemonببینید چی میشه. بعدش که این دستور رو اجرا کردین. دستور زیر رو هم اجرا کنید:
sudo wvdialconf

و خروجی ها رو برامون بزارید.
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 23 مهر 1386، 09:11 ب‌ظ
barbati@IQ:/media/cdrom0$ sudo apt-get install sl-modem-daemon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libflac++5c2 mysql-common linux-libc-dev libmysqlclient15off libgsm1
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  sl-modem-daemon
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/510kB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 113907 files and directories currently installed.)
Preparing to replace sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5build1 (using .../sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu1_i386.deb) ...
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
Unpacking replacement sl-modem-daemon ...
Setting up sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu1) ...
Allowing use of questionable username.
The user `Slmodemd' already exists as a system user. Exiting.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.


barbati@IQ:/media/cdrom0$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 23 مهر 1386، 11:40 ب‌ظ
دستور های زیر رو اجرا کن که خیالمون از بابت ALSA راحت بشه:
sudo /etc/init.d/sl-modem-daemon restart
و بعد
sudo wvdialconf
خروجی هم بزار همین جا
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 24 مهر 1386، 12:23 ق‌ظ
barbati@IQ:~$ sudo /etc/init.d/sl-modem-daemon restart
Password:
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.
barbati@IQ:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.
barbati@IQ:~$

عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 24 مهر 1386، 03:28 ب‌ظ
خب قطعاً مودم شما رو ALSA پشتیبانی نمی کنه و لازم هست که درایور مودمتون رو خودتون کامپایل کنید. قبل از اینکه بخواهید کامپایل کردن رو شروع کنید لازم هست که یک سری بسته را نصب کنید. اول دستور زیر رو اجرا کنید:
sudo apt-get install build-essential linux-headers-$(uname -r)
فایل های زیر رو دانلود کنید و ببرید تو اوبونتو و به ترتیب زیر نصبشون کنید:

http://ftp.interlegis.gov.br/pub/ubuntu/archive/pool/main/g/gcc-3.4/gcc-3.4-base_3.4.4-6ubuntu8_i386.deb
http://ftp.interlegis.gov.br/pub/ubuntu/archive/pool/main/g/gcc-3.4/cpp-3.4_3.4.4-6ubuntu8_i386.deb
http://ftp.interlegis.gov.br/pub/ubuntu/archive/pool/main/g/gcc-3.4/gcc-3.4_3.4.4-6ubuntu8_i386.deb
http://ftp.interlegis.gov.br/pub/ubuntu/archive/pool/main/g/gcc-3.4/g++-3.4_3.4.4-6ubuntu8_i386.deb

sudo dpkg -i gcc-3.4-base_3.4.4-6ubuntu8_i386.deb
 sudo dpkg -i cpp-3.4_3.4.4-6ubuntu8_i386.deb
 sudo dpkg -i gcc-3.4_3.4.4-6ubuntu8_i386.deb
 sudo dpkg -i g++-3.4-3.4.4-6ubuntu8_i386.deb

(شاید شما ورژن های بالاتر gcc3.4 رو داشته باشید ولی برای کامپایل کردن درایور smartlink نیاز به این ورژن از gcc دارین)
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 29 مهر 1386، 12:02 ق‌ظ
سلام
من خودم شمال بودم ;)
الان که زدم هیچ اروری نداد.الان باید چیکار کنم بعدش؟
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: سید مهدی در 29 مهر 1386، 12:52 ق‌ظ
خب به سلامتی  Grin
حالا دستور های زیر رو اجرا کنید:

sudo module-assistant auto-install sl-modem

و بعد:


sudo depmod -a

بعدش:


sudo modprobe slamr

و


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

بعدش خروجی دستور زیر رو ببین چیه


sudo wvdialconf
عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 29 مهر 1386، 12:57 ق‌ظ
 Installation of the sl-modem-source source failed.                 ↑                                           
                                           │                                                                    ▮                                           
                                           │ Ignoring this package. Maybe you need to add something to          ▒                                           
                                           │ sources.list, maybe the contrib and non-free archives.             ▒                                           
                                           │                                                             





barbati@IQ:~$ sudo module-assistant auto-install sl-modem
Password:

Updated infos about 1 packages
Getting source for kernel version: 2.6.20-15-generic
Kernel headers available in /lib/modules/2.6.20-15-generic/build
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Done!
download
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  kernel-package
The following NEW packages will be installed:
  sl-modem-source
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 218kB of archives.
After unpacking 274kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  sl-modem-source
Err http://archive.ubuntu.com feisty/multiverse sl-modem-source 2.9.10+2.9.9d+e-pre2-5ubuntu1
  Could not resolve 'archive.ubuntu.com'
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sl-modem/sl-modem-source_2.9.10+2.9.9d+e-pre2-5ubuntu1_i386.deb  Could not resolve 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Updated infos about 1 packages
barbati@IQ:~$ sudo depmod -a
barbati@IQ:~$ sudo modprobe slamr
FATAL: Module slamr not found.
barbati@IQ:~$

عنوان: پاسخ به: نصب مودم
ارسال شده توسط: dr_khafan در 29 مهر 1386، 01:15 ق‌ظ
فایل sl-modem-source_2.9.10+2.9.9d+e-pre2-5ubuntu1_i386.deb رو  نصب کردم حالا این بیغامو داد:
 Build of the package sl-modem-source failed! How do you       │                                             
                                              │ wish to proceed?                                              │                                             
                                              │                                                               │                                             
                                              │       VIEW     Examine the build log file                     │                                             
                                              │       CONTINUE Skip and continue with the next operation      │                                             
                                              │       STOP     Stop processing the build commands             │                                             
                                              │                                                               │                                             
                                              │                                                               │                                             
                                              │                                                               │                                             
                                              │                                                               │                                             
                                              │                <Ok>                    <Cancel>               │                                             
                                              │                                                               │                                             
                                              └─────────────
barbati@IQ:~$ sudo module-assistant auto-install sl-modem
Password:

Updated infos about 1 packages
Getting source for kernel version: 2.6.20-15-generic
Kernel headers available in /lib/modules/2.6.20-15-generic/build
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Done!
unpack
Extracting the package tarball, /usr/src/sl-modem.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=2.6.20-15-generic KSRC=/lib/modules/2.6.20-15-generic/build KDREV=2.6.20-15.27 kdist_image
barbati@IQ:~$