Forum Home
Press F1
 
Thread ID: 68893 2006-05-14 07:33:00 Linux drivers for USB WiFi device Atreides (7000) Press F1
Post ID Timestamp Content User
454849 2006-06-28 15:43:00 The rule 'modules' is used in the makefile for the driver to find where the source for the kernel is. The Linux kernel is divided into modules which do different things, which is what the term 'module' refers to. It's not the fault of Linux that this driver is so hard to install, its the fault of the manufacturer. If they had enough demand for Linux drivers they could make an easy driver with a graphical program to install it with just like with Windows. Though it is useful to provide the source code so the driver can be compiled to work properly with the particular system. This is necessary because there are so many different distributions of Linux, which comes from the fact that it's Free Software so anyone can freely modify it and make their own version.

I had the same 'no rule to make target 'modules' ' problem when I was using SUSE 10.0 with my zd1211b card, which I later found out was because the kernel I had installed was a slightly newer version than I installed the sources for from the CD. I managed to install the driver but I couldn't connect to my access point for some reason. Now I'm using Kubuntu 6.06 (Dapper), which has the zd1211 driver installed by default (but unfortunately not the zd1211b driver). However, they provide the driver source code in their repositories, which can be used to install both. I've installed that, along with the kernel source, kernel headers, and I think everything else like that that I need. However after I configure the kernel source using 'make xconfig' like it says in the guide and I try 'make' on the driver it says something like 'no such directory /lib/modules/2.6.15-25-amd64-generic/build' which seems to mean that a folder called 'build' should have been made there when I configured the kernel source but hasn't been. I'm not sure where I've gone wrong, I'm still working on it. I might eventually try downloading the driver source from the website rather than the Ubuntu repository, or even using ndiswrapper to get it working.
guyjohnston (10404)
454850 2006-06-28 23:55:00 Aha, guyjohnston I can help you! I had the same problem, amongst others.

My make said 'no such directory /lib/modules/2.6.12-10-386/build' - same as your error but for my earlier kernel version at the time. I had to make a symbolic link from /lib/modules/2.6.12-10-386/build to point /usr/src/linux-headers-2.6.12-10-386. For you this would be a link from /lib/modules/2.6.15-25-amd64-generic/build pointing to /usr/src/linux-headers-2.6.15-25-amd64-generic. You have to have installed the 'linux headers' first - you say you have, so that's good, but make sure it's extracted in /usr/src.

To make the symbolic link:

sudo ln -s /lib/modules/2.6.15-25-amd64-generic/build /usr/src/linux-headers-2.6.15-25-amd64-generic
Try make again and maybe it'll work. If it doesn't, check that those linking code file paths match what's on your system, and that the linux headers are in the right place.

Atreides
Atreides (7000)
454851 2006-06-29 05:47:00 So its still not going then? :confused: dolby digital (5073)
454852 2006-06-29 08:32:00 No, I got my USB wifi dongle to work thanks to PressF1 and Ubuntu forum help back in May (see my post above (forums.pcworld.co.nz) Edit: hmm, that post link doesn't work very well. I'm talking about the post starting with "YES! WE HAVE SUCCESS!", #20.). Just helping guyjohnston with a very similar-sounding problem now.

I did say that I'd post again when I got the network programs to work; sorry I didn't but I needed a break from Linux for a while! Now I've got the new version of Ubuntu, Dapper Drake, which sort of has built-in support for the ZD1211 wifi dongle, but it sort of doesn't. I've spent a while messing with it but not the days on end of concerted effort it'll probably take to achieve something. That waits for some serious free time.

In the meantime, all is well.
Atreides (7000)
1 2 3