LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 06-25-2007, 03:44 PM   #1
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: 0
Trouble installing 4965AGN


Hello everyone,

I am having trouble installing Intel's drivers for their Wifi Link 4965AGN card. I have followed their instructions on Intel's Linux drivers install site.
But i get this error while running these commands:

tankqj@keithrichards:~/iwlwifi-0.0.32$ make
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Makefile:24:
Kernel Makefile not found at '/lib/modules/2.6.20-16-generic/source'
make: *** [compatible/kversion] Error 1
tankqj@keithrichards:~/iwlwifi-0.0.32$ make install
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Makefile:24:
make: *** No rule to make target `compatible/iwl4965.ko', needed by `install'. Stop.

Any ideas?
Thanks for the help in advance!
 
Old 06-25-2007, 03:48 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Is the kernel source installed?
Make & development tools?
 
Old 06-25-2007, 11:06 PM   #3
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry I'm kinda new to Linux. How do i check this?
 
Old 06-26-2007, 12:59 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
ls -al /usr/src/linux
There should be a lot there. If not, you'll need to install the kernel source using either your package manager or from the CDs.

In addition to the kernel source, you'll need a compiler and some programs used for turning source code into executable binaries.

What distro are you using?
 
Old 06-26-2007, 04:17 PM   #5
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I ran that command and it tells me there is no such file or directory...but under /usr/src i have these directories... linuxheaders-2.6.20-15-generic, linuxheaders-2.6.20-15, linuxheaders-2.6.20-16-generic, and linuxheaders-2.6.20-16. I am running Ubuntu 7.04 Fiesty Fawn
 
Old 06-26-2007, 06:45 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
Using the Synaptic package manager, you should be able to grab something like automake and have it pull in the rest of the development packages and kernel source.

Don't know for sure, though. With Slack, I load everything manually.

Look through the Synaptic menu and look for kernel source and GCC and automake. Select them and see if that doesn't move the ball forward a bit.
 
Old 06-27-2007, 09:46 AM   #7
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
you need to have mac80211 installed as well. This means a kernel compile. The 4965 driver is very much a beta driver atm, the firmware was only released about two weeks ago, and very few people seem to be using from what I can tell. You need to follow the full instructions on the web site, starting with the mac80211 page
http://intellinuxwireless.org/?p=mac...HOWTO-mac80211
The driver is in the latest wireless-dev kernel which there is download instructions for on that page. You may be better off using ndiswrapper for the short term for this card, unless ubuntu have some module packages made up.
 
Old 06-28-2007, 10:10 PM   #8
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I tried the kernel source, GCC, and automake synaptic packages and still getting the same error. I was following the directions on intellinuxwireless.org and this is where i get the error when trying to install the iwlwifi driver

http://intellinuxwireless.org/?p=iwl...=howto-iwlwifi

These are the steps that I followed. I did check to see if I have mac80211 installed when i follow those steps it tells me that I already have it installed by running:

modeprobe mac80211

And not getting any error messages.
 
Old 06-28-2007, 10:21 PM   #9
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
Install the 'build-essential' package (or check to make sure its installed)
If that is installed, do as the error says, and use this command
make SHELL=/bin/bash
i am pretty sure ubuntu uses bash as the default shell, so I am not sure whats going on there.
 
Old 06-28-2007, 11:24 PM   #10
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Still get this same error.

tankqj@keithrichards:/bin$ cd /home/tankqj/iwlwifi-0.0.32/
tankqj@keithrichards:~/iwlwifi-0.0.32$ make
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Makefile:24:
Kernel Makefile not found at '/lib/modules/2.6.20-16-generic/source'
make: *** [compatible/kversion] Error 1
 
Old 06-29-2007, 07:34 PM   #11
kojow7
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
4965AGN Ubuntu Asus G1S Laptop

Quote:
Originally Posted by tankqj
Still get this same error.

tankqj@keithrichards:/bin$ cd /home/tankqj/iwlwifi-0.0.32/
tankqj@keithrichards:~/iwlwifi-0.0.32$ make
Makefile:20:
Makefile:21: WARNING: $SHELL not set to bash.
Makefile:22: If you experience build errors, try
Makefile:23: 'make SHELL=/bin/bash'.
Makefile:24:
Kernel Makefile not found at '/lib/modules/2.6.20-16-generic/source'
make: *** [compatible/kversion] Error 1
Sounds like you and I are having the same problem. Perhaps we can work together. What type of laptop are you using? Mine is an Asus G1S but has the same 4965AGN card. Here is what I tried:

My first problem was that the Ubuntu live CD would not run properly. It kept taking me to a console screen that said: "/bin/sh: can't access tty; job control turned off". I followed the fix on this site: http://ubuntuforums.org/showthread.php?t=421588 - now the live CD was able to boot and install.

Now the real problem is getting the Intel 4965AGN to work ...


I think the mac80211 files that come with Ubuntu need to be updated and the kernel recompiled, so I followed the steps at: http://intellinuxwireless.org/?p=mac...HOWTO-mac80211

I made a symbolic link called "source" in /lib/modules/2.6.20-15-generic/ and pointed it to the same place that "build" was pointing to. I.e. /usr/src/linux-headers-2.6.20-15-generic

I did have problems with feisty freezing after an install, but someone told me it was a problem with rc80211_simple, so I just moved it: mv $(modprobe -l rc80211_simple) /root - if your feisty freezes on you, you might have to do that.

For some reason Feisty is not showing up as using the bash shell properly, so at the end of each line I just added SHELL=/bin/bash - not sure if this was necessary, but it didn't hurt.

I also needed to install build-essential and libncurses5-dev, both I was able to get (and their dependencies) from http://packages.ubuntu.com/feisty/devel/build-essential - I had to download them in my windows partition, because all I have is a wireless connexion so obviously can't run apt-get in linux.

Now when I get to the step where it says to "make modules", I get the following error: "No rule to make target 'arch/i386/kernel/msr.c', needed by 'arch/i386/kernel/msr.o'. Stop."

This is the point I am stuck at now.
 
Old 06-29-2007, 08:04 PM   #12
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
My laptop is a Dell Inspirion E1705. Sorry I wouldn't know how to help you with the freezing up but I'm still looking for the solution to the 4965AGN card fix.

Last edited by tankqj; 06-29-2007 at 08:05 PM.
 
Old 06-29-2007, 08:10 PM   #13
kojow7
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
4965 now working for me with ndiswrapper

Quote:
Originally Posted by tankqj
My laptop is a Dell Inspirion E1705.
Good news for me now, I don't know if you are interested in getting your wireless to work with ndiswrapper or not. I tried it yesterday but I think I was missing build-essentials. Since I installed build-essentials to try to get iwlwifi to work, I again tried ndiswrapper and it worked. I am now using ubuntu wirelessly. Here is the guide I followed:

https://help.ubuntu.com/community/Wi...29%7C%28AGN%29

It worked like a charm. Though after completing all the steps I had to reboot to see my wireless. Once it rebooted I simply had to pick my wireless from the detected wireless list on the top bar.
 
Old 06-29-2007, 08:15 PM   #14
kojow7
LQ Newbie
 
Registered: Jun 2007
Posts: 4

Rep: Reputation: 0
Ubuntu and Intel 4965

I should also point out I had to use the Windows XP drivers from the Intel site rather than the Vista Drivers.
 
Old 06-30-2007, 03:43 AM   #15
tankqj
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kojow7
I should also point out I had to use the Windows XP drivers from the Intel site rather than the Vista Drivers.

SUCCESS!!! I followed the steps for using ndiswrapper and used the XP drivers and it works. I had to completely reinstall my ubuntu but hey there were some bugs that I introduced into it. But now I am happy to inform everyone that I am running Ubuntu wirelessly with Intel's 4965AGN card. Thank you everyone for your help and guidance!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there anyway I can get Intel wifi 4965AGN working with FC6? pytiwari Linux - Laptop and Netbook 5 03-17-2009 11:12 PM
trouble installing Hisse DamnSmallLinux 2 09-06-2006 08:29 AM
trouble with installing chaos_dragon Linux - Newbie 1 10-22-2004 02:38 PM
Trouble Installing 9.2 star geezer Mandriva 4 12-02-2003 08:28 PM
Trouble installing Qt. Manyguns Linux - General 0 04-22-2002 09:24 PM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration