- 论坛徽章:
- 0
|
========================================================================================
III. Compile & Installation & uninstall [2.6.24, 2.6.34]
========================================================================================
We don't support kernel 2.6.24-2.6.34 directly, Because there are
lots of issues in mac80211 from kernel 2.6.24-2.6.34,
So we suggest you to use the latest kernel >= 2.6.35.
but if you want to use our driver in an old kernel,
you can use compat-wireless. this methord can support all kernel
versions higher than 2.6.24, and you can use all functions
of our driver like you use it in the latest kernel version.
You can get more informations of compat-wireless from:
http://wireless.kernel.org/en/users/Download/stable
you should use the following commands to Compile, Installation, or uninstall the driver:
1. Change to Super User
sudo su
2. install compat-wireless driver
./compat/script/compat-install.sh
3. reboot
reboot
4. uninstall driver
./compat/script/compat-uninstall.sh
5. you can get more information form follwing webset for how to use compat-wireless:
http://wireless.kernel.org/en/users/Download/stable
NOTICE:
1. Maybe you can not use other vendors wireless after you install compat wireless,
in this situation, you can uninstall compat-wireless use step 4 to recover it.
2. This install methord can support all versions of kernel, not just 2.6.24-2.6.34,
you can also use it in the kernel higher than 2.6.35.
用第三种方式安装了,到后面还是不行错误部分如下:
也reboot过了,还需要怎么操作才能加载到无线网卡吗?
make -C /lib/modules/2.6.32-279.11.1.el6.i686/build M=/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2 modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.11.1.el6.i686'
CC [M] /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/compat/main.o
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:28,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.33.h:52:1: warning: "IFF_DONT_BRIDGE" redefined
In file included from include/linux/netdevice.h:28,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.29.h:5,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/if.h:83:1: warning: this is the location of the previous definition
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:28,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.33.h:56:1: warning: "NETDEV_POST_INIT" redefined
In file included from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:689,
from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:126,
from include/linux/netdevice.h:29,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.29.h:5,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/notifier.h:210:1: warning: this is the location of the previous definition
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:28,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.33.h:58: error: redefinition of ‘netdev_alloc_skb_ip_align’
include/linux/skbuff.h:1582: note: previous definition of ‘netdev_alloc_skb_ip_align’ was here
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.33.h:121: error: redefinition of ‘pci_pcie_cap’
include/linux/pci.h:1465: note: previous definition of ‘pci_pcie_cap’ was here
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.33.h:132: error: redefinition of ‘pci_is_pcie’
include/linux/pci.h:1565: note: previous definition of ‘pci_is_pcie’ was here
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:29,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.34.h:23: error: redefinition of ‘netdev_name’
include/linux/netdevice.h:2403: note: previous definition of ‘netdev_name’ was here
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:29,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.34.h:134:1: warning: "netif_vdbg" redefined
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.29.h:5,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/netdevice.h:2516:1: warning: this is the location of the previous definition
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:29,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.34.h:211:1: warning: "sysfs_bin_attr_init" redefined
In file included from include/linux/kobject.h:21,
from include/linux/module.h:16,
from include/linux/textsearch.h:7,
from include/linux/skbuff.h:27,
from include/linux/if_ether.h:126,
from include/linux/netdevice.h:29,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.29.h:5,
from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:24,
from <command-line>:0:
include/linux/sysfs.h:94:1: warning: this is the location of the previous definition
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.34.h:232: error: redefinition of ‘dma_set_coherent_mask’
include/linux/dma-mapping.h:130: note: previous definition of ‘dma_set_coherent_mask’ was here
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:30,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.35.h:36: error: redefinition of ‘usb_pipe_endpoint’
include/linux/usb.h:1599: note: previous definition of ‘usb_pipe_endpoint’ was here
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:31,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.36.h:17: error: redefinition of ‘struct va_format’
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.36.h:99: error: redefinition of ‘no_printk’
include/linux/kernel.h:341: note: previous definition of ‘no_printk’ was here
In file included from /var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.h:32,
from <command-line>:0:
/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/include/linux/compat-2.6.37.h:23: error: redefinition of ‘skb_checksum_none_assert’
include/linux/skbuff.h:2324: note: previous definition of ‘skb_checksum_none_assert’ was here
make[3]: *** [/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/compat/main.o] Error 1
make[2]: *** [/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2/compat] Error 2
make[1]: *** [_module_/var/tmp/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011/compat-wireless-3.0-2] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.11.1.el6.i686'
make: *** [modules] Error 2
success install driver rtlwifi in compat-wireless, you can use driver after reboot |
|