LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-14-2004, 07:19 PM   #1
blandman
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 2
Posts: 10

Rep: Reputation: 0
Ndiswrapper / wlan0 problems


I have a problem getting my wireless network card on my CompaqPressario laptop which is running Fedora Core 2. It is a Broadcom Corporation BCM94306 802.11g. I am using the newest version of ndiswrapper (0.11) and the windows xp version of my driver. I went through the steps in the installation without any problems. My output for ndiswrapper -l is:

Installed ndis drivers:
b57win32 driver present

Just like it should be. When I look through the grep the output of dmesg for 'ndiswrapper,' I get:

ndiswrapper version 0.11 loaded (preempt=yes,smp=no)
ndiswrapper: driver b57win32 (Broadcom,06/19/2004,7.80.0.0) added

The only thing I can tell is missing from here that is in the installation is the line about wlan0: ndiswrapper ethernet device xx:xx:xx:xx:xx:xx, which is where my problem lies. I have done the ndiswrapper -m command and have the alias in my modprobe file and the thing even shows up in the gui version of the network manager, but when i click activate, it says:

ndiswrapper device wlan0 does not seem to be present, delaying initialization.

When I say iwconfig, I get:

eth0 no wireless extensions.

lo no wireless extensions.

sit0 no wireless extensions.

Obviously no wlan0. I can't make any modifications to any of these 3 to set up my wireless card, so how do I get the wlan0 stuff to appear. I know this stuff has been asked about before, but I can't draw the parallel between their questions and mine. Keep in mind that I am relatively a linux noob.
 
Old 11-14-2004, 08:39 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I have heard some rumors that Fedora doesn't understand the wlan0 name for some reason. You may try getting into your /etc/modprobe.conf file and change the wlan0 to eth1. I also think that modprobe.conf is for 2.6 series kernels. If your running a 2.4 series kernel, I think that you need to edit your modules.conf file instead.
 
Old 11-14-2004, 09:43 PM   #3
blandman
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 2
Posts: 10

Original Poster
Rep: Reputation: 0
I've tried doing the eth1 thing. Nothing changes what comes up when I say iwconfig.
 
Old 11-15-2004, 12:41 AM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hey blandman,

Edit: Removed following advice

Regards
Chris

Last edited by snecklifter; 12-10-2004 at 04:58 PM.
 
Old 11-15-2004, 08:15 AM   #5
blandman
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 2
Posts: 10

Original Poster
Rep: Reputation: 0
I guess I forgot to mention. I just recompiled the kernel too. I'm using 2.6.9.
 
Old 11-15-2004, 08:26 AM   #6
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Well this is a likely driver malfunction. DId you get the driver from the cd that came with your card or from the ndiswrapper card list page? Do the latter and you should be fine as I'm running exactly the same chipset. You'll need to remove the driver and uninstall ndiswrapper first.
Regards
Chris
 
Old 11-18-2004, 03:15 PM   #7
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Is that wifi card (BCM94306) revision 2 or revision 3? Use cat /proc/pci | grep -i broad
 
Old 12-10-2004, 02:28 PM   #8
bloatedfish
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
I have the exact same problem as blandman. My card is BCM94302 rev 2. Someone please help as I am totally lost! I am also using a 2.6.9 vanilla kernel. Nothing seems to work. See my post at http://www.dexplor.com/phpBB2/viewto...ht=ndiswrapper (at the bottom)
for more info.

Thanks in advance for any help! This is driving me crazy.
 
Old 12-21-2004, 12:21 PM   #9
trosario311
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Hey guys, new to this forum but when ever you use a new kernel you need to redo the make install for ndiswrapper. I had the same problem.
 
Old 12-21-2004, 02:17 PM   #10
bloatedfish
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Quote:
you need to redo the make install for ndiswrapper
Unfortunately, this was not my problem; but never-the-less, a good point. The fix for my problem was to download and install the drivers mentioned here

Worked like a charm!
 
Old 12-31-2004, 06:12 PM   #11
msmales
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 5

Rep: Reputation: 0
You may have missed steps 3 and 4 at http://ndiswrapper.sourceforge.net/p...p?Installation

Ensure you follow the steps properly.

I already got it to work on my Fefora Core 3 (Broadcom chipset).

Last edited by msmales; 12-31-2004 at 06:13 PM.
 
Old 01-02-2005, 07:18 PM   #12
god_is_good478
Member
 
Registered: Jun 2004
Location: Singapore
Distribution: RH9 FC2/3 Mandrake10 Solaris 9
Posts: 31

Rep: Reputation: 15
FC3 is alright with the wlan0

though if you recompiled with 2.6.9 (I did the same thing =D)

you need to be careful with your selections (not just what you select, but what you do not select)
 
Old 01-03-2005, 10:32 AM   #13
davidsonf
LQ Newbie
 
Registered: Jan 2005
Location: Barrow Alaska
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
I'm using ndiswrapper to load a bcmwl5a driver for the same Broadcom BCM94306 hardware (on an HP ze4900 laptop, running a 2.6.10 kernel). I'm also using ndiswrapper-0.13pre1, which may or may not make any different.

A couple of things are obvious from what you have posted...

> ... My output for ndiswrapper -l is:
> Installed ndis drivers:
> b57win32 driver present
>
> Just like it should be. ...

That isn't quite what it should be though. It should also say "harware present", and it doesn't.
I suspect that means the driver is not detecting the hardware. I'd use google to search on "bcmwl5" and "bcmwl5a", which are the two drivers supplied by HP. Both worked on the HP laptop. (Someone else posted a message with a URL to another forum that has a URL to HP's web site. I didn't look, but assume that will get a copy of the same drivers.)

> ndiswrapper device wlan0 does not seem to be present, delaying initialization.
>
> When I say iwconfig, I get:
...
> Obviously no wlan0. ...

Note that before you run iwconfig you must run ifconfig to configure the wlan0 device; otherwise, it won't be found by iwconfig. In this case I suspect ifconfig isn't going to find it either though, but...

Your ifconfig command needs to look something like this:

ifconfig wlan0 host broadcast 192.168.0.255

Where "host" is replaced an IP address (or a name that will be resolved to an IP address, for example by being found in the /etc/hosts file), and the "192.168.0.255" broadcast address should be correct for whatever your subnet actually is.

Then you can run iwconfig, with a command that might look something close to this:

iwconfig wlan0 essid your_id_string key your_WEP_key

Where "your_id_string" is replaced with the correct ESSID for the access point you will connect to, and "your_WEP_key" is replaced with an appropriate WEP key to match the access point.

That will automatically result in a route being added for the specific subnet. Hence if you wlan0 device is given the IP address of 192.168.3.20, all packets to 192.158.3.x addresses will be sent to that interface. The problem is that no others will be sent to it! You'll need to add routing, and perhaps a default gateway route, as needed for everything
else. Hence you might have something like this,

route add -net localnet netmask 255.255.255.0 dev wlan0
route add default gw fire wlan0

Where "localnet" is the name of a network found in /etc/networks, and the netmask is adjusted to match it. In my case that happens to be an entry that looks like "localnet 192.168.0.0", as all of my wired LAN hosts are on that subnet. You'll need to adjust that to match your particular network topology. Regardless, the default route to a gateway needs to be set to whatever route you have to the Internet. In that example, "fire" is the host name of my firewall, which is on the "localnet" subnet (a route to the gateway must exist).





__________________
 
Old 01-06-2005, 01:53 AM   #14
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Ok, I got my 0000:02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03) to work.

You need to disable preemptible support in the kernel. Ndiswrapper has trouble with it, You should not get: (preempt=yes,smp=no), rather you should get (preempt=no,smp=no). Also, try disabling IRQ's in your bootloader config. This is the most common #1 fix for people.

Some distros don't have wlan0, wlan1(they're just symbolic links)... A few just use eth0, eth1. Load ndiswrapper, then type:

#ifconfig eth0 up
#ifconfig eth1 up
#ifconfig eth3 up

One of these will be your wifi and the other your ethernet. Find the wifi one, and make a symbolic link:

#ln -s /dev/eth0 /dev/wlan0

This way you can use wlan with no prob.

Also yes, if you install a new kernel, you need to recompile and reinstall ndiswrapper.

blandman, you need the wireless tools package infact, anyone who types iwconfig and gets nothing needs this package.

I spend 70 hours, of which 20 were spend sleeping, eathing, and all that other stuff. I've read every forum, every manual, all the wiki.... =)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless network problems, ndiswrapper installed will not create wlan0 jackuss_169 Linux - Wireless Networking 6 08-14-2006 11:29 AM
Yet more ndiswrapper/wlan0 problems ousouji Linux - Wireless Networking 2 12-31-2004 06:06 PM
ndiswrapper! where is my wlan0? davestyle Linux - Wireless Networking 2 12-31-2004 11:32 AM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM
ndiswrapper: wlan0 not present Ian Linux - Wireless Networking 1 04-07-2004 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration