[ASK] Bantu saya dong mau build driver wifi
#1
salam sukses bro kembali lagi ane dengan masalah baru :badpc::badpc::badpc:
ini bro, menghadapi driver wifi di bt5r1.. ane coba mau ikutin cara dari sini
Code:
hi
try this:

1. Download the Broadcom drivers: http://www.broadcom.com/support/802.11/linux_sta.php
2. Unpack and modify the ‘src/wl/sys/wl_linux.c‘:
Line 35 (after #include <linux/etherdevice.h>) add:

#include < linux/sched.h >

3. Compile the code with: make
4. Copy the new driver: sudo mv wl.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
5. Update dependencies: sudo depmod -a
6. Modify the blacklist to include the ‘b43′ and ’ssb’ drivers /etc/modprobe.d/blacklist.conf (Add below the bcm43xx blacklist)

The part above you probably have seen a few times while googling for the answer. But there is a small problem, as you would have noticed, the ‘ssb‘ driver cannot be blacklisted. It is included in the initrd as I remember from the ubuntuforums. To solve this issue modify the /etc/rc.local to include before the exit(0):

Code:

rmmod ssb
modprobe wl

Now on startup the ssb gets removed and after that the new wl gets inserted. Adding wl to the /etc/modules will not help because the removing needs to be done first.
So with the /etc/rc.local modification everything happens in the correct order for perfect WiFi.

This was tested multiple times on a MacBook Pro with the Broadcom 4328 chipset and should work for all chipsets not supported by the b43 drivers.

Update:
Not all systems include the 'linux/sched.h' file. Install the 'linux-headers-generic' package if you get errors. The generic package is a meta package that should install the propper package for your kernel. If it isn't working install with
Code:

sudo apt-get install linux-headers-$(uname -r)

hope this helps
GD

nah tapi ane selalu gagal pas mau 'make' nya bro.. ga menghasilkan output file yang bernama wl.ko

berikut errornya
Code:
oot@bt:~# make

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-source-2.6.39.4'

  WARNING: Symbol version dump /usr/src/linux-source-2.6.39.4/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/src/wl/sys/wl_linux.o
/root/src/wl/sys/wl_linux.c: In function ‘wl_attach’:
/root/src/wl/sys/wl_linux.c:486: error: implicit declaration of function ‘init_MUTEX’
make[2]: *** [/root/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/root] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.39.4'
make: *** [all] Error 2
root@bt:~#

sebelumnya ane udah prepare-kernel-sources bro sama apt-get install linux-headers-$(uname -r) buat install linux header..
hehe ane masih nubi nih masalah per-compile-an om..
tolong bantuannya ya Big Grin Big Grin

#2
wah parah no reply Big Grin Big Grin Big Grin

#3
akawkakwkawkak gile sepi maning Big Grin Big Grin Big Grin

#4
sabar dong bro, teman2 disini punya kehidupan dan pekerjaan masing2..

klo mau response yg cepat lebih baik ke forum ubuntu karena BT5 ini based ubuntu dan disana pasti lebih banyak orangnya:
http://ubuntuforums.org

lebih baik lagi klo bro bisa menemukan solusinya dan diposting disini Tongue

oke?

klo dilihat diatas ane mo tanya 2 hal:
1. peringatan warning
Quote:WARNING: Symbol version dump /usr/src/linux-source-2.6.39.4/Module.symvers is missing; modules will have no dependencies and modversions.

udah dilihat, apakah sudah ada atau belum folder linux-source-2.6.39.4 ? biasanya masih berupa file tar.gz jadi harus diextract dulu

2. pada langkah ke dua udah dilakukan atau belum?
Quote:2. Unpack and modify the ‘src/wl/sys/wl_linux.c‘:
Line 35 (after #include <linux/etherdevice.h>) add:

#include < linux/sched.h >

oiya ini ada yg berhasil install Madwifi driver di BT5:
http://www.backtrack-linux.org/forums/ba...post206051

#5
(09-07-2011, 08:49 AM)konspirasi Wrote: sabar dong bro, teman2 disini punya kehidupan dan pekerjaan masing2..

klo mau response yg cepat lebih baik ke forum ubuntu karena BT5 ini based ubuntu dan disana pasti lebih banyak orangnya:
http://ubuntuforums.org

lebih baik lagi klo bro bisa menemukan solusinya dan diposting disini Tongue

oke?

klo dilihat diatas ane mo tanya 2 hal:
1. peringatan warning
Quote:WARNING: Symbol version dump /usr/src/linux-source-2.6.39.4/Module.symvers is missing; modules will have no dependencies and modversions.


udah dilihat, apakah sudah ada atau belum folder linux-source-2.6.39.4 ? biasanya masih berupa file tar.gz jadi harus diextract dulu

2. pada langkah ke dua udah dilakukan atau belum?
Quote:2. Unpack and modify the ‘src/wl/sys/wl_linux.c‘:
Line 35 (after #include <linux/etherdevice.h>) add:

#include < linux/sched.h >

oiya ini ada yg berhasil install Madwifi driver di BT5:
http://www.backtrack-linux.org/forums/ba...post206051

udah om, file 2.6.39.4 memang udah ada..
masalah yang nambahin header jga udah ko..
langkah 1 2 udah bisa, ane error di make nya ini, kayanya ada yang masih kurang..
iya gpp, ini juga ane sambil nyari ko..
makasih om buat responnya Big Grin Big Grin






Users browsing this thread: 1 Guest(s)