This time installed network card comparison of no language, error online unexpectedly can not find the answer, accidentally to install, do the next record may be used on.
First go to the official website to download the NIC driver: http://www.broadcom.com/support/802.11
My system is 64-bit so the download is 6.30.223.271 64_bit.
Unzip the drive to the/USR/LOCAL/SRC/HYBRID-WL
[Email protected] modules]# mkdir-p/usr/local/src/hybrid-/usr/local/src/hybrid-wl[[email protected] Hybrid-wl]# ls[[email protected] hybrid-wl]# tar xvfz/home/peng/documentation/hybrid-v35_64-nodebug-pcoem-6_30_ 223_271.tar.gz
Immediately after I made the error:
[Email protected] hybrid-wl]# makekbuild_nopedantic=1 make-c/lib/modules/' uname-r '/build m=' pwd ' make[1]: Go to catalogue "/usr/src/kernels/3.10.0-229.14.1. el7.x86_64 "CFG80211 API is prefered for Thiskernel versionusing CFG80211 API LD/usr/local/src/hybrid-wl/built-IN.O CC [M]/usr/local/src/hybrid-wl/src/shared/LINUX_OSL.O CC [M]/usr/local/src/hybrid-wl/src/wl/sys/WL_LINUX.O CC [M]/usr/local/src/hybrid-wl/src/wl/sys/WL_IW.O CC [M]/usr/local/src/hybrid-wl/src/wl/sys/WL_CFG80211_HYBRID.O/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:1799:2: Warning: Initializing from an incompatible pointer type [enabled by default]. get_station=Wl_cfg80211_get_station,^/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:1799:2: Warning: (near initialization of ' wl_cfg80211_ops.get_station ') [enabled by default]/usr/local/src/hybrid-wl/src/wl/sys/WL_CFG80211_HYBRID.C: In the function ' Wl_alloc_wdev ':/USR/LOCAL/SRC/HYBRID-WL/SRC/WL/SYS/WL_CFG80211_HYBRID.C:1894:22: Error: Assigning ' struct wiphy_wowlan_support ' to 'Conststruct Wiphy_wowlan_support *' When type is incompatible Wdev->wiphy->wowlan =Wl_wowlan_support; ^/usr/local/src/hybrid-wl/src/wl/sys/WL_CFG80211_HYBRID.C: In the function ' Wl_notify_connect_status ':/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:2124:4: Warning: Pass the 3rd of ' cfg80211_ibss_joined 'parameters are assigned to pointers, no type conversions [enabled by default] cfg80211_ibss_joined (Ndev, U8*) &wl->Bssid, Gfp_kernel); ^In file included from/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:33:0: Include/net/cfg80211.h:4002:6: Note: Requires type ' struct Ieee80211_channel * ', but the type of the argument is ' unsignedint'voidcfg80211_ibss_joined (struct Net_device *dev,ConstU8 *Bssid,^/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:2124:4: Error: Too few arguments supplied to function ' cfg80211_ibss_joined ' cfg80211_ibss_joined (Ndev, U8*) &wl->Bssid, Gfp_kernel); ^In file included from/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:33:0: Include/net/cfg80211.h:4002:6: NOTE: this statementvoidcfg80211_ibss_joined (struct Net_device *dev,ConstU8 *Bssid,^make[2]: * * * [/USR/LOCAL/SRC/HYBRID-WL/SRC/WL/SYS/WL_CFG80211_HYBRID.O] Error 1make[1]: * * * [_MODULE_/USR/LOCAL/SRC/HYBRID-WL] Error 2make[1]: Leave directory "/usr/src/kernels/3.10.0-229.14.1. el7.x86_64 "Make:[All] Error 2
Then according to the online solution: http://tieba.baidu.com/p/3415973758
The wrong ' cfg80211_ibass_joined ' arguments are too few to solve.
We'll find the/USR/LOCAL/SRC/HYBRID-WL/SYS/WL_CFG80211_HYBRID.C.
Cfg80211_ibss_joined (Ndev, (U8 *) &wl->bssid, gfp_kernel);
Switch
Cfg80211_ibss_joined (Ndev, (U8 *) &wl->bssid,&wl->conf->channel, gfp_kernel);
But error: type incompatible with ' struct wiphy_wowlan_support ' assigned to ' const struct Wiphy_wowlan_support * '
Wdev->wiphy->wowlan = Wl_wowlan_support;
There's no way to find a solution! Development program for many years, and C language is not too understanding, no way
To find out where the error is,
Wdev->wiphy->wowlan = Wl_wowlan_support;
Since you're not proud, I'll give it a try.
Wdev->wiphy->wowlan = NULL;
Save, make a bit:
[Email protected] hybrid-wl]# makekbuild_nopedantic=1 make-c/lib/modules/' uname-r '/build m=' pwd ' make[1]: Go to catalogue "/usr/src/kernels/3.10.0-229.14.1. el7.x86_64 "CFG80211 API is prefered for Thiskernel versionusing CFG80211 API CC [M]/usr/local/src/hybrid-wl/src/wl/sys/WL_CFG80211_HYBRID.O/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:1799:2: Warning: Initializing from an incompatible pointer type [enabled by default]. get_station=Wl_cfg80211_get_station,^/usr/local/src/hybrid-wl/src/wl/sys/wl_cfg80211_hybrid.c:1799:2: Warning: (near initialization of ' wl_cfg80211_ops.get_station ') [enabled by default]/USR/LOCAL/SRC/HYBRID-WL/SRC/WL/SYS/WL_CFG80211_HYBRID.C:1828:36: Warning: ' Wl_wowlan_support ' is not used after definition [-Wunused-variable]Staticstruct Wiphy_wowlan_support Wl_wowlan_support = { ^LD [M]/usr/local/src/hybrid-wl/WL.O Building modules, stage2. CFG80211 API is prefered for Thiskernel versionusing CFG80211 API modpost1Modules CC/usr/local/src/hybrid-wl/WL.MOD.O LD [M]/usr/local/src/hybrid-wl/wl.komake[1]: Leave the directory "/usr/src/kernels/3.10.0-229.14.1.el7.x86_64"
Unexpectedly let me to make a success, suddenly smiled hehe!
Then: Make install no error, Joy amount
And then according to the CentOS website tutorial all the way modprobe most not found
Finally: Modprobe WL found that the home WiFi was found on the connection, written on a blog record. Complete!
CONTOS7 installed bcm4312 Wireless Card driver