LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 04-30-2008, 06:08 AM   #1
matelang
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Problem with make (Mandriva 2008 on HP dv2040tx)


Hi, I am a trying to configure wireless card Intel 3945ABG on my HP laptop.My kernel version is 2.6.22.9-laptop-1mdv.

Following are the steps I performed :
1. Confirmed mac80211 is working, tried modprobe mac80211 and no error occured.
2. Downloaded iwlwifi-1.2.25.gz and extracted folder in /lib/firmware.
3. And then the error occured as below ---

[root@localhost ~]# cd /lib/firmware/
[root@localhost firmware]# cd iwl
iwlwifi-1.2.25/ iwlwifi-1.2.25.gz iwlwifi-3945-ucode-2.14.1.5/ iwlwifi-3945-ucode-2.14.1.5.gz
[root@localhost firmware]# cd iwlwifi-1.2.25
[root@localhost iwlwifi-1.2.25]# make
bash: make: command not found


4. Then I installed 'make' package from the Mandriva 2008 dvd and tried again. Now this happened.
[root@localhost ~]# cd /lib/firmware/
[root@localhost firmware]# cd iwlwifi-1.2.25
[root@localhost iwlwifi-1.2.25]# make
Kernel Makefile not found at '/lib/modules/2.6.22.9-laptop-1mdv/source'
chmod: cannot access `compatible/*': No such file or directory
/bin/sh: line 2: compatible/kversion: No such file or directory

Makefile has been modified by generate_compatible, please run `make' again

make: *** [compatible/kversion] Error 1


Am I missing here something? Any help is appretiated. Thanks.
If needed, I can paste lsmod result.
 
Old 04-30-2008, 09:50 AM   #2
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia 4
Posts: 741

Rep: Reputation: 35
You don't need to make anything.

Go to MCC, go to Install and Remove software and put in iwlwifi-3945-ucode. That will install the firware and it should just work.

In fact what you downloaded was, I think, the firmware. Did it have a .fw extension what was in the archive? If so, that's all you needs to put in the /lib/firmware directory. Any road up, you the installation file is in the repositories.

Last edited by DiBosco; 04-30-2008 at 09:52 AM.
 
Old 05-01-2008, 08:51 PM   #3
matelang
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Many thanks for the reply, but in add-remove software, I cant find the name iwlwifi-3945-ucode. Does it come with the standard package list?
 
Old 05-02-2008, 04:10 AM   #4
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia 4
Posts: 741

Rep: Reputation: 35
According to my laptop it's in "Non-free (Official2008.1-9)"

I guess if you used One as the install medium it won't be in.

Any road up, have you set up the media manager? Also, have you use this:

http://easyurpmi.zarb.org/old/

This is great for setting up repositories. You might want to set-up the PLF stuff too.

When you get to step three, open a console, go to su, highlight the text in the box on the website below where it says "Type this in a console as root" and click the middle mouse button in the console. This will paste the highlighted text and load up all the extra repositories; when it comes to the last one, you'll need to hit enter.

Once you've done that just type in at the command line (might as well as you're already there):

urpmi wlwifi-3945-ucode

(You can always go back to MCC to add the package if you prefer.)

Hope that makes sense and helps.

Edit, just seen someone say it's in the Contrib repository, which I'm pretty sure you can do from Media manager in MCC.

Last edited by DiBosco; 05-02-2008 at 07:56 AM.
 
  


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
LXer: The Perfect Server - Mandriva 2008 Spring Free (Mandriva 2008.1) LXer Syndicated Linux News 0 04-10-2008 04:10 PM
Cannot make fluxbox default window manager on Mandriva 2008 xainth Linux - Software 2 02-10-2008 09:41 AM
LXer: DistroWatch Weekly: First Look at Mandriva Flash 2008, Gentoo Linux 2008.0 sche LXer Syndicated Linux News 0 01-28-2008 05:30 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 07:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 09:41 PM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration