|
Intel(R) 536EP V.92 Modem
我装了个modem的驱动是这样的,modem的说明是这样
“6 steps to install
1. login as ROOT
作为root登陆
2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"
用那个命令解压缩
3. cd into the directory it created.
进入目录
make clean
make 536ep
make install
用这仨命令安装
但是你必须注意:
8. Compile issues
a. this driver will now compile with the this path:
/lib/modules/<kernel version>/build/include
驱动编译要用到这个目录
the 2.4.4+ kernels says to copy the /boot/vmlinuz.version.h
over to the kernel build path. I have the makefile do this
if this file exists. You must install the kernel source
code anyways. It should be on your distribution's CD.
必须用你的源Cd安装内核代码包,比如rh就是kernel-source这个包。”
而我只运行了这三个命令!说明接下来的我就无法完成了,因为我不懂,结果是这样
[root@localhost Intel-536ep-451]# make clean
cd coredrv; make clean
make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-536ep-451]# make 536ep
Module precompile check
Current running kernel is: 2.4.18-14
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
cd coredrv; make \
"STN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
cc -DTARGET_SELAH -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_SELAH -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 536epcore.lib -o 536epcore.o
make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/coredrv'
cp coredrv/536epcore.o .
cd serialdrv; make \
"STN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c
clmdrvr.c:481:22: warning: multi-line string literals are deprecated
ld -r clmdrvr.o -o 536ep.o
make[1]: Leaving directory `/mnt/learn/驱动/Intel-536ep-451/serialdrv'
cp serialdrv/536ep.o .
[root@localhost Intel-536ep-451]# make install
bash 536ep-inst
running kernel 2.4.18-14
installing hamregistry, used for persistant storage
installing 536ep module
installing 536ep core module
redhat hamboot rc2.d and rc3.d scripts
starting module and utilities
done
[root@localhost Intel-536ep-451]#
但拨号时拨到快要上时就掉了,显示“没有载波”
多次设置kppp后还是一样
[root@localhost tartmp]# kppp
Opener: received SetSecret
Opener: received OpenLock
Opener: received OpenDevice
Opener: received RemoveLock
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received KillPPPDaemon
[root@localhost tartmp]#
我平时是在kde下用kppp拨的,上面我只是给你们看看能不能看出什么问题?
希望大家可以帮帮我,谢谢! |
|