Results 1 to 3 of 3

Thread: Problem compiling Broadcom 4313 driver

Hybrid View

  1. #1
    Just burned his ISO
    Join Date
    Jan 2012
    Posts
    1

    Default Problem compiling Broadcom 4313 driver

    Hello,
    I am stuck trying to compile a Broadcom driver and be able to run my wifi card properly.
    I am running BT5r1-Gnome64 from a persistent USB (tried the same with KDE and 32 versions)
    Driver has been downloaded from http://www.broadcom.com/support/802.11/linux_sta.php

    lspci:
    Code:
    root@root:~# lspci
    00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
    00:19.0 Ethernet controller: Intel Corporation 82577LC Gigabit Network Connection (rev 06)
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
    00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
    00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
    00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
    02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
    iwconfig:
    Code:
    root@root:~# ifconfig wlan up
    wlan: ERROR while getting interface flags: No such device
    root@root:~# ifconfig wlan0 up
    wlan0: ERROR while getting interface flags: No such device
    root@root:~# ifconfig eth0 up
    root@root:~# iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.

    When trying to compile the driver I get:

    Code:
    root@root:~# tar xzf hybrid-portsrc_x86_64-v5_100_82_112.tar.gz
    root@root:~# ln -s /usr/src/linux /lib/modules/2.6.39.4/build
    root@root:~# make clean
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
    make[1]: Entering directory `/usr/src/linux-source-2.6.39.4'
    CFG80211 API is prefered for this kernel version
    /root/Makefile:80: Neither CFG80211 nor Wireless Extension is enabled in kernel
    make[1]: Leaving directory `/usr/src/linux-source-2.6.39.4'
    root@root:~# 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.
    
    CFG80211 API is prefered for this kernel version
    Using CFG80211 API
      LD      /root/built-in.o
      CC [M]  /root/src/shared/linux_osl.o
      CC [M]  /root/src/wl/sys/wl_linux.o
      CC [M]  /root/src/wl/sys/wl_iw.o
      CC [M]  /root/src/wl/sys/wl_cfg80211.o
    /root/src/wl/sys/wl_cfg80211.c: In function ‘wl_inform_single_bss’:
    /root/src/wl/sys/wl_cfg80211.c:1817: error: too few arguments to function ‘ieee80211_channel_to_frequency’
    make[2]: *** [/root/src/wl/sys/wl_cfg80211.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
    I have found similar issues at:
    http://www.backtrack-linux.org/forum...light=broadcom
    http://www.backtrack-linux.org/forum...backtrack.html
    http://www.broadcom.com/docs/linux_sta/README.txt

    and few others.

    Any help will be appreciated.

    Thanks.

  2. #2
    Just burned their ISO
    Join Date
    Dec 2012
    Posts
    2

    Default Re: Problem compiling Broadcom 4313 driver

    Quote Originally Posted by gmsino View Post
    Hello,
    I am stuck trying to compile a Broadcom driver and be able to run my wifi card properly.
    I am running BT5r1-Gnome64 from a persistent USB (tried the same with KDE and 32 versions)
    Driver has been downloaded from http://www.broadcom.com/support/802.11/linux_sta.php

    lspci:
    Code:
    root@root:~# lspci
    00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
    00:19.0 Ethernet controller: Intel Corporation 82577LC Gigabit Network Connection (rev 06)
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
    00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
    00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
    00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
    02:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
    iwconfig:
    Code:
    root@root:~# ifconfig wlan up
    wlan: ERROR while getting interface flags: No such device
    root@root:~# ifconfig wlan0 up
    wlan0: ERROR while getting interface flags: No such device
    root@root:~# ifconfig eth0 up
    root@root:~# iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.

    When trying to compile the driver I get:

    Code:
    root@root:~# tar xzf hybrid-portsrc_x86_64-v5_100_82_112.tar.gz
    root@root:~# ln -s /usr/src/linux /lib/modules/2.6.39.4/build
    root@root:~# make clean
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
    make[1]: Entering directory `/usr/src/linux-source-2.6.39.4'
    CFG80211 API is prefered for this kernel version
    /root/Makefile:80: Neither CFG80211 nor Wireless Extension is enabled in kernel
    make[1]: Leaving directory `/usr/src/linux-source-2.6.39.4'
    root@root:~# 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.
    
    CFG80211 API is prefered for this kernel version
    Using CFG80211 API
      LD      /root/built-in.o
      CC [M]  /root/src/shared/linux_osl.o
      CC [M]  /root/src/wl/sys/wl_linux.o
      CC [M]  /root/src/wl/sys/wl_iw.o
      CC [M]  /root/src/wl/sys/wl_cfg80211.o
    /root/src/wl/sys/wl_cfg80211.c: In function ‘wl_inform_single_bss’:
    /root/src/wl/sys/wl_cfg80211.c:1817: error: too few arguments to function ‘ieee80211_channel_to_frequency’
    make[2]: *** [/root/src/wl/sys/wl_cfg80211.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
    I have found similar issues at:
    http://www.backtrack-linux.org/forum...light=broadcom
    http://www.backtrack-linux.org/forum...backtrack.html
    http://www.broadcom.com/docs/linux_sta/README.txt

    and few others.

    Any help will be appreciated.

    Thanks.
    I've got exactly the same problem.

  3. #3
    Very good friend of the forum maverik35's Avatar
    Join Date
    Sep 2009
    Location
    Debian land
    Posts
    734

    Default Re: Problem compiling Broadcom 4313 driver

    Try this:
    1. Install wireless-tools (aptitude install wireless-tools) if not installed. To know if already installed, do this: aptitude show wireless-tools.
    2. Download this firmware "firmware-brcm80211_0.36_all.deb" from here: http://mmc.geofisica.unam.mx/debian/...mware-nonfree/
    3. Install firmware: dpkg -i firmware-brcm80211_0.36_all.deb

    Now reinsert the new driver: modprobe -r brcmsmac ; modprobe brcmsmac or simply reboot.

    You might have a message from kernel about the new module brmsmac, ignore it, this could show after reboot...

    Try it.

Similar Threads

  1. Going crazt with Broadcom 4313 wifi card
    By Learning0 in forum BackTrack 5 Beginners Section
    Replies: 7
    Last Post: 11-12-2012, 11:23 AM
  2. broadcom 4313
    By uptownmo in forum Non Working Hardware
    Replies: 4
    Last Post: 03-08-2012, 05:09 PM
  3. Problem compiling ettercap filters.
    By darktherapy in forum Beginners Forum
    Replies: 0
    Last Post: 05-02-2011, 11:20 AM
  4. Replies: 1
    Last Post: 12-31-2010, 01:45 PM
  5. Problem updating/compiling Aircrack-ng?
    By sykick in forum OLD Newbie Area
    Replies: 10
    Last Post: 09-27-2007, 10:46 AM

Posting Permissions

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