LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   trouble installing a wireless driver in ubuntu 9.10 (http://www.linuxquestions.org/questions/linux-hardware-18/trouble-installing-a-wireless-driver-in-ubuntu-9-10-a-778820/)

hudsonryde 12-30-2009 01:24 AM

trouble installing a wireless driver in ubuntu 9.10
 
I am on a desktop that depends on a USB wireless adapter for it's internet, and I need to install the driver for it. I have downloaded the driver via another computer and isolated the .inf, .sys, and .bin files for the driver, and am trying to install ndiswrapper in order install the driver. the problem is I cannot get ndiswrapper to install, the 'make' command pulls in a laundry list of errors along with the 'make install' command. Is there something I'm missing? I have managed to update the kernel via another computer running the latest kernel, but still receive errors.

please keep in mind, I have no internet on this particular ubuntu system, so synaptic is out of the question, along with copy/paste

b0uncer 12-30-2009 04:55 AM

Why don't you download from some other place (the same way you got the source code, for example) the Ubuntu .deb package(s) for ndiswrapper if that's what you need? That way you'll get it done a lot easier..

If you insist on building it from source, make sure you read the README/INSTALL files provided to see that you have everything you need. Make sure you have installed the build tools you need. Then follow the instructions in the INSTALL file; typically you run a configure script of some sort first. If it does not pass, fix what is needed, then re-run. When it passes, run make (if it uses make) to build the code. If that passes, move on to the install target; if you have any errors in configure or make step, you obviously cannot run the "make install", because the program isn't built correctly.

Everything needed should be mentioned in the documentation that comes along the source code, so read it carefully through. You may or may not need to obtain some other software to get it compile, but the configure step should inform you about this..

If you take the .deb route, you can probably ask apt to tell you what packages you need, i.e. dependencies. Then download them manually off a Ubuntu mirror, bring to your computer and use dpkg to install (or double-click to do it graphically). This has the advantage that upgrading and/or removing the package is easier than if you build it yourself from source code..

Try, for example, something like this
Code:

apt-get install --dry-run ndiswrapper
and see what it says. The "dry run" means that the process is done like it's normally done, but nothing is really done, i.e. no packages are downloaded or installed, but you do see what would have happened, and thus what packages it would have downloaded and installed. This information you can use to download them from some other place.

hudsonryde 12-30-2009 11:28 AM

ahh thank you very much for the reply, I had considered using a precompiled package, but didn't immediately see a .deb so I figured I was stuck (granted I didn't look very hard) but have now searched around and found a .deb for both the -common and -utils. will try these out and post my results.

hudsonryde 12-30-2009 12:40 PM

well...I was able to successfully install both ndiswrapper and the driver via ndiswrapper, and have verified install with a -l command and verified the ID for the driver and device match. but no workie...
I do get this message when running 'ndiswrapper -l': "WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release." then it tells me the driver installation information.
could this be why it still isn't working? If so, how can I resolve this issue?

hudsonryde 12-30-2009 01:21 PM

note: I have also install the graphical ndiswrapper plugin and it reports that the driver is, in fact, installed, and that the hardware is present.

evo2 12-31-2009 02:18 AM

What is the device? Are you sure you need to use ndiswrapper? Are there no native linux drivers?

Evo2.

hudsonryde 12-31-2009 11:19 AM

The device is a Belkin wireless N USB adapter, product number: F5D8053 version 5000. I did do some searching yesterday and found this handy little site: http://linux-wless.passys.nl/
and when I put in my information the product is listed in the grey area for the rtl8192su driver, which I thought was promising because the windows driver for the product is very similar: net8192u.sys. So I probed and found an rtl8192su.tar.gz file and booted into my Ubuntu and extracted and attempted to make install the driver, but got errors. I have actually never successfully done a make install, I always get some error, even though I have installed the kernel headers and what-not. Perhaps this is the area where I need help?

dogface2006 02-22-2010 12:36 PM

I tried all day to get this Bus 001 Device 005: ID 050d:815f Belkin Components Realtek RTL8192SU [F5D8053 N Wireless USB Adapter v6000] g to work.
finally using 2.6.31.9 kernel, Kanotix 32bit, rtl8192se_linux_2.6.0010.1012.2009 firmware (use google to find it) and ndiswrapper-1.56.tar.gz from sourceforge.

After compiling the firmware you move to /lib/firmware but really read the README.TXT in the package
for installation instructions.
make
make install
reboot
then compiled ndiswrapper and used:
ndiswrapper -i net8192su.inf <<windows xp 32bit driver.
modprobe ndiswrapper
iwconfig
ndiswrapper -m
ifconfig wlan0 up
dhclient wlan0


I use wicd 6.2.2 for network manager.

hudsonryde 02-22-2010 02:17 PM

interesting, I shall have to try something similar to that! thank you


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