LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: zwx

在Red hat Linux7.3中怎样按装CONEXANT芯片的内置猫

[复制链接]
 楼主| 发表于 2002-10-20 20:42:45 | 显示全部楼层
hcfpcimodem-0.98mbsibeta02101002.tar.gz 包应该放在那个目录下才能执行你说说的程序:

#tar zxvf hcfpcimodem-0.98mbsibeta02101002.tar.gz
#cd hcfpcimodem-0.98mbsibeta02101002
#make install
#hcfpciconfig
发表于 2002-10-20 21:09:15 | 显示全部楼层
放在哪个都和,试一下就知道了。。。
比如把tar.gz放到/root下执行。。
 楼主| 发表于 2002-10-20 23:08:10 | 显示全部楼层
root@localhost root]# tar zxvf hcfpcimodem-0.98mbsibeta02101002
tar (child): hcfpcimodem-0.98mbsibeta02101002: Cannot read: Is a directory
tar (child): At beginning of tape, quitting now
tar (child): Error is not recoverable: exiting now

gzip: stdin: unexpected end of file
tar: Child returned status 2
tar: Error exit delayed from previous errors
[root@localhost root]# tar
tar: You must specify one of the `-Acdtrux' options
Try `tar --help' for more information.
[root@localhost root]# tar zxvf hcfpcimodem-0.98mbsibeta02101002.tar.gz
hcfpcimodem-0.98mbsibeta02101002/
hcfpcimodem-0.98mbsibeta02101002/scripts/
hcfpcimodem-0.98mbsibeta02101002/scripts/makefile
hcfpcimodem-0.98mbsibeta02101002/scripts/hcfconfig.in
hcfpcimodem-0.98mbsibeta02101002/scripts/hcfstop.in
hcfpcimodem-0.98mbsibeta02101002/inf/
hcfpcimodem-0.98mbsibeta02101002/inf/hcfv90_linux.inf
hcfpcimodem-0.98mbsibeta02101002/inf/makefile
hcfpcimodem-0.98mbsibeta02101002/inf/hcfv90_lan_linux.inf
hcfpcimodem-0.98mbsibeta02101002/inf/hcf_linux.cty
hcfpcimodem-0.98mbsibeta02101002/inf/hcfv92_riptide_linux.inf
hcfpcimodem-0.98mbsibeta02101002/inf/hcfv92_linux.inf
hcfpcimodem-0.98mbsibeta02101002/packages/
hcfpcimodem-0.98mbsibeta02101002/modules/
hcfpcimodem-0.98mbsibeta02101002/modules/binaries/
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/osuniqredef.h
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/oscompat.h
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/osstdio.h
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/osresour_ex.h
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/ostypedefs.h
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/oslinux.h
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osnvm.c
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osservices.c
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/makefile
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osresour.c
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osstring.c
hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osstdio.c
hcfpcimodem-0.98mbsibeta02101002/modules/common.mak
hcfpcimodem-0.98mbsibeta02101002/modules/makefile
hcfpcimodem-0.98mbsibeta02101002/modules/mod_osspec.c
hcfpcimodem-0.98mbsibeta02101002/modules/serial_hcf.c
hcfpcimodem-0.98mbsibeta02101002/modules/serial_core.h
hcfpcimodem-0.98mbsibeta02101002/modules/mod_engine.c
hcfpcimodem-0.98mbsibeta02101002/modules/COPYING
hcfpcimodem-0.98mbsibeta02101002/modules/serial_core.c
hcfpcimodem-0.98mbsibeta02101002/modules/kernelcompiler.sh
hcfpcimodem-0.98mbsibeta02101002/makefile
hcfpcimodem-0.98mbsibeta02101002/FAQ
hcfpcimodem-0.98mbsibeta02101002/BUGS
hcfpcimodem-0.98mbsibeta02101002/LICENSE
hcfpcimodem-0.98mbsibeta02101002/CREDITS
hcfpcimodem-0.98mbsibeta02101002/README
hcfpcimodem-0.98mbsibeta02101002/CHANGES
hcfpcimodem-0.98mbsibeta02101002/hcfmodem.spec.in
hcfpcimodem-0.98mbsibeta02101002/config.mak
hcfpcimodem-0.98mbsibeta02101002/INSTALL
hcfpcimodem-0.98mbsibeta02101002/imported/
hcfpcimodem-0.98mbsibeta02101002/imported/include/
hcfpcimodem-0.98mbsibeta02101002/imported/include/framewrk.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/comctrl_ex.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/comtypes.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/configtypes.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/configcodes.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/codesdeps.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/osservices.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/typedefs.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/osnvm.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/testdebug.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/osmemory.h
hcfpcimodem-0.98mbsibeta02101002/imported/include/ostime.h
hcfpcimodem-0.98mbsibeta02101002/imported/hcfengine-i386.O
hcfpcimodem-0.98mbsibeta02101002/imported/makeflags.mak
hcfpcimodem-0.98mbsibeta02101002/hcfpcimodem.spec
[root@localhost root]# cd hcfpcimodem-0.98mbsibeta02101002
[root@localhost hcfpcimodem-0.98mbsibeta02101002]# make install
make[1]: Entering directory `/root/hcfpcimodem-0.98mbsibeta02101002/inf'
install -m 644 hcf_linux.cty hcfv90_lan_linux.inf hcfv90_linux.inf hcfv92_linux.inf hcfv92_riptide_linux.inf /etc/hcfpci/inf
make[1]: Leaving directory `/root/hcfpcimodem-0.98mbsibeta02101002/inf'
make[1]: Entering directory `/root/hcfpcimodem-0.98mbsibeta02101002/scripts'
install -m 755 hcfpciconfig hcfpcistop /usr/sbin
make[1]: Leaving directory `/root/hcfpcimodem-0.98mbsibeta02101002/scripts'
make[1]: Entering directory `/root/hcfpcimodem-0.98mbsibeta02101002/modules'
common.mak:11: *** Is the kernel-source package installed? KERNELSRC does not point to a proper directory (/lib/modules/2.4.18-3/build).  Stop.
make[1]: Leaving directory `/root/hcfpcimodem-0.98mbsibeta02101002/modules'
make: *** [install] Error 2
[root@localhost hcfpcimodem-0.98mbsibeta02101002]# hcfpciconfig
Linux HCF controllerless modem drivers, version 0.98mbsibeta02101002

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux.
USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package.
PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!!
If you require assistance or need more information, go to:
              http://www.mbsi.ca/cnxtlindrv

Should we attempt to automatically configure your hardware? [yes]

DEVICE 14F1:2F00 SEEMS TO BE AN HSF MODEM!

You might need the HSF driver instead?
Please see http://www.mbsi.ca/cnxtlindrv/modemindent.html

No supported modem device found.
Is the modem presently installed in your system? [yes]

1) Conexant HSF 56k HSFi Modem (rev 1).
2) None of the above

Which PCI communication controller is your HCF modem? (1-2) 1

DEVICE 14F1:2F00 SEEMS TO BE AN HSF MODEM!

You might need the HSF driver instead?
Please see http://www.mbsi.ca/cnxtlindrv/modemindent.html

1) /etc/hcfpci/inf/hcfv90_lan_linux.inf
2) /etc/hcfpci/inf/hcfv90_linux.inf
3) /etc/hcfpci/inf/hcfv92_linux.inf
4) /etc/hcfpci/inf/hcfv92_riptide_linux.inf
5) None of the above

Which INF file would you like to use with your HCF modem? (1-5) 3

Selected PCI VendorID=14F1 DeviceID=2F00
and INF file /etc/hcfpci/inf/hcfv92_linux.inf

Supported countries:

ARGENTINA, AUSTRALIA, AUSTRIA, BELGIUM,
BRAZIL, BULGARIA, CANADA, CHILE, CHINA,
CROATIA, CZECH_REPUBLIC, DENMARK, FINLAND, FRANCE,
GERMANY, GREECE, HONG-KONG, HUNGARY, ICELAND,
INDIA, INDONESIA, IRELAND, ISRAEL, ITALY,
JAPAN, KOREA, LUXEMBOURG, MALAYSIA, MEXICO,
NETHERLANDS, NEW_ZEALAND, NORWAY, PHILIPPINES, POLAND,
PORTUGAL, RUSSIA, SINGAPORE, SLOVAKIA, SLOVENIA,
SOUTH_AFRICA, SPAIN, SWEDEN, SWITZERLAND, TAIWAN,
THAILAND, TURKEY, UK, UNITED_ARAB_EMIRATES, USA

Please enter your country name [CHINA]:

Configuring modem for country: "CHINA"
You can change this setting later with the command "hcfpciconfig --country"

This package does not contain pre-built modules suitable for your system:
  Distribution: RedHat-7.3
  Kernel arch: i686
  Kernel version: linux-2.4.18-3

Please obtain the appropriate variant of this package for your system
or try the generic RPM or tar version.
[root@localhost hcfpcimodem-0.98mbsibeta02101002]#

执行的不知对不对,可还是没有搞好MODEM的连接,无法打开
发表于 2002-10-20 23:41:11 | 显示全部楼层
common.mak:11: *** Is the kernel-source package installed? KERNELSRC does not point to a proper directory (/lib/modules/2.4.18-3/build). Stop.

这里有错误。。。有没有把kernel source安装上???
看一下/usr/src目录里都有什么?
 楼主| 发表于 2002-10-21 12:12:04 | 显示全部楼层
您好!
我看了在/usr/src目录里什么也没有,只有是个空的目录。

我不知道有没有安装kernel source,该如何安装

是不是我的tar.gz包不正确
发表于 2002-10-21 22:56:35 | 显示全部楼层
那就是没有安装,把安装盘找出来。。。。。找一个文件名带有kernel source的包安装上就行了。
#rpm -ivh *.rpm --nodeps --force
 楼主| 发表于 2002-10-22 19:50:41 | 显示全部楼层
您好:祝快乐!我还是没有搞成功请多多帮助,多谢谢你了
我安装如下信息


[root@localhost root]# tar zxvf hcfpcimodem-0.98mbsibeta02101002.tar.gz hcfpcimodem-0.98mbsibeta02101002/ hcfpcimodem-0.98mbsibeta02101002/scripts/ hcfpcimodem-0.98mbsibeta02101002/scripts/makefile hcfpcimodem-0.98mbsibeta02101002/scripts/hcfconfig.in hcfpcimodem-0.98mbsibeta02101002/scripts/hcfstop.in hcfpcimodem-0.98mbsibeta02101002/inf/ hcfpcimodem-0.98mbsibeta02101002/inf/hcfv90_linux.inf hcfpcimodem-0.98mbsibeta02101002/inf/makefile hcfpcimodem-0.98mbsibeta02101002/inf/hcfv90_lan_linux.inf hcfpcimodem-0.98mbsibeta02101002/inf/hcf_linux.cty hcfpcimodem-0.98mbsibeta02101002/inf/hcfv92_riptide_linux.inf hcfpcimodem-0.98mbsibeta02101002/inf/hcfv92_linux.inf hcfpcimodem-0.98mbsibeta02101002/packages/ hcfpcimodem-0.98mbsibeta02101002/modules/ hcfpcimodem-0.98mbsibeta02101002/modules/binaries/ hcfpcimodem-0.98mbsibeta02101002/modules/osspec/ hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/ hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/osuniqredef.h hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/oscompat.h hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/osstdio.h hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/osresour_ex.h hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/ostypedefs.h hcfpcimodem-0.98mbsibeta02101002/modules/osspec/include/oslinux.h hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osnvm.c hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osservices.c hcfpcimodem-0.98mbsibeta02101002/modules/osspec/makefile hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osresour.c hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osstring.c hcfpcimodem-0.98mbsibeta02101002/modules/osspec/osstdio.c hcfpcimodem-0.98mbsibeta02101002/modules/common.mak hcfpcimodem-0.98mbsibeta02101002/modules/makefile hcfpcimodem-0.98mbsibeta02101002/modules/mod_osspec.c hcfpcimodem-0.98mbsibeta02101002/modules/serial_hcf.c hcfpcimodem-0.98mbsibeta02101002/modules/serial_core.h hcfpcimodem-0.98mbsibeta02101002/modules/mod_engine.c hcfpcimodem-0.98mbsibeta02101002/modules/COPYING hcfpcimodem-0.98mbsibeta02101002/modules/serial_core.c hcfpcimodem-0.98mbsibeta02101002/modules/kernelcompiler.sh hcfpcimodem-0.98mbsibeta02101002/makefile
hcfpcimodem-0.98mbsibeta02101002/FAQ hcfpcimodem-0.98mbsibeta02101002/BUGS hcfpcimodem-0.98mbsibeta02101002/LICENSE hcfpcimodem-0.98mbsibeta02101002/CREDITS hcfpcimodem-0.98mbsibeta02101002/README hcfpcimodem-0.98mbsibeta02101002/CHANGES hcfpcimodem-0.98mbsibeta02101002/hcfmodem.spec.in hcfpcimodem-0.98mbsibeta02101002/config.mak hcfpcimodem-0.98mbsibeta02101002/INSTALL hcfpcimodem-0.98mbsibeta02101002/imported/ hcfpcimodem-0.98mbsibeta02101002/imported/include/ hcfpcimodem-0.98mbsibeta02101002/imported/include/framewrk.h hcfpcimodem-0.98mbsibeta02101002/imported/include/comctrl_ex.h hcfpcimodem-0.98mbsibeta02101002/imported/include/comtypes.h hcfpcimodem-0.98mbsibeta02101002/imported/include/configtypes.h hcfpcimodem-0.98mbsibeta02101002/imported/include/configcodes.h hcfpcimodem-0.98mbsibeta02101002/imported/include/codesdeps.h hcfpcimodem-0.98mbsibeta02101002/imported/include/osservices.h hcfpcimodem-0.98mbsibeta02101002/imported/include/typedefs.h hcfpcimodem-0.98mbsibeta02101002/imported/include/osnvm.h hcfpcimodem-0.98mbsibeta02101002/imported/include/testdebug.h hcfpcimodem-0.98mbsibeta02101002/imported/include/osmemory.h hcfpcimodem-0.98mbsibeta02101002/imported/include/ostime.h hcfpcimodem-0.98mbsibeta02101002/imported/hcfengine-i386.O hcfpcimodem-0.98mbsibeta02101002/imported/makeflags.mak hcfpcimodem-0.98mbsibeta02101002/hcfpcimodem.spec [root@localhost root]# cd hcfpcimodem-0.98mbsibeta02101002 [root@localhost hcfpcimodem-0.98mbsibeta02101002]# make install make[1]: Entering directory `/root/hcfpcimodem-0.98mbsibeta02101002/inf' install -m 644 hcf_linux.cty hcfv90_lan_linux.inf hcfv90_linux.inf hcfv92_linux. inf hcfv92_riptide_linux.inf /etc/hcfpci/inf make[1]: Leaving directory `/root/hcfpcimodem-0.98mbsibeta02101002/inf' make[1]: Entering directory `/root/hcfpcimodem-0.98mbsibeta02101002/scripts' install -m 755 hcfpciconfig hcfpcistop /usr/sbin make[1]: Leaving directory `/root/hcfpcimodem-0.98mbsibeta02101002/scripts' /bin/sh: gcc: command not found ../modules/kernelcompiler.sh: unable to find compiler matching /proc/version: ../modules/kernelcompiler.sh: gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96 110) ../modules/kernelcompiler.sh: set CC variable manually in modules/common.mak
/bin/sh: gcc: command not found
/bin/sh: gcc: command not found /bin/sh: gcc: command not found make[1]: Entering directory `/root/hcfpcimodem-0.98mbsibeta02101002/modules' rm -rf "/usr/lib/hcfpci/config.mak" "/usr/lib/hcfpci/imported" "/usr/lib/hcfpci/
modules" mkdir -m 755 -p /usr/lib/hcfpci/modules prevsum=""; md5sum `find binaries -type f -print` </dev/null | sort | while read sum file ; do \ if [ "$sum" = "$prevsum" ] && cmp -s "$file" "$prevfile"; then \ rm -f "$file"; \ ln "$prevfile" "$file"; \
else \
prevsum="$sum"; \
prevfile="$file"; \
fi; \ done (cd .. && find config.mak imported -depth -print | cpio -pdm /usr/lib/hcfpci) 2195 blocks find . \( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name '*.mak' -o -n ame '[Mm]akefile' \) -print | cpio -pdm /usr/lib/hcfpci/modules 480 blocks find binaries -depth -print | cpio -pdm /usr/lib/hcfpci/modules 0 blocks make[1]: Leaving directory `/root/hcfpcimodem-0.98mbsibeta02101002/modules' install -m 444 LICENSE /usr/lib/hcfpci

To complete the installation and configuration of your HCF modem, please run "hcfpciconfig" (or "/usr/sbin/hcfpciconfig") [root@localhost hcfpcimodem-0.98mbsibeta02101002]# hcfciconfig bash: hcfciconfig: command not found [root@localhost hcfpcimodem-0.98mbsibeta02101002]# hcfpciconfig Linux HCF controllerless modem drivers, version 0.98mbsibeta02101002

WARNING: this is an EXPERIMENTAL BETA VERSION of the HCF drivers for Linux. USE AT YOUR OWN RISK! See the file /usr/lib/hcfpci/LICENSE for details.

Conexant Systems neither distributes nor maintains this package. PLEASE DO NOT CONTACT CONEXANT REGARDING THIS SOFTWARE!!! If you require assistance or need more information, go to: http://www.mbsi.ca/cnxtlindrv

Should we attempt to automatically configure your hardware? [yes]

DEVICE 14F1:2F00 SEEMS TO BE AN HSF MODEM!

You might need the HSF driver instead? Please see http://www.mbsi.ca/cnxtlindrv/modemindent.html

No supported modem device found. Is the modem presently installed in your system? [yes]

1) Conexant HSF 56k HSFi Modem (rev 1).
2) None of the above

Which PCI communication controller is your HCF modem? (1-2) 1

DEVICE 14F1:2F00 SEEMS TO BE AN HSF MODEM!

You might need the HSF driver instead? Please see http://www.mbsi.ca/cnxtlindrv/modemindent.html

1) /etc/hcfpci/inf/hcfv90_lan_linux.inf
2) /etc/hcfpci/inf/hcfv90_linux.inf 3) /etc/hcfpci/inf/hcfv92_linux.inf 4) /etc/hcfpci/inf/hcfv92_riptide_linux.inf 5) None of the above

Which INF file would you like to use with your HCF modem? (1-5) 1

Selected PCI VendorID=14F1 DeviceID=2F00 and INF file /etc/hcfpci/inf/hcfv90_lan_linux.inf

Supported countries:

ARGENTINA, AUSTRALIA, AUSTRIA, BELGIUM, BRAZIL, BULGARIA, CANADA, CHILE, CHINA, CROATIA, CZECH_REPUBLIC, DENMARK, FINLAND, FRANCE, GERMANY, GREECE, HONG-KONG, HUNGARY, ICELAND, INDIA, INDONESIA, IRELAND, ISRAEL, ITALY, JAPAN, KOREA, LUXEMBOURG, MALAYSIA, MEXICO, NETHERLANDS, NEW_ZEALAND, NORWAY, PHILIPPINES, POLAND, PORTUGAL, RUSSIA, SINGAPORE, SLOVAKIA, SLOVENIA, SOUTH_AFRICA, SPAIN, SWEDEN, SWITZERLAND, TAIWAN, THAILAND, TURKEY, UK, UNITED_ARAB_EMIRATES, USA

Please enter your country name [CHINA]:

Configuring modem for country: "CHINA" You can change this setting later with the command "hcfpciconfig --country"

This package does not contain pre-built modules suitable for your system:
Distribution: RedHat-7.3
Kernel arch: i686
Kernel version: linux-2.4.18-3

Trying to automatically re-compile the modules.. (this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel? [/lib/modules/2.4.18-3/build] /usr/sbin/hcfpciconfig: gcc: command not found

WARNING: the kernel version () defined in /lib/modules/2.4.18-3/build/include/linux/version.h does not match the currently running kernel (2.4.18-3) The cause of this problem is an incorrect kernel source path. Please check that /lib/modules/2.4.18-3/build points to the right tree. The cause of this problem is usually a missing or misconfigured kernel source tree (and sometimes an incorrect directory or symbolic link). /usr/sbin/hcfpciconfig: gcc: command not found

Re-compiling HCF modules for kernel , using source directory /lib/modules/2.4.18-3/build. Please wait..

ERROR: Module re-compilation and installation failed! Please examine the log file "/tmp/hcfpciconfig-buildlog.txt" to determine why.         
[root@localhosthcfpcimodem-0.98mbsibeta02101002]#
[root@localhosthcfpcimodem-0.98mbsibeta02101002]#
按装了kernel source 在/usr/src/ 下有linux2.4和linux 2.4-18-3 二个文件重新按装了tar.gz的包还是无法打开modem


modem的型号:conexant
hsfi
cx11252-11
E143146.1
0130
MEXICO
我把芯片上的字都写上了此内猫是插在PCI上的
CPU是CELERON 733MHZ
主板是M-ATX是集成810
 楼主| 发表于 2002-10-23 20:10:52 | 显示全部楼层
是不是这个内置猫不能用在LINUX下进行上网,不知能有其它的办法来解决这个问题。
祝大家快乐,愿LINUX的明天光辉灿烂!
发表于 2002-10-25 01:53:34 | 显示全部楼层

Modem

我的猫终于在Red Hat8.0下上网了,我的猫型号是WS11252  Conexant的芯片,哈哈!谢谢各位前辈的支持,感谢南北兄,共同进步!!Linux万岁!!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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