Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 26
Thank you MikeTbob! This is what I have right now. Code: [jun@localhost ~]$ su - Password: [root@localhost ~]# ls anaconda-ks.cfg hybrid_wl post-install.log broadcom-wl-4.80.53.0.tar.bz2 post-install [root@localhost ~]# ls hybrid_wl/ lib Makefile ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272

    Thank you MikeTbob!

    This is what I have right now.

    Code:
    [jun@localhost ~]$ su -
    Password: 
    [root@localhost ~]# ls
    anaconda-ks.cfg                hybrid_wl     post-install.log
    broadcom-wl-4.80.53.0.tar.bz2  post-install
    [root@localhost ~]# ls hybrid_wl/
    lib  Makefile  src
    [root@localhost ~]# ls broadcom-wl-4.80.53.0.tar.bz2 
    broadcom-wl-4.80.53.0.tar.bz2
    [root@localhost ~]# ls hybrid_wl/lib
    LICENSE.txt  wlc_hybrid.o_shipped
    [root@localhost ~]# ls hybrid_wl/Makefile 
    hybrid_wl/Makefile
    [root@localhost ~]# ls hybrid_wl/src
    include  shared  wl
    [root@localhost ~]# ls hybrid_wl/src/wl
    sys
    [root@localhost ~]#
    I think I better have lunch first since I'm starting to get a headache

    Much appreciated!
    nujinini
    Linux User #489667

  2. #12
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I didn't catch if you did this, but make sure you have gcc installed too
    Code:
    su -c 'yum install gcc'
    Make a directory for the driver, download and build
    Code:
    mkdir ~/broadcom
    cd ~/broadcom
    wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
    tar xvfz hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
    Now at this point rumor has it there may be a flaw in the code that won't let it build. So try to build
    Code:
    make -C /lib/modules/`uname -r`/build/ M=`pwd`
    If it fails, open the file typedefs.h in a text editor. (It's the directory src and then include)
    Code:
    nano ~/broadcom/src/include/typedefs.h
    Find this part, which should be at line 70
    Code:
    #ifndef TYPEDEF_BOOL
    typedef  unsigned char  bool;
    #endif
    And comment it out so it looks like this
    Code:
    /*
    #ifndef TYPEDEF_BOOL
    typedef  unsigned char  bool;
    #endif
    */
    Now it should build
    Code:
    make -C /lib/modules/`uname -r`/build/ M=`pwd`
    strip --strip-debug wl.ko
    And load the module
    Code:
    su -
    modprobe -r b43
    depmod `uname -r`
    modprobe wl

  3. #13
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Thankyou reed9,

    I was doing fine untill the last part. Here is my output.

    Code:
    [jun@localhost ~]$ su -c 'yum install gcc'
    Password: 
    Loaded plugins: refresh-packagekit
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package gcc.i686 0:4.4.4-13.el6 set to be updated
    --> Processing Dependency: cpp = 4.4.4-13.el6 for package: gcc-4.4.4-13.el6.i686
    --> Processing Dependency: libgomp = 4.4.4-13.el6 for package: gcc-4.4.4-13.el6.i686
    --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.4-13.el6.i686
    --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.4.4-13.el6.i686
    --> Processing Dependency: libgomp.so.1 for package: gcc-4.4.4-13.el6.i686
    --> Running transaction check
    ---> Package cloog-ppl.i686 0:0.15.7-1.2.el6 set to be updated
    --> Processing Dependency: libppl_c.so.2 for package: cloog-ppl-0.15.7-1.2.el6.i686
    --> Processing Dependency: libppl.so.7 for package: cloog-ppl-0.15.7-1.2.el6.i686
    ---> Package cpp.i686 0:4.4.4-13.el6 set to be updated
    --> Processing Dependency: libmpfr.so.1 for package: cpp-4.4.4-13.el6.i686
    ---> Package glibc-devel.i686 0:2.12-1.7.el6_0.5 set to be updated
    --> Processing Dependency: glibc-headers = 2.12-1.7.el6_0.5 for package: glibc-devel-2.12-1.7.el6_0.5.i686
    --> Processing Dependency: glibc-headers for package: glibc-devel-2.12-1.7.el6_0.5.i686
    ---> Package libgomp.i686 0:4.4.4-13.el6 set to be updated
    --> Running transaction check
    ---> Package glibc-headers.i686 0:2.12-1.7.el6_0.5 set to be updated
    ---> Package mpfr.i686 0:2.4.1-6.el6 set to be updated
    ---> Package ppl.i686 0:0.10.2-11.el6 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package             Arch       Version                 Repository         Size
    ================================================================================
    Installing:
     gcc                 i686       4.4.4-13.el6            sl                8.1 M
    Installing for dependencies:
     cloog-ppl           i686       0.15.7-1.2.el6          sl                 92 k
     cpp                 i686       4.4.4-13.el6            sl                3.4 M
     glibc-devel         i686       2.12-1.7.el6_0.5        sl-security       960 k
     glibc-headers       i686       2.12-1.7.el6_0.5        sl-security       599 k
     libgomp             i686       4.4.4-13.el6            sl                109 k
     mpfr                i686       2.4.1-6.el6             sl                153 k
     ppl                 i686       0.10.2-11.el6           sl                1.3 M
    
    Transaction Summary
    ================================================================================
    Install       8 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 15 M
    Installed size: 32 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/8): cloog-ppl-0.15.7-1.2.el6.i686.rpm                 |  92 kB     00:01     
    (2/8): cpp-4.4.4-13.el6.i686.rpm                         | 3.4 MB     00:20     
    (3/8): gcc-4.4.4-13.el6.i686.rpm                         | 8.1 MB     00:49     
    (4/8): glibc-devel-2.12-1.7.el6_0.5.i686.rpm             | 960 kB     00:05     
    (5/8): glibc-headers-2.12-1.7.el6_0.5.i686.rpm           | 599 kB     00:03     
    (6/8): libgomp-4.4.4-13.el6.i686.rpm                     | 109 kB     00:00     
    (7/8): mpfr-2.4.1-6.el6.i686.rpm                         | 153 kB     00:01     
    (8/8): ppl-0.10.2-11.el6.i686.rpm                        | 1.3 MB     00:09     
    --------------------------------------------------------------------------------
    Total                                           147 kB/s |  15 MB     01:41     
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : ppl-0.10.2-11.el6.i686                                   1/8 
      Installing     : cloog-ppl-0.15.7-1.2.el6.i686                            2/8 
      Installing     : mpfr-2.4.1-6.el6.i686                                    3/8 
      Installing     : cpp-4.4.4-13.el6.i686                                    4/8 
      Installing     : libgomp-4.4.4-13.el6.i686                                5/8 
      Installing     : glibc-headers-2.12-1.7.el6_0.5.i686                      6/8 
      Installing     : glibc-devel-2.12-1.7.el6_0.5.i686                        7/8 
      Installing     : gcc-4.4.4-13.el6.i686                                    8/8 
    
    Installed:
      gcc.i686 0:4.4.4-13.el6                                                       
    
    Dependency Installed:
      cloog-ppl.i686 0:0.15.7-1.2.el6       cpp.i686 0:4.4.4-13.el6                
      glibc-devel.i686 0:2.12-1.7.el6_0.5   glibc-headers.i686 0:2.12-1.7.el6_0.5  
      libgomp.i686 0:4.4.4-13.el6           mpfr.i686 0:2.4.1-6.el6                
      ppl.i686 0:0.10.2-11.el6             
    
    Complete!
    [jun@localhost ~]$ mkdir ~/broadcom
    [jun@localhost ~]$ cd ~/broadcom
    [jun@localhost broadcom]$ wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
    --2011-04-13 21:15:00--  http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
    Resolving www.broadcom.com... 208.70.88.55
    Connecting to www.broadcom.com|208.70.88.55|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1195817 (1.1M) [application/x-gzip]
    Saving to: “hybrid-portsrc_x86_32-v5_100_82_38.tar.gz”
    
    100%[======================================>] 1,195,817   71.0K/s   in 11s     
    
    2011-04-13 21:15:12 (104 KB/s) - “hybrid-portsrc_x86_32-v5_100_82_38.tar.gz” saved [1195817/1195817]
    
    [jun@localhost broadcom]$ tar xvfz hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
    Makefile
    lib/
    lib/wlc_hybrid.o_shipped
    lib/LICENSE.txt
    src/
    src/wl/
    src/wl/sys/
    src/wl/sys/wl_dbg.h
    src/wl/sys/wl_export.h
    src/wl/sys/wl_iw.c
    src/wl/sys/wl_iw.h
    src/wl/sys/wlc_pub.h
    src/wl/sys/wl_linux.c
    src/wl/sys/wl_linux.h
    src/wl/sys/wlc_key.h
    src/wl/sys/wlc_types.h
    src/include/
    src/include/proto/
    src/include/proto/802.11.h
    src/include/proto/802.1d.h
    src/include/proto/bcmeth.h
    src/include/proto/bcmevent.h
    src/include/proto/ethernet.h
    src/include/proto/wpa.h
    src/include/linux_osl.h
    src/include/packed_section_start.h
    src/include/wlioctl.h
    src/include/typedefs.h
    src/include/bcmcdc.h
    src/include/bcmwifi.h
    src/include/packed_section_end.h
    src/include/epivers.h
    src/include/osl.h
    src/include/bcmendian.h
    src/include/linuxver.h
    src/include/bcmutils.h
    src/include/bcmdefs.h
    src/include/pcicfg.h
    src/shared/
    src/shared/linux_osl.c
    [jun@localhost broadcom]$ make -C /lib/modules/`uname -r`/build/ M=`pwd`
    make: Entering directory `/usr/src/kernels/2.6.32-71.24.1.el6.i686'
      LD      /home/jun/broadcom/built-in.o
      CC [M]  /home/jun/broadcom/src/shared/linux_osl.o
      CC [M]  /home/jun/broadcom/src/wl/sys/wl_linux.o
      CC [M]  /home/jun/broadcom/src/wl/sys/wl_iw.o
      LD [M]  /home/jun/broadcom/wl.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: modpost: missing MODULE_LICENSE() in /home/jun/broadcom/wl.o
    see include/linux/module.h for more information
      CC      /home/jun/broadcom/wl.mod.o
      LD [M]  /home/jun/broadcom/wl.ko.unsigned
      NO SIGN [M] /home/jun/broadcom/wl.ko
    make: Leaving directory `/usr/src/kernels/2.6.32-71.24.1.el6.i686'
    [jun@localhost broadcom]$ nano ~/broadcom/src/include/typedefs.h
    [jun@localhost broadcom]$ make -C /lib/modules/`uname -r`/build/ M=`pwd`
    make: Entering directory `/usr/src/kernels/2.6.32-71.24.1.el6.i686'
      CC [M]  /home/jun/broadcom/src/shared/linux_osl.o
      CC [M]  /home/jun/broadcom/src/wl/sys/wl_linux.o
      CC [M]  /home/jun/broadcom/src/wl/sys/wl_iw.o
      LD [M]  /home/jun/broadcom/wl.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: modpost: missing MODULE_LICENSE() in /home/jun/broadcom/wl.o
    see include/linux/module.h for more information
      LD [M]  /home/jun/broadcom/wl.ko.unsigned
      NO SIGN [M] /home/jun/broadcom/wl.ko
    make: Leaving directory `/usr/src/kernels/2.6.32-71.24.1.el6.i686'
    [jun@localhost broadcom]$ su -
    Password: 
    [root@localhost ~]# modprobe -r b43
    [root@localhost ~]# depbod `uname -r`
    -bash: depbod: command not found
    [root@localhost ~]# depmod `uname -r`
    [root@localhost ~]# modprobe wl
    FATAL: Module wl not found.
    [root@localhost ~]#
    nujinini
    Linux User #489667

  4. #14
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Can you try
    Code:
    su -
    insmod wl
    cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
    depmod $(uname -r)
    modprobe wl

  5. #15
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Code:
    [root@localhost ~]# insmod wl
    insmod: can't read 'wl': No such file or directory
    [root@localhost ~]#
    Do you think it might be because of the many things I did when I tried to do it on my own? Like maybe I messed up wth something or my installation could have been defective in the first place?

    I can try to make a fresh install and go straight to your instructions if it can help
    Last edited by nujinini; 04-13-2011 at 02:05 PM.
    nujinini
    Linux User #489667

  6. #16
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272

    Need Help to Understand This

    It seems that I was just about a few steps away from making wireless work untill I encounter this issue. It says "user wl.ko does not exist. But ls tells me otherwise. Can somebody try to enlighten me please?

    Thanks!

    Code:
    [jun@localhost broadcom]$ su -c 'modprobe lib80211'
    Password: 
    [jun@localhost broadcom]$ su -c insmod wl.ko
    su: user wl.ko does not exist
    [jun@localhost broadcom]$ ls 
    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 broadcom]$
    nujinini
    Linux User #489667

  7. #17
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    You need to use
    Code:
    su -c "insmod wl.ko"
    Use the quotes when you have spaces in a command.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  8. #18
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Thank you!

    Not working on my end though.

    Code:
    [jun@localhost ~]$ su -c 'insmod wl.ko'
    Password: 
    insmod: can't read 'wl.ko': No such file or directory
    [jun@localhost ~]$ su -c "insmod wl.ko"
    Password: 
    insmod: can't read 'wl.ko': No such file or directory
    [jun@localhost ~]$
    nujinini
    Linux User #489667

  9. #19
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Copy the module first.
    Code:
    cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
    depmod $(uname -r)
    modprobe wl

  10. #20
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Thank you for the suggestion. Here are the outputs.

    Code:
    [jun@localhost broadcom]$ cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
    cp: cannot stat `/usr/local/src/hybrid-wl/wl.ko': No such file or directory
    [jun@localhost broadcom]$ ls
    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 broadcom]$ su -c cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
    su: invalid option -- 'v'
    Try `su --help' for more information.
    [jun@localhost broadcom]$ su -
    Password: 
    [root@localhost ~]# cp -vi /usr/local/src/hybrid-wl/wl.ko /lib/modules/`uname -r`/extra/
    cp: cannot stat `/usr/local/src/hybrid-wl/wl.ko': No such file or directory
    [root@localhost ~]#
    nujinini
    Linux User #489667

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •