LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-02-2004, 04:14 PM   #16
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15

ok i did the rpm -e kernel-module-ndiswrapper and the hardrive did some work (via my hearing it) and then the command promt came up again , there was no message.
 
Old 04-02-2004, 04:36 PM   #17
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
It probably worked than
you can do
rpm -qa
to list all installed RPM packages

rpm -qa | grep -i ndis

will show all RPM packages that contain the string ndis ( -i means ignore upper/lower case for grep)

rpm -ql kernel-module-ndiswrapper
will list all the files that were installed, you can also piple (|) this output to
grep and say grep bin to show the ones under a bin directory.

You can also check if a full path file name belongs to any RPM package installed.

example for finding what package contains "ls"
rpm -qf `which ls`

the backticks (`) mean to run what is inside them and replace the result within the command. You can just cut and paste or type in the full file name instead.

Hope this is informative. If not no problem it is not necessary, just stuff I find useful in working with RPMS.
 
Old 04-02-2004, 06:09 PM   #18
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
yes i think that there is a problem, because i use the "rpm -Uvv kernel-module-......" to install the rpm module package, i then try the "modprobe ndiswrapper" command and it fails to initalize, but just recently it has been saying that it is not installed,or not found.... :-( i am so frustrated >:-0
 
Old 04-02-2004, 07:23 PM   #19
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
you know i was reading on the ndiswrapper site, i have a PCI card. this is not a laptop, does that matter?
 
Old 04-02-2004, 07:46 PM   #20
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
[root@localhost root]# loadndisdriver -a wmpci54g.inf
Usage: loadndisdriver [-a] [driver]

AHHHHHHHHHHHHHHHHH (HEAD EXPLODES) What DOES THIS MEAN!!!!!!!!!
 
Old 04-03-2004, 08:39 AM   #21
Digital_Err0r
Member
 
Registered: Mar 2004
Posts: 80

Rep: Reputation: 15
do

ndiswrapper -i wmpci54g.inf

then try

ndiswrapper -l

and it should show the installed drivers
 
Old 04-03-2004, 09:29 AM   #22
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
[root@localhost root]# ndiswrapper -i wmpci54g.inf
ls: /etc/ndiswrapper: No such file or directory
Installing wmpci54g
[root@localhost root]# ndiswrapper -1
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by inffile
-e driver Remove driver
-l List installed drivers
-m Write configuration for modprobe
[root@localhost root]#

this is what happens i dont think that it was installed. do i need to address what device i am installing it for?
 
Old 04-03-2004, 09:36 AM   #23
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
[root@localhost root]# ndiswrapper -i wmpci54g.inf
Installing wmpci54g
[root@localhost root]# ndiswrapper -l
Installed ndis drivers:
wmpci54g present
[root@localhost root]#

ok after kicking my computer, i got this, so it has installed the driver
now i have done "iwconfig" and it does not see any wireless extentions :-(
dont i need to address the device that i want the driver to be used? i.e. 14e4 4320

ive read in some other forums that they use "loadndiswrapper 14e4 4320 wmpci54g.inf"

but regardless i have the driver installed now i need it to see wy wireless card.

[root@localhost root]# ndiswrapper -l
Installed ndis drivers:
wmpci54g present
wmpci54g.sys
[root@localhost root]# modprobe ndiswrapper
[root@localhost root]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.


Last edited by Sherpa; 04-03-2004 at 09:54 AM.
 
Old 04-03-2004, 04:51 PM   #24
labradog
LQ Newbie
 
Registered: Mar 2004
Distribution: ubuntu
Posts: 29

Rep: Reputation: 15
Sorry, but this is as far as I've gotten as well. I'm using mandrake 10 and the mandrake kernel has the ndiswapper mod already installed. I went back to .4 (which is the version supported by mandreke).

loadndiswrapper 14e4 4320 wmpci54g.inf is the .4 command sequence, not the .6 which you have installed.

There are a number of other posts in the wireless area where folks have reached exactly the place where you are now. I have not found anyone here who has it working.

If it's any consolation, youv'e done very well navigating this stuff. You are loosing your noobe status.

Wish i could be more help.

Here's what I have working

mandrake 10 2.6 kernel
broadcon intergrated wireless
ndiswrapper .4 (using the mandrake rpm) module installed in 2.6 kernel
 
Old 04-03-2004, 07:53 PM   #25
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
thanks for all the help youve given....
 
Old 04-29-2004, 10:18 PM   #26
nrnickolov
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Hey guys,

I just managed to get the WMP54G going under Mandrake 10 Official Download. I will try to give you as much detail as I can.

The following instructions tell you how to download and setup ndiswrapper from scratch. Make sure that the package that comes with Mandrake 10 is NOT installed. If it is, go to "configure your computer", "software management" and remove it. While you are in there, make sure that teh "wireless tools" are installed.

The commands below start with a dollar sign. The dollar sign represnts the prompt. Do not type the dollar sign.

Download ndiswrapper from http://sourceforge.net/projects/ndiswrapper/
Open a shell and go to where ndiswrapper-0.7.tar.gz is located
Untar the file by running
$ tar -zxvf ndiswrapper-0.7.tar.gz
Go into the newly created directory
$ cd ndiswrapper-0.7
I would strongly reccomend reading the INSTALL file. All I did is follow the steps in it. You can open it vi.
$ vi INSTALL
To exit vi type :q that's colon q
To install the ndiswrapper run
$ make install

Now you can install the windows drivers. I had problems with the windows drivers I downloaded from the internet. The once from the CD worked better.
$ ndiswrapper -i /mnt/cdrom/Drivers/wmpci54g.inf
Please substitude the path or filenames if different to match yours.

To see if it worked
$ ndiswrapper -l
You should see
Installed ndis drivers:
bcmwl5 present

Load the module
$ modprobe ndiswrapper

To see if the module loaded type
$ dmesg
I was getting some errors here. Rebooting seemed to make the module load ok. Eventually I removed ndiswrapper and started over again. To remove it I just did $ rm -f /usr/bin/ndiswrapper Do this only if you have problems.

Now you should see it as wlan0 when you run the following:
$ iwconfig

Set the mode to managed by running
$ iwconfig wlan0 mode Managed

I have not set up encryption yet, but you can set it up by running the following command and replacing the Xs with your own key composed of numbers and letters 0-9 A-F I believe. This same number will have to be entered into your access point as well.
$ iwconfig wlan0 key restricted XXXXXXXXXX

Your access point has SSID or ESSID. Enter it here
$ iwconfig wlan0 essid ESSID

Now you should be able to see the information you just entered by typing
$ iwconfig

This is where I had problems. The ESSID remained blank no matter how many times I entered it. Also the access pint came up as all Fs. This is when I started over by deleting ndiswrapper. Now it reports the proper ESSID and access pint.

Here is where the INSTALL file tells you to setup the network parameters of wlan0. I did not change anything but you can look them up in Mandrake 10 by going to "Configure your computer", "Network and Internet", "Manage connetions". You should see wlan0 in the drop down menu. I made sure that "Start at boot" is checked under "Options". TCP/IP I left blank to be assigned by DHCP.

At the command prompt run as root
$ ifconfig

If you do not see wlan0 listed try
$ ifconfig wlan0 up

try again
$ ifconfig

Now you should see wlan0 with an IP address assigned.

To have ndiswrapper load at boot
$ ndiswrapper -m

Hopefully this helps.

Nick
 
Old 05-03-2004, 09:00 PM   #27
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
[root@localhost ndiswrapper-0.7]# make install
make -C driver install
make[1]: Entering directory `/home/david/ndiswrapper-0.7/driver'
make -C /lib/modules/2.6.3-4mdksecure/build SUBDIRS=/home/david/ndiswrapper-0.7/driver DRV_VERSION=0.7 modules
make: *** /lib/modules/2.6.3-4mdksecure/build: No such file or directory. Stop.
make: Entering an unknown directorymake: Leaving an unknown directorymake[1]: *** [default] Error 2
make[1]: Leaving directory `/home/david/ndiswrapper-0.7/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-0.7]#

this is what happens when i do the make install command, is this for some stupid reason like my not installing the kernelsource or something?
 
Old 05-04-2004, 08:17 PM   #28
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
nevermind i got it to install!!!! however, i have 128bit encryption that uses 28 hex decimals and like you said i cant get the essid to be input so i reinstalled it and it still wont work...:-( and i was so happy.....
 
Old 05-07-2004, 08:25 PM   #29
Sherpa
Member
 
Registered: Mar 2004
Distribution: Gentoo
Posts: 67

Original Poster
Rep: Reputation: 15
ok, i am not going to use the ndiswrapper. i just went to the store and bought a linksys wireless bridge, and a lan card for my computer, and now i am up and running, in fact i am using it right now!!!!
 
Old 05-19-2004, 02:16 PM   #30
nrnickolov
LQ Newbie
 
Registered: Apr 2004
Posts: 4

Rep: Reputation: 0
Sorry for the delay Sherpa, but I don't check this forum often. I'm glad that you found a solution that works. I am posting this hoping that someone else may find it useful.

Before ndiswrapper can be installed, the source files for the kernel currently in use must be installed. Most distributions will provide the kernel source on their CDs, but I found that Mandrake 9.2 download edition had omitted it, but it can be downloaded from the Mandrake club. The kernel source is back in Mandrake 10.

The first time I installed ndiswrapper, I could not get the ESSID to save. I would run
$ iwconfig wlan0 essid ESSID
(where ESSID is the actual ESSID). After that when I run
$ iwconfig
the ESSID would come up empty.

I was using the latest drivers from the Linksys site. I decided to remove the directory where ndiswrapper was installed and start over. This time I used the the drivers (inf files) provided on the CD that came with the card. They worked fine. I was able to assign an ESSID and it was properly displayed when I ran
$ iwconfig

Nick
 
  


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
WMP54G Linksys PCI card with ndiswrapper on Ubuntu rparle Linux - Wireless Networking 6 04-27-2005 02:49 PM
Linksys Wireless G PCI card (WMP54G I think) OneSeventeen Linux - Wireless Networking 2 04-09-2005 08:09 AM
Linksys WMP54G wireless network drivers for Linux SUSE 9.2 rishulshah Linux - Wireless Networking 6 03-01-2005 08:36 AM
Trouble using Linksys WMP54G wireless card with SuSE 9.1 Personal Woessey Linux - Wireless Networking 1 09-21-2004 02:59 PM
Driver needed for linksys wireless card WMP54G Mandrake_Newb Linux - Hardware 2 04-03-2004 04:05 PM

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

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

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