Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a dual bootable (OpenSuse 11.4/Windows Vista Home Premium) Dell Inspiron 530; works well. Network connectivity is an Edimax Nano; works well on Windows. To do the same on Linux I downloaded the driver file rtl8192CU_8188CU_linux_v2.0.939.20100726 and tried to install. Running make in accordance with the install instructions I get the following:
(see attachment)
A similar problem was addressed in the thread 'edimax ew-7318usg openSuse 11 - make - problem' some while back. That was solved by reddazz pointing out that ralink chipsets (as I understand it my own adapter also uses a ralink chipset) are natively supported by Linux. He recommended using Yast to see if the card in that instance was recognised and if so simply to configure it with Yast. I have been poking around in Yast but have had no success; although I have been able to configure something as wlan0 I have no idea whether that is a real bit of hardware or me just filling in gaps in the configuration screens.
All very disappointing, as I had hoped either to install the driver or simply to configure the device in Yast. This is probably down to my ignorance of how to proceed - although I did succeed in using ndiswrapper to set up my last adapter before it failed on me.
Thanks for getting back. In answer to your request for a logfile, I can't find anything in the directory that fits that description, only the files resulting from untarring the driver files that I was trying to install. I have also looked under other directories where I understand logfiles can be found but nothing that I can identify.
I have also been pursuing the suggestion that my wifi adapter has native Linux support. Nowhere on my installation can I find anything that looks like wifi drivers of any kind, but that is almost certainly due to my limited knowledge of where to look.
As far as the wifi adapter itself is concerned, looking at Yast->Network devices->Network settings again has not helped. All I have is reference to ndiswrapper from my previous (now failed) adapter. Running hwinfo --short and lsusb shows that the system is seeing the device but is not recognising it as a wireless device. The output in both cases is in the two attached files.
One thing I seem to have got wrong; further investigation shows that my adapter does not have a Ralink driver as I originally assumed but a Realtek driver. According to the openSuse documentation this "works out of the box". I must be looking in the wrong box.
Not much for you to go on, I am afraid, but do you have any further advice?
Well, referring to your lsusb-output the device is recognized by the system.
Did you simply try to configure your computer for the wireless network? And if you did, what exactly did not work?
Markus
Correct; I used Yast: Yast=>Network Devices=>Network Settings. There was no clue as to the Module Name I should be looking for and no indication of where the driver might be located. So what I ended up with was an unworkable configuration for wlan0. My assumption is that since I could not associate any driver with my wifi device hwinfo listed it as unknown, as shown in the hwinfo.txt file attached to my first post.
I have been doing some further investigation. It appears that the drivers installed on my system are in /lib/modules/2.6.37.1-1.2-desktop/kernel/drivers/net/wireless/. Does that sound right? If so, the rtl8188cus driver isn't among them, so it would seem I do have to find a way of getting the driver download to work. Further investigation suggests to me that the makefile supplied with the driver needs to be worked on. I'm now getting to grips with GNU make documentation and the content of the makefile - could be interesting. Any advice you can give would be much appreciated.
All this digging round is the reason I haven't got back to you before. It seems to revolve around getting the driver installed and associated with my wifi device, unless you think I am on the wrong track.
did you try installin things from zypper ??? from the XTerm ???? search using it , there are chances of you gettin it through zypper. . . . .
Hi helixo
Can you be more specific? I am not familiar with zypper; my understanding is that it is a package manager, and since I have not found any appropriate packages I can't see where it is going to help me.
...I'm now getting to grips with GNU make documentation and the content of the makefile - could be interesting...
I've checked the manpage for make and therefore suggested to search the logfile. There must be a logfile anywhere, if you find it you'll find hints about what's gone wrong.
I've checked the manpage for make and therefore suggested to search the logfile. There must be a logfile anywhere, if you find it you'll find hints about what's gone wrong.
Markus
Markus
I still can't find any sign of a logfile anywhere, and the GNU Make manual doesn't seem to make any reference to where it might be. Looking at the response to make:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.37.1-1.2-desktop/build M=/root/workspace/Linux_Driver/rtl8192CU_8188CU_linux_v2.0.939.20100726/driver/rtl8192CU_linux_v2.0.939.20100726 modules
make[1]: Entering directory `/lib/modules/2.6.37.1-1.2-desktop/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.37.1-1.2-desktop/build'
make: *** [modules] Error 2
and the following line in the makefile (see attachment for the full context; it's line 262 or thereabouts, I think):
it appears to be an apparent recursion on 'modules' that is causing the problem. Unfortunately I don't have enough knowledge of how make works to find a way round this. But my searches on the internet have thrown up several instances of others having the same problem, without anyone coming up with a conclusive response. The odd thing is I have also found a number of cases where the driver has been successfully installed.
Sorry to keep imposing on you, but I can't see my way out of this.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Quote:
make[1]: *** No rule to make target `modules'. Stop.
Looks like you have no package "kernel-devel".
# zypper in kernel-devel
cd rtl8192CU_linux_v2.0.939.20100726/ && make : Runs for a while,
creating 29 objects. Stops with this error on Suse 11.4, 64bits :
rtl8192CU_linux_v2.0.939.20100726/os_dep/osdep_service.c:291:2: error:
implicit declaration of function ‘init_MUTEX’
well this will not work here, the package is for kernel 2.6.38 and earlier, I have only 3.xxx on all my computers. Which kernel do you have? please post the output of
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.