LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Broadcom issues (https://www.linuxquestions.org/questions/linux-wireless-networking-41/broadcom-issues-585295/)

s0ulburn26 09-17-2007 10:33 AM

Broadcom issues
 
I am having issues with my wireless. I have a Dell Latitude 120L with a updated fresh install of Fedora 7 kernel 2.6.21 or 22 not sure. Not being too familiar with the command line in Linux I have read what other people have tried with and without some success and therefore am able to post the following information.
when login as root and issue the command lspci I get the following output

Code:

[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
02:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
02:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

I turned NetworkManager on for GNOME and it displays a option to enable wirless network.

My card is there my machine and Fedora sees the card this is obvious. Now I have tried the latest ndiswrapper with no success and have tried the bcm43xx-fwcutter with no success. When I got the laptop it was a windows machine and has the keyboard that has the special keys that turn the volume up and down, there is also a special key that enables the wireless card. I have tried to map my keyboard with some success. I got the volume keys to work and the suspend key to work but not the wireless key. I don't know if that has anything to do with it or not. I am stuck and have no clue on how to fix this. If anyone can help me i would appreciate it. I have also tried the infomation from the GNOME NetworkManager at [HTML]http://bcm43xx.berlios.de/[/HTML] I get commandline errors when trying the 'git' command. I am slowly learning commandline utilities but still have some trouble.

Hangdog42 09-17-2007 11:21 AM

Quote:

02:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
OK, you've got a 4318, which means that ndiswrapper is probably a better approach.

Quote:

Now I have tried the latest ndiswrapper with no success and have tried the bcm43xx-fwcutter with no success.
There are likely a couple of reasons for this. On the bcm43xx side, the numbnuts at Fedora have decided to replace bcm43xx with the experimental b43 driver, and I believe this happened in FC7. The issues are that it needs a different firmware file in order to function(see here for the files) and if you want to use ndiswrapper, blacklisting b43 isn't quite straightforward (see the last post in this thread and this thread as well). Since ndiswrapper and b43 will almost certainly interfere with each other if they are both loaded, blacklisting b43 is usually a critical step in getting ndiswrapper to work.

s0ulburn26 09-17-2007 11:29 AM

If I have already done the firmware cutter (assuming thats what the 'fw' is for) will that mess me up. If so how do I get rid of it. I gone through the steps on some of the threads I have seen about ndiswrapper and somewhere along the way I usually end up with an error or a bad command in the terminal. It's getting to the point where I am about to go buy a usb wireless thing and quit messing with this. It is really really starting to pi$$ me off I follow the threads that seem to have the most positive results and I end up getting errors. I guess what I really need is a really easy to follow dummies guide to doing this ndiswrapper. Also the last time I tried it I got that the driver that went with my card according to Sourceforge was an invalid driver according to an lspci -l command. I don't want to give up and I dont want to say that I have tried everything I know there is something that will work but alot of the stuff thats out there I have attempted without success.

Hangdog42 09-17-2007 11:43 AM

Quote:

If I have already done the firmware cutter (assuming thats what the 'fw' is for) will that mess me up.
The short answer is probably not. If you go the b43 route, just adding the correct firmware should do the trick, even if the older version is there. Ndiswrapper doesn't use firmware files, so it isn't affected at all by this.

Quote:

I gone through the steps on some of the threads I have seen about ndiswrapper and somewhere along the way I usually end up with an error or a bad command in the terminal.
Ndiswrapper installation is about as easy as it gets, if you're having trouble, post what you're doing and what errors you're seeing and maybe we can get you straighted out.
Quote:

It's getting to the point where I am about to go buy a usb wireless thing and quit messing with this.
That could be a big mistake. USB wireless devices are a super colossal gigantic pain in the posterior in Linux. Well, most of 'em anyway.

Quote:

I guess what I really need is a really easy to follow dummies guide to doing this ndiswrapper.
Have a look at the ndiswrapper wiki (see my sig for the link). Easiest and best instructions available anywhere.
Quote:

Also the last time I tried it I got that the driver that went with my card according to Sourceforge was an invalid driver according to an lspci -l command.
Please don't take this the wrong way, but I suspect you're fighting with your unfamiliarity with Linux as much as anything else. The lspci command should only tell you what devices are plugged into the pci bus, and knows nothing about what drivers are in use.

If you want to pursue this, the best course is to decide what driver you're using and then post details about what you've done and where it is causing trouble. The decision you're facing isn't an easy one however because the 4318 chipset doesn't work very well with the b43/bcm43xx driver and Fedora is probably the most ndiswrapper unfriendly distro there is. If you haven't invested too much in this Fedora install, and if wireless is important, I'd give serious consideration to switching to a different distro.

s0ulburn26 09-17-2007 12:40 PM

Okay in this process I have run across the following errors. i got a version that is known to work with the make of my laptop and the make of my card. I get to the point of putting installing the .inf file and it kicks this out to me


Code:

[root@localhost ~]# tar -zxvf ndiswrapper-1.23.tar.gz
tar: ndiswrapper-1.23.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[root@localhost ~]# ls
anaconda-ks.cfg  Documents  install.log        Music    Public      Templates
Desktop          Download  install.log.syslog  Pictures  scsrun.log  Videos
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# ls
adobe-release-i386-1.0-1.noarch.rpm    ndiswrapper-1.23.tar.gz
bcmwl5.sys                              new file
flash-plugin-9.0.48.0-release.i386.rpm  new file~
[root@localhost Desktop]# tar -zxvf ndiswrapper-1.23.tar.gz
ndiswrapper-1.23/
ndiswrapper-1.23/AUTHORS
ndiswrapper-1.23/ChangeLog
ndiswrapper-1.23/INSTALL
ndiswrapper-1.23/Makefile
ndiswrapper-1.23/README
ndiswrapper-1.23/ndiswrapper.spec
ndiswrapper-1.23/ndiswrapper.8
ndiswrapper-1.23/utils/
ndiswrapper-1.23/utils/Makefile
ndiswrapper-1.23/utils/ndiswrapper
ndiswrapper-1.23/utils/loadndisdriver.c
ndiswrapper-1.23/utils/ndiswrapper-buginfo
ndiswrapper-1.23/driver/
ndiswrapper-1.23/driver/divdi3.c
ndiswrapper-1.23/driver/hal.c
ndiswrapper-1.23/driver/iw_ndis.c
ndiswrapper-1.23/driver/iw_ndis.h
ndiswrapper-1.23/driver/loader.c
ndiswrapper-1.23/driver/loader.h
ndiswrapper-1.23/driver/longlong.h
ndiswrapper-1.23/driver/Makefile
ndiswrapper-1.23/driver/misc_funcs.c
ndiswrapper-1.23/driver/ndis.c
ndiswrapper-1.23/driver/ndis.h
ndiswrapper-1.23/driver/ndiswrapper.h
ndiswrapper-1.23/driver/ntoskernel.c
ndiswrapper-1.23/driver/ntoskernel.h
ndiswrapper-1.23/driver/ntoskernel_io.c
ndiswrapper-1.23/driver/pe_linker.c
ndiswrapper-1.23/driver/pe_linker.h
ndiswrapper-1.23/driver/pnp.c
ndiswrapper-1.23/driver/pnp.h
ndiswrapper-1.23/driver/proc.c
ndiswrapper-1.23/driver/usb.c
ndiswrapper-1.23/driver/usb.h
ndiswrapper-1.23/driver/winnt_types.h
ndiswrapper-1.23/driver/workqueue.c
ndiswrapper-1.23/driver/wrapmem.h
ndiswrapper-1.23/driver/wrapmem.c
ndiswrapper-1.23/driver/wrapper.c
ndiswrapper-1.23/driver/wrapndis.h
ndiswrapper-1.23/driver/wrapndis.c
ndiswrapper-1.23/driver/lin2win.h
ndiswrapper-1.23/driver/win2lin_stubs.S
[root@localhost Desktop]# cd ndiswrapper-1.23
[root@localhost ndiswrapper-1.23]# make distclean
make -C driver clean
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.23/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapmem.o wrapndis.o wrapper.o divdi3.o usb.o win2lin_stubs.o \
          divdi3.o workqueue.o .*.ko.cmd .*.o.cmd \
          ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.23/driver'
make -C utils clean
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.23/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.23/utils'
rm -f *~
rm -fr ndiswrapper-1.23 ndiswrapper-1.23.tar.gz patch-stamp
make -C driver distclean
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.23/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapmem.o wrapndis.o wrapper.o divdi3.o usb.o win2lin_stubs.o \
          divdi3.o workqueue.o .*.ko.cmd .*.o.cmd \
          ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
rm -f *_exports.h .\#* win2lin_stubs.h
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.23/driver'
make -C utils distclean
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.23/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.23/utils'
rm -f .\#*
[root@localhost ndiswrapper-1.23]# make install
make -C driver install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.23/driver'
Can't find kernel build files in /lib/modules/2.6.22.5-76.fc7/build;
  give the path to kernel build directory with
  KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.23/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.23]# ndiswrapper -i bcmwl5.inf
bash: ndiswrapper: command not found
[root@localhost ndiswrapper-1.23]# ls
AUTHORS    driver  Makefile      ndiswrapper.spec  utils
ChangeLog  INSTALL  ndiswrapper.8  README
[root@localhost ndiswrapper-1.23]# -i bcmwl5.inf
bash: -i: command not found
[root@localhost ndiswrapper-1.23]# cd utils
[root@localhost utils]# ls
loadndisdriver.c  Makefile  ndiswrapper  ndiswrapper-buginfo
[root@localhost utils]# ndiswrapper -i bcmwl5.ing
bash: ndiswrapper: command not found
[root@localhost utils]# ndiswrapper -i bcmwl5.inf
bash: ndiswrapper: command not found
[root@localhost utils]#


b0uncer 09-17-2007 12:46 PM

You very probably need kernel sources/headers installed before you go about compiling ndiswrapper. Either get those, and start all over, or get ndiswrapper binary package (version 1.47 works for that Broadcom card for sure, newers should also). If you plan installing binary packages, remember to get ndiswrapper and ndiswrapper-utils if they are in separate packages. Anyway, your first goal is to get ndiswrapper installed. After that use ndiswrapper -i to install the driver just like you tried ('ndiswrapper -i filename.inf'). Note that ndiswrapper executable may be in /sbin and that might not be in your $PATH variable, so either use "su -" to become root or execute it with full path, like /sbin/ndiswrapper if it got there. After installing ndiswrapper, installing the driver with it and making sure ndiswrapper module gets loaded during boot, you very probably still need to reboot for this all to work -- and before doing so, blacklist the native bcm43xx or b43 driver so that it does not get loaded during boot. If it does, there's a chance it'll interfere with ndiswrapper and then your card won't work.

That card is easy to get working with ndiswrapper, but you need to do it carefully.
1) either install ndiswrapper (and -utils) binaries, or install kernel source/headers and compile ndiswrapper like you tried to do (see the error).
2) after that blacklist the native driver, "echo blacklist b43 >> /etc/modprobe.d/blacklist" or equivalent
3) make sure modprobe.conf (or whatever you use) loads 'ndiswrapper' module during boot
4) install the Windows driver with ndiswrapper
5) reboot and try if it works - should

s0ulburn26 09-17-2007 12:51 PM

Is there somewhere I can find out how to do the kernel headers that you mentioned. I am not sure on how do to do that.

s0ulburn26 09-17-2007 02:43 PM

Well this ndiswrapper thing isnt working, I have tried it on three or 4 different installs. Would be nice if there was like a step by step for this thing or a way it could become fool proof. I imagine it has something to do with what Im doing. It's getting to the point I am about ready to switch back to windows.

Hangdog42 09-17-2007 04:03 PM

You missed a REAL important step in compiling this. I went through the results you posted and you ran like this:

make distclean
make install


The problem is you never ran make, which means that nothing actually compiled. What should have happened is:

make distclean
make
make install

As for the kernel source code, yes it needs to be installed, and there should be an RPM for your kernel available either on your install CD/DVD or from a Fedora repository.

s0ulburn26 09-17-2007 10:17 PM

Thank you Hangdog actually the link to your page was a big help I was able to search for what the info I needed on the kernel headers and source.

s0ulburn26 09-18-2007 09:39 AM

compiling the kernel
 
I think I am on the right track with getting this figured out. As I understand I have to get the kernel source and header files, recompile the kernel and take the native b43 driver that is throwing the error when I try to activate my wireless card. I did manage to find out that with my Fedora installation there was not a kernel src installed. I got the source from the repo and have attempted to apply it. When I made my ISO it was Kernel version 2.6.21 so since when I boot my system up I see 2.6.22 there has been an update this is where the native b43 comes into play. So the Kernel source rpm that I downloaded from Fedora. I attemtped to install the source code and the following is my output with one error, sorry for the long post...

Code:


[root@localhost ~]# ls -l /usr/src
total 0
[root@localhost ~]# yum install fedora-rpmdevtools
updates                  100% |=========================| 2.3 kB    00:00   
adobe-linux-i386          100% |=========================|  951 B    00:00   
fedora                    100% |=========================| 2.1 kB    00:00   
primary.sqlite.bz2        100% |=========================| 3.8 MB    00:25   
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package rpmdevtools.noarch 0:6.1-0.1.fc7 set to be updated
--> Processing Dependency: gcc for package: rpmdevtools
--> Processing Dependency: fakeroot for package: rpmdevtools
--> Processing Dependency: gcc-c++ for package: rpmdevtools
--> Processing Dependency: redhat-rpm-config for package: rpmdevtools
--> Processing Dependency: rpm-build >= 4.4.2.1 for package: rpmdevtools
--> Running transaction check
---> Package rpm-build.i386 0:4.4.2.1-1.fc7 set to be updated
--> Processing Dependency: elfutils >= 0.128 for package: rpm-build
---> Package gcc.i386 0:4.1.2-12 set to be updated
---> Package redhat-rpm-config.noarch 0:8.0.45-15.fc7 set to be updated
---> Package gcc-c++.i386 0:4.1.2-12 set to be updated
--> Processing Dependency: libstdc++-devel = 4.1.2-12 for package: gcc-c++
---> Package fakeroot.i386 0:1.6.4-15.fc7 set to be updated
--> Running transaction check
---> Package libstdc++-devel.i386 0:4.1.2-12 set to be updated
filelists.sqlite.bz2      100% |=========================| 6.4 MB    00:44   
filelists.sqlite.bz2      100% |=========================| 3.5 MB    00:22   
filelists.xml.gz          100% |=========================|  481 B    00:00   
---> Package elfutils.i386 0:0.129-1.fc7 set to be updated
--> Processing Dependency: libdw.so.1(ELFUTILS_0.127) for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.122) for package: elfutils
--> Processing Dependency: elfutils-libs-i386 = 0.129-1.fc7 for package: elfutils
--> Processing Dependency: libdw.so.1 for package: elfutils
--> Processing Dependency: libdw.so.1(ELFUTILS_0.126) for package: elfutils
--> Running transaction check
---> Package elfutils-libs.i386 0:0.129-1.fc7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                Arch      Version          Repository        Size
=============================================================================
Installing:
 rpmdevtools            noarch    6.1-0.1.fc7      updates            66 k
Installing for dependencies:
 elfutils                i386      0.129-1.fc7      updates          203 k
 elfutils-libs          i386      0.129-1.fc7      updates          109 k
 fakeroot                i386      1.6.4-15.fc7    fedora            75 k
 gcc                    i386      4.1.2-12        fedora            5.2 M
 gcc-c++                i386      4.1.2-12        fedora            3.4 M
 libstdc++-devel        i386      4.1.2-12        fedora            9.4 M
 redhat-rpm-config      noarch    8.0.45-15.fc7    fedora            53 k
 rpm-build              i386      4.4.2.1-1.fc7    updates          661 k

Transaction Summary
=============================================================================
Install      9 Package(s)       
Update      0 Package(s)       
Remove      0 Package(s)       

Total download size: 19 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): rpmdevtools-6.1-0. 100% |=========================|  66 kB    00:00   
(2/9): fakeroot-1.6.4-15. 100% |=========================|  75 kB    00:00   
(3/9): gcc-c++-4.1.2-12.i 100% |=========================| 3.4 MB    00:24   
(4/9): elfutils-0.129-1.f 100% |=========================| 203 kB    00:01   
(5/9): elfutils-libs-0.12 100% |=========================| 109 kB    00:00   
(6/9): redhat-rpm-config- 100% |=========================|  53 kB    00:00   
(7/9): gcc-4.1.2-12.i386. 100% |=========================| 5.2 MB    00:36   
(8/9): rpm-build-4.4.2.1- 100% |=========================| 661 kB    00:04   
(9/9): libstdc++-devel-4. 100% |=========================| 9.4 MB    01:02   
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: gcc                          ######################### [1/9]
  Installing: fakeroot                    ######################### [2/9]
  Installing: elfutils-libs                ######################### [3/9]
  Installing: elfutils                    ######################### [4/9]
  Installing: rpm-build                    ######################### [5/9]
  Installing: redhat-rpm-config            ######################### [6/9]
  Installing: libstdc++-devel              ######################### [7/9]
  Installing: gcc-c++                      ######################### [8/9]
  Installing: rpmdevtools                  ######################### [9/9]

Installed: rpmdevtools.noarch 0:6.1-0.1.fc7
Dependency Installed: elfutils.i386 0:0.129-1.fc7 elfutils-libs.i386 0:0.129-1.fc7 fakeroot.i386 0:1.6.4-15.fc7 gcc.i386 0:4.1.2-12 gcc-c++.i386 0:4.1.2-12 libstdc++-devel.i386 0:4.1.2-12 redhat-rpm-config.noarch 0:8.0.45-15.fc7 rpm-build.i386 0:4.4.2.1-1.fc7
Complete!
[root@localhost ~]# uname -rm
2.6.22.5-76.fc7 i686
[root@localhost ~]# ls
anaconda-ks.cfg  Documents  install.log        Music    Public      Templates
Desktop          Download  install.log.syslog  Pictures  scsrun.log  Videos
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# ls
adobe-release-i386-1.0-1.noarch.rpm    ndiswrapper-1.23.tar.gz
bcmwl5.inf                              new file
bcmwl5.sys                              new file~
flash-plugin-9.0.48.0-release.i386.rpm  new file 1~
kernel-2.6.22.5-76.fc7.src.rpm          patch-2.6.22.6.bz2
ndiswrapper-1.23
[root@localhost Desktop]# rpm -Uvh kernel-2.6.22.5-76.fc7.src.rpm
  1:kernel                warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
########################################### [100%]
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
warning: user kojibuilder does not exist - using root
warning: group kojibuilder does not exist - using root
[root@localhost Desktop]# cd /usr/src/redhat/SPECS
[root@localhost SPECS]# rpmbuild -bp --target $(arch) kernel-2.6.spec
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
        sparse >= 0.3 is needed by kernel-2.6.22.5-76.fc7.i686
[root@localhost SPECS]#

Since I installed the ndiswrapper without the source code being there is that going to hinder me? will I have to start all over again? and if so should I remove the now present ndiswrapper and all the stuff with it, a simple command that will help with that.

s0ulburn26 09-18-2007 09:42 AM

I have another question that is along the same lines. I should not have done this but hindsight is 20/20. some where I had read that wlan0=up would help or something to that effect and I found a file that has something to do with the loading of the kernel and when you boot up you can get the messages and I need to take that out. I think it is interfereing

Hangdog42 09-18-2007 03:41 PM

Quote:

As I understand I have to get the kernel source and header files, recompile the kernel and take the native b43 driver that is throwing the error when I try to activate my wireless card.
Under no circumstances should you have to recompile your kernel to use either ndiswrapper or b43. You may need your kernel source to get ndiswrapper running however (more about that later) and if your headers aren't part of the default install, somebody needs to start slapping Red Hat around. You pretty much can't compile diddly without the headers.

What you need to take care about is not having b43 and ndiswrapper modules loaded at the same time. Practically, that means that before loading the ndiswrapper module, you need to either remove the b43 module (with the modrpobe -r command) or you need to blacklist it so it doesn't load in the first place. I believe that there are actually two kernel modules that have to be blacklisted for b43 to be really blacklisted, and there are details in the threads I linked to in my first post.

Quote:

I did manage to find out that with my Fedora installation there was not a kernel src installed. I got the source from the repo and have attempted to apply it. When I made my ISO it was Kernel version 2.6.21 so since when I boot my system up I see 2.6.22 there has been an update this is where the native b43 comes into play. So the Kernel source rpm that I downloaded from Fedora. I attemtped to install the source code and the following is my output with one error, sorry for the long post...
It looks like the kernel source RPM did install (you can usually ignore warnings) but I'm not sure what this command is for:
Quote:

rpmbuild -bp --target $(arch) kernel-2.6.spec
Any enlightenment would be appreciated (sorry, I'm allergic to Fedora so I'm not real familiar with all the ins and outs).

Quote:

Since I installed the ndiswrapper without the source code being there is that going to hinder me? will I have to start all over again? and if so should I remove the now present ndiswrapper and all the stuff with it, a simple command that will help with that.
The answer is that it depends. If you compiled ndiswrapper from source code, then not having the kernel source installed is a fatal error, and nothing would have compiled. In this case it is safe to simply start from the make distclean step and keep going. If you installed ndiswrapper from a pre-compiled RPM, then you actually wouldn't need the kernel source at all, however there must be an exact match between the kernel version your running and the version ndisrwapper was compiled against. In this case, I would remove the RPM file and compile ndiswrapper from source.

By the way, since ndiswrapper is a kernel module, every time your kernel is upgraded it is likely that you will need to recompile ndiswrapper.

Quote:

I have another question that is along the same lines. I should not have done this but hindsight is 20/20. some where I had read that wlan0=up would help or something to that effect and I found a file that has something to do with the loading of the kernel and when you boot up you can get the messages and I need to take that out. I think it is interfereing
Yeah, you probably should remove that, I don't think it is something the kernel would understand. What you might have see was the ifup command which would be run like this:

ifup wlan0

The ifup command runs the DHCP client and requests an IP address and then brings the interface up for use.

s0ulburn26 09-18-2007 08:17 PM

Thank you for clearing things up, there is still a little bit I am fuzzy on but I think I am slowly learning as I go along. I am a little unclear on what this means


Quote:

"Make sure that /lib/modules/VERSION/build is a link to the kernel source, where VERSION is the version of the kernel you are running; this should be setup automatically by distribution package. If this path is not valid, kernel modules can’t be compiled. Also make sure gcc and associated packages (e.g., libc6-dev on Debian based distributions) are installed so C programs can be compiled. For help with these steps, refer to your distribution documents"
this came from the ndiswrapper wiki for install. When they say this does this mean that I have to tell it to "make distclean, make, make install /lib/modules/2.6.22-76.fc7"??? I think this might be a crucial step in getting this to work right for me. Sorry for this to be so time consuming. Along with the help I am receiving from LQ I have a book that is covering the rest of the little stuff for me as I go. The book covers FC5 and there is a chapter for installing the source code when the source is not present on the system. Book says
Quote:

preceding command installs the kernel specification file as /user/src/redhat/SPECS/kernel-2.6.spec. this file holds the instructions that rpmbuild uses to unpack the kernel source files and apply patches to those files. Change directories to /usr/src/redhat/SPECS and run rpm build

Hangdog42 09-19-2007 05:33 AM

Lets see if I can clear some of this up.....

The directory /lib/modules/KERNELVERION is where all of the compiled modules are stored for that version of the kernel. So say you're running a 2.6.5 kernel, the compiled modules would be stored in /lib/modules/2.6.4/. If you then upgrade to 2.6.22, a new directory would be created (/lib/modules/2.6.22) to hold all of the compiled modules for 2.6.22 but /lib/modules/2.6.4/ would remain untouched. This is how you can have multiple kernels available to boot, and also why you have to recompile ndiswrapper every time you switch kernels. A running kernel is aware of what directory it should use when looking for modules, so if you went through this kernel switch without recompiling ndiswrapper, there would be ndiswrapper in /lib/modules/2.6.4 but not in /lib/modules/2.6.22 so the 2.6.22 kernel wouldn't be able to use it.

Quote:

When they say this does this mean that I have to tell it to "make distclean, make, make install /lib/modules/2.6.22-76.fc7"???
The make distclean command simply cleans up any previous attempts at compiling ndiswrapper. This is done in case you've switched kernel versions, but are using the same ndiswrapper version. On a clean install, this really doesn't do anything, but it also isn't harmful, so you may as well run it.

The make command actually causes the source code to be compiled into functional programs (or in this case, a kernel module). However, the make command leaves all of the newly compiled files in the directory containing the source code.

The make install command is responsible for moving the binary files created in the make step to the proper directories in the rest of the system. Usually this is the only command in this series of steps that must be run as root since you're usually installing the program to privileged parts of the system like /usr, /etc or /bin. I'm guessing that their adding the /lib/modules/2.6.22-76.fc7 bit in an attempt to tell make install exactly where to put things, however usually that isn't necessary. By default, the make install step for ndiswrapper installs into the /lib/modules/kernelversion directory for the running kernel, so unless you are compiling for a different kernel, you probably don't have to worry about adding anything to make install.

All of these variations of the make command derive their "intelligence" from the Makefile you'll find in the top level of the directory with the source code. This file contains all of the instructions for how the program is to be compiled and where to put things. For something relatively simple like a kernel module, Makefiles are usually fairly simple and can be pre-configured by the team developing the kernel module. For stand-alone programs where there are likely to be dependencies on other things like libraries, before you can run any of the make steps, you first have to run a ./configure program which will inventory your system for available libraries and then create a custom Makefile for that program on your system.

Quote:

preceding command installs the kernel specification file as /user/src/redhat/SPECS/kernel-2.6.spec. this file holds the instructions that rpmbuild uses to unpack the kernel source files and apply patches to those files. Change directories to /usr/src/redhat/SPECS and run rpm build
I'm not entirely sure what they're getting at here, but my best guess is that they're talking about where the kernel source code is located. Usually on Linux systems, you'll find the source code for the running kernel in /usr/src/linux. Now many flamewars have been fought over whether you should actually have the source code in /usr/src/linux or whether /usr/src/linux should be a soft link pointing to the kernel source code, and the source is actually located somewhere else. It looks to me like RedHat stores a bunch of information in the /user/src/redhat/SPECS/kernel-2.6.spec file that relates to where the source code is actually installed. My guess is that you can probably not worry about this particular detail as long as there is something in /usr/src/linux.

s0ulburn26 09-19-2007 09:25 AM

Thank you for the 101, this believe it or not has been very helpful. When I had my class on Linux Systems the Linux OS we setup was FC4 and unfortunately the instructor was some what lazy so I walked away from the class only learning that it was different operating system. Shows you learn more if you get in it and teach your self.

s0ulburn26 09-19-2007 09:30 AM

Another quick question. If I login as Root and do all this for the ndiswrapper and then login under my username will that affect anything?

Hangdog42 09-19-2007 10:41 AM

Quote:

Originally Posted by s0ulburn26 (Post 2896822)
Another quick question. If I login as Root and do all this for the ndiswrapper and then login under my username will that affect anything?

Nope, that shouldn't affect a thing.

That said, one of the Linux habits you should consider picking up is only using root when you absolutely, positively have to. That gets you using tools like su or sudo.

b0uncer 09-19-2007 11:12 AM

Quote:

Well this ndiswrapper thing isnt working, I have tried it on three or 4 different installs. Would be nice if there was like a step by step for this thing or a way it could become fool proof. I imagine it has something to do with what Im doing. It's getting to the point I am about ready to switch back to windows.
Oh, but there are. Lots of. Here at LQ you'll find many Broadcom + ndiswrapper how-tos and threads with solutions; you'll find wpa_supplicant howtos as well (to get WPA encryption working). I have to admit most of them are not "good" in the sense that, after trying them out one by one when I got my first wireless laptop, they look good and basically have everything you need, but it's just either represented so that you don't really understand it well enough unless you already know how it's working, or then the writer just got it working somehow, wrote some commands s/he remembered to have issued and said this is how it works.

NDISwrapper isn't distribution-specific. It's installation is, but it should not be a problem. Once it's installed properly, it's usage is (including wpa_supplicant now that I studied it a bit) very easy. I know the frustration that comes when you don't get it working, you don't understand it well enough to figure out what's wrong (especially with wpa_supplicant) and in the end just start thinking it's crap (no it isn't).

If I find enough time somewhere (still looking) I'll try to write a clean, short and understandable how-to for ndiswrapper installation and usage (maybe I'll use bcm43xx as an example card, because it seems to be problematic for many people -- though it isn't when you learn how it's done). Until then you can feel free to IM me and I'll give you step-by-step instructions in real time, as long as I'm not in a rush at that moment. I even happen to have the source packages for ndiswrapper (and Broadcom 43xx Windows driver files), so if there are no binaries available for your distribution it can still be sorted out.

Your primary place to get packages is your package manager - yumex/yum (Fedora), synaptic/apt-get (Ubuntu, Debian) and so on. Be it kernel source/headers or ndiswrapper[-utils], that's the place to go. And if you can't find anything there, then you'll start working with the source code..

s0ulburn26 09-19-2007 03:12 PM

Got it installed
 
Okay I got the kernel stuff taken care of and all that got the ndiswrapper installed cause when I do ndiswrapper -l i get
Code:

[root@localhost modprobe.d]# ndiswrapper -l
bcmwl5 : invalid driver!

I have also added b43 and the ssb to the black list rebooted and turned off wpa_supplicant and I still get that my hardware wont work... what Am I doing wrong.

Hangdog42 09-19-2007 03:23 PM

A few questions:

- Where did you get the drivers? If you look your card up on the ndiswrapper wiki, they will likely link to a driver known to work. If that comes up dry, try getting the latest XP drivers from the manufacturers web site.

- Were there any errors when you ran ndiswrapper -i? Were the bcmwl5.inf and bcmwl5.sys files in the same directory when you ran ndiswrapper -i?

- Are there any errors when you load the ndiswrapper module?

Also be sure to look in your system logs (/var/log/syslog and /var/log/messages) and the output of the dmesg command and see if ndiswrapper is complaining about anything.

More than likely you've just got a version of the Windows driver that ndiswrapper doesn't like. That used to happen a LOT with ndiswrapper.

s0ulburn26 09-19-2007 04:00 PM

So close, well I will give these a look later on tonight its time for me to fight the traffic thanks for the help guys I will get a chance to look at these later on tonight.

s0ulburn26 09-19-2007 10:53 PM

Digging through the log files
 
At the advice of Hangdog to look through the log files particularly syslog and messages. I looked in /var/log unfortunately I only saw one of the former '/var/log/messages' looking through this I did find out some of the error messages that I see have detailed explanations.

Quote:

Sep 19 21:47:40 localhost kernel: b43-phy0 ERROR: Microcode "bcm43xx_microcode5.fw" not available or load failed.
Sep 19 21:47:40 localhost kernel: b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Dr...devicefirmware and download the correct firmware (version 4)
Sep 19 21:47:40 localhost firmware_helper[3061]: Loading of /lib/firmware/bcm43xx_microcode5.fw for b43 driver failed: No such file or directory
Sep 19 21:47:42 localhost NetworkManager: <WARN> nm_device_802_11_wireless_scan(): could not trigger wireless scan on device wlan0: Network is down
Sep 19 21:47:45 localhost NetworkManager: <info> Error getting killswitch power: org.freedesktop.Hal.Device.KillSwitch.NotSupported - Access type not supported
I also found this

Quote:

Sep 19 21:57:50 localhost kernel: b43-phy0 ERROR: You must go to http://linuxwireless.org/en/users/Dr...devicefirmware and download the correct firmware (version 4)
Sep 19 21:57:50 localhost firmware_helper[3413]: Loading of /lib/firmware/bcm43xx_microcode5.fw for b43 driver failed: No such file or directory
Sep 19 21:57:52 localhost NetworkManager: <info> Error getting killswitch power: org.freedesktop.Hal.Device.KillSwitch.NotSupported - Access type not supported
Digging through this, and seeing the ling to linuxwireless dot org I am taken again to the solution of using the firmware cutter tool.

There were no messages about ndiswrapper. when I ran the install it did throw some messages about kmod but i took care of that by using the 1.47 not 1.46 I had a friend that was helping me with the other stuff for the kernel and he had stated was worried about the 4k stack so try the 1.46

Hangdog42 09-20-2007 07:20 AM

Quote:

Digging through this, and seeing the ling to linuxwireless dot org I am taken again to the solution of using the firmware cutter tool.
Hm. The errors you posted are definitely related to b43/bcm43xx and NOT ndiswrapper. Nidswrapper isn't affected by the firmware, so if you're sticking with it, you can pretty safely ignore these. Of course if you do use b43 at some point, you will need to install the correct firmware because this definitely shows you don't have the proper firmware to run b43.
Quote:

There were no messages about ndiswrapper.
Believe it or not that is probably a good thing. It means that the most likely path is to concentrate on finding a Windows driver for your card that ndiswrapper can live with.

Quote:

I had a friend that was helping me with the other stuff for the kernel and he had stated was worried about the 4k stack so try the 1.46
Your friend is somewhat off base. The 4K stack is most definitely an issue to worry about, particularly in Fedora since this is the root of most of their problems with ndiswrapper. However, switching versions of ndiswrapper doesn't affect this problem at all since it is the stack space needed by the Windows driver that determines whether the 4K stack is a problem or not.

The good news: The most common "symptom" of a 4K stack problem is a complete system lock-up when you load the ndiswrapper module. That doesn't seem to be happening to you (at least not yet) so I don't think we have to worry about it right now.

The bad news: If it becomes a problem, you'll have to either install a new kernel that has a bigger stack (there are some 3rd party kernels for Fedora that do this, particularly the NTFS kernels) or you'll have to compile your own kernel. Or throw Fedora in the nearest dustbin and try a better distro.


So at this point, I would try a couple of different Windows drivers and see if one works.

s0ulburn26 09-20-2007 09:26 AM

Trying different drivers
 
Whats wild is that I downloaded that driver from the Dell website put in the model and the Xp os there were two version of drivers for the card. Intel(PROWireless) and the Broadcom. I guess I'll try the Intel one this time see if it works. I have the kind of keyboard that has the 'fn' key and it turns on like the volume and the wireless in xp there a tool or util to turn this function on for my keyboard.

s0ulburn26 09-20-2007 10:05 AM

Windows Drivers
 
I downloaded these drivers for the intel and extracted them to a folder on the desktop. there are two '.inf' and '.sys' files.

Code:

inflating: XP/Drivers/DPInst32.EXE 
  inflating: XP/Drivers/DPInst64.exe 
  inflating: XP/Drivers/iProdifx.dll 
  inflating: XP/Drivers/iProdifx.EXE 
  inflating: XP/Drivers/NETw2c32.DLL 
  inflating: XP/Drivers/NETw2r32.DLL 
  inflating: XP/Drivers/NETw4c32.DLL 
  inflating: XP/Drivers/NETw4c64.DLL 
  inflating: XP/Drivers/NETw4k32.CAT 
  inflating: XP/Drivers/NETw4k32.INF//here 
  inflating: XP/Drivers/NETw4k32.sys//here
  inflating: XP/Drivers/NETw4r32.DLL 
  inflating: XP/Drivers/NETw4r64.DLL 
  inflating: XP/Drivers/NETw4x32.CAT 
  inflating: XP/Drivers/NETw4x32.INF//here 
  inflating: XP/Drivers/NETw4x32.sys//here 
  inflating: XP/Drivers/NETw4x64.CAT 
  inflating: XP/Drivers/NETw4x64.INF 
  inflating: XP/Drivers/NETw4x64.sys 
  inflating: XP/Drivers/w29n50.sys 
  inflating: XP/Drivers/w29n51.cat 
  inflating: XP/Drivers/w29n51.inf//here 
  inflating: XP/Drivers/w29n51.sys//and here I need these and not the 64 
  inflating: readme.txt             
  inflating: Setup.exe             
 extracting: verfile.tic           
  inflating: Version.txt


s0ulburn26 09-20-2007 11:02 AM

somewhat working
 
this would have been alot easier if I had known the mistakes I was making in the beginning. So, needless to say I am at the point I have the driver installed it see's it and doesn't throw any errors below is the output of 'ndiswrapper -i bcmwl5.inf'

Quote:

# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
# ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4318) present (alternate driver: ssb)
What has me confused is this part below, after receiving this I looked at this message in the specified directory.

Quote:

[root@localhost ndiswrapper-1.47]# modprobe ndiswrapper
You have new mail in /var/spool/mail/root

Hangdog42 09-20-2007 11:27 AM

This is starting to look good!

As for the mail message, that is likely spurious, but logging in as root and checking your mail might be useful. Or not.

The big things are: 1) is ndiswrapper in the lsmod output after you've loaded it and 2) do you have a wireless card visible to iwconfig? If you do, try configuring it for your AP and see if you can connect.

s0ulburn26 09-20-2007 11:48 AM

lsmod output
 
according to the output from lsmod there is only b44 which if I am not mistaken that is the module for my lan port. the wiki from the ndiswrapper faq states that if there is an alternate driver to run rmmod. i ran this command
Quote:

ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4318) present (alternate driver: ssb)

so ssb is the mod that I need to take out and then need to make sure that ndiswrapper is put in. nothing happens when I run modprobe ndiswrapper it just goes back to a prompt. When I ran 'rmmod ssb' I got ERROR: Module ssb does not exist in /proc/modules. I am slowly learning the command line as I go along but I thought I issued the right command to remove the alternate driver.






s0ulburn26 09-20-2007 12:16 PM

Working but can't connect to encrypted network
 
not sure what happened but it works now. I have a wireless config in my wired network. It is displaying 5 different available networks, tried connecting to my offices' wireless network with the shared key enabled and put in the network key but it wouldn't let me on. This however is a much better state then what it was before. My only question is do I have to do the 'modprobe ndiswrapper' everytime I boot my machine up and want to use my wireless card?

Hangdog42 09-20-2007 02:47 PM

Quote:

ndiswrapper -l
bcmwl5 : driver installed
device (14E4:4318) present (alternate driver: ssb)

so ssb is the mod that I need to take out and then need to make sure that ndiswrapper is put in.
If you've blacklisted b43/ssb, then no, you don't have to do anything else. That message from ndiswrapper -l is a little misleading, it only means that an alternate driver exists, not that it is loaded.

Quote:

nothing happens when I run modprobe ndiswrapper it just goes back to a prompt.
Actually, that's good. Modprobe only gives feedback when something goes wrong. If it all worked, then it is silent.

Quote:

When I ran 'rmmod ssb' I got ERROR: Module ssb does not exist in /proc/modules. I am slowly learning the command line as I go along but I thought I issued the right command to remove the alternate driver.
That should have deleted the module. Maybe you ran it already? However, as long as ssb doesn't load (check lsmod to be sure) you don't have to worry about it. I've got both ndiswrapper and bcm43xx on my laptop, but I only use one at a time.
Quote:

not sure what happened but it works now.
Congrats!
Quote:

tried connecting to my offices' wireless network with the shared key enabled and put in the network key but it wouldn't let me on.
Are we talking WEP, WPA or what here? How did you enable the key?
Quote:

My only question is do I have to do the 'modprobe ndiswrapper' everytime I boot my machine up and want to use my wireless card?
Yup, you do. There are a couple of ways to automate this however. Check out this post by Lenard. I know he is a CentOS user, so this is probably better than anything I'll come up with.

s0ulburn26 09-20-2007 03:10 PM

Thanks for your help Hangdog42. This is a big help now I can use my schools AP. SWEET! thanks again

Hangdog42 09-20-2007 03:59 PM

Hey, you did all the heavy lifting. Pat yourself on the back for sticking with it.


All times are GMT -5. The time now is 06:29 PM.