|
各位前辈:
您们好!我是一位初触Linux的新手,就连安装 Red Hat Linux 9的56K拨号 Modem的驱动也不会装,按照网上的教程:http://tech.ccidnet.com/pub/article/c818_a33994_p1.html来安装却屡次失败。
我用的是内置56K拨号Modem。我的Modem在Windows Server 2003中“设备管理器”显示的型号是:Intel® Ham 5628 V.92 Modem。但在Red Hat Linux 9中,系统却提示“没有发现任何的调制解调器”。所以我就按照网上的教程和在网上下载了Intel-v92ham-425.tar.gz的Modem驱动程序来安装和配置我的Red Hat Linux 9下的Modem驱动。但在每次按照网上教程输入以下的Modem安装与配置命令时,都出现以下相同的错误提示,请问各位前辈,我已经很仔细地按照网上的教程来安装Modem驱动了,但为什么总是安装失败呢?是不是我的方法或网上教程的方法不对呢?那我应该如何才能安装好我的Modem驱动并正确设置好上网呢?我的Red Hat Linux系统已经安装了几个星期了,但直到现在还没有安装好Modem驱动和配置,还不能上网,真是很苦恼,害得我吃不香,睡不着,有苦说不出。
所以在此,我恳切跪求各位前辈,您们能根据我的Modem型号和给出的上述情况,能给出一套详细完整,适合Linux菜鸟的Modem驱动安装与配置上网步骤给我吗?
迫切等待您的回复!
不胜感激,有机会定请喝茶,当面致谢!
以下是按照网上教程输入的终端命令和出现的错误提示(由于我的Modem驱动文件所在目录和网上的不同,所以目录有所改变):
[root@localhost root]# cd /usr/local/bin/设备驱动程序
[root@localhost 设备驱动程序]# ls
intel-536ep-m.tgz Intel-v92ham-453-R80.tgz LINUX设备驱动程序(内核2.2)
Intel-v92ham-425.tar.gz Intel-v92ham-453.tgz
[root@localhost 设备驱动程序]# tar -zxvf Intel-v92ham-425.tar.gz
Intel-v92ham-425/
Intel-v92ham-425/coredrv/
Intel-v92ham-425/coredrv/clmmain.c
Intel-v92ham-425/coredrv/coredrv.c
Intel-v92ham-425/coredrv/rts.c
Intel-v92ham-425/coredrv/task.c
Intel-v92ham-425/coredrv/uart.c
Intel-v92ham-425/coredrv/wwh_dflt.c
Intel-v92ham-425/coredrv/makefile
Intel-v92ham-425/coredrv/hamcore.lib
Intel-v92ham-425/hamboot
Intel-v92ham-425/haminst
Intel-v92ham-425/inc/
Intel-v92ham-425/inc/hamdefs.h
Intel-v92ham-425/inc/hamcore.h
Intel-v92ham-425/inc/rts.h
Intel-v92ham-425/inc/uart.h
Intel-v92ham-425/inc/wwh_dflt.h
Intel-v92ham-425/inc/tasker.h
Intel-v92ham-425/license.txt
Intel-v92ham-425/readme.txt
Intel-v92ham-425/serialdrv/
Intel-v92ham-425/serialdrv/gpl.txt
Intel-v92ham-425/serialdrv/clmdrvr.c
Intel-v92ham-425/serialdrv/makefile
Intel-v92ham-425/makefile
Intel-v92ham-425/hamregistry
[root@localhost 设备驱动程序]# ls
intel-536ep-m.tgz Intel-v92ham-425.tar.gz Intel-v92ham-453.tgz
Intel-v92ham-425 Intel-v92ham-453-R80.tgz LINUX设备驱动程序(内核2.2)
[root@localhost 设备驱动程序]# cd Intel-v92ham-425
[root@localhost Intel-v92ham-425]# make clean
cd coredrv; make clean
make[1]: Entering directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-v92ham-425]# make ham
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
ham;
make[1]: Entering directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c
uart.c: In function `UART_dte_to_char':
uart.c:630: warning: operation on `uart_rx_put_index' may be undefined
uart.c: In function `UART_dce_to_char':
uart.c:672: warning: operation on `uart_tx_put_index' may be undefined
uart.c: In function `UART_dce_from_char':
uart.c:710: warning: operation on `uart_tx_get_index' may be undefined
uart.c: In function `UART_dte_from_char':
uart.c:755: warning: operation on `uart_rx_get_index' may be undefined
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o hamcore.lib -o hamcore.o
make[1]: Leaving directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/coredrv'
cp coredrv/hamcore.o .
cd serialdrv; make \
"PSTN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
ham;
make[1]: Entering directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/serialdrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c
In file included from clmdrvr.c:49:
/lib/modules/2.4.20-8/build/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
clmdrvr.c:263: warning: static declaration for `rs_init' follows non-static
clmdrvr.c:393:22: warning: multi-line string literals are deprecated
clmdrvr.c: In function `rs_wait_until_sent':
clmdrvr.c:794: structure has no member named `counter'
make[1]: *** [clmdrvr.o] Error 1
make[1]: Leaving directory `/usr/local/bin/设备驱动程序/Intel-v92ham-425/serialdrv'
make: *** [ham] Error 2
[root@localhost Intel-v92ham-425]# make install
bash haminst
running kernel 2.4.20-8
installing hamregistry, used for persistant storage
installing ham module
install: stat‘ham.o’失败: 没有那个文件或目录
installing hamcore module
redhat hamboot rc2.d and rc3.d scripts
starting module and utilities
Using /lib/modules/2.4.20-8/kernel/drivers/char/hamcore.o
Warning: The module you are trying to load (/lib/modules/2.4.20-8/kernel/drivers/char/hamcore.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading /lib/modules/2.4.20-8/kernel/drivers/char/hamcore.o will taint
the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.20-8/kernel/drivers/char/hamcore.o will taint
the kernel: forced load
Module hamcore loaded, with warnings
insmod: ham: no module by that name found
done
[root@localhost Intel-v92ham-425]# insmod -f hamcore.o
Warning: The module you are trying to load (hamcore.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading hamcore.o will taint the kernel: no license
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading hamcore.o will taint the kernel: forced load
Module hamcore loaded, with warnings
[root@localhost Intel-v92ham-425]# insmod -f ham.o
insmod: ham.o: No such file or directory
[root@localhost Intel-v92ham-425]# rm /dev/ham
rm: lstat‘/dev/ham’失败: 没有那个文件或目录
[root@localhost Intel-v92ham-425]# mknod /dev/ham c 240 1
[root@localhost Intel-v92ham-425]# ln -s /dev/ham /dev/modem
[root@localhost Intel-v92ham-425]# AT
bash: AT: command not found
[root@localhost Intel-v92ham-425]# |
|