Results 21 to 26 of 26
Sorry, too little sleep apparently. We didn't build it in that directory. Whoops!
Code:
cp -vi ~/broadcom/wl.ko /lib/modules/`uname -r`/extra/...
- 04-14-2011 #21
Sorry, too little sleep apparently. We didn't build it in that directory. Whoops!
Code:cp -vi ~/broadcom/wl.ko /lib/modules/`uname -r`/extra/
- 04-14-2011 #22
Hahaha. It's ok. Thanks and here is the output.
I noticed the invalid option error but honestly I don't know what it meansCode:[jun@localhost ~]$ cd broadcom/ [jun@localhost broadcom]$ cp -vi ~/broadcom/wl.ko /lib/modules/`uname -r`/extra/ `/home/jun/broadcom/wl.ko' -> `/lib/modules/2.6.32-71.24.1.el6.i686/extra/wl.ko' cp: cannot create regular file `/lib/modules/2.6.32-71.24.1.el6.i686/extra/wl.ko': Permission denied [jun@localhost broadcom]$ su -c cp -vi ~/broadcom/wl.ko /lib/modules/`uname -r`/extra/ su: invalid option -- 'v' Try `su --help' for more information. [jun@localhost broadcom]$
nujinini
Linux User #489667
- 04-14-2011 #23
Of you're going to use su -c you need to enclose the following command in quotes
Code:su -c 'cp -vi ~/broadcom/wl.ko /lib/modules/`uname -r`/extra/'
- 04-15-2011 #24

I don't get it. It says I have the files "wl.ko" and yet it says "No such file..."Code:[jun@localhost ~]$ su -c 'cp -vi ~/broadcom/wl.ko /lib/modules/`uname -r`/extra/' Password: cp: cannot stat `/root/broadcom/wl.ko': No such file or directory [jun@localhost ~]$
Thank you!Code:[jun@localhost ~]$ ls broadcom/ built-in.o modules.order wl.ko.unsigned hybrid-portsrc_x86_32-v5_100_82_38.tar.gz Module.symvers wl.mod.c lib src wl.mod.o Makefile wl.ko wl.o [jun@localhost ~]$
EDIT: Just added this one FWIW.
Code:[jun@localhost /]$ ls /lib/modules/ 2.6.32-71.18.1.el6.i686 2.6.32-71.24.1.el6.i686 2.6.32-71.el6.i686 [jun@localhost /]$ ls /lib/modules/2.6.32-71.24.1.el6.i686/ build modules.dep modules.networking modules.usbmap extra modules.dep.bin modules.ofmap source kernel modules.drm modules.order updates modules.alias modules.ieee1394map modules.pcimap vdso modules.alias.bin modules.inputmap modules.seriomap weak-updates modules.block modules.isapnpmap modules.symbols modules.ccwmap modules.modesetting modules.symbols.bin [jun@localhost /]$ ls /lib/modules/2.6.32-71.24.1.el6.i686/extra [jun@localhost /]$ ls -la /lib/modules/2.6.32-71.24.1.el6.i686/extra total 8 drwxr-xr-x. 2 root root 4096 Apr 8 14:22 . drwxr-xr-x. 7 root root 4096 Apr 14 09:02 .. [jun@localhost /]$
Last edited by nujinini; 04-15-2011 at 04:02 AM.
nujinini
Linux User #489667
- 04-15-2011 #25
Oh, it's because we can't use the ~ shortcut with su. It's exanding to /home/root, since you're running the command as the root user. Just use the full path to the file, ie, /home/jun/broadcom/wl.ko in place of ~/broadcom/wl.ko.
- 04-15-2011 #26

Wireless working !!!

These are the steps I did:
1) Install SL6 on my G430 Lenovo.
2) # yum update
3) su -c 'yum install kernel-headers-`uname -r` kernel-devel-`uname -r`'
4) su -c 'yum install gcc'
5) mkdir ~/broadcom
6) cd ~/broadcom
7) wget http://www.broadcom.com/docs/linux_s...0_82_38.tar.gz
8] tar xvfz hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
9) make -C /lib/modules/`uname -r`/build/ M=`pwd`
*Error report said "make" command not found so is sill had to
10) yum install make and executed # 9 again.
11) nano ~/broadcom/src/include/typedefs.h
*Edit files: #ifndef TYPEDEF_BOOL
typedef unsigned char bool;
#endif
TO
/*ifndef TYPEDEF_BOOL
typedef unsigned char bool;
#endif
*/
12) su -c 'cp -vi /home/jun/broadcom/wl.ko /lib/modules/`uname -r`/extra/'
13) insmod wl
14) depmod $(uname -r)
15) modprobe wl
16)# init 6
BINGO!!!
Notes: I also also blacklisted rmmod b43, ssd
Hope this can be of help to anybody who would like to try SC6 on wireless too.
And as always, thank you guys for the time and guidance.
regards,
nujininiLast edited by nujinini; 04-15-2011 at 05:14 PM. Reason: grammar
nujinini
Linux User #489667


