Page 1 of 30 12311 ... LastLast
Results 1 to 10 of 295

Thread: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

  1. #1
    Join Date
    Oct 2006
    Location
    Falls Church, VA
    Beans
    691
    Distro
    Ubuntu 9.10 Karmic Koala

    HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    Note: I'm continuing the thread that has been made read-only in the archives:
    "HowTo: Broadcom 4311 in 5 minutes with ndiswrapper/WPA for fresh Feisty installs"


    Edit: Since I originally posted this I've also added support for other devices, so it now supports the BCM4306, BCM4310, BCM4311, BCM4312, BCM4318, and BCM4328
    Edit 2: Update (Oct 2007): Gutsy Gibbon (*Ubuntu 7.10) has native support (via the restricted driver manager) that actually works, so this guide isn't strictly necessary for Gutsy. However, Gutsy's native support isn't capable of quite the same bandwidth as this ndiswrapper solution. Further, it doesn't seem to work for everyone. Fortunately, this guide also appears to be compatible with Gutsy.
    Edit 3: Update (Apr 26 2008): This howto works with Hardy Heron (*Ubuntu 8.04) for many users. I've added some Hardy-specific commands that workaround an outstanding (ssb) module loading bug. Note, this howto still doesn't work for some Hardy users, for reasons we haven't fully hashed out yet, but almost certainly related to the ssb issue. Hardy users, please refrain from voting until this is worked out, but feel free to make thread posts.

    I created a quick howto for myself, since I've had to install this card a few times. This howto works well for fresh installs of Feisty (and Gutsy, and Hardy), and requires no compiled packages. (This means simple apt-get installs only for most people, but there are ndiswrapper compilation instructions for those who need it.)

    BCM43xx HowTo.


    This should take less than 5 minutes.

    Please report your results here or on the wiki. Others benefit from detailed feedback, so you get bonus points if you provide all of the following:

    HARDY Users, Before Following the Wiki: (I need this to try to develop a module-reloading script, since Hardy users ideally should use a custom module reloader for their particular hardware.)

    * Modules and Dependencies: lsmod


    All Users, After Following the Wiki
    • Machine Brand and Model
    • Wireless Brand and Model (please post the whole line): lspci | grep Broadcom
    • Wireless Chipset: lspci -n | grep '14e4:43'
    • Ubuntu Version: lsb_release -d
    • Kernel / Architecture: uname -mr
    • Any extra boot options you might be using (e.g., noacpi, irqpoll, etc.)
    • Whether or not you had to compile NDISWrapper
    • Which version of Step 2 you used (If you try the recommended step 2, and it doesn't work, and then you find some other, presumably newer, driver version that *does* work, please provide a link to the download, for inclusion consideration.)
    • If you're on Hardy, whether you had to apply the "Hardy Bug Fix" workaround or not


    Good luck,
    Jamie
    Last edited by Jamie Jackson; May 6th, 2008 at 11:34 PM. Reason: hardy update
    Last edited by Jamie Jackson; July 28th, 2008 at 08:54 PM. Reason: asking for links to dowloaded drivers that *do* work when my step 2 drivers fail

  2. #2
    Join Date
    Oct 2006
    Location
    Falls Church, VA
    Beans
    691
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    Quote Originally Posted by Rastus View Post
    the driver still shows "wl". Isn't it supposed to show ndiswrapper instead? Should I unclick "enabled" in the Administration > Hardware Drivers dialog for the "wl" driver?

    I await further instructions Captain Jackson.


    BTW, even though we haven't got my unit working yet, this is the easiest and best maintained resource for this issue on the net that I have found. I feel sure that the problem lies mainly in my linux N00b status and I really appreciate you taking the time to assist.
    R
    Ahoy, matey!

    Sure, you can try disabling it, then, I guess do:
    Code:
    sudo modprobe -d ndiswrapper
    sudo modprobe ndiswrapper
    And if that doesn't work, post the output of "lsmod" and "lshw -C network".

    Arrrrhh,
    Cap'n Jackson
    P.S. Right, "wl" is not what you want to see in the lshw -C network. It should look more like:
    Code:
     configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,03/23/2006, 4.40.1 latency=0 module=ndiswrapper multicast=yes
    P.S.S. Hands off me booty!
    Last edited by Jamie Jackson; July 25th, 2008 at 07:51 PM.

  3. #3
    Join Date
    Nov 2007
    Location
    NC, USA
    Beans
    829
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    It would be great if I could get bcm43 to install on my 4328 instead of ndiswrapper. I really want monitor and promiscuous mode, but ndiswrapper doesnt support it.
    Linux User #460341 || Ubuntu User #19510 || Unanswered Posts Team

  4. #4
    Join Date
    Jul 2008
    Beans
    6

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    I am back yet again.

    First let me say that the captain reference was more like "oh Captain, My captain" and I was standing on my desk when I typed it but I do like the pirate touch. Arrrrhhhh.

    OK,
    Since I am using a new machine, I decided to reinstall ubuntu and start over from step 1.

    I listed lsmod and lshw -C network before I did anything. It looked like this
    administrator@laptop4:~$ lsmod
    Module Size Used by
    ipv6 267780 10
    af_packet 23812 2
    i915 32512 2
    drm 82452 3 i915
    rfcomm 41744 2
    l2cap 25728 13 rfcomm
    bluetooth 61156 4 rfcomm,l2cap
    ppdev 10372 0
    acpi_cpufreq 10796 2
    cpufreq_conservative 8712 0
    cpufreq_powersave 2688 0
    cpufreq_stats 7104 0
    cpufreq_ondemand 9740 1
    freq_table 5536 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
    cpufreq_userspace 5284 0
    sbs 15112 0
    sbshc 7680 1 sbs
    dock 11280 0
    container 5632 0
    iptable_filter 3840 0
    ip_tables 14820 1 iptable_filter
    x_tables 16132 1 ip_tables
    sbp2 24072 0
    parport_pc 36260 0
    lp 12324 0
    parport 37832 3 ppdev,parport_pc,lp
    joydev 13120 0
    snd_hda_intel 344728 3
    snd_pcm_oss 42144 0
    snd_mixer_oss 17920 1 snd_pcm_oss
    snd_pcm 78596 2 snd_hda_intel,snd_pcm_oss
    snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
    snd_hwdep 10500 1 snd_hda_intel
    snd_seq_dummy 4868 0
    sr_mod 17956 1
    cdrom 37408 1 sr_mod
    snd_seq_oss 35584 0
    serio_raw 7940 0
    ieee80211_crypt_tkip 11648 0
    snd_seq_midi 9376 0
    wl 1062164 0
    ieee80211_crypt 7040 2 ieee80211_crypt_tkip,wl
    sky2 47492 0
    snd_rawmidi 25760 1 snd_seq_midi
    snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
    snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    snd_timer 24836 2 snd_pcm,snd_seq
    snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    sdhci 19076 0
    ricoh_mmc 4352 0
    mmc_core 51460 1 sdhci
    video 19856 0
    output 4736 1 video
    snd 56996 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_ seq,snd_timer,snd_seq_device
    wmi_acer 9644 0
    intel_agp 25492 1
    battery 14212 0
    button 9232 0
    ata_generic 8324 0
    ac 6916 0
    soundcore 8800 1 snd
    iTCO_wdt 13092 0
    iTCO_vendor_support 4868 1 iTCO_wdt
    agpgart 34760 3 drm,intel_agp
    evdev 13056 7
    shpchp 34452 0
    pci_hotplug 30880 1 shpchp
    dcdbas 9504 0
    pcspkr 4224 0
    psmouse 40336 0
    ext3 136712 1
    jbd 48404 1 ext3
    mbcache 9600 1 ext3
    ata_piix 19588 1
    sg 36880 0
    sd_mod 30720 3
    pata_acpi 8320 0
    ahci 28420 2
    libata 159344 4 ata_generic,ata_piix,pata_acpi,ahci
    ohci1394 33584 0
    scsi_mod 151436 5 sbp2,sr_mod,sg,sd_mod,libata
    ieee1394 93752 2 sbp2,ohci1394
    ehci_hcd 37900 0
    uhci_hcd 27024 0
    usbcore 146028 3 ehci_hcd,uhci_hcd
    thermal 16796 0
    processor 36872 4 acpi_cpufreq,thermal
    fan 5636 0
    fbcon 42912 0
    tileblit 3456 1 fbcon
    font 9472 1 fbcon
    bitblit 6784 1 fbcon
    softcursor 3072 1 bitblit
    fuse 50708 3
    administrator@laptop4:~$ lshw -C network
    WARNING: you should run this program as super-user.
    *-network
    description: Ethernet interface
    product: 88E8040 PCI-E Fast Ethernet Controller
    vendor: Marvell Technology Group Ltd.
    physical id: 0
    bus info: pci@0000:09:00.0
    logical name: eth0
    version: 12
    serial: 00:21:9b:cd:08:21
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A ip=192.168.100.127 latency=0 module=sky2 multicast=yes
    *-network
    description: Wireless interface
    product: BCM4310 USB Controller
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:0b:00.0
    logical name: eth1
    version: 01
    serial: 00:1f:e1:5d:bb:c8
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=wl latency=0 module=wl multicast=yes wireless=IEEE 802.11
    administrator@laptop4:~$
    I went through the guide carefully using 2e drivers.
    when I got done, I ran lshw -C network and lsmod again and they looked like this:
    administrator@laptop4:~/bcm43xx$ lshw -C network
    WARNING: you should run this program as super-user.
    *-network
    description: Ethernet interface
    product: 88E8040 PCI-E Fast Ethernet Controller
    vendor: Marvell Technology Group Ltd.
    physical id: 0
    bus info: pci@0000:09:00.0
    logical name: eth0
    version: 12
    serial: 00:21:9b:cd:08:21
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A ip=192.168.100.127 latency=0 module=sky2 multicast=yes
    *-network
    description: Wireless interface
    product: BCM4310 USB Controller
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:0b:00.0
    logical name: eth1
    version: 01
    serial: 00:1f:e1:5d:bb:c8
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=wl latency=0 module=wl multicast=yes wireless=IEEE 802.11
    administrator@laptop4:~/bcm43xx$ lsmod
    Module Size Used by
    ndiswrapper 192920 0
    ipv6 267780 10
    af_packet 23812 2
    i915 32512 2
    drm 82452 3 i915
    rfcomm 41744 2
    l2cap 25728 13 rfcomm
    bluetooth 61156 4 rfcomm,l2cap
    ppdev 10372 0
    acpi_cpufreq 10796 2
    cpufreq_conservative 8712 0
    cpufreq_powersave 2688 0
    cpufreq_stats 7104 0
    cpufreq_ondemand 9740 1
    freq_table 5536 3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
    cpufreq_userspace 5284 0
    sbs 15112 0
    sbshc 7680 1 sbs
    dock 11280 0
    container 5632 0
    iptable_filter 3840 0
    ip_tables 14820 1 iptable_filter
    x_tables 16132 1 ip_tables
    sbp2 24072 0
    parport_pc 36260 0
    lp 12324 0
    parport 37832 3 ppdev,parport_pc,lp
    joydev 13120 0
    snd_hda_intel 344728 3
    snd_pcm_oss 42144 0
    snd_mixer_oss 17920 1 snd_pcm_oss
    snd_pcm 78596 2 snd_hda_intel,snd_pcm_oss
    snd_page_alloc 11400 2 snd_hda_intel,snd_pcm
    snd_hwdep 10500 1 snd_hda_intel
    snd_seq_dummy 4868 0
    sr_mod 17956 0
    cdrom 37408 1 sr_mod
    snd_seq_oss 35584 0
    serio_raw 7940 0
    ieee80211_crypt_tkip 11648 0
    snd_seq_midi 9376 0
    wl 1062164 0
    ieee80211_crypt 7040 2 ieee80211_crypt_tkip,wl
    sky2 47492 0
    snd_rawmidi 25760 1 snd_seq_midi
    snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
    snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
    snd_timer 24836 2 snd_pcm,snd_seq
    snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
    sdhci 19076 0
    ricoh_mmc 4352 0
    mmc_core 51460 1 sdhci
    video 19856 0
    output 4736 1 video
    snd 56996 17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,sn d_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_ seq,snd_timer,snd_seq_device
    wmi_acer 9644 0
    intel_agp 25492 1
    battery 14212 0
    button 9232 0
    ata_generic 8324 0
    ac 6916 0
    soundcore 8800 1 snd
    iTCO_wdt 13092 0
    iTCO_vendor_support 4868 1 iTCO_wdt
    agpgart 34760 3 drm,intel_agp
    evdev 13056 7
    shpchp 34452 0
    pci_hotplug 30880 1 shpchp
    dcdbas 9504 0
    pcspkr 4224 0
    psmouse 40336 0
    ext3 136712 1
    jbd 48404 1 ext3
    mbcache 9600 1 ext3
    ata_piix 19588 0
    sg 36880 0
    sd_mod 30720 3
    pata_acpi 8320 0
    ahci 28420 2
    libata 159344 4 ata_generic,ata_piix,pata_acpi,ahci
    ohci1394 33584 0
    scsi_mod 151436 5 sbp2,sr_mod,sg,sd_mod,libata
    ieee1394 93752 2 sbp2,ohci1394
    ehci_hcd 37900 0
    uhci_hcd 27024 0
    usbcore 146028 4 ndiswrapper,ehci_hcd,uhci_hcd
    thermal 16796 0
    processor 36872 4 acpi_cpufreq,thermal
    fan 5636 0
    fbcon 42912 0
    tileblit 3456 1 fbcon
    font 9472 1 fbcon
    bitblit 6784 1 fbcon
    softcursor 3072 1 bitblit
    fuse 50708 3
    administrator@laptop4:~/bcm43xx$
    I noted that the 'wl'driver was still listed so I tried to use the
    sudo modprobe -d ndiswrapper
    but it said that -d was an invalid argument.

    So I went to the System > Administration > Hardware drivers and unchecked the "wl" driver and rebooted.

    Now I have
    administrator@laptop4:~$ lshw -C network
    WARNING: you should run this program as super-user.
    *-network
    description: Ethernet interface
    product: 88E8040 PCI-E Fast Ethernet Controller
    vendor: Marvell Technology Group Ltd.
    physical id: 0
    bus info: pci@0000:09:00.0
    logical name: eth0
    version: 12
    serial: 00:21:9b:cd:08:21
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical
    configuration: broadcast=yes driver=sky2 driverversion=1.20 firmware=N/A latency=0 module=sky2 multicast=yes
    *-network
    description: Wireless interface
    product: BCM4310 USB Controller
    vendor: Broadcom Corporation
    physical id: 0
    bus info: pci@0000:0b:00.0
    logical name: wlan0
    version: 01
    serial: 00:1f:e1:5d:bb:c8
    width: 64 bits
    clock: 33MHz
    capabilities: bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,09/20/2007, 4.170. latency=0 module=ndiswrapper multicast=yes wireless=IEEE 802.11g
    administrator@laptop4:~$
    But I have the same symptoms, I can see the network and it still will not connect with my WEP key.
    Suggestions?

    PS I am sure that you have nice booty but I'm not that kind of guy.
    Last edited by Rastus; July 25th, 2008 at 09:26 PM. Reason: update

  5. #5
    Join Date
    Apr 2006
    Location
    Longview, TX
    Beans
    187
    Distro
    Ubuntu 9.10 Karmic Koala

    Smile Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    The stripped down driver bundle for my card (Broadcom Corporation BCM4310 USB Controller (rev 01)) did not work; ndiswrapper it didn't detect the hardware after loading it. The driver in the massive ~86mb-ish exe file from Dell did, though. (I've got a Vostro 1510).

    Other than that, though? Golden. Thank you very much, good sir!

  6. #6
    Join Date
    Jul 2008
    Beans
    21

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    I'm having trouble with the wiki. I have a dell inspiron 5100, with a Broadcom BCM 4306 rev 02. I followed the first couple steps on the wiki, but when i get to step 3, in lshw -C network, the module=ssb. So i tried to do the temporary bugfix, but whenever i try to use a command with b43 or b43 legacy, it says it doesn't exist in /proc/modules. Does anyone know the cause of this error?

    Much obliged, Hasmarth

  7. #7
    Join Date
    Apr 2008
    Beans
    14

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    Hello
    now, I followed your wiki several times redoing it and trying everything

    now network manager sees the wi-fi networks but isn't capable to connect to them...

    I installed wlassistant and it doesn't see anything...

    I don't know what to do... help!

    I think I did step 2a last time...

    Code:
    $ lspci | grep Broadcom
    03:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
    $ lspci -n | grep '14e4:43'
    03:03.0 0280: 14e4:4318 (rev 02)
    $ lsb_release -d
    Description:	Ubuntu 8.04.1
    $ uname -mr
    2.6.24-19-generic x86_64
    
    $lshw -C network
    *-network
           description: Wireless interface
           product: BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
           vendor: Broadcom Corporation
           physical id: 3
           bus info: pci@0000:03:03.0
           logical name: wlan0
           version: 02
           serial: 00:15:f2:57:20:ec
           width: 32 bits
           clock: 33MHz
           capabilities: bus_master ethernet physical wireless
           configuration: broadcast=yes driver=ndiswrapper+bcmwl5 driverversion=1.52+Broadcom,10/12/2006, 4.100. latency=64 link=no module=ndiswrapper multicast=yes wireless=IEEE 802.11g

  8. #8
    Join Date
    Apr 2007
    Location
    Mount Horeb, WI
    Beans
    4,312
    Distro
    Kubuntu Development Release

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    Quote Originally Posted by Hasmarth View Post
    I'm having trouble with the wiki. I have a dell inspiron 5100, with a Broadcom BCM 4306 rev 02. I followed the first couple steps on the wiki, but when i get to step 3, in lshw -C network, the module=ssb. So i tried to do the temporary bugfix, but whenever i try to use a command with b43 or b43 legacy, it says it doesn't exist in /proc/modules. Does anyone know the cause of this error?

    Much obliged, Hasmarth
    It just means that the driver is not currently loaded. b43legacy is one word though. I just wanted to point that out because the 4306 rev 02 is sometimes a b43legacy module intsead of the b43.

    So, if you see that it does not exist, then it is ok because the module has been removed (or was never loaded) so it will not cause any conflicts.

  9. #9
    Join Date
    Jul 2008
    Beans
    21

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    Ok so i odn't need it at all? cause if a search my files for b43/b43legacy, i cant find them. Would the problem be fixed if i moved them or should i just not worry about them?

  10. #10
    Join Date
    Dec 2006
    Beans
    45

    Re: HowTo: Broadcom BCM43xx in 5 minutes with ndiswrapper/WPA for fresh installs

    Hasmarth,

    Just execute the commands in 0.3, and if it says "Not found," ignore it and keep going. You'll be fine.

    m00t

Page 1 of 30 12311 ... LastLast

Bookmarks

Posting Permissions

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