Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Linux Slackware and wireless internet (dell vostro 1510 laptop)
I used to have ndiswrapper working on my previous laptop, but now I can't make wireless work which is frustrating. I can't find correct drivers to work with ndiswrapper. But maybe I don't need them?
Below is the output of wireless_setup.txt file. What can I do to make my wireless card work under linux?
============ lsusb ============
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 046d:c045 Logitech, Inc. Optical Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
It is supported in Linux by the proprietary Broadcom Linux-STA driver, which provides the wl driver module. I don't know if Slackware has a version available from any third-party repositories, but you can always install it by compiling the source.
It didn't work unfortunately, I got an error while building the driver.
Quote:
bash-3.1# make -C /lib/modules/2.6.29-smp/build M=`pwd`
make: Entering directory `/usr/src/linux-2.6.29'
LD /root/hybrid_wl/built-in.o
CC [M] /root/hybrid_wl/src/wl/sys/wl_linux.o
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_attach':
/root/hybrid_wl/src/wl/sys/wl_linux.c:362: error: implicit declaration of function 'ieee80211_get_crypto_ops'
/root/hybrid_wl/src/wl/sys/wl_linux.c:362: warning: assignment makes pointer from integer without a cast
/root/hybrid_wl/src/wl/sys/wl_linux.c:365: warning: assignment makes pointer from integer without a cast
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_free':
/root/hybrid_wl/src/wl/sys/wl_linux.c:634: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c:669: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c:685: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:689: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_open':
/root/hybrid_wl/src/wl/sys/wl_linux.c:714: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_close':
/root/hybrid_wl/src/wl/sys/wl_linux.c:742: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_start':
/root/hybrid_wl/src/wl/sys/wl_linux.c:765: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_alloc_if':
/root/hybrid_wl/src/wl/sys/wl_linux.c:850: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_get_driver_info':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1030: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_ioctl':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1118: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c:1119: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_get_stats':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1204: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_get_wireless_stats':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1236: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c:1237: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_set_mac_address':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1304: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c:1312: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function '_wl_set_multicast_list':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1335: error: 'struct net_device' has no member named 'priv'
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_miccheck':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1726: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1729: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_micadd':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1748: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_encrypt':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1768: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_decrypt':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1790: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1792: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_keyset':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1834: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1844: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1851: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1861: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1871: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1878: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c: In function 'wl_tkip_printstats':
/root/hybrid_wl/src/wl/sys/wl_linux.c:1897: error: dereferencing pointer to incomplete type
/root/hybrid_wl/src/wl/sys/wl_linux.c:1899: error: dereferencing pointer to incomplete type
make[1]: *** [/root/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/root/hybrid_wl] Error 2
make: Leaving directory `/usr/src/linux-2.6.29'
I tried to fix it but so far no success. On a different forum I found a suggestion to install wicd. It installed without a problem but can't find wireless networks, although I know that there are at least 2 available. Any advice would be greatly appreciated
Did you read the instructions that came with the patch? I doesn't make much sense to patch the driver code after compiling it! Besides, you can't compile the driver, that is why you need the patch.
In the instructions, when it says this:
Code:
patch -p1 < patchfile
You need to replace "patchfile" with the name of the patch.
Code:
patch -p1 < patch_2.6.29_kernels
__________________
Paul
Please do not PM me with requests for help. I will not reply.
The problem is that I can't add module. Here is message that I get for modprobe:
Quote:
bash-3.1# modprobe /root/hybrid_wl/wl.ko
FATAL: Module /root/hybrid_wl/wl.ko not found.
The Broadcom driver built without a problem after I applied patch, the only warning I got was about license and no errors. Not sure what can I do to fix that.
This may have something to do with it being a proprietary driver. If the license is not open source, it won't compile it.
Open the file that the error is referring to, and find the line MODULE_LICENSE(). What exactly does it have there?
You need to tell it that it is gpl (yes, LIE!). The exact syntax I don't know. Maybe someone else can chime in. Or Google the error, and see if you come up with something.
Edit: Did the driver still compile? Or did it exit with an error? This may have been just a warning.
__________________
Paul
Please do not PM me with requests for help. I will not reply.
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe