LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2145|回复: 17

猫的驱动问题Smart Link

[复制链接]
发表于 2003-6-28 12:17:51 | 显示全部楼层 |阅读模式
请问:我的猫是内置tp-link的tm-ip5600.今天从tp-link网站下载了用于Red hat linux7.1,7.2,7.3(本人的系统是Red Hat linux 7.2)的驱动。然后在提示下安装,按照提示安装kernel-source,将下载文件
slmdm-2.6.16.tar.gz拷贝到/root目录下,运行命令#rpm -ta slmdm-2.6.16.tat.gz,可是shell回应此文件不存在,用绝对路径名依然如故,请问rpm -ta 是什么?
后续步骤如下:#cd /usr/src/redhat/RPM/i386(本人系统中/usr/src中无redhat目录),
#rpm -ivh slmdm-2.6.16-0.i386.rpm,  #rpm -ivh slmdm-amr-2.6.16.0.i386.rpm   ,  
#modprobe slamrmo
 楼主| 发表于 2003-6-28 15:17:12 | 显示全部楼层

为什么没人回答啊

请各位帮帮忙。帮我离开最后一点需要M$的地方,就是上网了
发表于 2003-6-28 17:37:52 | 显示全部楼层
把Readme帖上来看看
 楼主| 发表于 2003-6-28 18:52:27 | 显示全部楼层

贴上来了,请帮忙

Smart Link Ltd.
http://www.smlink.com
Apr 12, 2002


Smart Link Soft Modem for Linux
-------------------------------


Introduction
============

This is Smart Link Soft Modem for Linux version 2.6. It provides
full-featured 56K Voice Fax Modem.


Features
========

Modem: V.90, V.34, V.32bis, V.23, V.22, V.21, Bell 103/212.
Flow control: V.42, MNP 2-4.
Compression: V.44, V.42bis, MNP5.
Fax: Class 1.
Voice: ADPCM voice compression, Digital Answering Machine.


Requirements
============

CPU: Intel Pentiumi II, Celron. AMD K6, Cyrix 400MHz or higher.
Memory: 64MB (may work also with 32MB).
OS: Linux 2.4 series.


Supported Hardware
==================

HAMR5600 based AMR/CNR/MDC/ACR modem cards on the following Southbridge
chips:
- Intel ICH0, ICH2
- Via 686A, 686B, 8231, 8233
- SiS 961, 630
- ALI 1535.
SmartPCI56, SmartPCI561 based PCI modem cards.
SmartUSB56 based USB modem.


Installation
============

1. Unpack tar.gz package file:

        $ gzip -dc slmdm-2.6.X.tar.gz | tar xf -

2. 'cd' to package directory:

        $ cd slmdm-2.6.X

3. Review and edit (if need) 'Makefile'.

   Note: Probably you will want to correct in Makefile path to your
         local linux kernel header files:

                 KERNEL_INCLUDES=/path/to/linux/include

         Another way is to pass command line the parameter while
         running 'make':

                 $ make KERNEL_INCLUDES=/path/to/linux/include ...

4. Run 'make' command to compile package:

        $ make

5. Install.

   If you are going to use AMR/CNR/PCI modem type (as superuser):

        # make install-amr

   , or

        # make install-usb

   if you are going to use USB modem.

   It will install:
   - modem kernel modules slmdm.o (modem core), slfax.o (fax)
     into '/lib/modules/<kernel-version>/misc' directory
     (standard linux modules' directory).
   - hardware specific kernel module slamrmo.o (for AMR/CNR/PCI) or
     slusb.o (for USB) into '/lib/modules/<kernel-version>/misc'
     directory (standard linux modules' directory).
   - country settings data file 'country.dat' into directory '/etc'.

   Also it will:
   - create character tty device entry '/dev/ttySL0' with major
     number 212 and symbolic link 'dev/modem'.
   - config you '/etc/modules.conf' file in order to provide
     possibility for loading the modem modules into kernel on demand
     automatically by kmod, when you are going to use them.

   Note: currently you cannot use both AMR/CNR/PCI and USB Modems.

6. Config modem country.

   You can configure you current country by using module parameters
   'country' or 'country_code'.
   Add 'options' directive line to file '/etc/modules.conf':

        options slmdm country=<MyCountry>

   , for example

        options slmdm country=USA

   , or use module parameter while module loading:

        # modprobe slmdm country=<MyCountry>

   Use 'slver -c' to see list of all supported countries and their
   codes (utility 'slver' may be found in package directory).

   Note: Command ATI7 shows installed country setting.

7. Using the modem.

   Installation will automatically create character tty device entry
   '/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'.
   Use one of them as modem device for your dialing application.

8. Uninstallation.

   In package directory just type:

        # make uninstall


Using RPM
=========

1. Build SRPM and RPM from tar.gz package:

   In order to build RPM and SRPM run command:

        # rpm -ta slmdm-2.6.X.tar.gz

   It will build in your RPM directory:
   - slmdm-2.6.X-Y.src.rpm       - Source SRPM package
   - slmdm-2.6.X-Y.i386.rpm      - Core Modem RPM package
   - slmdm-amr-2.6.X-Y.i386.rpm  - AMR/CNR/PCI Modem driver
   - slmdm-usb-2.6.X-Y.i386.rpm  - USB Modem driver

2. Install

   To install Modem core package run:

        # rpm -i /path/to/slmdm-2.6.X-Y.i386.rpm

   To install Modem hw driver run:

        # rpm -i /path/to/slmdm-amr-2.6.X-Y.i386.rpm

   if you are going to use AMR/CNR/PCI Modem, or

        # rpm -i /path/to/slmdm-usb-2.6.X-Y.i386.rpm

   if you are going to use SmartUSB56 Modem.

   Note: currently you cannot install and use both AMR/CNR/PCI and USB Modems.

3. Uninstall.

        # rpm -e slmdm slmdm-<amr|usb>


Getting Started
===============

After successful installation and configuration modules will be loaded on
demand if you are using 'kmod' in linux kernel.

Also you can load modules by hand:

        # modprobe slamrmo

if you are using AMR/CNR/PCI modem, or

        # modprobe slusb

if you are using SmartUSB56 Modem.


Troubleshooting
===============

If you get an error message during installation/configuration or loading
the modules like 'slmdm.o: unresolve symbols ...' it may mean that
package was prepared for different linux kernel version that you have.
Run command 'slver -k' (may be found in package directory) to see what
version of linux kernel was used for preparing package.

Unfortunately it is no so flexible currently (we are working about it) to
support all versions of linux kernel. So try to obtain appropriate release
of the modem package or upgrade kernel.

Please report the problem to your modem provider or to us
(support@smlink.com).


Customization
=============

Look at 'editme.c' file in package directory.


Feedback
========

Please send any feedbacks to Smart Link. See the Smart Link
web site for contact information (www.smlink.com) or to
support@smlink.com.
 楼主| 发表于 2003-6-28 18:53:45 | 显示全部楼层
我想用rpm可以吗
发表于 2003-6-28 19:17:26 | 显示全部楼层
看过Readme后,觉得和这一帖很相似:
http://www.linuxsir.cn/forum.php?mod=viewthread&tid=34482

rpm -ta是将tar.gz包编成RPM
有没有误操作?比如打错字
 楼主| 发表于 2003-6-28 20:04:18 | 显示全部楼层
我是了好几遍都是:no such file or directory
发表于 2003-6-28 20:37:47 | 显示全部楼层
刚才自己试了一下RPM Building,没有什么问题

如果还是不行,建议就用tar.gz包编译安装
 楼主| 发表于 2003-6-28 21:37:24 | 显示全部楼层

成功了

感谢dragonnapalm,按照你贴上来的,我成功编译安装了modem

在gnome下配置拨号程序,请问在prefix,area code 分别该怎么填
填了好几次都拨不通
发表于 2003-6-28 21:42:36 | 显示全部楼层
用驱动包解压后的路径中的命令slver -c看看相应的国家代码然后在/etc/modules.conf中加入:
options slmdm country=<MyCountry>

用pppd拨号应该就行了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表