LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ndiswrapper Question (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-question-284421/)

efanning 01-31-2005 07:35 AM

ndiswrapper Question
 
I've been using ndiswrapper since ver 0.6 without any problems. I stopped looking and updating ndiswrapper versions at 0.8 just for the fact that I kept forgetting.

Well, my HDD crashed on me and had to replace it. I got my XP loaded on it just fine and then FINALLY got my laptop dual booted to FC3 last night. First thing I did was go out and get the latest ndiswrapper from sourceforge. The compile and install went flawlessly, but when I went to put in my WEP key

Code:

iwconfig wlan0 key restricted XXXXXXXXX
it always came back with a segment fault and locked my session. I couldn't even kill the iwconfig command. Fought with this for a couple days then went back to ver 0.8 which worked like it's suppose to.

I guess my question is, has anyone else had this problem? If so, what was the resolution.

efanning

snecklifter 01-31-2005 08:07 AM

I must say that I have had far more problems with ndiswrapper and Fedora Core 3 than with any of the other distributions I have tried including Suse, Mandrake and Ubuntu. Several of the kernels for FC3 dont work with v0.12 - I am currently on the latest but one version as the most recent will not make install - however version 1.0 was released a couple of days ago. You may find some stability in this product. For many people its simply a case of running through the different versions until you find one that works. People seem to have the most success with 0.8 and 0.11.
Regards
Chris

efanning 01-31-2005 08:36 AM

Thanks Chris. That's what I'm running right now is ver 0.8. That seems to be the most stable for me. Do you know of any support from the ndiswrapper project? I have not found any so far.

Eric

snecklifter 01-31-2005 09:51 AM

If you mean paid support then I'm happy to help for the right amount :D
Other than that there is this forum, the wiki on this site (see my sig), the official ndiswrapper wiki (see ndiswrapper.sourceforge.net) as well as the irc chat room - also on the sourceforge site I believe.
Regards
Chris

efanning 01-31-2005 10:00 AM

Ha Ha Ha!! I'd love to pay you Chris if I actually had any money!!

Eric

efanning 02-01-2005 08:53 PM

Ok, I'm having a brain dead moment. I created the file ifcfg-wlan0 and it states that it can't find wlan0 in modprobe.conf. What did I do wrong. I've done this before and got it working without any problems, I can't believe that I'm having such a problem with it this time.

Here's a copy of my modprobe

Code:

alias eth0 natsemi
alias snd-card-0 snd-ali5451
options snd-card-0 index=0
install snd-ali5451 /sbin/modprobe --ignore-install snd-ali5451 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-ali5451 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-ali5451
alias usb-controller ohci-hcd
alias ieee1394-controller ohci1394
alias wlan0 ndiswrapper

And here's a copy of my ifcfg-wlan0

Code:

DEVICE=wlan0
BOOTPROTO=dhcp
ESSID=BoboWireless
KEY=****MY KEY****
ONBOOT=yes
TYPE=Ethernet

Thanks for helping the brain dead.

Eric

snecklifter 02-02-2005 01:03 AM

Hehe,
Hey we all have them dude! No worries. I'll post my files for you to have a look at. Modprobe.conf is as follows:
Code:

alias scsi_hostadapter sata_via
alias snd-card-0 snd-emu10k1
options snd-card-0 index=0 
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
options ndiswrapper if_name=eth1 
alias eth1 ndiswrapper
alias char-major-195* nvidia

My wireless cfg file is therefore ifcfg-eth1 so that FC3 GUI utilities will recognise it (they dont see wlanX interfaces):
Code:

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=yes
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=eth1
HWADDR=<I've removed this for security>
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=FedoraDesktop
IPADDR=
DOMAIN=
ESSID=FarNet
CHANNEL=1
MODE=Managed
RATE=54Mb/s

If you are still having problems then check out the Distribution-specific stuff at the ndiswrapper wiki.
Hope this helps
Chris

tormented_one 02-02-2005 01:18 AM

how about trying: iwconfig enc XXXKEYXXXX


All times are GMT -5. The time now is 07:17 AM.