LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-18-2008, 02:11 AM   #1
biske
Member
 
Registered: Dec 2007
Location: Srbija, Kosovo i Metohija
Distribution: Ubuntu
Posts: 46

Rep: Reputation: 17
Wireless and NDISWrapper problem on Slackware 12.0!


Hello there, it is first time I write on this forum. I have trouble about configuring wireless in Slackware 12.0, actually to find drivers for it.
I have "Dell Inspiron 1525" and "wireless card Dell Wireless 1395 WLAN Mini-Card". Manufacturer is Broadcom Corporation.
I tried to find on the net something but some people told me that there is no driver for my wireless card and that i have to work with NDISWrapper istead.
I downloaded from sourceforge ndiswrapper-1.53 and have problem installing it. With tar i uncopmressed archive and went into
directory ndiswrapper-1.53. Then i typed make install and got next message "Cannot find kernel version in usr/src/linux-2.6.21.5, is it configured? Stop"
and of course instalation stops. Is there anyone who can help me with installing this or is there driver for my card?

P.S. I didn't installed source from disk during installation of system.
 
Old 12-18-2008, 02:32 AM   #2
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Rep: Reputation: 40
Hi,
can you find this directory in your system from what the terminal has prompt: usr/src/linux-2.6.21.5

Do you have the package kernel-source installed?
If its not available, install this kernel-source might solve your issue.


regards
 
Old 12-18-2008, 02:58 AM   #3
eylli
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 2
Why you dont download the package for your distribution from slackbulids or linuxpackages. I am running 12.1 and i tried it and it worked form me on dell Latitude D830
 
Old 12-18-2008, 02:59 AM   #4
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 310

Rep: Reputation: 59
This might help Alien BOB's Wiki
 
Old 12-18-2008, 04:53 AM   #5
biske
Member
 
Registered: Dec 2007
Location: Srbija, Kosovo i Metohija
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 17
RE

How to install kernel-source package. I have DVD for Slackware and i think there is a source?
 
Old 12-18-2008, 05:05 AM   #6
eylli
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 2
yes for sure that it is!! you can install it by installpkg
 
Old 12-18-2008, 06:22 AM   #7
phodopus
Member
 
Registered: Aug 2006
Location: Belgium
Distribution: Slackware 13.0
Posts: 62

Rep: Reputation: 15
I had some problems as well (few months ago). Maybe this helps:
I gave my lsmod, and this was the response from someone:

Code:
Thanks for the lsmod output, it was helpful. =)
I couldn't see ndiswrapper module loaded. The b43 kernel module (driver) won't work for our wireless cards. You /need/ to use ndiswrapper.

Go to www.slackbuilds.org and search for ndiswrapper. You will need the ndiswrapper.tar.gz SlackBuild package, and the source code tarball. Unpack ndiswrapper.tar.gz:
-----------------------START OF CODE SECTION------------------------
$ tar zxf ndiswrapper.tar.gz
$ mv ndiswrapper-*.tar.{gz|bz2} ./ndiswrapper/
$ cd ndiswrapper/
$ chmod +x ndiswrapper.SlackBuild
$ sudo ./ndiswrapper.SlackBuild
$ sudo /sbin/installpkg /tmp/ndiswrapper*.tgz
----------------------END OF CODE SECTION--------------------------

After ndiswrapper is successfully installed, get your Dell-supplied drivers CD, pop it into the drive, and find the .EXE (which is actually a .ZIP folder in masquerade) and unpack it:

------CODE-----
$ unzip -e [archive]
---------------

After you have the bcmwl5.inf file installed, you will need to blacklist several conflicting modules (in the kernel), and edit the rc.local file. Add the following lines to the end of "/etc/modprobe.d/blacklist":

---CODE---
blacklist b44
blacklist b43
blacklist ssb
---------

Then add the following lines to "/etc/rc.d/rc.local":

---CODE---
/sbin/modprobe ndiswrapper
/sbin/modprobe b44
----------

Reboot your laptop, and that should do it! =)
Maybe it helps...
 
Old 12-19-2008, 05:33 AM   #8
biske
Member
 
Registered: Dec 2007
Location: Srbija, Kosovo i Metohija
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 17
Ok installed driver for wlan and it works fine. But when i try to make interface with:

iwconfig wlan0 192.168.1.1
there is a error message "wlan0 no such device".

Note, i work in slackware as virtual machine (VMware) and i am just learning. Does this problem will exist if i install slackware on hard disk.

Command:

ifconfig -a

gives lo and eth0 and some info about them.

Can someone explain me why by default there are these two interfaces but not wlan0?
 
Old 12-21-2008, 07:35 AM   #9
biske
Member
 
Registered: Dec 2007
Location: Srbija, Kosovo i Metohija
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 17
Can anyone help me or give me some usefull links?
 
Old 12-21-2008, 07:58 AM   #10
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Note, i work in slackware as virtual machine (VMware) and i am just learning. Does this problem will exist if i install slackware on hard disk.
Do you mean you have Slackware installed in a VM ? If so then wireless devices are not going to work as VM's (VitualBox and VMWare) don't support them. You need to set up the host OS to access the wireless card and the guest setup in the VM with NAT accessing eth0. So far as I know bridged networking doesn't work on wireless devices with a linux host.

Note that the devices the Virtual machine accesses are just that, "virtual" , and are not the actual devices attached to the host.
 
Old 12-22-2008, 08:30 AM   #11
biske
Member
 
Registered: Dec 2007
Location: Srbija, Kosovo i Metohija
Distribution: Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 17
Yes, I have Slackware in virtual machine (VMware). All of this I done just to learn how
to setup wireless driver in linux with ndiswrapper. Actually i just tried it to get work
on Slackware but i wanted to learn and then to install on Backtrack3. So i installed Backtrack3
on hard disk and then succesfully installed ndiswrapper-1.53 and that works fine. Thank you.
I have just one more question about phodopus's post and conflicting drivers. Does I have to
blacklist these drivers. Did you mean it is just for Slackbuild or for any type of installation
of ndiswrapper.
 
Old 12-22-2008, 09:28 PM   #12
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 315

Rep: Reputation: 40
Quote:
Originally Posted by biske View Post
Yes, I have Slackware in virtual machine (VMware). All of this I done just to learn how
to setup wireless driver in linux with ndiswrapper. Actually i just tried it to get work
on Slackware but i wanted to learn and then to install on Backtrack3. So i installed Backtrack3
on hard disk and then succesfully installed ndiswrapper-1.53 and that works fine. Thank you.
I have just one more question about phodopus's post and conflicting drivers. Does I have to
blacklist these drivers. Did you mean it is just for Slackbuild or for any type of installation
of ndiswrapper.

Hi,

you do not have to blacklist those drivers if you do not have them install.

You have to check to see if those packages are install in your system.

For example for my system, i have the bcm43 package install in my system. Therefore i will need to blacklist the bcm43xxx package in order not to conflict with my ndiswrapper.


cheers
 
  


Reply


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
configuring wireless on slackware with ndiswrapper this1 Linux - Wireless Networking 2 06-03-2007 03:02 PM
wireless - ndiswrapper - slackware paul_mat Linux - Wireless Networking 13 04-02-2005 10:44 AM
problem connecting wireless to DLINK DI-524 using ndiswrapper/BCM94306/Slackware 10 kirkross Linux - Wireless Networking 17 12-07-2004 10:18 PM
slackware 10/ndiswrapper/Moto PCI Wireless AnheuserBusch Linux - Wireless Networking 0 10-31-2004 04:29 AM


All times are GMT -5. The time now is 01:37 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