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 only know the basics of Linux really, and now I'm trying to install the driver for my IWL3945 wireless card. And I tried following a tutorial that said I had to do this:
% tar xzvf ieee80211-1.1.14.tgz
% cd ieee80211-1.1.14
% make
# make install <--- You may need to be root
% cd ..
And now when I tried to use the make command, I get this error:
Code:
[root@subcane ieee80211-1.1.14]# make
Checking in /lib/modules/2.6.29.4-167.fc11.i686.PAE for ieee80211 components...
find: `/lib/modules/2.6.29.4-167.fc11.i686.PAE/build/': No such file or directory
egrep: /lib/modules/2.6.29.4-167.fc11.i686.PAE/build//.config: No such file or directory
egrep: /lib/modules/2.6.29.4-167.fc11.i686.PAE/build//include/linux/autoconf.h: No such file or directory
find: `/lib/modules/2.6.29.4-167.fc11.i686.PAE/build/': No such file or directory
make -C /lib/modules/2.6.29.4-167.fc11.i686.PAE/build M=/tmp/ieee80211-1.1.14 modules
make: *** /lib/modules/2.6.29.4-167.fc11.i686.PAE/build: No such file or directory. Stop.
make: *** [modules] Error 2
[root@subcane ieee80211-1.1.14]#
This was also the case when I had Fedora 9 and 10 on the same system. Even with other packages. I tried installing gcc but I do not know if I even need it for the make command.
It looks like you need to install the kernel source (and probably kernel headers) package for Fedora. You also don't need to run "make" as root, just "make install".
It looks like you need to install the kernel source (and probably kernel headers) package for Fedora. You also don't need to run "make" as root, just "make install".
How would I go about installing the kernel source? I tried googling it and it said yum install kernel-sourcecode works, but it didn't work on this end.
try "yum install kernel-devel" and "yum install kernel-headers"
Well it installed, but make still won't work:
Code:
[root@subcane ieee80211-1.1.14]# yum install kernel-devel
Loaded plugins: refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.i586 0:2.6.29.6-217.2.3.fc11 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================
Package Arch Version Repository Size
==============================================================================================
Installing:
kernel-devel i586 2.6.29.6-217.2.3.fc11 updates 6.2 M
Transaction Summary
==============================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 6.2 M
Is this ok [y/N]: y
Downloading Packages:
kernel-devel-2.6.29.6-217.2.3.fc11.i586.rpm | 6.2 MB 02:30
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-devel 1/1
Installed:
kernel-devel.i586 0:2.6.29.6-217.2.3.fc11
Complete!
Code:
[root@subcane ieee80211-1.1.14]# yum install kernel-headers
Loaded plugins: refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 22846.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 73 M RSS ( 84 MB VSZ)
Started: Thu Aug 6 13:25:46 2009 - 00:10 ago
State : Sleeping, pid: 22846
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 73 M RSS ( 84 MB VSZ)
Started: Thu Aug 6 13:25:46 2009 - 00:12 ago
State : Sleeping, pid: 22846
Setting up Install Process
Package kernel-headers-2.6.29.6-217.2.3.fc11.i586 already installed and latest version
Nothing to do
Code:
[root@subcane ieee80211-1.1.14]# make
Checking in /lib/modules/2.6.29.4-167.fc11.i686.PAE for ieee80211 components...
find: `/lib/modules/2.6.29.4-167.fc11.i686.PAE/build/': No such file or directory
egrep: /lib/modules/2.6.29.4-167.fc11.i686.PAE/build//.config: No such file or directory
egrep: /lib/modules/2.6.29.4-167.fc11.i686.PAE/build//include/linux/autoconf.h: No such file or directory
find: `/lib/modules/2.6.29.4-167.fc11.i686.PAE/build/': No such file or directory
make -C /lib/modules/2.6.29.4-167.fc11.i686.PAE/build M=/tmp/ieee80211-1.1.14 modules
make: *** /lib/modules/2.6.29.4-167.fc11.i686.PAE/build: No such file or directory. Stop.
make: *** [modules] Error 2
[root@subcane ieee80211-1.1.14]#
, if it doesn(t work install yumex, a yum GUI, search for "kernel-devel" with it and install the good one.
I can't find anything with i686 in it, only i586.
Code:
[root@subcane ieee80211-1.1.14]# yum install kernel-devel-2.6.29.6-*
Loaded plugins: refresh-packagekit
Setting up Install Process
Package kernel-devel-2.6.29.6-217.2.3.fc11.i586 already installed and latest version
Nothing to do
I'll try the GUI thing later though, I don't have access to the physical computer for a while.
If you're accessing the linux box through ssh, add -X option to enabling remote graphical session, be sure that server side;, in the sshd_config file (somewhere under /etc or /etc/ssh), the line
Code:
X11Forwarding yes
appears.
Another solution is to reboot the linux box with the 2.6.29.6-217.2.3.fc11.i686.PAE kernel, just edit "/boot/grub/menu.lst" file and change the "default=" to the proper kernel (first one is 0)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.