LinuxSir.cn,穿越时空的Linuxsir!

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

怎么tp-link 5600内猫的安装驱动程序呀?

[复制链接]
发表于 2002-7-14 13:36:50 | 显示全部楼层 |阅读模式
我用的是redhat7.2,想安装内猫的驱动程序,猫为tplink,而且有该猫的驱动程序*.zip,我把他在win98解压,有个slmdm-2.06-2i.src.rpm的文件,我把copy到a软驱,请问在linux怎么打开软驱和阿安装该文件.谢谢!
发表于 2002-7-14 13:50:29 | 显示全部楼层

Re:怎么tp-link内猫的安装驱动程序呀?

你先去找找有关安装的文档,一般那上面有详细的说明。
再有,请你最好把你modem的具体型号(蕊片)写清楚,还有这软件包的下载地址。这样有利于我们帮你解决问题。
还有,你下载的这个软件包是源代码包(后缀.src.rpm)你最好下载可以安装的程序包(后缀.i386.rpm或i486.rpm 等iX86.rpm的软件包。)不过你下载的这类软件包也是可以安装的,安装过程相对复杂(如果确实需要安装此包,请再跟贴)。
 楼主| 发表于 2002-7-14 18:30:48 | 显示全部楼层
我的tplink是im-ip5600上面写着软硬件都是smart link,软件版本v2.92 03A
另外,这个驱动程序是我从tp-link的网站上(http://www.tp-link.com.cn/download.htm)下载的,解压后的帮助文件,可能是繁体的,我的acrobat 只显示一部分英文如下:
5. Compile the driver, using the following command:
# rpm --rebuild slmdm-2.06-2i.src.rpm
This will create three files in the directory and build the modem drivers for this kernel.:
/usr/src/redhat/RPMS/i386 (observe the output, and look for the "Wrote: ..." line).
slmdm-2.06-2i.i386.rpm
slmdm-amr-2.06-2i.i386.rpm
slmdm-usb-2.06-2i.i386.rpm
Note: This process requires kernel headers to be present in the directory
'/usr/include/linux'
Redhat-7.1 doesn't build symbolic link /usr/src/linux, you have to install the kernel
source "kernel-source-2.4.2-2.i386.rpm" from the CD 2 by following command
# rpm -i kernel-source-2.4.2-2.i386.rpm
then, there are 2 options:
a. Create the symbolic link manually
(command: ln -s /usr/src/linux -2.4.2 /usr/src/linux).
b. Use environment variable 'KERNEL_INCLUDES'
(for versions before 2-03 'LINUXINC') to redefine kernel include directory
(command: 'export KERNEL_INCLUDES=/usr/src/linux-2.4/include').
6. Install the drivers, using the following command:
# rpm -i /usr/src/redhat/RPMS/i386/slmdm-2.06-2i.i386.rpm
Then select the corresponding device (PCI/AMR riser or USB) that you would like to
install.
For AMR/CNR/PCI/MDC/MiniPCI card, type
# rpm -i /usr/src/redhat/RPMS/i386/slmdm-amr-2.06-2i.i386.rpm
For USB modem, type
# rpm -i /usr/src/redhat/RPMS/i386/slmdm-usb-2.06-2i.i386.rpm
Do remember it allows installing only one device either AMR or USB at one time.
AMR driver is also suitable for CNR, PCI, ACR, MDC and MiniPCI devices
Note: During installation, you may see some "Unresolved symbols" warnings
of the files "airport.o", "cpia_pp.o" and "mpsuni_cs.o". These warnings are not
relative to the modem drivers and can be ignored. The modem will work correctly.
6. Configure the modem for the country you're in:
a). The default country setting is “USA”, you can change your modem country setting
by putting a line in /etc/modules.conf file:
For example, you are in Taiwan and you have to add this line in /etc/modules.conf
options slmdm country="TAIWAN"
b). You can check the Country setting in “minicom” and type ati7
Using the modem with applications
Use any modem application (such as 'minicom', 'pppd' or 'chat') as usual.
The modem has tested by us ing 'minicom' terminal emulation and 'kppp' Internet Dialer
program.
NOTE: The document ppp- howto.txt provides basic instructions of how to configure PPP.
The version of pppd must be 2.4.0 or higher.
Un-installation
To uninstall the modem, type
# rpm -e slmdm-amr (for AMR/PCI card installed)
or
# rpm -e slmdm-usb (for USB modem installed)
then type
# rpm -e slmdm
 楼主| 发表于 2002-7-14 18:53:52 | 显示全部楼层

顺便问一下

怎么在linux中打开软驱或者光盘中的文件?
发表于 2002-7-14 19:02:13 | 显示全部楼层
这个是针对2.4.1内核版本的。。。兄弟,内核是多少的。。。。可到/usr/src中看一个内核是多少的????

到/usr/src中看一下有除了redhat以外有什么目录。。。然后就发上来。不要少了小数点,或丢了什么字。大小写要分清。。
 楼主| 发表于 2002-7-14 19:06:16 | 显示全部楼层

内核是2.4.7

同上
发表于 2002-7-14 19:12:09 | 显示全部楼层
安装过程。。。。
在控制台下运行,以root身份。。软件包都拷到一个目录。然后
第一步
# rpm --rebuild slmdm-2.06-2i.src.rpm
# rpm -i kernel-source-2.4.2-2.i386.rpm
# ln -s /usr/src/linux -2.4.2 /usr/src/linux

[注意]在/usr/src/目录下,看有没有linux -2.4.2这个目录,如果是别的就得改一下目录。

第二步

# rpm -i /usr/src/redhat/RPMS/i386/slmdm-2.06-2i.i386.rpm
 楼主| 发表于 2002-7-14 19:15:52 | 显示全部楼层

怎么把软件包拷到一个目录呀?

我刚刚装,不懂linux的基本操作,谢谢
发表于 2002-7-14 19:29:34 | 显示全部楼层
这个比较简单,你不是把软件包放到软盘了吗。。。桌面不是有个软驱的图标吗。。你点一下,就能打开。然后就是复制和帖了。。。。。你可以在/root下建一个文件夹。。。然后就把那些文件都放到这个文件夹里。。。几乎和WINDOWS一样,没有什么特别的。。好好看一下就明白了。。
 楼主| 发表于 2002-7-15 00:29:59 | 显示全部楼层

我终于明白

不过阿按照帮助文件中所的去做,会出现一个错误,无法继续!
我今天晚上在我的机器上连续装了turbolinux ,bluepoint linux,然后redhat 7.1,以前在redhat7.2中我也试过点击访问软驱,但是不出现对话框,在mnt/floopy路径中居然显示0files,这次装了7.1 点击能访问到文件,不过只有在系统启动的第一次,以后如果再插入一张软盘的话就显示上一次访问的内容,refresh也没用.请问这是什么原因?
还有,我点击的时候会弹出至少2个窗体,这又是什么原因?
是我的redhat的问题吗,在7.2中我使用中文的话有些地方会出现????
非常感谢你的 回答!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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