Step 2. # mv hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz README.txt /usr/local/src/
Step 3. # mkdir hybrid_wl
Step 4. # tar xva -f ../hybrid-v35_64-nodebug-pcoem-6_30_223_141.tar.gz
Step 5. # make clean
Step 6. # make
make[2]: *** [/usr/local/src/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/usr/local/src/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.15'
make: *** [all] Error 2
# mv /mnt/wl_3.10.patch /usr/local/src/
# patch -p2 < ../wl_3.10.patch
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 3236 (offset 7 lines).
Hunk #2 succeeded at 3254 (offset 7 lines).
Hunk #3 succeeded at 3417 (offset 7 lines).
Hunk #4 succeeded at 3447 (offset 7 lines).
Hunk #5 succeeded at 3483 (offset 7 lines).
# make
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC /usr/local/src/wl/wl.mod.o
LD [M] /usr/local/src/wl/wl.ko
make[1]: Leaving directory `/usr/src/linux-3.10.15'
# ls
built-in.o Makefile Module.symvers src wl.mod.c wl.o
lib modules.order README.txt wl.ko wl.mod.o
# make API=CFG80211
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
make[1]: Leaving directory `/usr/src/linux-3.10.15'
# cp wl.ko /lib/modules/3.10.15/kernel/drivers/net/wireless/
# depmod
# rmmod brcmsmac
# rmmod bcma
# echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
# echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
# modprobe lib80211
# modprobe cfg80211
# modprobe wl
# lsmod|grep wl
wl 4128848 0
lib80211 12941 2 wl,lib80211_crypt_tkip
cfg80211 320022 2 wl,mac80211
# iwconfig
bash: iwconfig:命令找不到
# apt-get install wireless-tools
# iwconfig
eth1 IEEE 802.11abg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=200 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
# apt-get install wpasupplicant
# vi /etc/network/interfaces
auto wlan0
iface wlan0 inet dhcp
wpa-ssid mynetworkname
wpa-psk mysecretpassphrase
ifconfig XXX up
iwconfig XXX
iwlist XXX scan
iwconfig XXX essid XXX
dhclient XXX
沒有留言:
張貼留言
文章有誤或有問題麻煩您留言告知! 謝謝您~~