Auto-NDISWrapper hard to run for amateur user
I apologize for such a vague bug title, but I wanted to share my experience with Auto-NDISwrapper to help make a better product.
A couple things went wrong for me, as you can see in the log below:
1) I tried to run the script without sudo (my fault)
2) ndiswrapper was not installed on my system (my fault, but auto-ndiswrapper could, potentially use apt-get or yum, etc. to install it, could it not?)
3) There is no package called 'ndiswrapper' (as your program stated) so I had to install 'ndiswrapper-
4) The card was supported, and your program tried to open Firefox, but it was already open and it got stuck saying I had to close Firefox and try again -- apport has the same problem and it is really annoying. Not your fault, I know, buy disables the functionality you were trying to provide with your software
5) So I took the URL and I hit an error page (someone submitted incorrect information to the database).
6) So I took my driver CD, popped it in, took the .inf file from the winxp/ folder and tried to put it into '/tmp/auto-
7) Then, your program continues, but it fails.
8) I also noticed it detected the wrong card, so I added it to http://
Here's the lspci -v output showcasing the wireless card:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8180L 802.11b MAC (rev 20)
Subsystem: Linksys Unknown device 0019
Flags: medium devsel, IRQ 11
I/O ports at 1c00 [disabled] [size=256]
Memory at 14000000 (32-bit, non-prefetchable) [disabled] [size=512]
Capabilities: [50] Power Management version 2
It's a Linksys Wireless-B Notebook Adapter (WPC11 rev. 4)
$ Linux ubuntu 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
nautilus:
Installed: 1:2.22.3-0ubuntu2
Candidate: 1:2.22.3-0ubuntu2
Version table:
*** 1:2.22.3-0ubuntu2 0
500 http://
100 /var/lib/
1:
500 http://
ndiswrapper-common:
Installed: 1.50-1ubuntu1
Candidate: 1.50-1ubuntu1
Version table:
*** 1.50-1ubuntu1 0
500 http://
100 /var/lib/
$ wget http://
--14:17:34-- http://
=> `Auto-NDIS-
Resolving easylinuxwifi.
Connecting to easylinuxwifi.
HTTP request sent, awaiting response... 200 OK
Length: 29,585 (29K) [application/x-tar]
100%[==
14:17:34 (91.46 KB/s) - `Auto-NDIS-
$ tar -xvf Auto-NDIS-
Auto-NDIS-0.1/
Auto-NDIS-
Auto-NDIS-
Auto-NDIS-
Auto-NDIS-
Auto-NDIS-0.1/TODO
Auto-NDIS-
Auto-NDIS-0.1/BUGS
$ python /home/brett/
Auto-NDISwrapper 0.1
Please remember to always try to use the latest version of NDISwrapper with this script
[ERROR] You must be root to run this script
Try, "su then python auto-ndis.py" or "sudo python auto-ndis.py"
$ sudo python /home/brett/
Auto-NDISwrapper 0.1
Please remember to always try to use the latest version of NDISwrapper with this script
[ERROR] NDISwrapper not found!!!
Please look for "ndiswrapper" in your distribution's package manager and install it or go to www.ndiswrapper.com and download the latest sources
$ sudo aptitude install ndiswrapper
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Couldn't find package "ndiswrapper". However, the following
packages contain "ndiswrapper" in their name:
ndiswrapper-
Couldn't find package "ndiswrapper". However, the following
packages contain "ndiswrapper" in their name:
ndiswrapper-
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
$ sudo aptitude install ndiswrapper-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be installed:
ndiswrapper-
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.4kB of archives. After unpacking 94.2kB will be used.
Writing extended state information... Done
Get:1 http://
Fetched 11.4kB in 0s (11.6kB/s)
Selecting previously deselected package ndiswrapper-common.
(Reading database ... 136431 files and directories currently installed.)
Unpacking ndiswrapper-common (from .../ndiswrapper
Setting up ndiswrapper-common (1.50-1ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
$ sudo aptitude install ndiswrapper-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be installed:
ndiswrapper-
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.0kB of archives. After unpacking 119kB will be used.
Writing extended state information... Done
Get:1 http://
Fetched 19.0kB in 0s (25.4kB/s)
Selecting previously deselected package ndiswrapper-
(Reading database ... 136443 files and directories currently installed.)
Unpacking ndiswrapper-
Setting up ndiswrapper-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
$ sudo python /home/brett/
Auto-NDISwrapper 0.1
Please remember to always try to use the latest version of NDISwrapper with this script
[*] Card Supported
[*] Will attempt to fetch and install driver for the card with id: 10ec:8180 (rev 20)
[*] Will attempt to fetch driver from: http://
[*] Will attempt to install driver: .inf
[*] Beginning Setup Procedure:
Do you agree with this proprietary driver's End User License Agreement? You can find it in the website of your card's manufacturer.
(Y)es or (N)o, if you don't agree the program will quit: y
Tmpdir created
The driver needs to be fetched manually from: http://
Please place the ".inf" file, along with the .sys files into:
/tmp/auto-
When you have succesfully dowloaded the driver and extracted it press <Enter>:
Driver file found! Continuing installation.
A driver has not been specified yet for this card, will attempt procedure with the first found driver in /tmp/auto-
module configuration information is stored in /etc/modprobe.
Installation finished
NDISwrapper output:
lswlnds5 : invalid driver!
Is your wireless connection working now with NDISwrapper thanks to this script?
(Y)es and I would like to help this project by reporting my installation manually trough www.easylinuxwi
We are sorry that the procedure failed, but don't get discouraged! Please visit easylinuxwifi.org for help or any other community support website. Remember, the community is here to help. You may also want to try with other .inf files if more than one was included in the dowloaded driver. You may do this by entering manual mode with -m flag. and removing all .inf files from /tmp/auto-
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #252377.
Can you help with this problem?
Provide an answer of your own, or ask Brett Alton for more information if necessary.