Find the answer to your Linux question:
Page 3 of 6 FirstFirst 1 2 3 4 5 6 LastLast
Results 21 to 30 of 54
Hi Paul, I executed the above as root because the url used sudo before the command. I tried to execute it in my own home folder and this is what ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274

    Hi Paul,

    I executed the above as root because the url used sudo before the command. I tried to execute it in my own home folder and this is what I got.
    Code:
    jun@debian:~$ make -C /lib/modules/`uname -r`/build M=`pwd` clean
    make: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
    make: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
    jun@debian:~$  make -C /lib/modules/`uname -r`/build M=`pwd`
    make: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
      LD      /home/jun/built-in.o
      CC [M]  /home/jun/src/wl/sys/wl_linux.o
      CC [M]  /home/jun/src/wl/sys/wl_iw.o
      CC [M]  /home/jun/src/shared/linux_osl.o
      LD [M]  /home/jun/wl.o
      Building modules, stage 2.
      MODPOST 1 modules
    WARNING: modpost: missing MODULE_LICENSE() in /home/jun/wl.o
    see include/linux/module.h for more information
      CC      /home/jun/wl.mod.o
      LD [M]  /home/jun/wl.ko
    make: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
    jun@debian:~$
    Am I doing it right?

  2. #22
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    I think I'm on the right track

    Code:
    jun@debian:~$ ls
    angelo's files004.mp4  hybrid-portsrc-x86_32-v5_10_91_9.tar.gz  storage
    angelo speech.doc      hybrid-wl                                wl.ko
    built-in.o             lib                                      wl.mod.c
    Desktop                Makefile                                 wl.mod.o
    Harmony_1.mp3          modules.order                            wl.o
    Harmony_2.mp3          Module.symvers
    Harmony.mp3            src
    
    jun@debian:~$  lsmod | grep 43
    snd_seq_midi_event      6432  2 snd_seq_oss,snd_seq_midi
    pcspkr                  2432  0
    jun@debian:~$
    I don't see any b43 bcm43xxx or b43legacy

  3. #23
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    You also must then install the newly created module. Do this with root permissions, either using the su command or sudo.
    Code:
    sudo make install.
    I think that the instructions may have omitted this very important step.Then run these commands.
    Code:
    sudo depmod -a
    Code:
    sudo modprobe wl
    Please do not send Private Messages to me with requests for help. I will not reply.

  4. $spacer_open
    $spacer_close
  5. #24
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Quote Originally Posted by nujinini View Post
    Hi Paul,
    I am working now on a fresh reinstall and this is what I have for now.

    I have made a cd hybrid-wl
    And was able to download the

    hybrid-portsrc-x86_32-v5_10_91_9.tar.gz

    and seemed to have extracted it correctly.

    Code:
    jun@debian:~$ ls
    hybrid-wl                        Desktop            hybrid-portsrc-x86_32-v5_10_91_9         storage                         hybrid-portsrc-x86_32-v5_10_91_9.tar.gz
    
    jun@debian:~$ cd hybrid-wl
    jun@debian:~/hybrid-wl
    
    jun@debian:~/hybrid-wl$ uname -r
    2.6.26-2-686
    I am at instruction number 3 of the README txt. I think?

    I am encountering the problem below right now. I do not know how to go about.

    Code:
    debian:~# make -C /lib/modules/2.6.26-2/-686/build M=`pwd` clean
    make: *** /lib/modules/2.6.26-2/-686/build: No such file or directory.  Stop.'
    debian:~#
    Hi Paul,

    I think I am working with the wrong hybrid-portsrc-x86_32-v5_10_91_9.tar.gz

    I started all over again and when I downloaded the file from the Broadcom wl, I noticed there was a num "3" at the end which I think is another different thing.

    This is what I have now
    Code:
    debian:~# ls
    hybrid_wl
    debian:~# cd hybrid_wl
    debian:~/hybrid_wl# ls
    lib  Makefile  src
    debian:~/hybrid_wl# cd /
    debian:/# exit
    logout
    jun@debian:~$ ls
    Desktop
    jun@debian:~$ cd Desktop
    jun@debian:~/Desktop$ ls
    Home.desktop
    hybrid-portsrc-x86_32-v5.10.91.9.3.tar.gz
    System.desktop
    trash.desktop
    X-Debian-Applications-Terminal-Emulators-konsole.desktop
    jun@debian:~/Desktop$
    Where do I go from here please? Thanks in advance!

  6. #25
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Quote Originally Posted by waterhead View Post
    You also must then install the newly created module. Do this with root permissions, either using the su command or sudo.
    Code:
    sudo make install.
    I think that the instructions may have omitted this very important step.Then run these commands.
    Code:
    sudo depmod -a
    Code:
    sudo modprobe wl
    Code:
    debian:~# make install
    -su: make: command not found
    debian:~# depmod -a
    debian:~# modprobe wl
    FATAL: Module wl not found.
    debian:~#

  7. #26
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I still think the link I posted for Debian is the easier method. You never explained what failed when you tried it.
    Code:
    wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.10.91.9-3_all.deb
    wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.10.91.9-3_all.deb
    su
    dpkg -i broadcom-sta-common*deb broadcom-sta-source*deb
    m-a a-i broadcom-sta
    echo wl >> /etc/modules
    modprobe wl
    wl - Debian Wiki

  8. #27
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Quote Originally Posted by reed9 View Post
    I still think the link I posted for Debian is the easier method. You never explained what failed when you tried it.
    Code:
    wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.10.91.9-3_all.deb
    wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.10.91.9-3_all.deb
    su
    dpkg -i broadcom-sta-common*deb broadcom-sta-source*deb
    m-a a-i broadcom-sta
    echo wl >> /etc/modules
    modprobe wl
    wl - Debian Wiki
    OK reed9 will try again and go through it step by step. Thanks

  9. #28
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Quote Originally Posted by reed9 View Post
    I still think the link I posted for Debian is the easier method. You never explained what failed when you tried it.
    Code:
    wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.10.91.9-3_all.deb
    wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.10.91.9-3_all.deb
    su
    dpkg -i broadcom-sta-common*deb broadcom-sta-source*deb
    m-a a-i broadcom-sta
    echo wl >> /etc/modules
    modprobe wl
    wl - Debian Wiki
    I got the first two things right (i think) however, on the third command, this is what I got.



    Code:
    jun@debian:~$ wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-source_5.10.91.9-3_all.deb
    --2009-09-22 04:39:02--  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... 149.20.20.135, 204.152.191.39, 35.9.37.225, ...
    Connecting to http.us.debian.org|149.20.20.135|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1166506 (1.1M) [text/plain]
    Saving to: `broadcom-sta-source_5.10.91.9-3_all.deb'
    
    100%[======================================>] 1,166,506   52.7K/s   in 22s
    
    2009-09-22 04:39:26 (51.6 KB/s) - `broadcom-sta-source_5.10.91.9-3_all.deb' saved [1166506/1166506]
    
    jun@debian:~$ wget http://http.us.debian.org/debian/pool/non-free/b/broadcom-sta/broadcom-sta-common_5.10.91.9-3_all.deb
    --2009-09-22 04:39:42--  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... 149.20.20.135
    Connecting to http.us.debian.org|149.20.20.135|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 7590 (7.4K) [text/plain]
    Saving to: `broadcom-sta-common_5.10.91.9-3_all.deb'
    
    100%[======================================>] 7,590       21.8K/s   in 0.3s
    
    2009-09-22 04:39:43 (21.8 KB/s) - `broadcom-sta-common_5.10.91.9-3_all.deb' saved [7590/7590]
    
    jun@debian:~$ su -
    Password:
    debian:~# dpkg -i broadcom-sta-common*deb broadcom-sta-source*deb
    dpkg: error processing broadcom-sta-common*deb (--install):
     cannot access archive: No such file or directory
    dpkg: error processing broadcom-sta-source*deb (--install):
     cannot access archive: No such file or directory
    Errors were encountered while processing:
     broadcom-sta-common*deb
     broadcom-sta-source*deb
    debian:~#

  10. #29
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I was wrong when I said to do this:
    Quote Originally Posted by waterhead View Post
    You also must then install the newly created module. Do this with root permissions, either using the su command or sudo.
    Code:
    sudo make install.
    I think that the instructions may have omitted this very important step.Then run these commands.
    Code:
    sudo depmod -a
    Code:
    sudo modprobe wl
    You have to manually copy the newly created wl.ko module into the correct /lib/module folder. The instructions clearly say this, just not how.
    2. Replacing existing driver with wl.ko just build in step 5 above.
    (most likely path to find wl.ko is: /lib/modules/<kernel_version>/kernel/driver/net/wireless
    or /lib/modules/<kernel_version>/kernel.net/update/)
    The first path is the correct one. First cd to the folder where you built the driver, then copy it with this command.
    Code:
    sudo cp wl.ko /lib/modules/<kernel version>/kernel/driver/net/wireless
    Replace <kernel version> with the actual folder name. Now run these commands.
    Code:
    sudo depmod -a
    Code:
    sudo modprobe wl
    Please do not send Private Messages to me with requests for help. I will not reply.

  11. #30
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    jun@debian:~$ su -
    Password:
    Remove the dash after su. This is usually good practice, as it moves you to the root user directory, and normally you shouldn't be running as root in your home directory. In this case, of course, you're no longer in the right directory.

Page 3 of 6 FirstFirst 1 2 3 4 5 6 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
  •