Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
04-27-2012, 02:29 PM
|
#1
|
LQ Newbie
Registered: Apr 2012
Posts: 10
Rep: 
|
How to compile and Intall a driver???
Hi,
I have a .tar.gz file it contains the driver for my Wireless card but I do not how to install it, I try to use ./configure but it say command not found. In the readme file says that I just have to enter at top-level directory and use "make" and then "make install" but when i do that (make) it say there is no rule to build the objective inalambrica. I google it and says that i have to check that the folder contains a Makefile, there are severals Makefile in diferents folders and i try to use "make" in each of then but i got the same error (there is no rule to build the objective). What i have to do to install it? thank you all for the help.
Have a nice day.
|
|
|
04-27-2012, 02:43 PM
|
#2
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Most packages will have a README or INSTALL file with information on how to build it.
|
|
|
04-27-2012, 02:47 PM
|
#3
|
LQ Newbie
Registered: Apr 2012
Posts: 10
Original Poster
Rep: 
|
Quote:
Originally Posted by suicidaleggroll
Most packages will have a README or INSTALL file with information on how to build it.
|
I already see the README but it just says that I have to use "make" and then "make install" but when I use make I got the error there is no rule to build the objective inalambrica.
|
|
|
04-27-2012, 02:49 PM
|
#4
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
Could you post the contents of the directory using "ls -l", as well as the location where you downloaded the driver?
|
|
|
04-27-2012, 02:56 PM
|
#5
|
LQ Newbie
Registered: Apr 2012
Posts: 10
Original Poster
Rep: 
|
This is what you ask me, rigth?? Thank you
david@david-pc:~/Escritorio/Driver inalambrica Linux/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011$ ls -l
total 4576
-rwxr-xr-x 1 david david 50919 2011-12-30 03:32 base.c
-rwxr-xr-x 1 david david 5947 2011-12-30 03:32 base.h
-rwxr-xr-x 1 david david 10170 2011-12-30 03:32 cam.c
-rwxr-xr-x 1 david david 2093 2011-12-30 03:32 cam.h
drwxr-xr-x 5 david david 4096 2011-12-30 03:32 compat
-rwxr-xr-x 1 david david 2642 2011-12-30 03:32 compat.h
drwxr-xr-x 15 david david 4096 2012-04-27 13:37 compat-wireless-3.0-2
-rwxr-xr-x 1 david david 4238914 2011-12-30 03:32 compat-wireless-3.0-2.tar.bz2
-rwxr-xr-x 1 david david 37340 2011-12-30 03:32 core.c
-rwxr-xr-x 1 david david 1468 2011-12-30 03:32 core.h
-rwxr-xr-x 1 david david 23538 2011-12-30 03:32 debug.c
-rwxr-xr-x 1 david david 6493 2011-12-30 03:32 debug.h
-rwxr-xr-x 1 david david 33420 2011-12-30 03:32 efuse.c
-rwxr-xr-x 1 david david 3461 2011-12-30 03:32 efuse.h
drwxr-xr-x 3 david david 4096 2011-12-30 03:32 firmware
-rwxr-xr-x 1 david david 386 2011-12-30 03:32 Kconfig
-rwxr-xr-x 1 david david 2151 2011-12-30 03:32 Makefile
-rwxr-xr-x 1 david david 58404 2011-12-30 03:32 pci.c
-rwxr-xr-x 1 david david 7991 2011-12-30 03:32 pci.h
-rwxr-xr-x 1 david david 18805 2011-12-30 03:32 ps.c
-rwxr-xr-x 1 david david 2006 2011-12-30 03:32 ps.h
-rwxr-xr-x 1 david david 8097 2011-12-30 03:32 rc.c
-rwxr-xr-x 1 david david 1518 2011-12-30 03:32 rc.h
-rwxr-xr-x 1 david david 9198 2011-12-30 03:32 readme
-rwxr-xr-x 1 david david 12336 2011-12-30 03:32 regd.c
-rwxr-xr-x 1 david david 1963 2011-12-30 03:32 regd.h
-rwxr-xr-x 1 david david 2716 2011-12-30 03:32 release_note
drwxr-xr-x 2 david david 4096 2011-12-30 03:32 rtl8192ce
drwxr-xr-x 2 david david 4096 2011-12-30 03:32 rtl8192de
drwxr-xr-x 2 david david 4096 2011-12-30 03:32 rtl8192se
-rwxr-xr-x 1 david david 8399 2011-12-30 03:32 stats.c
-rwxr-xr-x 1 david david 1658 2011-12-30 03:32 stats.h
-rwxr-xr-x 1 david david 49974 2011-12-30 03:32 wifi.h
|
|
|
04-28-2012, 01:01 AM
|
#6
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
It looks like there is a Makefile in there, so in principle make should work. Are you sure you had changed into the extracted directory when you ran make?Since it's a driver, also be sure that you have your kernel development packages installed. If you let us know what distro you're using, someone can tell you how to install them.
|
|
|
04-28-2012, 11:01 AM
|
#7
|
LQ Newbie
Registered: Apr 2012
Posts: 10
Original Poster
Rep: 
|
Quote:
Originally Posted by btmiller
It looks like there is a Makefile in there, so in principle make should work. Are you sure you had changed into the extracted directory when you ran make?Since it's a driver, also be sure that you have your kernel development packages installed. If you let us know what distro you're using, someone can tell you how to install them.
|
Ok I'm shoure I'm runing the "make" in the extracted directory, how can I see if I have kernel development packages installed?
|
|
|
04-28-2012, 11:21 AM
|
#8
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,233
|
make is used to build a software and make install will install it. make install will work only if the first make command successfully completed.
|
|
|
04-28-2012, 01:48 PM
|
#9
|
Senior Member
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444
|
you are probably missing some of the developer libraries. That will include the latest GCC and other stuff.
Good luck to you
|
|
|
04-28-2012, 05:16 PM
|
#10
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,686
|
david9004
what operating system is this ?
and
What make/model of wireless card is this ?
most are already supported and do not need a "driver"
|
|
|
04-28-2012, 06:44 PM
|
#11
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Rep: 
|
well i think i have the same problem with realtek rtl8188cu driver
and here is what i got
http://img210.imageshack.us/img210/9793/sagy.png
can you help plz
Last edited by sagy; 04-28-2012 at 06:45 PM.
|
|
|
04-28-2012, 06:47 PM
|
#12
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
You're definitely missing the kernel development packages needed to build drivers. You need to install them, but no one can tell you how to do that unless you help us and say what distribution you are using and what hardware you have! You need to answer John VV's questions, or no one will be able to help you.
|
|
|
04-28-2012, 07:13 PM
|
#13
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Rep: 
|
ok
i am using vmware player ..backtrack 5
and Realtek RTL8188CU Wireless LAN 802.11n USB 2.0 Network Adapter (USB)
thanks in advance
|
|
|
04-28-2012, 07:39 PM
|
#14
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Hmmm ... sounds like you're running Backtrack in a VM then. Have you set the host to pass through control of the wireless NIC directly to the guest (not sure if this is the correct terminology). Most VM infrastructures I've seen use a virtual Ethernet NIC that any Linux should support out of the box. All communication to/from the VM would occur over this virtual NIC, not the real hardware in the host system, unless you some how passed the host hardware through and gave the VM exclusive control of it. Therefore, I'm not sure if what you're trying to do even can work (I don't use VMWare much; mostly KVM).
In case I'm mistaken, though, you might find this thread on the Backtrack forum useful: http://www.backtrack-linux.org/forum...hp/t-9559.html .
|
|
|
04-28-2012, 08:01 PM
|
#15
|
LQ Newbie
Registered: Apr 2012
Posts: 17
Rep: 
|
yes i am running Backtrack in a VM (vm workstation)
and i just clicked a usb wireless device connect button (disconnect from host)
but i got this
http://img684.imageshack.us/img684/4333/btlsysb.jpg
http://img10.imageshack.us/img10/5803/bt2vk.jpg
and about your link .. it provide more links but unfortunately its not working .
"You're definitely missing the kernel development packages needed to build drivers"
can you tell me now how can i install them, to get that build directory ?
thanks
|
|
|
All times are GMT -5. The time now is 05:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|