LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 12-29-2006, 02:11 PM   #1
MrAexo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
10.2 64 Broadcom WiFi with ndiswrapper


Hello everyone, I'm a linux noob. I've been fussing with my new laptop for two weeks to get on the wireless here at school/work (I work on campus), and I've finally done it. I would like to share with you, since I had to search and pick items up as I went along, a lot of stuff from this site.

After some probing, I found out that my Gateway laptop that actually has a Dell 1390 Wireless LAN card, supplied by Broadcom. I got the drivers from Dell, and extracted them. You really only need these two tho: bmcwl5.inf bmcwl564.sys

First, I went into YAST, then under the Software Management. Do a search for "ndis". Place a check in the first one (the second is a dependency, I think, so if you don't check it, YAST will install it still). Next, it asked me to put my CD in, I put the DVD I made in. Then it installed ndiswrapper and wrote to the config. I didn't need to install anything else, so when it asked me, I said no.

The next part is a little tricky... First, I looked to make sure I got the file names and directories correct with little ls love. Then we install the driver with the following command
Code:
ndiswrapper -i /directory/bcmwl5.inf
To make sure it was properly installed, we execute the command
Code:
ndiswrapper -l
According to the ndiswrapper install instructions, you need to run the commands
Code:
depmod -a
modprobe ndiswrapper
But I still did not have my wireless card installed all the way. So I ran a few more commands:
Code:
ndiswrapper -mi
ndiswrapper -ma
Just for good measure, I ran these again:
Code:
depmod -a modprobe ndiswrapper
Ah, now I got the wireless showing up! You might need to restart the computer after all this to get it recognized. I didn't even need to add it to the YAST network card manager.

I was unable to get the latest version of ndiswrapper to work, probably because ndiswrapper isn't in 64bit yet, and I don't know how to recompile a program in 64 yet.

Then I was online, I didn't have any configuring to do, but the network config tool that comes with SuSe let me configure my home network which uses encryption.

I started out with Slackware 11, but couldn't keep it due to issues with my school's VPN settings, but in case you need it, I borrowed this from a tutorial I read for Slack wireless:
Code:
dhcpcd wlan0
Sorry if I'm all scatterbrained or unable to provide customized suggestions if you have a question, I'm still new. But let's keep it open for discussion, we're all here to help.
 
Old 12-30-2006, 07:17 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Yes ndiswrapper is 64-bit ready, I use it on my 64-bit laptop with the 64-bit OS (RHEL5Beta2). After all is is not hard to do;

make distclean
make
make install

All you need is the kernel source* or the kernel development packages installed.

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

$ ndiswrapper -v
utils version: 1.9
driver version: 1.32
vermagic: 2.6.20-rc2 mod_unload

$ uname -a
Linux Aspire5000 2.6.20-rc2 #0 Fri Dec 29 13:11:02 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

* one needs to edit the kernel source ~/kernel/module.c file and remove two lines in order to use ndiswrapper with kernels 2.6.19 or better;

if (strcmp(mod->name, "ndiswrapper") == 0)
add_taint_module(mod, TAINT_PROPRIETARY_MODULE);

.
 
Old 01-03-2007, 05:12 PM   #3
rwhunt
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
This worked for me. THANK YOU! I've been fussing with this for about 4 days now, on and off. My laptop is a HP Pavillion dv6113us running 10.2 using the version of ndiswrapper that YAST installs.
 
Old 01-03-2007, 05:23 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Glad to help, your welcome.
 
Old 01-04-2007, 08:37 AM   #5
MrAexo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Originally, I got the latest version of Ndiswrapper installed and even had a tutorial laid out for it, but when I went to search for my WAPs, the computer would lock up. I might try what you said about removing the two lines to see if that will get it to work.


*off topic for a sec*
I just realized you're from Indy, Lenard... I work and go to school at IUPUI

Last edited by MrAexo; 01-04-2007 at 08:39 AM.
 
Old 01-04-2007, 10:19 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Really I'm in Columbus, Indiana

You should not have to remove the two lines unless needed, they stop the ndiswrapper module from being built and loaded nothing more.
 
Old 01-26-2007, 10:03 AM   #7
tresoncehex
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
I have the answer for Dell 1390 for suse 10.2

I have been jumping from forum to forum and have not had any luck getting my wireless card to work. I just recently upgraded from 10.1. I worked really hard to get my wireless card working on 10.1, but I finally figured that out as well.

There is a trick to getting your Dell 1390 wireless card working. Just for your information, I recently purchased a Dell inspiron e1505, and that is the wireless card that came stock with the laptop.

Let me first start off saying that most of the forums have the correct instructions, but they are telling you to use the wrong drivers. I will now proceed to give you a list of all the instructions.

1.from the Suse 10.2 install disc, or from the internet, install ndiswrapper.

2. (the big secret of my tutorial that is different from all the others) Then you need to install the drivers. The trick to this is that you need the microsoft 2000 drivers for this, because for this tutorial the microsoft xp drivers do not work. They can be found here:

http://support.dell.com/support/down...&fileid=152055

3. unpack the drivers into a folder that you can explore through.

4. look into the driver folder, and copy the bcmwl5.inf file to your desired location.

5. now run this code in your terminal
ndiswrapper -i /home/(username)/bcmwl5.inf
(the location may not be the same as the above mentioned location)

6. now run this code in your terminal
ndiswrapper -l
this will give you a result of something like "driver installed, hardware present." Note: it sometimes says something different depending on the version of ndiswrapper you have.

7. if you are good up to this point, then type this in your terminal:
ndiswrapper -m
this says something about an alias something or other

8. if that worked successfully, then type this in the terminal:
modprobe ndiswrapper

9. now open up yast, and on the left click on system, from there click on network devices, and then on network card

10. use knetworkmanager, then select add on the next screen. now on the device type dropdown select wireless, and in the module name write in there ndiswrapper
then click next then next again, then finish

almost done.....

11. now in yast, select system on the left side, then /etc/sysconfig Editor

then expand the systen choice, then expand the kernel choice, and select MODULES_LOADED_ON_BOOT

once you click on that, just type ndiswrapper on that blank line, then click finish.....

you should now be finished, and able to have wireless all the time, even after rebooting.....

Last edited by tresoncehex; 01-26-2007 at 04:48 PM.
 
Old 01-26-2007, 02:47 PM   #8
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Rep: Reputation: 15
you really could have made it simplier
all i did was
install ndiswrapper from yast
Code:
cd /to/directory/where/inf/is
Code:
ndiswrapper -i driver.inf
Code:
modprobe ndiswrapper
Code:
iwconfig
its technically done BUT
in your thingy you are missing a step - to make wireless start on boot
you need to boot yast and go to network devices>network card (with knetworkmanager)
and then add
device type wireless (duh)
configuration name wlan0
leave everything the same
then add ndiswrapper to module name
next next blah blah look over it if you need necessary changes like WPA
you are really done after that

Last edited by bottled leaf; 01-26-2007 at 02:50 PM.
 
Old 01-26-2007, 04:42 PM   #9
tresoncehex
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
I know that i could have made it simpler, and you are right....I wanted to make it in depth and step-by-step enough, that even the newest of linux users could follow. Did you find my post helpful?
 
Old 01-26-2007, 04:46 PM   #10
tresoncehex
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
By the way, you said

"its technically done BUT
in your thingy you are missing a step - to make wireless start on boot
you need to boot yast and go to network devices>network card (with knetworkmanager)
and then add
device type wireless (duh)
configuration name wlan0
leave everything the same
then add ndiswrapper to module name
next next blah blah look over it if you need necessary changes like WPA
you are really done after that"


I did not skip a step, the only thing different you did than me was added the configuration name wlan0.....I did not do that, and to be honest, I don't really know what that does. If you would explain it to me, that would be great.

thanks
 
Old 01-26-2007, 10:00 PM   #11
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Rep: Reputation: 15
Quote:
Originally Posted by tresoncehex
By the way, you said

"its technically done BUT
in your thingy you are missing a step - to make wireless start on boot
you need to boot yast and go to network devices>network card (with knetworkmanager)
and then add
device type wireless (duh)
configuration name wlan0
leave everything the same
then add ndiswrapper to module name
next next blah blah look over it if you need necessary changes like WPA
you are really done after that"


I did not skip a step, the only thing different you did than me was added the configuration name wlan0.....I did not do that, and to be honest, I don't really know what that does. If you would explain it to me, that would be great.

thanks
it makes the wireless card boot up when the computer is restarted
if not you will have to do the modprobe ndiswrapper and then iwconfig everytime.
and yes i found the guide useful, it will especially useful for noobs
 
Old 01-27-2007, 09:45 AM   #12
tresoncehex
LQ Newbie
 
Registered: Jan 2007
Posts: 4

Rep: Reputation: 0
i did not do that, and my wireless card boots up everytime without fail......There may be more to it than I think, so if you are somebody who is reading this forum for installation purposes, i would add the "wlan0" step to adding the wireless card that the previous poster had suggested.....

Thanks for your feedback.
 
Old 01-27-2007, 04:28 PM   #13
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Rep: Reputation: 15
oh really?
it starts up by itself?
thats interesting. i wonder how
 
Old 02-01-2007, 03:34 PM   #14
SickNick
Member
 
Registered: Jan 2007
Posts: 109

Rep: Reputation: 15
K well looks like im unsuccessful even after this 1. I have ndiswrapper installed
i feed it the bcmwl5.inf driver it installs it. i check on it nd it says its installed. i followed every single command you guys listed. Nothing happenned. all i have is wired connection. And if i add my wireless through the netword card manager it says its not connected. it seems to me ive followed the steps perfectly. I have a DV2000 with an AMD Turion64 X2
 
Old 02-02-2007, 06:53 AM   #15
MrAexo
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Nick, are you running in SuSe x64 or 32 edition?

When you run ifconfig, does it find the wireless adapter?
 
  


Reply

Tags
broadcom, how, howto, ndiswrapper, readme, set, wireless


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
WiFi and Broadcom Infatuas Linux - Desktop 4 10-27-2006 06:28 AM
trouble with wifi ndiswrapper & Broadcom 4310 chip based wireless WhiskeyTangoFoxtrot Linux - Hardware 10 09-30-2006 07:25 PM
broadcom wifi issues. almost there... Vexamus Linux - Wireless Networking 2 10-26-2005 12:57 AM
Broadcom Wifi spaaarky21 Fedora 8 01-01-2005 11:19 AM
Broadcom WiFi microsoft/linux Mandriva 0 09-12-2004 08:21 PM


All times are GMT -5. The time now is 09:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration