LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with make (Mandriva 2008 on HP dv2040tx) (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-make-mandriva-2008-on-hp-dv2040tx-638858/)

matelang 04-30-2008 06:08 AM

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.

DiBosco 04-30-2008 09:50 AM

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.

matelang 05-01-2008 08:51 PM

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?

DiBosco 05-02-2008 04:10 AM

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.


All times are GMT -5. The time now is 12:26 AM.