LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-31-2005, 08:35 AM   #1
efanning
Member
 
Registered: Jul 2004
Distribution: Right now - Ubuntu 7.04
Posts: 81

Rep: Reputation: 15
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

Last edited by efanning; 01-31-2005 at 08:36 AM.
 
Old 01-31-2005, 09:07 AM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
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
 
Old 01-31-2005, 09:36 AM   #3
efanning
Member
 
Registered: Jul 2004
Distribution: Right now - Ubuntu 7.04
Posts: 81

Original Poster
Rep: Reputation: 15
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
 
Old 01-31-2005, 10:51 AM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
If you mean paid support then I'm happy to help for the right amount
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
 
Old 01-31-2005, 11:00 AM   #5
efanning
Member
 
Registered: Jul 2004
Distribution: Right now - Ubuntu 7.04
Posts: 81

Original Poster
Rep: Reputation: 15
Ha Ha Ha!! I'd love to pay you Chris if I actually had any money!!

Eric
 
Old 02-01-2005, 09:53 PM   #6
efanning
Member
 
Registered: Jul 2004
Distribution: Right now - Ubuntu 7.04
Posts: 81

Original Poster
Rep: Reputation: 15
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

Last edited by efanning; 02-01-2005 at 09:55 PM.
 
Old 02-02-2005, 02:03 AM   #7
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
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
 
Old 02-02-2005, 02:18 AM   #8
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
how about trying: iwconfig enc XXXKEYXXXX
 
  


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
Ndiswrapper question stress Linux - Wireless Networking 5 11-28-2005 11:07 AM
NdisWrapper Question justintime32 Mandriva 2 04-01-2005 01:33 PM
NdisWrapper Question justintime32 Mandriva 5 02-23-2005 11:28 AM
Question about ndiswrapper Axi0n Slackware 4 10-30-2004 11:21 PM
ndiswrapper question. digitalkid1128 Linux - Wireless Networking 2 07-02-2004 07:20 PM

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

All times are GMT -5. The time now is 10:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration