LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxAnswers Discussion (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/)
-   -   DISCUSSION: Ndiswrapper in Fedora Core 5 (https://www.linuxquestions.org/questions/linuxanswers-discussion-27/discussion-ndiswrapper-in-fedora-core-5-a-428731/)

paulio 07-07-2006 05:13 PM

Just a real quick note to say thanks. I followed the guide and all is working... typing this from Fedora core 5 using ndiswrapper with a safecom card and a TI chipset (ACX111) and WPA... Brilliant.

Thanks again.

spaniel 07-08-2006 08:32 PM

Fedora Core 5(x86_64), ndiswrapper, broadcom driver(bcm43xx)
 
Sources (Webpages that where usefull)
Many thanks to Matthew Rogers. His page was very helpfull, but i needed some more
http://www.runithard.com/HOWTO-BCOM64WIRELESS/

Another page i visited to get info regarding the installation and configuration:
http://ndiswrapper.sourceforge.net/m.../index.php/WPA

Some history:
On this laptop Fedora Core 4 has been running for while using the ndiswrapper and the 64-bit driver for windows.
My access point was using WEP encryption.This worked flawlessly.

Then i decided it was time to upgrade to Fedora Code 5, and: Bye Bye Wireless network.
Also i decided that it was time for some WPA-PSK configuration on my AP.

The present:
So after some long evenings trying to get the bcm43xx driver ( it is in the FC5 distro) to work,
a couple (of thousand) of total laptop freezes later, i decided to go back to the ndiswrapper.
Here's how i got it to work.

System configuration:
- HP nx9105, AMD 64 3400+
- 2 Gb memory
- Dual boot ( Windows XP (yes, i know, need it for my work), Fedora Core 5)
- 80 Gb 7200rpm disk
- Fedora Core 5 ( kernel: 2.6.17-1.2145_FC5 ) (x86_64)
- bcm4303 onboard card

First of all:

Remove the bcm43xx driver from the startup modules.
When installing the ndiswrapper it is not usefull anymore, and it might get in the way.
I added a line to the file: /etc/modprobe.d/blacklist

blacklist bcm43xx

I also added some &*##*((@&((# comments in this file about the driver, but thats purely for my own pleasure.
No offense: The guys at berlios are probably doing a great job, it just didn't work for me.

When i got this out of my system (double meaning :p ) i rebooted.

Second thing to do, download/install some stuff:


- 64 bit windows drivers
http://www.runithard.com/HOWTO-BCOM6...4g_Drivers.zip
- Source from ndiswrapper.sourceforge.net, i used 1.19
Source for wpa_supplicant. ( this is same version Fedora provided at the time i wrote this)
- http://atrpms.net/dist/fc5/wpa_suppl...t.src.rpm.html
- yum install kernel-devel ( you might need some more things like the gcc compiler)

Third thing to do:
Unzip the windows drivers
You will get two files: BCMWL564.SYS and netbc564.inf
Don't do anything with them, you will need them in the following step.

Fourth thing to do:

untar/gunzip the ndiswrapper sources ( tar xvfz ndiswrapper-1.19.tar.gz)
Install ndiswrapper.
See the file INSTALL in the directory "ndiswrapper-1.19". It is very clear and monkey proof.
You will need the windows drivers now.

Fifth thing to do:

Install the wpa_supplicant sources. Very straight forward: rpm -ivh wpa_supplicant-0.4.9-11.rhfc5.at.src.rpm
If the rpm installation complains it cannot find/create the directory /usr/src/redhat/SOURCES, then create it yourself and re-isssue the command.
Go to the directory: /usr/src/redhat/SOURCES.
untar/unzip the file wpa_supplicant-0.4.9.tar.gz (tar xvfz wpa_supplicant-0.4.9.tar.gz)
do into the directory wpa_supplicant-0.4.9 and create the file ".config" with the
following lines in there:

CONFIG_DRIVER_NDISWRAPPER=y
CONFIG_CTRL_IFACE=y

save the file and issue the command: "make"
If no errors, then issue the command: "make install"

You will now have a new wpa_supplicant installed on your system, one which includes support for the ndiswrapper
Fedora does not included this options, i think.
I could not get it to work with the standard fedora version.

The sixted (thats not good english, is it?) thing to do:
I made a backup of the file /etc/wpa_supplicant/wpa_supplicant.conf and added some lines/changed it.
My configuration file now looks like this:
---------------------------------------------------
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

#network={
# ssid="any"
# key_mgmt=NONE
#}

network={
ssid="<my ssid>"
psk="< my secret>"
key_mgmt=WPA-PSK
proto=WPA
}

---------------------------------------------------

The seventh thing to do:


Put one hand before your eyes and peek through your fingers.
With the other hand type:

ifconfig wlan0 up
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf -dd

And then you will see a lot of rubbish, uhh i mean debug info scrolling over your screen.
The last lines should look something like below:
---------------------------------------------------
State: GROUP_HANDSHAKE -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:11:d8:43:80:e2 completed (auth)
EAPOL: External notification - portValid=1
EAPOL: External notification - EAP success=1
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state SUCCESS
EAP: EAP entering state DISABLED
EAPOL: SUPP_PAE entering state AUTHENTICATED
EAPOL: SUPP_BE entering state IDLE
EAPOL: startWhen --> 0
---------------------------------------------------

And then you give the command: "ifconfig"

AND YOU STILL DON'T HAVE A IP-ADDRESS

And thats quite logical, jim, because you have to start the dhclient to get one.
so: dhclient wlan0

And we have a ip-address.

So when i got this ip-address i unplugged my normal network cable and i could get to the internet.
This probably means i have a wireless connection......................

And now it is 03:05 AM and lets write something to document my journey.
Result: This document.

Lets see if i can post it somewhere............. via a wireless network connection.

PS: One warning though, when you update your kernel, you will have to re-install, relink, etc, etc the ndiswrapper.

PSS: You will have to demonize everything, putit in a script, hang it in your rc scripts, whatever, but now it is 03:29 AM and i want to go to sleep :cry:

thequestess 07-13-2006 05:24 AM

I am running a Compaq Presario 2200 with a Broadcom 4306 wireless card. I managed to get through step 8, but at step 9 I look to see what drivers are installed and I'm told that the bcmwl5.inf, OR the bcmwl5a.inf file I installed is an invalid driver.

I dug around online and found another place to download this driver. It included bcmwl5.inf and bcmwl5a.inf. I tried installing both to NDISwrapper and both were still invalid.

I can't figure out what to do.
I only know a little bit about Linux, so I would appreciate any help I can get.

Additionally, the depmod and modprobe commands will not work.
Perhaps this is related to the fact that when I type uname -r it returns:
2.6.15-1.2054_FC5

But I sure thought I installed the newest version, which is the folder located in /usr/src/kernels/:
2.6.16-1.2129_FC5-i686

Did I somehow do an incomplete install of the new kernel? I used the GUI to click on the RPMs that I downloaded and it said that it had installed the new files. And then I also used the terminal with the rpm -i command to install them. It still returns 2.6.15-1.2054_FC5 when I type uname.






And for reference, I was unable to do step 5 with the command KSRC=/usr/src/kernels/. I had to use KBUILD=/usr/src/kernels/. I was installing NDISwrapper 1.19, not sure if it's a change they made or what, but it's the only way I could get NDISwrapper to install.


Thanks.

spaniel 07-13-2006 09:38 AM

Looks to me like your new kernel is not running.
Open a terminal and type: yum update kernel
Note: You will have to be connected to the internet, so you will have to use the fixed network card.
Let it run. After the reboot you should see that uname -r shows the right kernel version.
Now download the corresponding source from the fedoraproject.org website ( use one of the mirrors, you can download the source rpms directly).
After this, just follow the procedure again. I think your problem is that you are compiling your module against the wrong source/kernel version.

Also verify that you have the corresponding .sys file with the .inf file.
The .inf file is only a "pointer"to the sys file.

thequestess 07-14-2006 03:29 PM

I'm silly and I didn't reboot my system after updating the kernel. It worked just fine after a reboot. I also had not copied the sys files to the same directory as the inf files. I did that and installed the inf files again and recieved a "driver installed, hardware present" for bcmwl5a.

I looked around online and discovered I need to type /sbin/depmod -a, so I did this and it worked. Then I typed /sbin/modprobe ndiswrapper and it returned
FATAL: Module ndiswrapper not found.

Before when I used the ndiswrapper command, I had to enter /usr/sbin/ndiswrapper, so I did this: /sbin/modprobe /usr/sbin/ndiswrapper
And received: FATAL Module /usr/sbin/ndiswrapper not found.



So.......... now what?

spaniel 07-17-2006 02:36 AM

If modprobe cannot find the module ndiswrappermthen the most probable things thats wrong si that you did not install it correctly.

I would perform the following:
- Make sure you have got the same sources as your current kernel (uname -r)
- Do a recompile of the ndiswrapper.
- Do a: make install

Now you should have the ndiswrapper as a module in your /lib/modules/<kernel version>

Try again to do a ndiswrapper -i. then try the modprobe.

gargrk72 07-20-2006 06:46 AM

Ndiswrapper in Fedora Core 5
 
Hi thequestess;
For kernel of 2.6.16-1.2129_FC5-i686, I have successfully installed ndiswrapper-1.16

Unistall old ndiswrapper and download 1.16 package. Install it following the guidelines in doc viz. INSTALL

Be sure you have source of this kernel. Hurry up you can download from net, if you don't have the one.

RKGarg

Quote:

Originally Posted by thequestess
I am running a Compaq Presario 2200 with a Broadcom 4306 wireless card. I managed to get through step 8, but at step 9 I look to see what drivers are installed and I'm told that the bcmwl5.inf, OR the bcmwl5a.inf file I installed is an invalid driver.

I dug around online and found another place to download this driver. It included bcmwl5.inf and bcmwl5a.inf. I tried installing both to NDISwrapper and both were still invalid.

I can't figure out what to do.
I only know a little bit about Linux, so I would appreciate any help I can get.

Additionally, the depmod and modprobe commands will not work.
Perhaps this is related to the fact that when I type uname -r it returns:
2.6.15-1.2054_FC5

But I sure thought I installed the newest version, which is the folder located in /usr/src/kernels/:
2.6.16-1.2129_FC5-i686

Did I somehow do an incomplete install of the new kernel? I used the GUI to click on the RPMs that I downloaded and it said that it had installed the new files. And then I also used the terminal with the rpm -i command to install them. It still returns 2.6.15-1.2054_FC5 when I type uname.






And for reference, I was unable to do step 5 with the command KSRC=/usr/src/kernels/. I had to use KBUILD=/usr/src/kernels/. I was installing NDISwrapper 1.19, not sure if it's a change they made or what, but it's the only way I could get NDISwrapper to install.


Thanks.


jrmy 08-22-2006 01:12 AM

i have religiously followed all that is written here but still i could figure why ifconfig cannot detect my wlan0 device. i have tried both console and UI mode.

terminal:
>ifconfig wlan0 up
wlan0: unknown interface: No such device


UI(System>Admin>Network):
when i try do activate wlan0 it prompts an error saying
Cannot activate network device wlan0!
ndiswrapper device wlan0 does not seem to be present, delaying initialization.

please help. i dont know what is wrong.

jrmy 08-22-2006 03:27 AM

i think i might know what is wrong now. i viewed the dmesg and have found out that the driver was never loaded.

ndiswrapper version 1.23 loaded (preempt=no,smp=no)
ndiswrapper (check_nt_hdr:155): kernel is 32-bit, but Windows driver is not 32-bit;bad magic: 020B
ndiswrapper (load_sys_files:214): couldn't prepare driver 'dr71wu'
ndiswrapper (load_wrap_driver:113): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
ndiswrapper: probe of 4-1:1.0 failed with error -22
usbcore: registered new driver ndiswrapper

problem is i do not know how to fix it. please help.

jschiwal 08-22-2006 03:40 AM

Keepertoad, the "ar" program is supplied by the "binutils" package.

Archeantus 09-03-2006 04:22 PM

Quote:

Originally Posted by jrmy
i have religiously followed all that is written here but still i could figure why ifconfig cannot detect my wlan0 device. i have tried both console and UI mode.

terminal:
>ifconfig wlan0 up
wlan0: unknown interface: No such device


UI(System>Admin>Network):
when i try do activate wlan0 it prompts an error saying
Cannot activate network device wlan0!
ndiswrapper device wlan0 does not seem to be present, delaying initialization.

please help. i dont know what is wrong.

I'm having the exact same thing here. The official wiki http://ndiswrapper.sourceforge.net/m...p/Installation says that right after running modprobe ndiswrapper, you should be able to see this in dmesg:

ndiswrapper version <version> loaded

I get:

ndiswrapper version 1.23 loaded (preempt=no,smp=no)

I don't know what preempt=no,smp=no means, nor if it's causing my problem. The wiki also says that after ndiswrapper -i INFfile.inf /var/log/messages should say:

ndiswrapper: driver ''driver1'' added

I get:
# grep ndiswrapper /var/log/messages
Sep 4 09:24:56 lappy kernel: ndiswrapper version 1.23 loaded (preempt=no,smp=no)

Once again, preempt=no,smp=no .. Following either the instructions here or the official wiki instructions give me:
# ifup wlan0
ndiswrapper device wlan0 does not seem to be present, delaying initialization.

My next step is to find out of I need to get rid of the reempt and smp messages. Any clues?

# rpm -qa | grep kernel
kernel-devel-2.6.17-1.2174_FC5
kernel-2.6.17-1.2174_FC5
kernel-2.6.15-1.2054_FC5

# ls -l /usr/src/kernels
total 4
drwxr-xr-x 18 root root 4096 Sep 4 09:12 2.6.17-1.2174_FC5-i686

Archeantus 09-03-2006 07:36 PM

I fixed it, but not through ndiswrapper. I found the native linux drivers for my Broadcom driver:

yum install bcm43xx-fwcutter

wget ftp://ftp.support.acer-euro.com/note...0211g.zipunzip 80211g.zip
cd 80211g
/usr/bin/bcm43xx-fwcutter -w /lib/firmware bcmwl5.sys
ls /lib/firmware/
chkconfig --level 345 NetworkManager on
/sbin/chkconfig --level 345 NetworkManagerDispatcher on
/sbin/service NetworkManager start ; /sbin/service NetworkManagerDispatcher start
reboot


This will install the firm ware cutter for the Broadcom bcm43xx native linux drivers. Then you download and unpackage the wireless drivers in zip format from Acer's website, and cut up the .sys file, and copy them to /lib/firmware. Then you turn on Network Manager and it's Dispatcher, and reboot. It will not work with out rebooting, or doing something with kernel modules I think.

I'm not sure if there are other firmware cutters for other hardware, but this worked great!

imagined 09-04-2006 12:30 PM

Hello. Sorry Im new to fedora.

two questions:

So do i have to download and install TWO files or just ONE?

the kernel and the devel? and how do I know which ones i should download?

I have a AMD 64 processor.

nstiesi 09-15-2006 08:56 AM

Hi, also a linux beginner here. After a week of trying various things, I finally got ndiswrapper to work! I was very, very pleased, as it was the first thing I was able to get working in linux. My only question is:

1.) I understand what depmod -a, and modprobe ndiswrapper do, but will I have to run them after every boot? If so, can this be automated to run on boot?

2.) The wireless card doesn't seem to be graphically configurable, which is understandable because it isn't using a native linux driver, and I know what the configuration commands are and how to use them (iwconfig, ifconfig, dhclient, etc.), and I could just create a launcher for each one, but is there a way to automate this; Or at least automate it to the point where I could create one launcher to leave on the desktop to run when I want internet access?

tiermat 10-04-2006 02:06 AM

Quote:

Originally Posted by matt1206
/usr/src/kernels/2.6.16-1.2084_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.16-1.2084_FC5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found


Matt

And therein lies your problem, install gcc (try yum -y install gcc) and make sure you have make installed (replace gcc above with make) and you should be able to proceeed further.

Phil

dymaxium 10-06-2006 03:13 PM

GCC is not installed. Use Yum to install GCC (it's a C compiler), and then try 'make install' once again

[QUOTE=matt1206]Hi,

I've having truouble getting this to work. I've installed the latest kernel and kernel-devel, but when I run the make install KSRC.... I get the below error:

Code:

[root@localhost ndiswrapper-1.12]# make install KSRC=/usr/src/kernels/2.6.16-1.2084_FC5-i686
make -C driver install
make[1]: Entering directory `/home/Ndiswrapper/ndiswrapper-1.12/driver'
make -C /lib/modules/2.6.16-1.2084_FC5/build SUBDIRS=/home/Ndiswrapper/ndiswrapper-1.12/driver \
        DRIVER_VERSION=1.12
/usr/src/kernels/2.6.16-1.2084_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.16-1.2084_FC5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2084_FC5-i686'
  LD      /home/Ndiswrapper/ndiswrapper-1.12/driver/built-in.o
/bin/sh: ar: command not found
make[3]: *** [/home/Ndiswrapper/ndiswrapper-1.12/driver/built-in.o] Error 127
make[2]: *** [_module_/home/Ndiswrapper/ndiswrapper-1.12/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2084_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/Ndiswrapper/ndiswrapper-1.12/driver'
make: *** [install] Error 2


R0ck3ts 10-10-2006 06:38 AM

/usr/src/kernels/2.6.16-1.2084_FC5-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.16-1.2084_FC5-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: gcc: Command not found
make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2084_FC5-i686'
LD /home/Ndiswrapper/ndiswrapper-1.12/driver/built-in.o
/bin/sh: ar: command not found
make[3]: *** [/home/Ndiswrapper/ndiswrapper-1.12/driver/built-in.o] Error 127
make[2]: *** [_module_/home/Ndiswrapper/ndiswrapper-1.12/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2084_FC5-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/Ndiswrapper/ndiswrapper-1.12/driver'
make: *** [install] Error 2
[/CODE]

Can anyone point out where I'm going wrong?

Thanks

Matt[/QUOTE]

==================================

Matt,

Install gcc.

to make things easy do: yum -y install gcc*

that will get you all the gcc-libs and compiler option you may need for gcc (and maybe a little more.... but, what do I know....I'm not a rocket scientist :) and good luck.

R0ck3ts :newbie: extraordinaire

spaniel 10-10-2006 07:20 AM

Install gcc
 
Very short hint

Connect the server to the internet

log in as root
type: yum install gcc

And anything else you might need

JamesNewbie 10-18-2006 04:44 PM

I tried to install this thing today and I had problems.
I copied and pasted this so hopefully somebody could tell me what it all means.
Also, I could not find the /usr/bin/kernels directory.
And the link to the latest kernel and kernel-devel is broken above.

[root@localhost ndiswrapper-1.26]# uname -r
2.6.15-1.2054_FC5
[root@localhost ndiswrapper-1.26]# make install KSRC=/usr/bin/kernels/2.6.15-1.2054_FC5 make -C driver install
make[1]: Entering directory `/home/Ndiswrapper/ndiswrapper-1.26/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/Ndiswrapper/ndiswrapper-1.26/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.26]#

thanks

by the way, this was step 5 from the instructions

Simon Bridge 10-19-2006 01:26 AM

yum install kernel-devel

Or use the livna repo and yum:
http://fedoramobile.org/fc-wireless/ndis-yum-livna/

imagined 10-19-2006 09:20 AM

is there at least ONE person here that has installed it successfully? Please let us know. And if you did it successfully, could you just please make A LIST WITH THE STEPS?

I have tried it so many times, I want to give up. please help.

:study:

spaniel 10-19-2006 09:30 AM

I did it.
 
Look back about 2000 pages within this post untill you see spaniel.
And there is a somewhat sarcastic, sorry for that, step by step plan

Simon Bridge 10-19-2006 09:13 PM

Quote:

Originally Posted by imagined
Is there at least ONE person here that has installed it successfully? Please let us know. And if you did it successfully, could you just please make A LIST WITH THE STEPS?

I have tried it so many times, I want to give up. please help.

Installed which exactly? ndiswrapper? gcc? kernel-devel? All have been mentioned since your last post.

However - step-by-step has been provided for each of these. So which can you mean?

spaniel 10-20-2006 02:19 AM

Now with some more understanding
 
Quote:

is there at least ONE person here that has installed it successfully? Please let us know. And if you did it successfully, could you just please make A LIST WITH THE STEPS?

I have tried it so many times, I want to give up. please help.
Try the step by step thing i wrote. If you have 32 bit fedora, then use the 32 bit windows driver. When you run into a error, then post it.

:study:

imagined 10-20-2006 03:33 PM

i have the 64 bit. is there a big difference?

I already installed fedora 5 64 bit. now, i just want to know how to use my wg111t wireless usb with it.

i want to know how to install nsdiwrapper and make it work
somebody mentioned something about the kernel, and i have no idea on how to do that. i have looked up information and im clueless.
and then how to install the driver of the wireless usb
and then how to make it work with fedora.

i tried installing ndiswrapper several times. apparently it worked.
then i tried installing the driver. but then it says its not connected.

im so tired of trying to make it work. that my new custom-built awesome fedora linux computer has just been sitting there for about 5 months. i just need to make the wireless usb work.

spaniel 10-21-2006 12:39 PM

- 64 Bit
Yes this makes a big difference. If you are not as experienced with linux then i would recommend that you go back to the 32 bit.
When you know your way around 32 bit, then try the 64 bit.
In terms of speed:When normally working with it, you will not notice the difference between 64 and 32 bit.
The problem with 64 bit is that a lot of things ( example: Flashplayer) are not available in 64 bit.
To get the 32 bit flashplayer to work under 64 bit fedora will require some effort :D

- Regarding USB wireless stick ( i presume it is a usb-stick)
What you might do is the following:
Disconnect your wireless usb stick.
Do a clean install of fedora. (just to get some old stuff out of the way)
Make sure you install kernel development and the gcc compiler. You will need it to compile ndiswrapper.
Do a complete update (connect your computer via its ethernet cable)
To do the update: Log in as root, open a terminal and run : "yum update"
I don't know your level of expertise, so forgive me if the above line offends...............:rolleyes:

When the fedora distribution is completely up to date run the command: dmesg
This will show you the output of the boot,etc,etc
Connect the USB stick. wait 1 minute and rerun the command dmesg.
You should now see something which is talking about usb.
It might be that you also see that a specific module is loaded to accomodate the new hardware.
But you will know that at least the usb stick is attached to the OS and it can be handled.

I also googled something that might be usefull (Thank you Cydork):
-------------------------------------------------------------------
I compiled ndiswrapper using the following instructions
wget http://belnet.dl.sourceforge.net/sou...er-1.16.tar.gz

make sure that kernel header files are installed. (Spaniel: This is why you should have kernel-devel installed!)

then untar the ndiswrapper...
and do make uninstall
make
make install

Then...


be sure that you have uninstalled all the drivers in ndiswrapper. i.e.:

(in root)

ndiswrapper -e athfmwdl
ndiswrapper -e netwg11t


Then.. download this driver:
http://www.netgear.de/download/WG111...T_GRV1.2.zip96

Unzip it, and cd to the extracted files.

Install the athfmwdl.inf and netwg11t.inf in the normal way. i.e:

(in root)

ndiswrapper -i netwg11t.inf
ndiswrapper -i athfmwdl.inf

modprobe ndiswrapper
-------------------------------------------------------------------
The above looks OK to me so try that. You should then be able to do some iwlist and iwconfig stuf to verify it is there.

Try the above and lets see where it takes you.
When you still want the 64 bit fedora, you will need the 64 bit windows drivers for you stick, otherwise ndiswrapper can't work with it (as far as i know)

rocketscientist 10-22-2006 04:50 PM

Link does not exist ?????
 
PROBLEM:

When I go to that link

people.redhat.com/davej/kernels/Fedora/FC5/RPMS.kernel/

I get the error 404 page.

So where can I get the latest kernel AND kernel-devel from....?

Also, lots of the answers here tell you to install things through Yum. How can I do that if I cannot connect to the internet through Fedora yet...... if I could I was not here, right? Right now I can only connect through Windows.

What am I to do????


:confused:

gargrk72 10-26-2006 11:09 PM

why stuck with ndiswrapper--see my posts--
 
Hi,

1. I had installed ndiswrapper and wireless driver successfully. Please view the detailed procedure given in my earlier posts.

2. It is assumed that person is having a working internet on the ethernet port and wireless is being tried.

3. somebody is having problem in loading driver however ndiswrapper is working. I just write one tip. When you type 'ndiswrapper -l' at terminal. It should display
'driver installed, hardware present'. If not, then there is problem while installing the windows driver in linux. Like supporting file is not there in the directory of the driver or right driver is not picked up.

RKGarg
India

Quote:

Originally Posted by rocketscientist
PROBLEM:

When I go to that link

people.redhat.com/davej/kernels/Fedora/FC5/RPMS.kernel/

I get the error 404 page.

So where can I get the latest kernel AND kernel-devel from....?

Also, lots of the answers here tell you to install things through Yum. How can I do that if I cannot connect to the internet through Fedora yet...... if I could I was not here, right? Right now I can only connect through Windows.

What am I to do????


:confused:


JamesNewbie 10-27-2006 10:58 AM

Quote:

Originally Posted by imagined
is there at least ONE person here that has installed it successfully? Please let us know. And if you did it successfully, could you just please make A LIST WITH THE STEPS?

I have tried it so many times, I want to give up. please help.

I had the same trouble. Thing is I had a off brand card, but the chipset was popular so I just had to find a driver for my chipset that would work with my pci card. Once I got it to recognize the card (iwconfig on root), I had to go back and use lsmod and find anything that had to do with my device (acx and ndiswrapper) then I used 'modprobe -r' on them (ie: modprobe -r acx; modprobe -r ndiswrapper). Then I uninstalled all the ndiswrapper drivers by using the ndiswrapper -l and 'ndiswrapper -r <driver>'. So that left me with no drivers installed, but I knew which one would work with my card. So I did:
ndiswrapper -i <driver that works>
depmod -a
modprobe ndiswrapper

A long story short - if you have done it a bunch of times, just find one driver that will acknowledge your card, take out everything else you did (including that one) and install that driver alone. If it doesn't work then find the next one that will acknowledge your card.
I usde my PCI ID and seraced for cards that had that same ID from the list found in the ndiswrapper wiki (I also crossreferenced TNET1130 since that was another keyword with my device).

I hope this helps. It took me over a week of booting WinXP to download stuff then booting FC5 and trying and back and forth.
Don't give up.

JamesNewbie 10-27-2006 11:25 AM

Quote:

Originally Posted by rocketscientist
PROBLEM:

When I go to that link

people.redhat.com/davej/kernels/Fedora/FC5/RPMS.kernel/

I get the error 404 page.

So where can I get the latest kernel AND kernel-devel from....?

Also, lots of the answers here tell you to install things through Yum. How can I do that if I cannot connect to the internet through Fedora yet...... if I could I was not here, right? Right now I can only connect through Windows.

What am I to do????

I was in the same boat you are - no Internet on Linux. But I finally got mine to work.
I downloaded just the kernel-devel rpm and that is all it took to install stuff. It installed to the directory:/usr/src/kernels/2.6.15-1.2054_FC5-i686. I can't remember the link, but if you do a search by user name then one of the threads I posted in is titled "kernel and kernel-devel". There is a working link there, but it takes some browsing to get the correct rpm download. (and yes, many told me to yum it also). I used an SD card in a USB card reader to get files from WinXP (Internet connection) to FC5 (no Internet connection).
Make sure you know your exact kernel version before looking for it (uname -a).

vinay_cs90 10-30-2006 07:48 AM

i am vinay kumar from india ,i am getting an error at the starting of installation itself,
when i press enter for graphic mode or any other mode, it will show a error that is
"UNKNOWN INTERRUPT OR FAULT AT EIP 00000060 c0100231 00000230"
after showing this error the system will restart,
same thing is reapeted after restart of system.
please slove my problem
because i m having lab exam

imagined 11-22-2006 09:50 AM

SPANIEL,

today, i dont work. so im going to dedicate today to make this work. im going to follow all your instructions.

I saw that fedora 6 just came out. i felt compelled to download it and install it instead of version 5. but i guess that then the instructions you gave me MAY not work with v6. would it work with v6 as it would with v5?

if so, i will try to do it with v6.

spaniel 11-23-2006 04:55 AM

Fedora Core 6
 
Hi Imagined,

Sorry i haven't had the time yet to test and try fedora core 6 :(

But if you get it to work, please tell us!! :D

nclaan 11-26-2006 10:34 AM

Ndiswrapper in Fedora core 6 make error
 
Hi I didn't see a thread for fedora core 6 but this thread looks relivant for my problem. I am trying to install ndiswrapper on my fedora 6 setup and have been following the wiki instructions. I can do the make distclean without any errors but running make gives me this error.

[root@localhost ndiswrapper-1.28]# make
make -C driver
make[1]: Entering directory `/home/Nicholas/Desktop/wireless card/ndiswrapper-1.28/driver'
make -C /lib/modules/2.6.18-1.2849.fc6/build SUBDIRS=/home/Nicholas/Desktop/wireless card/ndiswrapper-1.28/driver
make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
make[2]: *** No rule to make target `card/ndiswrapper-1.28/driver'. Stop.
make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/Nicholas/Desktop/wireless card/ndiswrapper-1.28/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper-1.28]#


anyone have any suggestions? thanks. :newbie:

spaniel 11-27-2006 03:11 AM

Don't use make -C drive
 
Hi Mclaan.

Don't use "make -c Driver".
Just type "make". It will compile everything you need (if you have the kernel sources).
When compilation is ready type "make install". This will install the freshly compiled ndiswrapper driver.

The error message says it cannot find anything for target driver.
This means that there is nothing in the file "Makefile" with a target called driver
If you are interested why you just have to type "make", look into the file "Makefile" which resides in the ndiswrapper-1.28 directory

nclaan 11-27-2006 08:51 PM

Quote:

Originally Posted by spaniel
Hi Mclaan.

Don't use "make -c Driver".
Just type "make". It will compile everything you need (if you have the kernel sources).
When compilation is ready type "make install". This will install the freshly compiled ndiswrapper driver.

The error message says it cannot find anything for target driver.
This means that there is nothing in the file "Makefile" with a target called driver
If you are interested why you just have to type "make", look into the file "Makefile" which resides in the ndiswrapper-1.28 directory

Hi I did just type "Make" the line with "make -c Driver" appeared after i typed "Make" I assume that line was part of the script. I will take a look inside the make file to see what is there. I have tried to install the kernel sources and i believe it worked but am not 100% sure. Are there instructions somewhere for how to install this source or confirm that it is set up properly?

Thanks

keflavich 01-17-2007 02:38 AM

I've been trying to get things working for hours with no luck, so here's my request for help:

I attempted building ndiswrapper from source many, many times:
Code:

[root@localhost ndiswrapper-1.34]# make
make -C driver
make[1]: Entering directory `/home/adam/ndiswrapper-1.34/driver'
make -C /lib/modules/2.6.18-1.2869.fc6/build SUBDIRS=/home/adam/ndiswrapper-1.34/driver
make[2]: Entering directory `/usr/src/kernels/2.6.18-1.2869.fc6-i686'
Makefile:482: /usr/src/kernels/2.6.18-1.2869.fc6-i686/arch/LINUX/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/kernels/2.6.18-1.2869.fc6-i686/arch/LINUX/Makefile'.  Stop.
make[2]: Leaving directory `/usr/src/kernels/2.6.18-1.2869.fc6-i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/adam/ndiswrapper-1.34/driver'
make: *** [all] Error 2

Code:

[root@localhost 2.6.18-1.2869.fc6-i686]# make KSRC=/usr/src/kernels/2.6.18-1.2869.fc6-i686/
Makefile:482: /usr/src/kernels/2.6.18-1.2869.fc6-i686/arch/LINUX/Makefile: No such file or directory
make: *** No rule to make target `/usr/src/kernels/2.6.18-1.2869.fc6-i686/arch/LINUX/Makefile'.  Stop.

Code:

[root@localhost arch]# ls /usr/src/kernels/2.6.18-1.2869.fc6-i686/arch/
alpha  arm26  frv    i386  m32r  m68knommu  parisc  ppc  sh    sparc    um    x86_64
arm    cris  h8300  ia64  m68k  mips      powerpc  s390  sh64  sparc64  v850  xtensa
[root@localhost 2.6.18-1.2869.fc6-i686]# ls
arch    drivers  init            kernel    mm              scripts  symsets-2.6.18-1.2869.fc6.tar.gz
block  fs      ipc            lib      Module.symvers  security  usr
crypto  include  kabi_whitelist  Makefile  net            sound

(this is what I'm running. Originally I was on FC5 kernels 2.6.18-1.2239.fc5 and 2.6.18-1.2257.fc5, but both those failed and I had a hard time getting kernel devel to match with the kernel I was running, so I "upgraded" to FC6 and the problems stuck around)
Code:

[root@localhost 2.6.18-1.2869.fc6-i686]# uname -a
Linux localhost.localdomain 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19 EST 2006 i686 athlon i386 GNU/Linux
[root@localhost arch]# rpm -qa | grep kernel
kernel-2.6.18-1.2869.fc6
kernel-devel-2.6.18-1.2257.fc5
kernel-headers-2.6.18-1.2869.fc6
kernel-2.6.18-1.2257.fc5
kernel-devel-2.6.18-1.2869.fc6


Since that failed so many times, I went with an rpm version:
Code:

[root@localhost arch]# ndiswrapper -v
utils version: 1.9
driver version:        1.25
vermagic:      2.6.18-1.2869.fc6 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1

And it "worked":
Code:

[root@localhost arch]# ndiswrapper -l
installed drivers:
bcmwl5          driver installed, hardware (14E4:4328) present

But after modifying /etc/modprobe.conf by adding:
alias eth2 ndiswrapper
options ndiswrapper if_name=eth2
(also, I tried wlan0) and running "depmod -a" and "modprobe ndiswrapper", iwconfig and ifconfig claim to see nothing:
Code:

[root@localhost arch]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

[root@localhost arch]# iwconfig eth2
eth2      No such device

I've either forgotten something that should be obvious, or something's gone horribly wrong. Maybe my lack-of-hardware problems would be solved by a fresh install of ndiswrapper, but I can't figure out what's wrong with that install. Can anyone help?

Thanks,
Adam

kylnj 07-23-2007 02:46 AM

FC5 & ndiswrapper
 
hi

i try
people.redhat.com/davej/kernels/Fedora/2.6.20-1.2320.fc5/RPMS.kernel/
but it show page not found?

then i try :

[root@localhost ndiswrapper-1.47]# make install KSRC=/usr/bin/kernels/2.6.20-1.2320.fc5
make -C driver install
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.47/driver'
Can't find kernel build files in /lib/modules/2.6.20-1.2320.fc5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.47/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.47]#

any comment?
thanks

Simon Bridge 07-23-2007 03:27 AM

Quote:

Originally Posted by keflavich
I attempted building ndiswrapper from source many, many times:

... you realize that ndiswrapper is in the repos for both fedora and ubuntu? What is wrong with yum install ndiswrapper ?

Anyway... you need to ditch those aliases and do iwconfig to check what your actual interface is called. Is this an internal PCI adapter?

Simon Bridge 07-23-2007 03:33 AM

Quote:

Originally Posted by kylnj
people.redhat.com/davej/kernels/Fedora/2.6.20-1.2320.fc5/RPMS.kernel/
but it show page not found?

http://people.redhat.com/davej/kernels/Fedora/ does not have the subdirectory you entered, only f8 and fc7. Then you get the kernel subdirectories.
Read the following on installing kernel source to FC5
http://www.mjmwired.net/resources/mj...html#kernelsrc

Quote:

make[1]: Entering directory `/root/Desktop/ndiswrapper-1.47/driver'
Can't find kernel build files in /lib/modules/2.6.20-1.2320.fc5/build;
... this is because you havn't installed the kernel source yet!

Note: http://www.fedorafaq.org/fc5/
# A new version of Fedora Core comes out every six months.
# When a new version comes out, the previous version becomes unsupported after another 6 - 8 months.

This means that only the latest two releases are certain to have support. That is FC6 and 7. It is urgent that you upgrade your distro. If you don't like the yearly forced-upgrade cycle, consider a different distro.


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