filepath to ntoskernal_io.c
I am trying to set up bcmwlhigh5.inf, the driver for Netgear WNA3100 Wireless USB Adapter. On other help files it states to make manual alterations to the file ntoskernal_io.c.
I am unable to locate this file on my Ubuntu11.04 installatation.
Additionally ls -R ntos* |more FAILS
And tree FAILS, telling me it isn't installed so I am at this moment unable to do a full directory search
Would appreciate any help...???
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Eliah Kagan
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
The best ways to search from the command line are locate and find. You can view their manual pages at http://
Also, I suspect that the file is called ntoskernel_io.c rather than ntoskernal_io.c.
Revision history for this message
|
#2 |
There is an extra package called tree that you would have to install first before you can use it.
But there is a standard Unix command that allows searching for a file.
Open a terminal and enter the following command:
find / -name "ntoskern*l_io.c" -print 2>/dev/null
Revision history for this message
|
#3 |
Manfred,
Thanks for your answer - the "list" syntax was very helpful - I was missing the '/' before.
I have been able to do a full directory search from the $ (where you can't cd .. any further : I can't call it 'root' cos theres a root folder!)
and entered the find command in the form find /host -name "*ntosk*.c"
for every directory host, root, sys, etc, lost+found etcetera AND...
it returned zero results. [I am content the syntax is correct because using the pattern "*k*.c" worked - (but not finding the file I wanted)]
there are a few folders and sub-folders that have permissions off and I set some of these using sudo chmod -R a+rwx and re-ran
the find but again zero results. I didn't set permissions for all the folders but I don't think the file I'm after is in there.
I think that the file I am searching for "ntoskern*.c" doesn't exist in Ubuntu 11.04.
I was directed to this file from the link at :
http://
which tells me to add some script to the file to get ndiswrapper to work correctly with bcmwlhigh5.inf - the driver for Netgear WNA3100 wireless adapter.
This link might be referring to a previous version of Ubuntu???
If so my question is:
a) is there an equivalent .c file in 11.04 and if so should I just add the script to the end and carry out the other instructions in the link?
b) if there is no equivalent how do I get Netgear WNA3100 running on Ubuntu? Its currently running correctly on Windows7.
Thanks for reading through all this and if you are able to help further.
David
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #165369]: filepath to ntoskernal_io.c
> Date: Wed, 20 Jul 2011 08:06:35 +0000
>
> Your question #165369 on ndiswrapper in Ubuntu changed:
> https:/
>
> Manfred Hampl proposed the following answer:
> There is an extra package called tree that you would have to install
> first before you can use it.
>
> But there is a standard Unix command that allows searching for a file.
>
> Open a terminal and enter the following command:
>
> find / -name "ntoskern*l_io.c" -print 2>/dev/null
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#4 |
/usr/src/
Revision history for this message
|
#5 |
Eliah
I had already installed ndiswrapper (-utils and -common) from another site using the Ubuntu Software Centre [just by right clicking on the
.deb file from the USB drive and selecting it]. I then tried installing drivers but they failed and at that point I was stuck until I was
referred to another site directing the change to the ntoskernel_io.c file.
The file ntoskernel_io_c wasn't in the etc/src folder and I now think that I didn't install ndiswapper correctly the first time and missed some files : I think I manually copied some files - not understanding an installer is meant to be used!
I downloaded though just now the package ndiswrapper-dkms from
http://
I used the Ubuntu Software Centre again and this time it wouldn't allow me even to click on the Install button, coming up with the message "Dependency is not satisfiable"
I unzipped the .deb file on the USB file and did find the ntoskernel_io.c file nested in one of the folders BUT how do I now get all this lot ported to the correct places within Ubunut and installed properly???
AND - do I need to try to uninstall the exsiting ndiswrapper? [what is the best tool to do this with???]
AND - the site above talks of Debian and not Ubuntu: is this still ok? I am on the AMD chipset not the i386.
Thanks
David
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #165369]: filepath to ntoskernal_io.c
> Date: Wed, 20 Jul 2011 23:35:51 +0000
>
> Your question #165369 on ndiswrapper in Ubuntu changed:
> https:/
>
> Status: Open => Answered
>
> Eliah Kagan proposed the following answer:
> /usr/src/
> 11.04 by the package ndiswrapper-dkms. Install that package, and you
> should have the file.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#6 |
You should not obtain ndiswrapper-dkms from http://
Launchpad has download links for the correct packages. The Launchpad links are not the only correct links, but the advantage of downloading them from Launchpad rather than from an Ubuntu software archive site is that Launchpad is https rather than http, which means that the likelihood of a corrupted download is enormously less--the data won't decrypt and check out as genuine if it is modified between the server and your computer, and that applies to transmission errors just as much as it applies to malicious man-in-the-middle attacks. (When you download software on an Internet-connected Ubuntu system through automated means, it uses http connections, but that's OK in that case because it checks the digital signatures on each downloaded package file after downloading it.)
See https:/
You will also need dkms, as ndiswrapper-dkms depends on it. You can get it at https:/
Revision history for this message
|
#7 |
Thanks Eliah, I managed to uninstall all ndiswrapper components using Ubuntu Software Centre and installed ndiswrapper-commona and ndiswrapper-utils. The other two : -dkms and -source came up with "Dependency is not satisfied" BUT I noticed the link you gave me had dependencies available for download too so will try this tomorrow.
Revision history for this message
|
#8 |
For ndiswrapper-dkms, you need dkms; I have provided information on how to get that, above.
I did neglect to provide information about ndiswrapper-
Revision history for this message
|
#9 |
I installed module-
When I tried then to install ndiswrapper-source it came back with
"Dependency is not satisfiable:
When I tried then to install ndiswrapper-dkms it came back with
"Dependency is not satisfiable:
Revision history for this message
|
#10 |
"Dependency is not satisfiable:
You can get debhelper at https:/
"Dependency is not satisfiable:
Did you install dkms (https:/
I don't know how many more dependencies there will be; I guess my Natty machine has a lot more stuff installed on it than yours does. But you can simulate the installation of the packages you are trying to install, which will reveal their dependencies with a reasonably good degree of accuracy. (It would be with perfect accuracy, except your local package information is not fully current, and cannot reasonably be made current in your current situation.)
To do this, open a Terminal and run this command (it is intentional that I did not start the command with sudo):
apt-get -s install packagename
Replace packagename with the name of the package you want to simulate installing. Please note that this does not actually install anything. You can see the unmet dependencies listed under the text "The following extra packages will be installed:". You should be able to find them by noticing the pattern in the URL's that I have sent you for finding packages (alternatively, you can go to https:/
Revision history for this message
|
#11 |
Thanks. I was able to install all the dependencies and now have
ndiswrapper-common, -utils, -source and -dkms sucessfully installed via the Ubuntu Software Centre
ndiswrapper-dkms depended upon debhelper which had itself dependencies. I unzipped the .deb and looked at the control file
which listed about 10 dependencies, 2 of which were not present on my machine which were:
Html2text.deb and po-debconf.deb
I downloaded both of these from the same source - launchpad and got debhelpher isntalled afterwards.
Initially I used the i386 build but the Ubuntu Software Centre didn't like it and came back with "wrong architecture". After I used the Amd build which worked.
I now have all 4 necessary ndiswrapper files so next will go to the ntoskernel.io.c file and make alterations as per instructions on another site.
Theres a few stages after that to finally get the adpater working so I might be back. Cheers,