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

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۵٫۰۴ اوبونتو منتشر شد 🎉

نویسنده موضوع: slmodem & ubuntu 6.06.1  (دفعات بازدید: 2629 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین nix

  • Newbie
  • *
  • ارسال: 1
slmodem & ubuntu 6.06.1
« : 04 شهریور 1386، 12:28 ق‌ظ »
سلام به جامعه ابونتو

ubuntu 6.06.1
modem :slmodem
package :slamr-2.6.17-10-generic.tar
بعد از  اجرای فایل نصب  . مودم شناخته شده و می توانم با سرعت خوب وصل بشوم اما با  راه اندازی مجدد ابونتو . پورت مورد نظر شناخته نمی شود
port : ttySL0

 مشکل اینجاست که این بسته فقط یک بار قابل اجراست و مودم را می شناسد و برای بار دوم بدون شناسایی مودم با پیام خطا متوقف میشود.
شما چه پیشنهادی دارید؟


error messages while 2nd time setup :

root@ubuntu:/home/nix/Desktop/slamr-2.6.17-10-generic# ls
1st_Read.txt     sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb
CountryList.txt  slusb.ko
setup            ungrab-winmodem.ko
slamr.ko         unloading
slmodemd         wvdial.txt
root@ubuntu:/home/nix/Desktop/slamr-2.6.17-10-generic# ./setup
When asked about your country, Enter:
        USA

Installing the Debian packages supporting autoloading
(Reading database ... 69983 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-5build1_i386.deb) ...
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... none found.
Unpacking replacement sl-modem-daemon ...
Setting up sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5build1) ...
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.15-26-386/extra/ungrab-winmodem.ko): Invalid module format
FATAL: Error inserting slamr (/lib/modules/2.6.15-26-386/extra/slamr.ko): Invalid module format
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.15-26-386/extra/ungrab-winmodem.ko): Invalid module format
FATAL: Error inserting slamr (/lib/modules/2.6.15-26-386/extra/slamr.ko): Invalid module format
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.


Copying over newer files
cp: cannot stat `sl-modem-daemon.modutils': No such file or directory
Making folder /lib/modules/2.6.15-26-386/extra
Copying drivers to /lib/modules/2.6.15-26-386/extra
Checking driver install
slamr.ko  slusb.ko  ungrab-winmodem.ko
Finished installs.
Informing the System

Starting function tests, loading drivers:
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.15-26-386/extra/ungrab-winmodem.ko): Invalid module format
FATAL: Error inserting ungrab_winmodem (/lib/modules/2.6.15-26-386/extra/ungrab-winmodem.ko): Invalid module format
FATAL: Error inserting slamr (/lib/modules/2.6.15-26-386/extra/slamr.ko): Invalid module format
Running diagnostic:

[17179589.600000] slamr: disagrees about version of symbol struct_module
[17179605.364000] slamr: disagrees about version of symbol struct_module
[17179605.376000] slamr: disagrees about version of symbol struct_module
[17179605.528000] slamr: disagrees about version of symbol struct_module
[17179790.392000] slamr: disagrees about version of symbol struct_module
[17179790.460000] slamr: disagrees about version of symbol struct_module
[17179790.568000] slamr: disagrees about version of symbol struct_module
[17179796.080000] slamr: disagrees about version of symbol struct_module

ports should be created by:
slmodemd -c USA /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': No such device or address
error: cannot setup device `/dev/slamr0'
Checking for success
Port creation with slmodemd failed.
Read the Slamr.txt record, other 1st_Read.txt CountryList.txt wvdial.txt files and the sample wvdial.conf.


ModemData :

--------------------------  System information ----------------------------
CPU=i686,  Ubuntu 6.06.1 LTS
Linux version 2.6.15-26-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006
 scanModem update of:  2007_August_04
The modem symbolic link is /dev/modem -> ttySL0

ALSAversion 1.0.10
USB modem not detected by lsusb

Modem or host audio card candidates have firmware information:

 PCI slot   PCI ID      SubsystemID   Name
 ----------   ---------   ---------   --------------
 0000:00:1f.6   8086:24c6   103c:0890   Modem: Intel Corporation 82801DB/DBL/DBM

 Modem interrupt assignment and sharing:
 11:        828          XT-PIC  Intel 82801DB-ICH4, eth0, Intel 82801DB-ICH4 Modem

 --- Bootup diagnostics for card in PCI slot 0000:00:1f.6 ----
[17179572.564000] ACPI: PCI Interrupt 0000:00:1f.6 -> Link [C0C2] -> GSI 11 (level, low) -> IRQ 11
[17179572.564000] ACPI: PCI interrupt for device 0000:00:1f.6 disabled
[17180325.244000] ACPI: PCI Interrupt 0000:00:1f.6 -> Link [C0C2] -> GSI 11 (level, low) -> IRQ 11
[17180325.244000] PCI: Setting latency timer of device 0000:00:1f.6 to 64

 The PCI slot 0000: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 Bootup.txt about possible fixes.
 Send dmesg.txt along with ModemData.txt to discuss@linmodems.org
 if help is needed.
 

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

CodecModemFile not found
 For candidate modem in PCI bus:  0000:00:1f.6
   Class 0703: 8086:24c6 Modem: Intel Corporation 82801DB/DBL/DBM
      Primary PCI_id  8086:24c6
    Subsystem PCI_id  103c:0890
    Softmodem codec or Vendor from diagnostics: SIL27, an AgereSystems type.
                              from    Archives:
                       

 This is a NEW softmodem case!  Please send the output ModemData.txt
 to DISCUSS@linmodems.org , even if further assistance is not needed.
 It will enrich the Archive and help others!
 -------------------------------------------
 Lacking a dsp (digital signal processing) chip, the modem is a software
 intensive or "softmodem" type. Its primary controller manages the traffic
 with the CPU. But the software needed is specified in the Subsystem.
 -----------------------------------------
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.0.tar.gz having a compiled slmodemd. Unpack under Linux with:
    $ tar zxf SLMODEMD.gcc4.0.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 Smartlink.txt and Modem/YourSystem.txt for follow through guidance.

 Already loaded into the kernel is snd-intel8x0m and audio drivers it depends on,
 displayed by:   lsmod | grep snd_intel8x0m
Module                  Size  Used by
-------------------------------------
snd_intel8x0m          17804  0
snd_ac97_codec         93088  2 snd_intel8x0m,snd_intel8x0
snd_pcm                89864  4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd                    55268  9 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         10632  3 snd_intel8x0m,snd_intel8x0,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-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

   /proc/asound/modules
-------------------------------
0 snd_intel8x0
1 snd_intel8x0m
   /proc/asound/card1/codec97#0/mc97#1-1+regs
-------------------------------
0:7c = 5349  and  0:7e = 4c27
which were translated from hexadecimal code into:  SIL27

   /proc/asound/card1/codec97#0/mc97#1-1
-------------------------------
Extended modem ID: codec=1 LIN1

and from the command:
   aplay -l | grep -i modem
card 1: Modem [Intel 82801DB-ICH4 Modem], device 0: Intel ICH - Modem [Intel 82801DB-ICH4 Modem - 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

 The kernel was compiled with gcc version 4.0.3 and a compiler is not installed


If compiling a modem driver proves to be necessary, one of the two procedures must be followed.
If not yet on the Internet, put the Dapper install CD in the drive
Open a terminal and therein:
$ sudo apt-get install  gcc-4.0  make
Additionally the package linux-headers-2.6.15-26-386 must be downloaded. 
Go to http://packages.ubuntu.com/  and search for linux-headers-2.6.15-26-386
After downloading, it can be installed with:
$ sudo dpkg -i linux-header*.deb

Or alternatively if online through Ethernet do:
$ sudo apt-get update
$ sudo apt-get install build-essential
will do all the necessary installations mentioned above.

In either installation case, set a symbolic link which will be expected later:
$ sudo ln -s /usr/bin/gcc-4.0  /usr/bin/gcc
After check with:
$ ls -l /usr/bin/gcc*
which should display:
lrwxrwxrwx 1 root root    16 2006-07-09 21:53 /usr/bin/gcc -> /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 93584 2006-04-20 18:22 /usr/bin/gcc-4.0
-rwxr-xr-x 1 root root 16245 2006-04-20 18:13 /usr/bin/gccbug-4.0

 Kernel-header resources needed for compiling are not manifestly ready!

 If compiling is necessary packages must be installed, providing:
   gcc-4.0 make linux-headers-2.6.15-26-386


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++ g++-4.1 gettext git-core gitk
 html2text intltool-debian kernel-package kernel-wedge libc6-dev
 libcurl3-gnutls libdigest-sha1-perl liberror-perl libstdc++6-4.1-dev
 linux-libc-dev po-debconf rcs tcl8.4 tk8.4


Checking pppd properties:
   -rwsr-xr-- 1 root dip 257720 2006-07-05 16:30 /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
auth
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.
==========================================================

# start/stop the daemon when the USB modem is connected
KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
 Checking for modem support lines:
 --------------------------------------
     /device/modem symbolic link:   lrwxrwxrwx 1 root root 6 2007-08-25 14:26 /dev/modem -> ttySL0
slmodemd created symbolic link /dev/ttySL0: 
     Within /etc/udev/ files:
/etc/udev/rules.d/60-symlinks.rules:# Create /dev/modem symlink
/etc/udev/rules.d/60-symlinks.rules:KERNEL=="ttyLTM[0-9]*",         SYMLINK+="modem"
/etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
/etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
/etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
     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
/etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ;  modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
     Within any ancient /etc/devfs files:

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

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




آفلاین Mehdi

  • ناظر ویژه انجمن
  • *
  • ارسال: 3284
  • جنسیت : پسر
    • هزاردستان
پاسخ به: slmodem & ubuntu 6.06.1
« پاسخ #1 : 04 شهریور 1386، 10:25 ق‌ظ »
اولا که بهتون توصیه میکنم نسخه جدید اوبونتو رو نصب کنید!
برای حل مشکلتون هم:
sudo modprobe slamr
dmesg | grep slamr
wget -c http://mirrors.kernel.org/ubuntu/pool/multiverse/s/sl-modem/sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb
sudo dpkg -i sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5build1_i386.deb
انجام بدید امیدوارم حل بشه :)
Of one Essence is the human race,
Thusly has Creation put the Base;
One Limb impacted is sufficient,
For all Others to feel the Mace.
~Saadi (persian poet) -1258
Hezardastan | Free As in Freedom

آفلاین SalarSoft

  • Jr. Member
  • *
  • ارسال: 40
پاسخ به: slmodem & ubuntu 6.06.1
« پاسخ #2 : 09 شهریور 1386، 09:07 ق‌ظ »
این مشکل به خاطر اینکه باید سرویس درایور این مودم همیشه اجرا باشه تا بتونبد به اینترنت وصل بشید.

درایورهای موجود در اینجا رو ه امتحان کنید:
http://phep2.technion.ac.il/linmodems/packages/smartlink/Ubuntu
دقیقا یادم نیست یکی از generic های موجود در اونجا این خاصیت رو داشت