Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.


  Search this Thread
Old 08-10-2004, 09:48 PM   #1
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
Post DISCUSSION: Linksys Ver4 - Using NDISWrapper

This thread is to discuss the article titled: Linksys Ver4 - Using NDISWrapper
Old 09-01-2004, 04:45 PM   #2
Registered: May 2004
Location: Northwest Ohio
Distribution: Slackware 10
Posts: 41

Rep: Reputation: 15
im getting ready to follow this script but i have a couple of questions first with my wep key. I have that disabled so would i still add that code of line to my system?
Old 09-01-2004, 08:41 PM   #3
Registered: Apr 2004
Location: USA
Distribution: Fedora Core 3
Posts: 128

Rep: Reputation: 15
I don't think you would need to include the WEP line. Also, just to make sure, this is for a WMP11 v4, right?
Old 09-01-2004, 11:11 PM   #4
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Original Poster
Rep: Reputation: 30
You would use iwconfig wlan0 key off.

If you want to keep all the commands together you can add the dhcpcd command right in the script you are using at the end, try this:
# Wireless configuration settings
/sbin/iwconfig wlan0 essid name_you_broadcast
/sbin/iwconfig wlan0 key off
#Pull down IP address from Linksys Router
/usr/local/sbin/dhcpcd wlan0
Old 11-29-2005, 11:38 PM   #5
LQ Newbie
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
configuring wireless linksys with suse 10

I've been working at it a while and I finally got it! I got a linksys WPC54G wireless card working on suse 10

I used the command
  • ndiswrapper -i /media/cdrecorder/lsbcmnds.inf
from the cd provided with my Linksys wireless card to build the driver. The inf file is on the cd.
  • ndiswrapper -l
  • /sbin/modprobe ndiswrapper
Then I ran
  • /usr/sbin/ndiswrapper -m
which spits out
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper

I found the new drivers to be located in /usr/sbin/wlipnds

This is where the pain begins.

I ran
  • /usr/sbin/ifconfig wlan0 up
  • /usr/sbin/iwlist wlan0 scan

Great! I see my wireless network, now why can't I connect to it

After a whole lot of messing around and hours spent I ended up in YAST. System>/etc/sysconfig Editor>Hardware>wireless
This is where the following command comes in very handy
  • /usr/sbin/iwlist wlan0 scan
I added my ESSID
I added my FREQ which for me was 2.437 GHz and came from the command above
I turned off the KEY - for now, I'm turning it back on when I'm done here

I also used YAST to do the following...
System>/etc/sysconfig Editor>Network>DHCP client>
I changed SET_HOSTNAME to yes
I changed KEEP_SEARCHLIST to no

REBOOT and I'm now using my wireless NIC. awsome. Thank you to a lot of people on a lot of forums for the information. I would not have know where to start.
Old 06-13-2006, 10:52 AM   #6
LQ Newbie
Registered: Jun 2006
Location: UK
Posts: 5

Rep: Reputation: 0
Thumbs up SuSE 10 and WUSB11v4

Thanks for this extremely helpful thread!

I'm running SuSE 10 with a Linksys WUSB11v4.

After installing the ndiswrapper from the SuSE distro and checking for online updates I was getting nowhere fast with two errors:

1) Cannot find section @mdusb.out
Cause: Offending line in the WUSB11v4.inf file: CopyFiles = @mdusb.out
This is not supported by older versions of ndiswrapper it seems.
Resolution: Upgrade ndiswrapper to the latest stable version.

2) The old loadndiswrapper failed (11) message
Cause: SuSE don't seem to update things much. The SuSE "current" version of ndiswrapper (which actually ships on the distro disks) is 1.2 but (at the time of writing) the most stable release is 1.17 - just a little newer !
Resolution: The device comes up fine with the new version (used the command line to 'make uninstall' the existing SuSE installed ndiswrapper as per the INSTALL instructions on the new ndiswrapper).

... now to get the wlan0 actually working ... that seems to present another set of problems!

Last edited by vault0; 06-26-2006 at 08:54 AM.
Old 10-06-2006, 10:01 AM   #7
LQ Newbie
Registered: Jun 2006
Location: UK
Posts: 5

Rep: Reputation: 0
Lightbulb WUSB11v4 working on SuSE with WPA-PSK using ndiswrapper and wpa_supplicant

After my last post it has taken me some time to get back to this and solve the problem. Since I last looked at it I have upgraded to SuSE 10.1 so there will be some differences for those of you running older versions; none that cause any problems I hope.
Here is what I did to make mine work on SuSE 10.1.

Application Versions:-
need latest WUSB11v4 WinXP drivers from Linksys
utils version: 1.8
driver version: 1.23
vermagic: 586 REGPARM gcc-4.1
Note: I tried version 1.25 (with utils 1.9) and this detected a driver conflict when I installed the wusb11v4 driver later on. If you get troubles then I suggest you use version 1.23 as I have done.
log in as root
untar the ndiswrapper tar file
cd to the new ndiswrapper directory
follow the INSTALL instructions (i.e. make uninstall (note that ndiswrapper is an optional s/w package in the SuSE 10.1 installation so if you haven't installed it this will probably let you know and you can proceed straight to the next command), make, and then make install)
All should be well if you have the right prerequisites, etc
This is the version that ships with SuSE 10.1 and works so I haven't upgraded it to 0.4.9.

Install the Linksys WUSB11v4 driver with ndiswrapper
unzip/extract the driver files and copy them to your SuSE machine) - all you need is the Drivers directory
using a terminal window log in as root and do the following:
change directory to the place you copied the Driver files
ndiswrapper -i ./WUSB11v4.inf
this should return no errors
ndiswrapper -l
this should return:
installed drivers:
wusb11v4 driver installed, hardware present
ndiswrapper -m
this should return no errors

Create wpa_supplicant.conf file in /etc
contents of wpa_supplicant.conf is:-


the value of psk will need to be modified according to the output of:
wpa_passphrase <ssidName> <whateverYourPassphraseis>
The use of a hex psk will speed up association.

Create template network config files using YaST (start YaST, use Network Devices/Network Card) and opt to use 'Traditional Method with ifup'
To simplify the process, I removed any other existing interface config; in my case eth0. Save and Finish.
Restart the Network Devices/Network Card YaST applet again using 'Traditional Method'
'Add' a new interface as follows:
Device Type: Wireless
Module Name: ndiswrapper
USB check box: checked (do this last on this page)
ignore the other settings
click next
I next chose static IP address setup and put in my internal IP and subnet mask (192.168.1.etc 255.255.255.etc)
click the hostname and name server button and put in your nameservers - I use the public ones provided by my ISP.
click OK
click the Routing config button
enter your default gateway IP address. This is most likely your ADSL modem/router IP address if it is on the same network (e.g., otherwise it is the IP address of the device that routes the traffic from your wireless network address to your ADSL network address (e.g. wireless router routing to ADSL router routing to the internet)
the other fields should be unchecked and unconfigured
click OK
click next to go to the Wireless n/w card config page
set it up as follows (this is all going to be redundant in any case as we will point the config at out wpa_supplicant.conf file later on instead):
Operating mode: managed
Network Name (ESSID): WhateverYourWirelessNameIs
Authentication Mode: WPA-PSK
Key Input type: (Hexadecimal)
Encryption Key: Paste your Hex key (generated by wpa_passphrase earlier) into this field
I then turned OFF the power management in the 'Expert Settings' section
click Next
click next to save the new config

Now we will modify by hand the network config files
using a terminal session log in as root and cd to /etc/sysconfig/network
you will see your new file named ifcfg-wlan-bus-usb
edit this file using a text editor (I find vi quick and easy to use but then, perhaps, I am a dinosaur)
modify the file to look like this:
IPADDR='put your chosen static IP here for this machine e.g.'
NAME='Linksys WUSB11v4 Wireless USB'

(note: each configuration item should be on a new line).

I think many of the above entries are made redundant by the wpa_supplicant.conf file, however I am not going to mess about with it right now.

once you have done this you should be set to start the services.

Firstly I made sure all the services were stopped:
/etc/init.d/network stop
ps -rf | grep wpa
you should see no wpa_supplicant service running but if you do it needs to be stopped - use wpa_cli and issue the terminate command or if all else fails killproc wpa_supplicant

Now start the services:
/etc/init.d/network start
and you should get some good messages like:
Setting up network interfaces:
lo IP address: done
eth0 device: Intel Corporation 82801DB PRO/100 VM (LOM) Ethernet Controller (rev 81)
No configuration found for eth0 unused
wlan0 configuration: wlan-bus-usb
wlan0 starting wpa_supplicant
wlan0 IP address: done
Setting up service network . . . . . . . . . . . . . . done
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set

and you're away!

Hope this 'recipe' works for all you wusb11b4 SuSE frustrated folks.

www thinkwiki org/wiki/Wpa_supplicant
wiki archlinux org/index.php/Wpa_supplicant
www desktoplinux com/news/NS3687730057.html
sourceforge for ndiswrapper
Old 01-24-2007, 10:27 PM   #8
LQ Newbie
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0

If I could get on the Internet what would I need the program for. What is the fix for this problem with the software that came with SUSE 10.1? I am having the exact problem that this therad is about but I can not get my linux machine on the Internet.
Old 01-25-2007, 05:11 AM   #9
LQ Newbie
Registered: Jun 2006
Location: UK
Posts: 5

Rep: Reputation: 0
Originally Posted by f2read
If I could get on the Internet what would I need the program for. What is the fix for this problem with the software that came with SUSE 10.1? I am having the exact problem that this therad is about but I can not get my linux machine on the Internet.
My first piece of advice is to get OpenSuSE 10.2 rather than the 10.1 release, which had, and possibly still does, a very unpleasant problem with the software online updater.

Secondly, if you are using a WUSB11v4 from Linksys, my fix, as detailed above, should work for you. It is going to be a big struggle if you're a network/unix novice and I think it will put you off for life if that is the case. There are other USB wireless LAN cards out there that do work out of the box so it may be wiser just to get one of those instead.

In theory, ndiswrapper should work for pretty much any Ethernet network device you have, since it uses the windows drivers for that card and translates windows mumbo-jumbo into unix.

With wireless, you don't have to use WPA2-PSK/TKIP-AES but it currently is the most secure. WEP is the alternative and for that you won't need to use the wpa_supplicant bit. In other words WEP is easier to set up.

Also check out the Mike Choy's site - it is about MythTV but it has very many useful links, hints and tips. www acaciaclose co uk/129538/118087.html
Old 01-26-2007, 11:45 AM   #10
LQ Newbie
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
Why am I beating my head for Linux

Thanks for advice, the card worked on the machine before, and being from windows world I thought the drivers would not be an issue. Is Linux for programmers? This all started from wanting to hack my Tivo. Then my hard drive went out on one of my laptops and I thought why not have a Linux machine, and my thoughts were am I going to cut my self off from the rest of the world on this machine by doing this, and now sure enough that is what has happened.

This is my main question that I can't wrap my head around, Open source. If it is better why is it harder? May be this is not the thread to answer this thread in, but when you go to the doctor and you tell him when I do this it hurts, and he says well then don't do that, well this hurts why am I doing this? May you just have a need to use software that you can modify, and that is what Linux users enjoy and may be when I get to a point where I can use it I will enjoy it as well.

Its okay if I get the dumb down version of the answer this question, or any answer, Thanks.
Old 01-27-2007, 05:25 AM   #11
LQ Newbie
Registered: Jun 2006
Location: UK
Posts: 5

Rep: Reputation: 0
Unhappy Why does it hurt?

No problem. We've all been there. It's not just with Open Source but also with MS products this occurs. In fact, in my experience (and I have very many years in the IT industry) it is usually MS products or related issues in other Windows products, that cause more stress, frustration and general agony. Only the other day a relative of mine was so angry with a piece of MS software that he destroyed his hard disk during the "lesson" he was giving his laptop as a result. Needless to say, the outcome was not happy and took lots of money, time and phone calls to fix.

However, I'm sure any Open Source fan would agree that there are lots frustrations with that also.

There are issues to overcome with open source, 2 of the significant ones are:
1) That it isn't windows (or Mac) and isn't what we are all now used to. In other words there is a degree of learning your way around the new system or application.
2) That, when it comes to hardware, the driver support provided by the product manufacturers is atrocious. Their view, clearly, is that the main market is Windows based and therefore they only write drivers for that platform. Then again, maybe more people would use Linux, Free BSD, etc if only the hardware support was better. The ol' catch 22. I could go on (especially about the games industry) but there is little point.

Linux and Open Source can be great - truly great - for a very great number of things, not least of which is keeping your bank manager happy in s/w licencing terms.

Here is my general rule to using Linux and open source:
Only use hardware that is supported out of the box (now there is a challenge) or where the vendor actually writes linux drivers (yes, there are a few). In other words, typically main brand equipment - things like, nVidia graphics, Creative sound and so on. Take it from me though, easier said than done though. If in doubt, research on the internet is required and this is never foolproof - after all that is why I'm interested in this thread. Most hardware is very well supported these days, however there will always be exceptions.

Such is IT.

Last edited by vault0; 01-27-2007 at 08:01 AM.



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
DISCUSSION: (Slackware) Installing Linksys WMP54G with NDISWRAPPER-11 barton LinuxAnswers Discussion 42 02-01-2016 03:02 AM
DISCUSSION: ndiswrapper on Debian Sarge without having to compile anything MikeZila LinuxAnswers Discussion 64 01-14-2007 11:03 AM
DISCUSSION: Guide to NdisWrapper for MN-720 MN-730 Microsoft Wireless Cards in Groovelab LinuxAnswers Discussion 4 10-27-2005 09:56 AM
DISCUSSION: NDISwrapper for RTL8180 mini-HOWTO coindood LinuxAnswers Discussion 3 04-22-2005 05:24 PM
linksys wpc11 ver4 wireless NIC l3roken Linux - Wireless Networking 1 11-10-2003 01:01 PM > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration