Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hello Everybody, My motherboard has arrived and I am now trying to make the wireless of my Debian partition work. I tried the instructions I used when I got help ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274

    Wireless on Fresh Installed Debian


    Hello Everybody,

    My motherboard has arrived and I am now trying to make the wireless of my Debian partition work. I tried the instructions I used when I got help from this forums but is somehow experiencing puzzling outputs since I am just running the same commands I used then.

    May I ask for some guidance regarding my wireless please? I am posting the basics hereunder and also the current results of my outputs.

    Code:
    jun@junix:~$ lspci -knn
    00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
            Kernel driver in use: agpgart-intel
            Kernel modules: intel-agp
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
    00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
    00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
            Kernel driver in use: uhci_hcd
            Kernel modules: uhci-hcd
    00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
            Kernel driver in use: uhci_hcd
            Kernel modules: uhci-hcd
    00:1a.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
            Kernel driver in use: uhci_hcd
            Kernel modules: uhci-hcd
    00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
            Kernel driver in use: ehci_hcd
            Kernel modules: ehci-hcd
    00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
            Kernel driver in use: HDA Intel
            Kernel modules: snd-hda-intel
    00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
            Kernel driver in use: pcieport-driver
            Kernel modules: shpchp
    00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
            Kernel driver in use: pcieport-driver
            Kernel modules: shpchp
    00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
            Kernel driver in use: pcieport-driver
            Kernel modules: shpchp
    00:1c.3 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 [8086:2946] (rev 03)
            Kernel driver in use: pcieport-driver
            Kernel modules: shpchp
    00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 03)
            Kernel driver in use: pcieport-driver
            Kernel modules: shpchp
    00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
            Kernel driver in use: uhci_hcd
            Kernel modules: uhci-hcd
    00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
            Kernel driver in use: uhci_hcd
            Kernel modules: uhci-hcd
    00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
            Kernel driver in use: uhci_hcd
            Kernel modules: uhci-hcd
    00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
            Kernel driver in use: ehci_hcd
            Kernel modules: ehci-hcd
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
    00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
    00:1f.2 IDE interface [0101]: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller [8086:2928] (rev 03)
            Kernel driver in use: ata_piix
            Kernel modules: ata_piix
    00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
            Kernel driver in use: i801_smbus
            Kernel modules: i2c-i801
    00:1f.5 IDE interface [0101]: Intel Corporation ICH9M/M-E 2 port SATA IDE Controller [8086:292d] (rev 03)
            Kernel driver in use: ata_piix
            Kernel modules: ata_piix
    05:00.0 System peripheral [0880]: JMicron Technologies, Inc. Device [197b:2382]
    05:00.2 SD Host controller [0805]: JMicron Technologies, Inc. Device [197b:2381]
            Kernel driver in use: sdhci
            Kernel modules: sdhci
    05:00.3 System peripheral [0880]: JMicron Technologies, Inc. Device [197b:2383]
            Kernel driver in use: jmb38x_ms
            Kernel modules: jmb38x_ms
    06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
    07:00.0 Ethernet controller [0200]: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express [14e4:1713] (rev 02)
            Kernel driver in use: tg3
            Kernel modules: tg3
    
    jun@junix:~$ lsmod
    Module                  Size  Used by
    rfcomm                 28272  0
    l2cap                  17248  5 rfcomm
    bluetooth              44996  4 rfcomm,l2cap
    ppdev                   6468  0
    parport_pc             22500  0
    lp                      8164  0
    parport                30988  3 ppdev,parport_pc,lp
    ipv6                  235396  16
    acpi_cpufreq            6796  1
    cpufreq_conservative     5960  0
    cpufreq_userspace       3172  0
    cpufreq_stats           3776  0
    cpufreq_powersave       1856  0
    cpufreq_ondemand        6476  1
    freq_table              4224  3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
    loop                   12748  0
    joydev                  8480  0
    snd_hda_intel         325720  0
    snd_pcm_oss            32800  0
    snd_mixer_oss          12320  1 snd_pcm_oss
    snd_pcm                62660  2 snd_hda_intel,snd_pcm_oss
    snd_seq_dummy           2660  0
    snd_seq_oss            24992  0
    snd_seq_midi            5728  0
    snd_rawmidi            18496  1 snd_seq_midi
    snd_seq_midi_event      6432  2 snd_seq_oss,snd_seq_midi
    snd_seq                41456  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
    uvcvideo               45800  0
    snd_timer              17800  2 snd_pcm,snd_seq
    snd_seq_device          6380  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
    compat_ioctl32          1312  1 uvcvideo
    snd                    45636  9 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    jmb38x_ms               7460  0
    i2c_i801                7920  0
    videodev               27520  1 uvcvideo
    soundcore               6368  1 snd
    v4l1_compat            12260  2 uvcvideo,videodev
    memstick                9468  1 jmb38x_ms
    wmi                     6440  0
    serio_raw               4740  0
    pcspkr                  2432  0
    psmouse                32336  0
    i2c_core               19828  1 i2c_i801
    snd_page_alloc          7816  2 snd_hda_intel,snd_pcm
    battery                10180  0
    video                  16464  0
    output                  2912  1 video
    ac                      4196  0
    button                  6096  0
    intel_agp              22524  1
    agpgart                28808  1 intel_agp
    evdev                   8000  9
    ext3                  105576  1
    jbd                    39476  1 ext3
    mbcache                 7108  1 ext3
    sg                     26964  0
    sr_mod                 13316  0
    cdrom                  30176  1 sr_mod
    sd_mod                 22200  3
    ata_generic             4676  0
    ata_piix               14180  2
    libata                140448  2 ata_generic,ata_piix
    scsi_mod              129548  4 sg,sr_mod,sd_mod,libata
    dock                    8304  1 libata
    ide_pci_generic         3908  0 [permanent]
    ide_core               96168  1 ide_pci_generic
    tg3                    84708  0
    sdhci                  13060  0
    mmc_core               39964  1 sdhci
    ehci_hcd               28428  0
    uhci_hcd               18672  0
    usbcore               118192  4 uvcvideo,ehci_hcd,uhci_hcd
    thermal                15228  0
    processor              32576  4 acpi_cpufreq,thermal
    fan                     4196  0
    thermal_sys            10856  4 video,thermal,processor,fan
    
    jun@junix:~$ dmesg | grep firmware
    
    jun@junix:~$ uname -r
    2.6.26-2-686
    jun@junix:~$

    And here are some errors I am receiving as I executed some commands.
    Code:
    jun@junix:~$ wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.10.91.9-3_all.deb
    --2009-11-09 00:59:18--  http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.10.91.9-3_all.deb
    Resolving http.us.debian.org... 35.9.37.225, 64.50.236.52, 128.30.2.36, ...
    Connecting to http.us.debian.org|35.9.37.225|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2009-11-09 00:59:20 ERROR 404: Not Found.
    
    jun@junix:~$ wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.10.91.9-3_all.deb
    --2009-11-09 00:59:41--  http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.10.91.9-3_all.deb
    Resolving http.us.debian.org... 35.9.37.225
    Connecting to http.us.debian.org|35.9.37.225|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2009-11-09 00:59:42 ERROR 404: Not Found.
    Thank you again for any help extended
    Last edited by nujinini; 11-08-2009 at 05:12 PM. Reason: typo

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Debian removed the wl package from their repos just recently.

    Here are new instructions to build the module.

  3. #3
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Hello,

    Thank you! Hereunder are my outputs. I have encountered something and I'm not pretty sure what am I doing wrong at this point. I hope you can help enlighten me please...
    Code:
    jun@junix:~$ su -
    Password:
    junix:~# # aptitude update && aptitude install build-essential linux-headers-$ `uname-r` wireless-tools
    junix:~# exit
    logout
    jun@junix:~$  wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz
    --2009-11-09 09:53:00--  http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_64-v5.10.91.9.3.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: 601391 (587K) [application/x-gzip]
    Saving to: `hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz'
    
    100%[======================================>] 601,391     33.5K/s   in 17s
    
    2009-11-09 09:53:18 (34.3 KB/s) - `hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz' saved [601391/601391]
    
    jun@junix:~$ mkdir hybrid_wl && cd hybrid_wl
    jun@junix:~/hybrid_wl$ tar xvf ../hybrid-portsrc*
    tar: ../hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz: Not found in archive
    tar: Error exit delayed from previous errors
    jun@junix:~/hybrid_wl$ tar xvf hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz
    tar: hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz: Cannot open: No such file or directory
    jun@junix:~/hybrid_wl$ tar xvf hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz
    tar: hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    jun@junix:~/hybrid_wl$ tar xvf hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz/hybrid-postsrc*
    tar: hybrid-portsrc-x86_64-v5.10.91.9.3.tar.gz/hybrid-postsrc*: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    jun@junix:~/hybrid_wl$

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    The tar xvf ../hybrid-portsrc* bit is just saying look up one directory to find the tarball and extract. Just get the downloaded tar file into your working directory and extract, either from the command line with tar, or with a GUI archive manager, like fileroller in GNOME.

  6. #5
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Hello,

    Thank you!

    I think I was doing fine until this error report. Could the "make" command that I failed to execute caused this?

    Code:
    jun@junix:~$ su -
    Password:
    junix:~# tar xvf /home/jun/hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz
    Makefile
    lib/
    lib/wlc_hybrid.o_shipped
    lib/LICENSE.txt
    src/
    src/include/
    src/include/epivers.h
    src/include/bcmdefs.h
    src/include/bcmendian.h
    src/include/bcmutils.h
    src/include/bcmwifi.h
    src/include/linux_osl.h
    src/include/linuxver.h
    src/include/osl.h
    src/include/pcicfg.h
    src/include/typedefs.h
    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/wlioctl.h
    src/shared/
    src/shared/linux_osl.c
    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/wl_linux.c
    src/wl/sys/wl_linux.h
    src/wl/sys/wlc_key.h
    src/wl/sys/wlc_pub.h
    junix:~# make
    -su: make: command not found
    junix:~# exit
    logout
    jun@junix:~$ make
    bash: make: command not found
    jun@junix:~$ man make
    No manual entry for make
    jun@junix:~$ su
    Password:
    junix:/home/jun# exit
    exit
    jun@junix:~$ su -
    Password:
    junix:~# # mkdir -p /lib/modules/$(uname -r)/extra/wl && cp wl.ko /lib/modules/$`uname -r`/extra/wl
    junix:~# # mkdir -p /lib/modules/$`uname -r`/extra/wl && cp wl.ko /lib/modules/$`uname -r`/extra/wl
    junix:~# # depmod -a -F /boot/System.map-$`uname -r` $`uname -r`
    junix:~# echo 'install wl /sbin/modprobe -qr b43 ssb; /sbin/modprobe --ignore-install wl $CMDLINE_OPTS' >> /etc/modprobe.d/local.conf
    junix:~#  modprobe wl
    FATAL: Module wl not found.
    FATAL: Error running install command for wl
    junix:~#

  7. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Did the build-essential stuff (first step) successfully install? You listed the step, but make not being found indicates it isn't installed. That is the cause, since the module wasn't built, it can't be found.

    Note the difference between su - and plain su. Su with a hyphen will move you from your current directory to /root. It is normally good practice to use the hyphen, but you don't always want to. When following directions, note which one they are using to get root.

  8. #7
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Quote Originally Posted by reed9 View Post
    Did the build-essential stuff (first step) successfully install? You listed the step, but make not being found indicates it isn't installed. That is the cause, since the module wasn't built, it can't be found.
    I think so. When I executed the first step, it prompted me right back ready for the next command so I was thinking it was executed properly. At least I thought.

    Quote Originally Posted by reed9 View Post
    Note the difference between su - and plain su. Su with a hyphen will move you from your current directory to /root. It is normally good practice to use the hyphen, but you don't always want to. When following directions, note which one they are using to get root.
    OK. I thought its always good to use su - I noticed that that's how Casper would make his instructions but now I understand better.

    I recently learned how to include my user name in the sudoers list. Do you think I should just execute all commands that requires Super User using the "sudo"? Or just really be more observant in following directions regarding the use of su & su - to get root.

  9. #8
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I think so. When I executed the first step, it prompted me right back ready for the next command so I was thinking it was executed properly. At least I thought.
    Hmm, you should have seen output on updating the repos, downloading and installing the packages, so I don't think it did. Try it with apt-get instead.
    Code:
    sudo apt-get update && apt-get install build-essential linux-headers-$(uname -r) wireless-tools
    Copy and paste that directly in so you know the syntax is right.

    It's definitely fine to use sudo instead of su. Just note that the guide is assuming you are logged in as root for everything in between su and exit, so each line after their su will need to be prefaced with sudo. (And typing exit won't be necessary anymore.)

    And this line will need to be changed.
    Code:
    echo 'install wl /sbin/modprobe -qr b43 ssb; /sbin/modprobe --ignore-install wl $CMDLINE_OPTS' >> /etc/modprobe.d/local.conf
    Change to
    Code:
    echo 'install wl /sbin/modprobe -qr b43 ssb; /sbin/modprobe --ignore-install wl $CMDLINE_OPTS' | sudo tee -a /etc/modprobe.d/local.conf
    Last edited by reed9; 11-09-2009 at 06:38 PM.

  10. #9
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Hello,

    Thanks. I will be doing that and give you a feedback asap. I am in the process of installing and updating my laptop so I am using another PC right now. BRB I guess in a few hours.

  11. #10
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Hi reed9,

    I executed the following and was able to be successful (i hope) until the very last step as you may see in my outputs below. I will restart my machine and be be right back. By the way, I tried sudo but somehow it seems to really want me to operate as root. Here it is for your analysis please:

    Code:
    jun@debian:~$ sudo apt-get update && apt-get install build-essential linux-headers-$`uname -r` wireless-tools
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release.gpg
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Translation-en_PH
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Packages/DiffIndex
    Hit http://volatile.debian.org lenny/volatile Release.gpg
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_PH
    Get:1 http://security.debian.org lenny/updates Release.gpg [835B]
    Ign http://security.debian.org lenny/updates/main Translation-en_PH
    Hit http://volatile.debian.org lenny/volatile Release
    Get:2 http://security.debian.org lenny/updates Release [40.8kB]
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
    Hit http://volatile.debian.org lenny/volatile/main Packages
    Hit http://volatile.debian.org lenny/volatile/main Sources
    Hit http://mirrors.kernel.org lenny Release.gpg
    Ign http://mirrors.kernel.org lenny/main Translation-en_PH
    Hit http://mirrors.kernel.org lenny Release
    Ign http://mirrors.kernel.org lenny/main Packages/DiffIndex
    Ign http://mirrors.kernel.org lenny/main Sources/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Packages
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Sources
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
    Hit http://security.debian.org lenny/updates/main Packages
    Hit http://security.debian.org lenny/updates/main Sources
    Fetched 41.6kB in 8s (5163B/s)
    Reading package lists... Done
    E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    jun@debian:~$ su
    Password:
    debian:/home/jun# sudo apt-get update && apt-get install build-essential linux-headers-$`uname -r` wireless-tools
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release.gpg
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Translation-en_PH
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny Release.gpg
    Ign http://mirrors.kernel.org lenny/main Translation-en_PH
    Hit http://security.debian.org lenny/updates Release.gpg
    Ign http://security.debian.org lenny/updates/main Translation-en_PH
    Hit http://mirrors.kernel.org lenny Release
    Hit http://volatile.debian.org lenny/volatile Release.gpg
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_PH
    Ign http://mirrors.kernel.org lenny/main Packages/DiffIndex
    Hit http://security.debian.org lenny/updates Release
    Hit http://volatile.debian.org lenny/volatile Release
    Ign http://mirrors.kernel.org lenny/main Sources/DiffIndex
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Packages
    Hit http://mirrors.kernel.org lenny/main Sources
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
    Hit http://security.debian.org lenny/updates/main Packages
    Hit http://security.debian.org lenny/updates/main Sources
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
    Hit http://volatile.debian.org lenny/volatile/main Packages
    Hit http://volatile.debian.org lenny/volatile/main Sources
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package linux-headers-$2.6.26-2-686
    debian:/home/jun# apt-get update && apt-get install build-essential linux-headers-$`uname -r` wireless-tools
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release.gpg
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Translation-en_PH
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny Release.gpg
    Ign http://mirrors.kernel.org lenny/main Translation-en_PH
    Hit http://security.debian.org lenny/updates Release.gpg
    Ign http://security.debian.org lenny/updates/main Translation-en_PH
    Hit http://mirrors.kernel.org lenny Release
    Hit http://volatile.debian.org lenny/volatile Release.gpg
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_PH
    Ign http://mirrors.kernel.org lenny/main Packages/DiffIndex
    Hit http://security.debian.org lenny/updates Release
    Hit http://volatile.debian.org lenny/volatile Release
    Ign http://mirrors.kernel.org lenny/main Sources/DiffIndex
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Packages
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Sources
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
    Hit http://security.debian.org lenny/updates/main Packages
    Hit http://volatile.debian.org lenny/volatile/main Packages
    Hit http://security.debian.org lenny/updates/main Sources
    Hit http://volatile.debian.org lenny/volatile/main Sources
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package linux-headers-$2.6.26-2-686
    debian:/home/jun# apt-get update && apt-get install build-essential linux-headers-$(uname -r) wireless-tools
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release.gpg
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Translation-en_PH
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny Release
    Ign cdrom://[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49] lenny/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny Release.gpg
    Ign http://mirrors.kernel.org lenny/main Translation-en_PH
    Hit http://security.debian.org lenny/updates Release.gpg
    Ign http://security.debian.org lenny/updates/main Translation-en_PH
    Hit http://mirrors.kernel.org lenny Release
    Hit http://volatile.debian.org lenny/volatile Release.gpg
    Ign http://volatile.debian.org lenny/volatile/main Translation-en_PH
    Ign http://mirrors.kernel.org lenny/main Packages/DiffIndex
    Hit http://security.debian.org lenny/updates Release
    Hit http://volatile.debian.org lenny/volatile Release
    Ign http://mirrors.kernel.org lenny/main Sources/DiffIndex
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Packages
    Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
    Hit http://mirrors.kernel.org lenny/main Sources
    Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
    Hit http://security.debian.org lenny/updates/main Packages
    Hit http://volatile.debian.org lenny/volatile/main Packages
    Hit http://security.debian.org lenny/updates/main Sources
    Hit http://volatile.debian.org lenny/volatile/main Sources
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    wireless-tools is already the newest version.
    The following extra packages will be installed:
      binutils bzip2 cpp-4.1 dpkg-dev g++ g++-4.3 gcc gcc-4.1 gcc-4.1-base gcc-4.3
      libc6-dev libstdc++6-4.3-dev linux-headers-2.6.26-2-common
      linux-kbuild-2.6.26 linux-libc-dev make
    Suggested packages:
      binutils-doc bzip2-doc gcc-4.1-locales debian-keyring g++-multilib
      g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg gcc-multilib manpages-dev
      autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.1-multilib
      gcc-4.1-doc libmudflap0-dev gcc-4.3-multilib libmudflap0-4.3-dev
      gcc-4.3-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc
      libstdc++6-4.3-doc make-doc
    The following NEW packages will be installed:
      binutils build-essential bzip2 cpp-4.1 dpkg-dev g++ g++-4.3 gcc gcc-4.1
      gcc-4.1-base gcc-4.3 libc6-dev libstdc++6-4.3-dev linux-headers-2.6.26-2-686
      linux-headers-2.6.26-2-common linux-kbuild-2.6.26 linux-libc-dev make
    0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
    Need to get 4867kB/22.8MB of archives.
    After this operation, 92.5MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Media change: please insert the disc labeled
     'Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49'
    in the drive '/cdrom/' and press enter
    
    Get:1 http://security.debian.org lenny/updates/main linux-libc-dev 2.6.26-19lenny2 [750kB]
    Get:2 http://security.debian.org lenny/updates/main linux-headers-2.6.26-2-common 2.6.26-19lenny2 [3719kB]
    Media change: please insert the disc labeled
     'Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 kde-CD Binary-1 20090628-15:49'
    in the drive '/cdrom/' and press enter
    
    Get:3 http://security.debian.org lenny/updates/main linux-headers-2.6.26-2-686 2.6.26-19lenny2 [398kB]
    Fetched 4867kB in 3min25s (23.7kB/s)
    Selecting previously deselected package binutils.
    (Reading database ... 88015 files and directories currently installed.)
    Unpacking binutils (from .../binutils_2.18.1~cvs20080103-7_i386.deb) ...
    Selecting previously deselected package linux-libc-dev.
    Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.26-19lenny2_i386.deb) ...
    Selecting previously deselected package libc6-dev.
    Unpacking libc6-dev (from .../libc6-dev_2.7-18_i386.deb) ...
    Selecting previously deselected package gcc-4.3.
    Unpacking gcc-4.3 (from .../gcc-4.3_4.3.2-1.1_i386.deb) ...
    Selecting previously deselected package gcc.
    Unpacking gcc (from .../gcc_4.3.2-2_i386.deb) ...
    Selecting previously deselected package libstdc++6-4.3-dev.
    Unpacking libstdc++6-4.3-dev (from .../libstdc++6-4.3-dev_4.3.2-1.1_i386.deb) ...
    Selecting previously deselected package g++-4.3.
    Unpacking g++-4.3 (from .../g++-4.3_4.3.2-1.1_i386.deb) ...
    Selecting previously deselected package g++.
    Unpacking g++ (from .../g++_4.3.2-2_i386.deb) ...
    Selecting previously deselected package make.
    Unpacking make (from .../make-dfsg/make_3.81-5_i386.deb) ...
    Selecting previously deselected package bzip2.
    Unpacking bzip2 (from .../b/bzip2/bzip2_1.0.5-1_i386.deb) ...
    Selecting previously deselected package dpkg-dev.
    Unpacking dpkg-dev (from .../dpkg/dpkg-dev_1.14.25_all.deb) ...
    Selecting previously deselected package build-essential.
    Unpacking build-essential (from .../build-essential_11.4_i386.deb) ...
    Selecting previously deselected package gcc-4.1-base.
    Unpacking gcc-4.1-base (from .../gcc-4.1-base_4.1.2-25_i386.deb) ...
    Selecting previously deselected package cpp-4.1.
    Unpacking cpp-4.1 (from .../cpp-4.1_4.1.2-25_i386.deb) ...
    Selecting previously deselected package gcc-4.1.
    Unpacking gcc-4.1 (from .../gcc-4.1_4.1.2-25_i386.deb) ...
    Selecting previously deselected package linux-headers-2.6.26-2-common.
    Unpacking linux-headers-2.6.26-2-common (from .../linux-headers-2.6.26-2-common_2.6.26-19lenny2_i386.deb) ...
    Selecting previously deselected package linux-kbuild-2.6.26.
    Unpacking linux-kbuild-2.6.26 (from .../linux-kbuild-2.6.26_2.6.26-3_i386.deb) ...
    Selecting previously deselected package linux-headers-2.6.26-2-686.
    Unpacking linux-headers-2.6.26-2-686 (from .../linux-headers-2.6.26-2-686_2.6.26-19lenny2_i386.deb) ...
    Processing triggers for man-db ...
    Setting up binutils (2.18.1~cvs20080103-7) ...
    Setting up linux-libc-dev (2.6.26-19lenny2) ...
    Setting up libc6-dev (2.7-18) ...
    Setting up gcc-4.3 (4.3.2-1.1) ...
    Setting up gcc (4:4.3.2-2) ...
    Setting up make (3.81-5) ...
    Setting up bzip2 (1.0.5-1) ...
    Setting up dpkg-dev (1.14.25) ...
    Setting up gcc-4.1-base (4.1.2-25) ...
    Setting up cpp-4.1 (4.1.2-25) ...
    Setting up gcc-4.1 (4.1.2-25) ...
    Setting up linux-headers-2.6.26-2-common (2.6.26-19lenny2) ...
    Setting up linux-kbuild-2.6.26 (2.6.26-3) ...
    Setting up linux-headers-2.6.26-2-686 (2.6.26-19lenny2) ...
    Setting up libstdc++6-4.3-dev (4.3.2-1.1) ...
    Setting up g++-4.3 (4.3.2-1.1) ...
    Setting up g++ (4:4.3.2-2) ...
    Setting up build-essential (11.4) ...
    debian:/home/jun# exit
    exit
    jun@debian:~$ wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz
    --2009-11-10 09:24:13--  http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_32-v5.10.91.9.3.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: 604412 (590K) [application/x-gzip]
    Saving to: `hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz'
    
    100%[======================================>] 604,412     38.6K/s   in 15s
    
    2009-11-10 09:24:30 (38.6 KB/s) - `hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz' saved [604412/604412]
    
    jun@debian:~$ mkdir hybrid_wl && cd hybrid_wl
    jun@debian:~/hybrid_wl$ tar xvf /home/jun/hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz
    Makefile
    lib/
    lib/wlc_hybrid.o_shipped
    lib/LICENSE.txt
    src/
    src/include/
    src/include/epivers.h
    src/include/bcmdefs.h
    src/include/bcmendian.h
    src/include/bcmutils.h
    src/include/bcmwifi.h
    src/include/linux_osl.h
    src/include/linuxver.h
    src/include/osl.h
    src/include/pcicfg.h
    src/include/typedefs.h
    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/wlioctl.h
    src/shared/
    src/shared/linux_osl.c
    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/wl_linux.c
    src/wl/sys/wl_linux.h
    src/wl/sys/wlc_key.h
    src/wl/sys/wlc_pub.h
    jun@debian:~/hybrid_wl$ make
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
    make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
      LD      /home/jun/hybrid_wl/built-in.o
      CC [M]  /home/jun/hybrid_wl/src/wl/sys/wl_linux.o
      CC [M]  /home/jun/hybrid_wl/src/wl/sys/wl_iw.o
      CC [M]  /home/jun/hybrid_wl/src/shared/linux_osl.o
      LD [M]  /home/jun/hybrid_wl/wl.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: modpost: missing MODULE_LICENSE() in /home/jun/hybrid_wl/wl.o
    see include/linux/module.h for more information
      CC      /home/jun/hybrid_wl/wl.mod.o
      LD [M]  /home/jun/hybrid_wl/wl.ko
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
    jun@debian:~/hybrid_wl$ su
    Password:
    debian:/home/jun/hybrid_wl# mkdir -p /lib/modules/$(uname -r)/extra/wl && cp wl.ko /lib/modules/$(uname -r)/extra/wl
    debian:/home/jun/hybrid_wl# # depmod -a -F /boot/System.map-$(uname -r) $(uname -r)
    debian:/home/jun/hybrid_wl# echo 'install wl /sbin/modprobe -qr b43 ssb; /sbin/modprobe --ignore-install wl $CMDLINE_OPTS' >> /etc/modprobe.d/local.conf
    debian:/home/jun/hybrid_wl# modprobe wl
    FATAL: Module wl not found.
    FATAL: Error running install command for wl
    debian:/home/jun/hybrid_wl#

Page 1 of 2 1 2 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
  •