[超级菜菜鸟求助]UBUNTU 6.10下装tp-link 510G无线网卡驱动的问题

CPU/显卡/打印机/USB设备等硬件问题
回复
att
帖子: 3
注册时间: 2006-11-08 16:07

[超级菜菜鸟求助]UBUNTU 6.10下装tp-link 510G无线网卡驱动的问题

#1

帖子 att » 2006-11-08 16:34

我三天前才开始接触linux,装了FC6(台式机)和UBUNTU 6.10(笔记本)两套linux系统。感觉UBUNTU界面更漂亮,而且直接支持windows的NTFS格式,这一点比FC方便多了。

但我在UBUNTU装无线网卡驱动时却一直不顺利。搜索了论坛以及baidu,主要有madwifi和ndiswrapper两种解决方案,我两种都试过了,都没装上,特来想各位大虾求救。

[madwifi方案]
以下是madwifi-0.9.2执行make之后的错误提示:
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.17-10-generic/build SUBDIRS=/tmp/madwifi-0.9.2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.17-10-generic'
CC [M] /tmp/madwifi-0.9.2/ath/ah_osdep.o
HOSTCC /tmp/madwifi-0.9.2/ath/uudecode
/tmp/madwifi-0.9.2/ath/uudecode.c:26:19: error: stdio.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c:27:19: error: errno.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c:28:20: error: getopt.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c:29:20: error: string.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c:30:20: error: stdlib.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/tmp/madwifi-0.9.2/ath/uudecode.c: In function 'uudecode_usage':
/tmp/madwifi-0.9.2/ath/uudecode.c:37: warning: implicit declaration of function 'printf'
/tmp/madwifi-0.9.2/ath/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/madwifi-0.9.2/ath/uudecode.c: At top level:
/tmp/madwifi-0.9.2/ath/uudecode.c:40: error: expected ')' before '*' token
/tmp/madwifi-0.9.2/ath/uudecode.c:70: error: expected ')' before '*' token
/tmp/madwifi-0.9.2/ath/uudecode.c: In function 'main':
/tmp/madwifi-0.9.2/ath/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:121: error: (Each undeclared identifier is reported only once
/tmp/madwifi-0.9.2/ath/uudecode.c:121: error: for each function it appears in.)
/tmp/madwifi-0.9.2/ath/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:130: warning: implicit declaration of function 'getopt'
/tmp/madwifi-0.9.2/ath/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:138: warning: implicit declaration of function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:144: warning: implicit declaration of function 'fopen'
/tmp/madwifi-0.9.2/ath/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/tmp/madwifi-0.9.2/ath/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/tmp/madwifi-0.9.2/ath/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:147: warning: implicit declaration of function 'strerror'
/tmp/madwifi-0.9.2/ath/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/tmp/madwifi-0.9.2/ath/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/tmp/madwifi-0.9.2/ath/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/tmp/madwifi-0.9.2/ath/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/tmp/madwifi-0.9.2/ath/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/tmp/madwifi-0.9.2/ath/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/tmp/madwifi-0.9.2/ath/uudecode.c:170: warning: implicit declaration of function 'strchr'
/tmp/madwifi-0.9.2/ath/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/tmp/madwifi-0.9.2/ath/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/tmp/madwifi-0.9.2/ath/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/tmp/madwifi-0.9.2/ath/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:188: warning: implicit declaration of function 'open'
/tmp/madwifi-0.9.2/ath/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/tmp/madwifi-0.9.2/ath/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/tmp/madwifi-0.9.2/ath/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/tmp/madwifi-0.9.2/ath/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/tmp/madwifi-0.9.2/ath/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/tmp/madwifi-0.9.2/ath/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/tmp/madwifi-0.9.2/ath/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/tmp/madwifi-0.9.2/ath/uudecode] Error 1
make[2]: *** [/tmp/madwifi-0.9.2/ath] Error 2
make[1]: *** [_module_/tmp/madwifi-0.9.2] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.17-10-generic'
make: *** [modules] 错误 2


[ndiswrapper方案]
ndiswrapper -i 11gAdapter.inf显示成功,但modprobe ndiswrapper却显示:
root@ubuntu:/tmp/Driver# ndiswrapper -l
Installed drivers:
11gadapter driver installed, hardware present
root@ubuntu:/tmp/Driver# modprobe ndiswrapper
FATAL: Could not open '/lib/modules/2.6.17-10-generic/misc/ndiswrapper.ko': No such file or directory


请各位帮我分析一下,到底是哪里出问题了?多谢多谢!
att
帖子: 3
注册时间: 2006-11-08 16:07

#2

帖子 att » 2006-11-09 17:51

:cry: 唉~,这帖子摆了一天了都没人来回答。
:?: 会不会是6.10的bug啊?不行我装6.06试试?
qwfyxwxl
帖子: 4
注册时间: 2006-11-02 23:14

#3

帖子 qwfyxwxl » 2006-11-11 13:14

我装了ubuntu最新版就直接支持我的TP-link310G无线网卡了,楼主的方法多此一举,而且我也试过,以为不支持的,出现的问题和楼主一样,但后来iwconfig一看,发现系统本身就认出我的无线网卡了。
dominguez
帖子: 3
注册时间: 2006-12-06 18:39

#4

帖子 dominguez » 2006-12-06 18:48

楼上的,问一下。我也是TP-link310G,装好6.10后,系统管理-〉联网里认出有一个wireless设备,ath0。我在设置里选了使用这个连接,还配了ip,dns,已经无线局域网的密码。但是连不上局域网,我也不知道是驱动不对或者是设置有问题(例如我没有选这个无线设备作为网络连接)。
你能介绍下,你系统里是怎么设置连上局域网的。怎样才能确定已经认出了我的网卡。谢谢
回复