LinuxSir.cn,穿越时空的Linuxsir!

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

pctel编译不过阿!!!

[复制链接]
发表于 2003-7-25 20:34:43 | 显示全部楼层 |阅读模式
我的系统是linux 7.3现在已经装好了pcetel驱动
pctel0.9.6
但是每次重新启动就不能上网了
每次都要装
能不能不装 就可以上网了
请教?
发表于 2003-7-27 15:10:17 | 显示全部楼层
你有没有修改 /etc/modules.conf?
 楼主| 发表于 2003-7-27 15:40:17 | 显示全部楼层

pctel

我修改的
能够上网了的
但是每次都要重新编译
发表于 2003-7-27 15:43:24 | 显示全部楼层
你看一下log里面每次启动以后pctel是否可以被识别?
 楼主| 发表于 2003-7-29 20:20:20 | 显示全部楼层

pctel

我用tail messages
好象第一次装以后有可以识别的消息的
但是后来就不太清楚 了
pctel-0.9.6.tar.gz
tar zxvf pctel-0.9.6.tar.gz
./configure --with-hal=pct789 --with-kenerl-includes=/usr/src/linux-2.4.18-3
make
make install
insmod pctel
insmod ptserial
rm -f /dev/ttyS15 /dev/modem
mknod /dev/ttyS15 c 62 79
chgrp  root /dev/ttyS15
chmod 666 /dev/ttyS15
ln -s /dev/ttyS15 /dev/modem
就可以上网了
但是重新启动后
就不能了
发表于 2003-7-30 16:47:22 | 显示全部楼层

pctel编译不过阿!!!

[cqs@localhost pctel-0.9.6]$ ./configure --with-hal=i8xx --with-kenerl-includes=/usr/src/linux-2.4.20-8
configure: error: modversions.h is missing - you should configure your kernel first!
为啥会说:“你应该首先配置你的kernel,内核,modversions.h找不到”
我装了kernel-src了!!
sudo pcitweak -l
PCI: Probing config type using method 1
PCI: Config type is 1
PCI: PCI scan (all values are in hex)
PCI: 00:00:0: chip 8086,3580 card 1179,ff00 rev 01 class 06,00,00 hdr 80
PCI: 00:00:1: chip 8086,3584 card 1179,ff00 rev 01 class 08,80,00 hdr 00
PCI: 00:00:3: chip 8086,3585 card 1179,ff00 rev 01 class 08,80,00 hdr 80
PCI: 00:02:0: chip 8086,3582 card 1179,ff00 rev 01 class 03,00,00 hdr 80
PCI: 00:02:1: chip 8086,3582 card 1179,ff00 rev 01 class 03,80,00 hdr 80
PCI: 00:1d:0: chip 8086,24c2 card 1179,ff00 rev 03 class 0c,03,00 hdr 80
PCI: 00:1d:1: chip 8086,24c4 card 1179,ff00 rev 03 class 0c,03,00 hdr 00
PCI: 00:1d:2: chip 8086,24c7 card 1179,ff00 rev 03 class 0c,03,00 hdr 00
PCI: 00:1d:7: chip 8086,24cd card 1179,ff00 rev 03 class 0c,03,20 hdr 00
PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev 83 class 06,04,00 hdr 01
PCI: 00:1f:0: chip 8086,24cc card 0000,0000 rev 03 class 06,01,00 hdr 80
PCI: 00:1f:1: chip 8086,24ca card 1179,ff00 rev 03 class 01,01,8a hdr 00
PCI: 00:1f:3: chip 8086,24c3 card 1179,ff00 rev 03 class 0c,05,00 hdr 00
PCI: 00:1f:5: chip 8086,24c5 card 1179,ff00 rev 03 class 04,01,00 hdr 00
PCI: 00:1f:6: chip 8086,24c6 card 1179,0001 rev 03 class 07,03,00 hdr 00
PCI: 02:01:0: chip 10ec,8139 card 1179,ff00 rev 10 class 02,00,00 hdr 00
PCI: 02:04:0: chip 1217,6933 card 0001,0000 rev 01 class 06,07,00 hdr 82
PCI: 02:04:1: chip 1217,6933 card 0001,0000 rev 01 class 06,07,00 hdr 82
PCI: End of PCI scan
发表于 2003-7-30 16:58:18 | 显示全部楼层

sudo ln -s /usr/src/linux-2.4.20-8 /usr/src/linux

我忘了sudo ln -s /usr/src/linux-2.4.20-8 /usr/src/linux了!
发表于 2003-7-30 17:05:43 | 显示全部楼层

insmod -f pctel还不能

mknod /dev/ttyS15 c 62 79
ln -s /dev/ttyS15 /dev/modem
作完后!
我的是9.0
insmod -f pctel
Using /lib/modules/2.4.20-8/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.20-8/misc/pctel.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/misc/pctel.o will taint the kernel: non-G                             PL license - GPL linked with proprietary libraries
  See http://www.tux.org/lkml/#export-tainted for information about tainted modu                             les
Warning: loading /lib/modules/2.4.20-8/misc/pctel.o will taint the kernel: force                             d load
/lib/modules/2.4.20-8/misc/pctel.o: create_module: Operation not permitted
发表于 2003-7-30 17:08:09 | 显示全部楼层

pterial没有阿

insmod pterial
insmod: pterial: no module by that name found
发表于 2003-10-6 16:29:14 | 显示全部楼层

回复: pterial没有阿

最初由 wheel 发表
insmod pterial
insmod: pterial: no module by that name found


问题解决了??wheel兄?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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