Karta j/w, oparta na chipsecie BCM4318. Sterownik pod linuxa sciagniety ze strony producenta: ASUS WL-138gV2 WLAN Card Driver for Linux.
Postepuje wg. pliku README, zawartym w sterowniku, czyli podaje komende "make" i oto co mi pokazuje konsola:
Kod: Zaznacz cały
Linux Directory is /lib/modules/2.6.18-4-amd64/build
Linux Kernel Versions is 2.6.18-4-amd64
make -C /lib/modules/2.6.18-4-amd64/build CROSS_COMPILE= M=/home/rafal/downloads/src/linuxsta/src/wl/linux modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-2.6.18-4-amd64'
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_led.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wl_linux.o
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_linux.c:500: warning: initialization from incompatible pointer type
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.o
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c: In function ‘wl_iw_get_aplist’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c:653: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c:653: warning: cast to pointer from integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c: In function ‘ie_is_wpa_ie’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c:722: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c:722: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c: In function ‘wl_iw_get_scan’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c:761: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wl_iw.c:761: warning: cast to pointer from integer of different size
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.o
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c: In function ‘wlc_attach’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c:4604: warning: cast to pointer from integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c: In function ‘wlc_ioctl’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c:6331: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c: In function ‘wlc_doiovar’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c:6996: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc.c:6996: warning: cast from pointer to integer of different size
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/d11ucode.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_rate.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_scb.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_bsscfg.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_key.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/linux_osl.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/sbutils.o
/home/rafal/downloads/src/linuxsta/src/wl/linux/sbutils.c: In function ‘sb_pcie_readreg’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/sbutils.c:2246: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/sbutils.c: In function ‘sb_pcie_writereg’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/sbutils.c:2277: warning: cast from pointer to integer of different size
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/bcmutils.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.o
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c: In function ‘_dma_getvar’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c:887: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c: In function ‘dma32_alloc’:
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c:1009: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c:1009: warning: cast to pointer from integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c:1020: warning: cast from pointer to integer of different size
/home/rafal/downloads/src/linuxsta/src/wl/linux/hnddma.c:1020: warning: cast to pointer from integer of different size
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/nvramstubs.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_security.o
CC [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/bcmwpa.o
Copying /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_phy.o from /home/rafal/downloads/src/linuxsta/src/wl/linux/obj-3.4.2
Copying /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_channel.o from /home/rafal/downloads/src/linuxsta/src/wl/linux/obj-3.4.2
Copying /home/rafal/downloads/src/linuxsta/src/wl/linux/bcmsrom.o from /home/rafal/downloads/src/linuxsta/src/wl/linux/obj-3.4.2
Copying /home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_rate_sel.o from /home/rafal/downloads/src/linuxsta/src/wl/linux/obj-3.4.2
LD [M] /home/rafal/downloads/src/linuxsta/src/wl/linux/wl.o
ld: Relocatable linking with relocations from format elf32-i386 (/home/rafal/downloads/src/linuxsta/src/wl/linux/wlc_phy.o) to format elf64-x86-64 (/home/rafal/downloads/src/linuxsta/src/wl/linux/wl.o) is not supported
make[2]: *** [/home/rafal/downloads/src/linuxsta/src/wl/linux/wl.o] Błąd 1
make[1]: *** [_module_/home/rafal/downloads/src/linuxsta/src/wl/linux] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-2.6.18-4-amd64'
make: *** [default] Błąd 2
Dodam, ze wszelkie kombinacje z 'ndiswrapperem' odpadaja: skoro jest sterownik pod linuxa, udostepniony przez producenta karty, to chyba jest mozliwosc "zmuszenia" jej do prawidlowego dzialania.
Za wszelkie konstruktywne uwagi i porady, z gory, serdecznie dziekuje.
BTW Plik README z opisem instalacji:
Kod: Zaznacz cały
Broadcom Corporation
Introduction:
------------
This Package contains the the 802.11b and 802.11g Linux Device driver to support Broadcom WLAN chipsets on X86 platforms, for 2.6 linux kernels. This WLAN driver supports Wireless extensions upto rev 19.
Package details:
---------------
This package is provided as a compressed tar file. The tar file contains all the sources needed, the binary versions of the regulatory domain files and the necessary makefile to build the BROADCOM WLAN driver for specific revisions of the kernel.
The package contains:
src/include and src/include/proto : All the header files.
src/shared, src/wl/sys : All the source files
src/wl/linux : Makefile
src/wl/linux/obj-3.4.2,
src/wl/linux/obj-4.0.2 : pre compiled regulatory binaries
Two sets of precompiled regulatory binaries are avaialble, one for each of the compiler versions gcc 3.4.2 (Redhat FC3 and 2.6.14.3 kernel), and gcc 4.0.2 (Suse 10 distribution)
Distributions and Kernels Tested:
--------------------------------
1. Fedora FC3 with the stock 2.6.9-1.667 kernel (supports WEP only and no support for WPA)
2. Fedora FC3 with 2.6.14.3 kernel. (supports WPA/WPA2 and TKIP/AES/WEP cryptos)
3. Suse 10.0 with 2.6.13-15 kernel. (supports WPA/WPA2 and AES/WEP cryptos)
Chipset Support:
---------------
BCM4318, BCM4311, BCM4309C0
Building the Driver from Package:
--------------------------------
1. Extract the tar package.
tar -xzvf src-<ver>.tar.gz
2. Build the Driver
cd src/linuxsta/src/wl/linux
in the makefile make sure to set the variables
CROSS_COMPILE=<xxx>, if the the gcc is not already in the $PATH or if a different compiler needs to be used, and
GCC-REV=<xxx> dictates the path of the prebuild regulatory binaries, to use while building the driver.(values it takes now are 3.4.2 or 4.0.2),
if the kernel version is 2.6.14.3 the driver expects that iee80211_crypto.ko module be loaded, prior to loading this driver.
make clean
make
3. Test the Driver by loading it
insmod wl.ko
Supported WLAN feature set:
--------------------------
1. Supports WLAN STA functionality.
2. Supports Wireless extensions (rev <= 19). So utilies like iwconfig and iwlist compiled with proper header versions(wireless.h) would be able to interface with the driver through the wireless extensions interface.
3. Supports using the external TKIP crypto module if the module is available. To support this, the driver assumes that iee80211_crypto.ko is already loaded and available (support of the ieee802111_crypto modules were added to the kernel rev 2.6.14.3)
4. Supports Only one set of channels for all countries.
5. Supports Hardware cryptos for AES and WEP and with the proper versions of an external supplicant (such as wpa_supplicant with wireless extensions rev >= 18), one could set up different Authentication Key Managements like WPA/WPA-PSK/WPA2/WPA2-PSK/
6. Uses only the standard IOCTLs defined in wireless extensions interface, doesn't have any custom IOCTLS defined.
Limitations:
-----------
Current version of the driver has undergone a limited amount of testing with 2.6.14.3 kernel, Redhat FC3 and Suse 10 Linux distribuitons for i386 platforms. The included makefile only supports compiles for only 2.6 kernel versions.