LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-19-2008, 05:18 PM   #16
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled

Quote:
Originally Posted by jwk2801 View Post
Well for some reason I can't get ndiswrapper to install my drivers:

Code:
bash-3.1# ndiswrapper -i bcmwl5.inf  
couldn't open bcmwl5.inf: No such file or directory at /usr/sbin/ndiswrapper line 219.
bash-3.1#

Also I will have to look into fwcutter as I don't know what it is.

Yes my card is integrated I have a Pavilion zv5434rs laptop

GRRRRR.

John
It just can't find your inf file. You should supply the full path to your bcmwl5.inf (or make sure it is in the current directory.

Brian
 
Old 02-20-2008, 11:01 AM   #17
jwk2801
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Ok got them installed and now working on this:

Code:
bash-3.1# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
forcing parameter IBSSGMode from 0 to 2
bash-3.1# ndiswrapper -l           
bcmwl5 : driver installed
        device (14E4:4320) present (alternate driver: bcm43xx)
bash-3.1#
 
Old 02-20-2008, 12:58 PM   #18
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
You're fine. Don't worry about the messages. Just "modprobe ndiswrapper" as root, then you should see your wifi card at wlan0.

Brian
 
Old 02-20-2008, 02:05 PM   #19
jwk2801
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
That didn't work seems Im suppose to rmmod bcm43xx but when I do that I get:

Code:
bash-3.1# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0F:B0:46:63:E9  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:b0ff:fe46:63e9/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:634 errors:0 dropped:0 overruns:0 frame:0
          TX packets:641 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:606934 (592.7 KiB)  TX bytes:107467 (104.9 KiB)
          Interrupt:17 Base address:0x7000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

bash-3.1# iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

bash-3.1#

Also when I reboot the bcm43xx is back in lsmod any way to keep it gone ?


Here is my lsmod after I rmmod bcm43xx:

Code:
bash-3.1# lsmod
Module                  Size  Used by
ndiswrapper           185884  0 
snd_seq_dummy           6788  0 
snd_seq_oss            32896  0 
snd_seq_midi_event     10112  1 snd_seq_oss
snd_seq                50640  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         10508  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42784  0 
snd_mixer_oss          18048  1 snd_pcm_oss
ipv6                  254496  12 
capability              7304  0 
commoncap               9344  1 capability
lp                     13736  0 
parport_pc             27812  1 
parport                34760  2 lp,parport_pc
pcspkr                  6528  0 
psmouse                39048  0 
pcmcia                 34988  0 
ieee80211softmac       30464  0 
ieee80211              34248  1 ieee80211softmac
ieee80211_crypt         8576  1 ieee80211
8139too                25472  0 
mii                     8576  1 8139too
yenta_socket           27148  2 
rsrc_nonstatic         14848  1 yenta_socket
pcmcia_core            36500  3 pcmcia,yenta_socket,rsrc_nonstatic
serio_raw               9220  0 
i2c_nforce2             8704  0 
shpchp                 33172  0 
ata_generic             9220  0 
snd_intel8x0           32412  0 
snd_ac97_codec         98980  1 snd_intel8x0
ac97_bus                6016  1 snd_ac97_codec
snd_pcm                72068  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              22532  2 snd_seq,snd_pcm
snd                    47204  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               9824  1 snd
snd_page_alloc         11528  2 snd_intel8x0,snd_pcm
k8temp                  8320  0 
hwmon                   6404  1 k8temp
amd64_agp              13572  1 
pata_amd               13964  0 
agpgart                31432  1 amd64_agp
evdev                  11904  1

ndiswrapper -l is the same:

Code:
bash-3.1# ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4320) present (alternate driver: bcm43xx)
bash-3.1#

Thank You for the help Brian..

John
 
Old 02-20-2008, 03:17 PM   #20
jwk2801
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Also I have been trying to mount my cd/dvdrom I use this (only works with disk in):

Code:
bash-3.1# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
bash-3.1#
Now i can read the cd but if I try to eject I get this:


Code:
Unfortunately, the device system:/media/hdc (/dev/hdc) named 'SLAX' and currently mounted at /mnt/cdrom could not be unmounted. 
Unmounting failed due to the following error:
A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Unmount" error name "(unset)" destination "org.freedesktop.Hal")
And I am logged as root.

John
 
Old 02-20-2008, 04:14 PM   #21
jwk2801
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Update:

Ok I backlisted bcm43xx and now when I restart It is gone so I modprobe ndiswrapper and I can see wlan0 !!!

Code:
bash-3.1# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0F:B0:46:63:E9  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20f:b0ff:fe46:63e9/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3148 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2721 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2322351 (2.2 MiB)  TX bytes:647115 (631.9 KiB)
          Interrupt:17 Base address:0x7000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:90:4B:B7:4D:DA  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:21 Memory:e8100000-e8102000

One problem is when I restart now ndiswrapper is gone and I have to modprobe it again, why ?

Well now I can see my card but I can't get it up and running, If I use "dhcpcd wlan0" It just hangs.

Getting there.

John
 
Old 02-20-2008, 04:57 PM   #22
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
ndiswrapper --help or ndiswrapper -? will give you an option to add ndiswrapper to your modprobe.d. man pages are also very helpful
 
Old 02-20-2008, 05:53 PM   #23
jwk2801
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
I did:

Code:
ndiswrapper -m
and:

Code:
echo ndiswrapper >> /etc/modules
Per this post: http://ubuntuforums.org/showthread.php?t=297092

and rebooted still had to modprobe ndiswrapper manually.

John

Last edited by jwk2801; 02-20-2008 at 05:55 PM.
 
Old 02-20-2008, 08:44 PM   #24
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by jwk2801 View Post
I did:

Code:
ndiswrapper -m
and:

Code:
echo ndiswrapper >> /etc/modules
Per this post: http://ubuntuforums.org/showthread.php?t=297092

and rebooted still had to modprobe ndiswrapper manually.

John
Just edit the file /etc/rc.d/rc.modules and add the line "/sbin/modprobe ndiswrapper". rc.modules is where you tell slack to load extra modules.

Brian
 
Old 02-20-2008, 10:03 PM   #25
jwk2801
LQ Newbie
 
Registered: Feb 2008
Posts: 14

Original Poster
Rep: Reputation: 0
That did it !! My wireless is up and running, Thanx Brian.

I got my cdrom mounted to (I think)

Do I need to undo the "ndiswrapper -m" and "echo ndiswrapper >> /etc/modules" commands I did earlier ?

John
 
Old 02-20-2008, 10:48 PM   #26
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by jwk2801 View Post
That did it !! My wireless is up and running, Thanx Brian.

I got my cdrom mounted to (I think)

Do I need to undo the "ndiswrapper -m" and "echo ndiswrapper >> /etc/modules" commands I did earlier ?

John
Your welcome. I'm not sure (not on my laptop) what ndiswrapper -m does. With regard to the other, you should understand what you did. "echo ndiswrapper >> /etc/modules" will append a line to the file /etc/modules, the specific line being "ndiswrapper". Since, at least on a slack system, there is no file named /etc/modules, you have created a text file with one line in it. You might as well delete the file, since it does not do anything, athough it is not doing any harm.

I could have told you to type "echo '/sbin/modprobe ndiswrapper' >> /etc/rc.d/rc.modules" instead of telling you to edit the file and add the line, and it would have had the same effect. By telling you to edie the file, I thought you would have the opportunity to see what else was in there and get an understanding of why you were doing what you were doing.

Brian
 
  


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
Linux Live CD works until HD install Now nothing works!! ?? gosport1 Linux - Laptop and Netbook 2 10-05-2006 07:02 PM
XAWTV works, videodog works, motion works but how to code my own? rylan76 Linux - Hardware 0 01-06-2006 06:30 AM
first install, no idea how it works... help. aldric90 Linux - Newbie 12 05-14-2004 02:06 PM
knoppix liveCD install works great, HD install not so good stephanie_k Linux - Newbie 3 05-10-2004 09:41 AM
How new program Install works in Linux? AskMe Linux - Newbie 4 10-19-2003 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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