Ubuntu 10.0 can't authenticate ndiswrapper installation (without network connection?)

Asked by Jeff Goldstein

I've been trying to install ubuntu wubi on a desktop with a netgear N150 wireless USB adapter. Previously I was able to do so on the same computer running off an ubuntu CD-ROM, and installed ndiswrapper, then used it to install the right driver .inf file for the adapter, but it's slow running off CD and I wanted the install 'for real'. Now with the wubi install, when i go to the software center and select windows wireless driver, here's what happens:
a) Prompt is "Available from the 'main' source" - only option is to click "Use this Source"
b) Prompt "to change software repository settings, you need to authenticate. An applciation is attemption to perform an action that requires privileges ..." Only option is to enter password and click authenticate or cancel (details says action org.debian.apt.change-repository, vendor apt daemon) ... so I enter password and click auethneticate
c) nothing happens for a few minutes, then eventually the authenticate dialogue disappears and returns me to a) above.
My guess is it needs the network connection to authenticate, and can't because I haven't installed it yet?
Sometimes I can get it to show "in progress" but it always comes back to a) above and never shows windows wireless drivers as an option under system
I could give up and go back and do a regular dual ubuntu-windows install instead of wubi, which if it works the same way as it did off the cd-rom could be fine, but I'm worried about lack of understanding on how to handle partitions, and risk of screwing up the system ...

Question information

Language:
Italian (Italy) Edit question
Status:
Solved
For:
Ubuntu ndiswrapper Edit question
Assignee:
No assignee Edit question
Solved by:
Jeff Goldstein
Solved:
Last query:
Last reply:
Revision history for this message
BabyGeek (babygeek) said :
#1

"My guess is it needs the network connection to authenticate, and can't because I haven't installed it yet?" No, i think what you're talking about is just the authentification for root access, you have to enter the password you have selected when you installed ubuntu.

If it doesn't work, try this: sudo software-center

Revision history for this message
Jeff Goldstein (renaissance) said :
#2

I entered the password, as noted above (under step b), and it didn't do anything for a while, then disappeared, exactly as i described above. Entering the password doesn't work, it's in a loop.

I went to terminal and entered your suggestion, it just opened the software center (I'm a linux newbie but not surprised!), i searched/found Windows wireless drivers, end up with same "Use this Source" option described above. On the terminal which I didn't close, it gave a bnch of warnings ...

Revision history for this message
Jeff Goldstein (renaissance) said :
#3

Not sure if they're normal but they included (without typing all of the lengthy file names etc mentioned) ... failed to add sca db Couldn't detect type of database - error in query info "operation not supported" -- logs to the root logger error_cb -- errror: operation not supported - logs to the root logger introspect error handler - ERRORR - introspect error - Warning: failed to add sca db Couldn't detect type of address ...

Revision history for this message
BabyGeek (babygeek) said :
#4

Go to "System" > "Administration" > "Synaptic Package Manager" > "Settings" > "Repositories" and make sure "Canonical supported Open Source software (main)" is checked then retry.

Revision history for this message
Jeff Goldstein (renaissance) said :
#5

OK, tried that, it was already checked. It still has the Use This Source option, which leads to a request for password to authenticate, which when I enter it, freezes for a while on the authenticate dialogue and then either disappears or I have to x it out.

Of note, searching in Sypnatic library it shows ndiswrapper as installed ... do i still need to install within ubuntu software center? (Windows Wireless Drivers isn't an option in the system menu)

Revision history for this message
BabyGeek (babygeek) said :
#6

Hum... Try to run "ndiswrapper" in the terminal.

Revision history for this message
Jeff Goldstein (renaissance) said :
#7

OK, tried that, it was already checked. It still has the Use This Source
option, which leads to a request for password to authenticate, which when I
enter it, freezes for a while on the authenticate dialogue and then either
disappears or I have to x it out.

Of note, searching in Sypnatic library it shows ndiswrapper as installed ...
do i still need to install within ubuntu software center? (Windows Wireless
Drivers isn't an option in the system menu)

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
BabyGeek
Sent: Sunday, April 03, 2011 12:08 PM
To: <email address hidden>
Subject: Re: [Question #151508]: Ubuntu 10.0 can't authenticate
ndiswrapperinstallation (without network connection?)

Your question #151508 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/151508

    Status: Open => Answered

BabyGeek proposed the following answer:
Go to "System" > "Administration" > "Synaptic Package Manager" >
"Settings" > "Repositories" and make sure "Canonical supported Open
Source software (main)" is checked then retry.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/151508/+confirm?answer_id=3

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/151508

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Jeff Goldstein (renaissance) said :
#8

BabyGeek proposed the following answer:
Hum... Try to run "ndiswrapper" in the terminal.

I tried it ...
Error: ndiswrapper-utils-1.9 not installed!
Is there another way to import it or something from a USB drive, or from the CD-ROM of Ubuntu?

Revision history for this message
Jeff Goldstein (renaissance) said :
#9

Sorry, didn't work. Error: ndiswrapper-utils-1.9 not installed!

Is there another way to import it or something from a USB drive, or from the
CD-ROM of Ubuntu?

Jeff

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
BabyGeek
Sent: Sunday, April 03, 2011 1:03 PM
To: <email address hidden>
Subject: Re: [Question #151508]: Ubuntu 10.0 can't authenticate
ndiswrapperinstallation (without network connection?)

Your question #151508 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/151508

    Status: Open => Answered

BabyGeek proposed the following answer:
Hum... Try to run "ndiswrapper" in the terminal.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/151508/+confirm?answer_id=5

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/151508

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
BabyGeek (babygeek) said :
#10

sudo apt-get install ndiswrapper-utils-1.9 ?

Revision history for this message
Jeff Goldstein (renaissance) said :
#11

Asked for password which I provided, then it responded:
  Reading package lists ... Done
  Building dependency tree
  Reading state information ... Done
  E: Unable to locate package ndiswrapper-utils-1.9
  E: Couldn't find any package by regex 'ndiswrapper-utils-1.9'

I don't know the nomenclature for commands, but I searched the file system
for ndiswrapper and within the following folders ...
> media
> ubuntu 10.10i386
> pool
> main
> n
> ndiswrapper
There are two files,
  Ndiswrapper-common_1.56-3_all.deb and
  Ndiswrapper-utils-1.9_1.56-3_i386.deb

Should these locations and/or file names be in the command?

Jeff

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
BabyGeek
Sent: Sunday, April 03, 2011 2:16 PM
To: <email address hidden>
Subject: RE: [Question #151508]: Ubuntu 10.0 can't
authenticatendiswrapperinstallation (without network connection?)

Your question #151508 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/151508

    Status: Open => Answered

BabyGeek proposed the following answer:
sudo apt-get install ndiswrapper-utils-1.9 ?

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/151508/+confirm?answer_id=9

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/151508

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Jeff Goldstein (renaissance) said :
#12

BabyGeek proposed the following answer:
sudo apt-get install ndiswrapper-utils-1.9 ?

My response:
Asked for password which I provided, then it responded:
  Reading package lists ... Done
  Building dependency tree
  Reading state information ... Done
  E: Unable to locate package ndiswrapper-utils-1.9
  E: Couldn't find any package by regex 'ndiswrapper-utils-1.9'

I don't know the nomenclature for commands, but I searched the file system for ndiswrapper and within the following folders ...
> media
> ubuntu 10.10i386
> pool
> main
> n
> ndiswrapper
There are two files,
  Ndiswrapper-common_1.56-3_all.deb and
  Ndiswrapper-utils-1.9_1.56-3_i386.deb

Should these locations and/or file names be in the command?

Revision history for this message
bcbc (bcbc) said :
#13

Use the ones on the cd (assuming the path is as you described - these are the commands):
sudo dpkg -i /media/ubuntu\ 10.10i386/pool/main/n/ndiswrapper/*.deb

Then do the same for ndisgtk
sudo dpkg -i /media/ubuntu\ 10.10i386/pool/main/n/ndisgtk/*.deb

Revision history for this message
Jeff Goldstein (renaissance) said :
#14

I'm getting an error dpkg: unknown option -/
Is there supposed to be a forward slash after ubuntu and a space before it and 10.10i386? And no space after "dpkg -i"?

Revision history for this message
bcbc (bcbc) said :
#15

From what you wrote: "ubuntu 10.10i386" it would be: ubuntu\ 10.10i386

But just use the TAB key to auto complete - it's the easiest way...

sudo dpkg -i /media/ub TAB /pool/main/n/ etc

Revision history for this message
Jeff Goldstein (renaissance) said :
#16

Thanks ...tried this, and the path appears to be right, when I look in the
file system for the CD-ROM.

I'm getting an error dpkg: unknown option -/
Is there supposed to be a forward slash after ubuntu and a space before it
and 10.10i386? And no space after "dpkg -i"?

I'm getting worn down. Since it worked off the CD-ROM previously I wonder
if instead of doing the Wubi installation, I should delete it and bite the
bullet and just use the CD-Rom to do a side-by-side install with XP.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of bcbc
Sent: Sunday, April 03, 2011 3:39 PM
To: <email address hidden>
Subject: RE: [Question #151508]: Ubuntu 10.0
can'tauthenticatendiswrapperinstallation (without network connection?)

Your question #151508 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/151508

    Status: Open => Answered

bcbc proposed the following answer:
Use the ones on the cd (assuming the path is as you described - these are
the commands):
sudo dpkg -i /media/ubuntu\ 10.10i386/pool/main/n/ndiswrapper/*.deb

Then do the same for ndisgtk
sudo dpkg -i /media/ubuntu\ 10.10i386/pool/main/n/ndisgtk/*.deb

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/151508/+confirm?answer_id=12

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/151508

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
bcbc (bcbc) said :
#17

You can browse to it in Nautilus and double click on the package as well - it will open in software centre but will install.

Don't enter -/ it's -i (lower case I)

Revision history for this message
Jeff Goldstein (renaissance) said :
#18

1. Tab didn't do anything in my terminal server, unfortunately. I've been using "-i" not "-I" or "-/".

I've tried it two ways, neither worked.

sudo dpkg -i /media/ubuntu\ 10.10i386/pool/main/n/ndiswrapper/*.deb

This generated an error:

dpkg: error processing /media/ubuntu 10.10i386/pool/main/n/ndiswrapper/*.deb (--install):
  cannot access archive: No such file or directory
Error swere encountered while processing
  /media/ubuntu 10.10i386/pool/main/n/ndiswrapper*.deb

Then I tried sudo dpkg -i /media/ubuntu 10.10i386/pool/main/n/ndiswrapper/*.deb
and it generated an error:

dpkg: error processing /media/ubuntu (--install):
  cannot access archive: No such file or directory
dpkg: error processing 10.10i386/pool/main/n/ndiswrapper/*.deb (--install):
  cannot access archive: No such file or directory
Errors were encountered while processing:
  /media/ubuntu
 10.10i386/pool/main/n/ndiswrapper/*.deb

2. I browsed into the CD icon from the desktop (is that what you mean using Nautilus?) and double clicked on the two *.deb files
... the first one in ndiswrapper comes up in software center as "installed"

... the second one (ndiswrapper-utils-1.9_1.56-3_i386.deb) gives Internal Error the file "/media/ubuntu 10.10i386/pool/main/n/ndiswrapper/ndiswrapper-utils-1.9_1.56-3_i386.deb" could not be opened

... the ndisgtk .deb file opens up in software center with "dependency is not satisfiable: ndiswrapper-utils-1.9"

So it looks like the second one still isn't installing properly, and it's hanging up ndisgtk? Any other suggestions?

Revision history for this message
Jeff Goldstein (renaissance) said :
#19

One more thing ... I just tried dragging the two files from CD-ROM to desktop.

The first one copied fine. I double clicked it and in the software center, said reinstall, nothing happened. I noticed a key in the taskbar, clicked it and selected "drop all elevated privileges" and it reinstalled.

THEN, I copied the other one ... and got "error while copying [file name]" and under details it says "Error splicing file: input/output error". Is that a file corruption?

Also of ntoe the CD-ROM was an install CD for ubuntu desktop, whereas the wubi install I ended up downloading directly to the desktop and executing it as a program. Are these different versions of ndiswrapper on CD from wubi install?

Revision history for this message
bcbc (bcbc) said :
#20

Looks like you have a problem with your CD image. When you installed you used Wubi right?

If so you can mount the CD image used for the install (use the TAB key to autocomplete):
sudo mount -o loop /host/ubuntu/install/.fuse[TAB] /mnt

(it will be something like this: sudo mount -o loop /host/ubuntu/install/.fuse_hidden0000000400000001 /mnt )

then:
sudo dpkg -i /mnt/pool/main/n/ndiswrapper/*.deb

Revision history for this message
Jeff Goldstein (renaissance) said :
#21

Eureka! It mounted, I was able to install ndiswrapper/ndisgtk and the driver, i'm online. Thanks! (now off to installing HP driver)