LinuxSir.cn,穿越时空的Linuxsir!

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

一个关于MODEM驱动安装的问题!

[复制链接]
发表于 2002-7-16 11:03:54 | 显示全部楼层 |阅读模式
各位高手:我在安装MODEM的驱动时,系统老是出现这句话:‘configure:error:modversions.h is missing-you should configure your kernel',那我改怎么办。
我的驱动是前几天从
http://linmodems.technion.ac.il/
这个网站下载的。我的MODEM是PCTEL的HSP的软猫,我是按照它里面的安装方法安装的。请各位把具体的步骤写清楚些,因为我对LINUX实在不懂,谢谢!!!
LINMODEMS.TECHNION.AC.IL
linmodems.technion.ac.il
 楼主| 发表于 2002-7-17 06:41:01 | 显示全部楼层
怎么没人理我呀,难道我的问题很难吗?快回复呀!
发表于 2002-7-17 08:50:20 | 显示全部楼层

你好!

首先请你把你modem蕊片的型号(你可以打开机箱看那上面的文字),你驱动的下载地址贴上来。还有你linux的版本、内核的版本等。这些信息很重要,有利于我们帮你解决问题。
再有,你可以先看看驱动程序里的readme 文件,一般里面有详细的安装使用说明。
 楼主| 发表于 2002-7-18 11:53:04 | 显示全部楼层
我的MODEM是PCTEL的HSP芯片组的,系统是RED HAT7.2的,谢谢!!!
发表于 2002-7-18 14:10:03 | 显示全部楼层
兄弟,先把README或INSTALL的说明文件发上来,让弟兄们看一看。
 楼主| 发表于 2002-7-20 18:33:14 | 显示全部楼层
版主啊,请问是MODEM的README呢,还是RED HAT的?
发表于 2002-7-20 18:50:10 | 显示全部楼层
modem的README。。 就是下载的那个驱动程序里面有README以及INSTALL。。把这两个说明文件发上来。。
多谢!!
 楼主| 发表于 2002-7-22 14:20:45 | 显示全部楼层
PCTEL Linux PCI driver, version 0.9.2
        -------------------------------------


Description
-----------
This package contains the PCTEL driver for various PCTEL modems for linux.
It should run on different kernel-versions and distributions.


Installation
------------
For installation, read INSTALL.
If your installation was succesfull, I would very much like to hear from you.
Please send me:
* kernel version (uname -r)
* distribution (if any)
* modem / chipset / hal


Questions, Infos
----------------
* First of all, please read the FAQ. Please read also the FAQ at
http://sayamindu.topcities.com/pctel.html

* If you have any questions, please ask the linmodems mailing
list. More information about this list: http://www.linmodems.org

If you send questions to me, do not expect an answer. The fastest way is
really to ask on the linmodems mailing list.

Please send the output of the command that did
not work! Do not just describe your problem, copy & paste the output of
your console.
output of the following commands can be helpful:

$ configure
$ make clean
$ make
$ make install
$ insmod pctel
$ insmod ptserial
$ tail /var/log/messages
$ uname -a

Again: do not just write "it did not work", otherwise, we might be unable to help
you and your email will be ignored.


TODO: Give a list of working modems / distros / kernel-versions

---
Jan Stifter, 2002-04-15
j.stifter@[no-spam]medres.ch
http://www.medres.ch/~jstifter/pctel/index.html
这是readme的内容,下面是install的内容:
      PCTEL Linux PCI driver, version 0.9.2
      -------------------------------------

Description
-----------
This package contains the PCTEL driver for various PCTEL modems for linux.
It is meant for kernel 2.4.x, up to 2.4.18 so far.

Installation
------------
0) Unpack the tarball by typing "tar zxvf pctel-0.9.2.tar.gz"

1) Go into that directory by typing "cd pctel-0.9.2"

2) Find out what chipset you have in your board:

3) ./configure
Options:

--with-hal=hal
Select one of: pct789, cm8738, i810, sis, via686a

--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
your includes

4) Compile the modules by typing "make"

5) If everything went fine, get root by typing "su"

7) Install the drivers by typing "make install"

8) You are now ready to use your modules.
  Type "insmod pctel" and "insmod ptserial".

You should see in your logs ("tail /var/log/messages") something like:
May 16 23:28:17 suba kernel: PCTel initialization. Country code is 2.
May 16 23:28:17 suba kernel: PCTel device[00:11.0](0x88) found "CTel Inc HSP MicroModem 56 (rev 01)" IOBASE 0xe800 IRQ 9.
May 16 23:28:17 suba kernel: PCTel driver version 0.9.2 [5.05c-4.27.215 (09-14-2001)]] (PCT789) (2001-08-18) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
May 16 23:28:17 suba kernel: PCTel driver built on [Linux 2.4.8 i686 unknown] with [2.95.3].
May 16 23:28:17 suba kernel: ttyS15 at 0xe800 (irq = 9) is a PCtel

Notes:
You can always uninstall the modules by typing "make uninstall". If you
need to recompile the modules, "make clean" and "make" are your friends.

Questions, Infos, Support
-------------------------
see README



---
Jan Stifter, 2002-03-04
j.stifter@[no-spam]medres.ch
http://www.medres.ch/~jstifter/pctel/

2001-08-05: Updated for Linux 2.4.7.
- Daniel Caujolle-Bert <segfault@club-internet.fr>

2001-08-08: Some bugs fixes/cleanups.
- Daniel Caujolle-Bert <segfault@club-internet.fr>

2001-10-29: some fixes/cleanups.
- JS
发表于 2002-7-22 14:47:36 | 显示全部楼层
#./configure
#make
#make install
#insmod pctel
#insmod ptserial
如果configure不成功,要仔细研究这一步吧。因为弟兄们用的猫和你的不一样,或者大多数都用宽带上网。所以问题还得兄弟自己多多实践。
3) ./configure
Options:

--with-hal=hal
Select one of: pct789, cm8738, i810, sis, via686a

--with-kernel-includes=/path/to/my/kernel-sources/include
If you don't have your kernel sources at /usr/src/linux, specifiy
your includes
发表于 2002-7-22 23:09:57 | 显示全部楼层

你还是在那个网站上下载个rpm包

也就是后缀名为rpm等文件
可以用这个连接
http://www.mbsi.ca/cnxtlindrv/hsf/downloads.html
这是我在你给等连接中找的!
你可以这样判断你要下载的邦本
在控制台下运行
arch
这个命令,就会出现 i386,i486,i586 等类似的字样,
再在控制台下运行
uname -r
这个命令,就会出现你的内核的版本,
你就安这两个命令显示的来下载软件包!
看你的贴子说是redhat 7.2的版本,你可以到这三个连接看看:
http://www.mbsi.ca/cnxtlindrv/hsf/downloads-rh-i386.html
http://www.mbsi.ca/cnxtlindrv/hsf/downloads-rh-i586.html
http://www.mbsi.ca/cnxtlindrv/hsf/downloads-rh-i686.html

分清楚版本再下载,这个安装的过程我就不说了,论坛上有很多这样的贴子,
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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