LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-18-2005, 08:32 AM   #1
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Rep: Reputation: 0
linux-wlan-ng make problems


Having real big problems with connecting my mandrake 10.2 system to my wireless network, been trying for a few weeks, searching high and low. I Have a Netgear USB MA111

Tried the ndiswrapper, but had no luck, then tried linux-wlan-ng-0.2.1-pre26, was able to solve some of the problems but got stumped with this error:

Code:
# error output from Linux WLAN ng 0.2.1-pre26
# when make all is executed
#
#

make[2]: Leaving directory `/var/run/linux-wlan-ng-0.2.1-pre26/src/mkmeta'
make[2]: Entering directory `/var/run/linux-wlan-ng-0.2.1-pre26/src/p80211'
if test ! -d /var/run/linux-wlan-ng-0.2.1-pre26/src//.tmp_versions; then \
        if test -d /lib/modules/2.6.11-6mdk/build/.tmp_versions; then \
                cp -rf /lib/modules/2.6.11-6mdk/build/.tmp_versions /var/run/linux-wlan-ng-0.2.1-pre26/src/p80211/../ ; \
        fi ; \
fi
if test ! -e /var/run/linux-wlan-ng-0.2.1-pre26/src/p80211/Module.symvers ; then \
        cp /lib/modules/2.6.11-6mdk/build/Module.symvers /var/run/linux-wlan-ng-0.2.1-pre26/src/p80211/../ ; \
fi
cp: cannot stat `/lib/modules/2.6.11-6mdk/build/Module.symvers': No such file or directory
make[2]: *** [default] Error 1
make[2]: Leaving directory `/var/run/linux-wlan-ng-0.2.1-pre26/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/run/linux-wlan-ng-0.2.1-pre26/src'
make: *** [all] Error 2
[root@mandriva linux-wlan-ng-0.2.1-pre26]#
Couldnt find a solution for that either.

Can anyone help?????
 
Old 07-19-2005, 08:18 AM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
You're missing the kernel-syms package, I think. Installing that and try the make again.
 
Old 07-19-2005, 10:09 AM   #3
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
Would the Kernel-syms package have to match my kernel version - 2.6.11-6mdk ?

actually, forget i said that. Im now downloading an rpm, i'll let you know if that works Cheers

Last edited by eddi; 07-19-2005 at 10:14 AM.
 
Old 07-20-2005, 04:50 AM   #4
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
Found some rpm's but received a few problems, tried some fixes but they didn't want to install. Received this error on the last try...

Some packages requested cannot be installed:
Kernel-syms-2.6.5-7.155.29.src (due to unsatisfied netcfg)

unsatisfied netcfg? Carried on with the install anyway because I didn't know what it meant, went to make all and it again stopped with the same error

Anyideas...?
 
Old 07-20-2005, 08:36 AM   #5
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
Been google-ing all day and found someone having the same problem and a replay which has a similar idea that I found on this forum (can't remember where)

Anyway it went on about compile the kernel, which sounds a little scary to me . The post goes on using this
# cd /usr/src/linux
# make bzImage
# make modules

Would this work, or should I be looking at different ways to re-compile the kernel? Any input would good to hear.
 
Old 07-20-2005, 12:15 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Quote:
Originally posted by eddi
Found some rpm's but received a few problems, tried some fixes but they didn't want to install. Received this error on the last try...

Some packages requested cannot be installed:
Kernel-syms-2.6.5-7.155.29.src (due to unsatisfied netcfg)

unsatisfied netcfg? Carried on with the install anyway because I didn't know what it meant, went to make all and it again stopped with the same error

Anyideas...?
You don't want the source RPM, you want the compiled one. IIRC, Mandrake uses URPMI for updates from a central repository. Have you tried that?

If you have all of the dev tools and kernel source installed (not done by default with Mandrake), you could compile your own RPM.

I found this link, showing a kernel patch for this problem, but it is out of context so I don't know the kernel version involved: http://lwn.net/Articles/81399/

This link documents a fix for the same symptom: http://mandrivausers.org/lofiversion...hp/t22893.html Essentially, they suggest that you compile the kernel from source to create the needed file.
 
Old 07-21-2005, 03:21 AM   #7
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
Got it to work, compiled the kernel but didn't use the make modules_install bit (make/make modules_install/make bzImage/make install), I did however get my Module.symvers file to appear.

So being happy with that, I went over to make all again, and got this error...
Code:
make[3]: Entering directory `/usr/src/linux-2.6.11-6mdk'
  CC [M]  /usr/src/linux-wlan-ng-0.2.1-pre26/src/p80211/p80211mod.o
/bin/sh: ngcc: command not found
make[4]: *** [/usr/src/linux-wlan-ng-0.2.1-pre26/src/p80211/p80211mod.o] Error 127
make[3]: *** [_module_/usr/src/linux-wlan-ng-0.2.1-pre26/src/p80211] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.11-6mdk'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/usr/src/linux-wlan-ng-0.2.1-pre26/src/p80211'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-wlan-ng-0.2.1-pre26/src'
make: *** [all] Error 2
[root@mandriva linux-wlan-ng-0.2.1-pre26]#
I don't understand what it means if I did then maybe I could work on something, trying to Google for it as I type

2Gnu - thank you for those links, very helpful wish I'd found them earlier
 
Old 07-21-2005, 04:15 AM   #8
eddi
LQ Newbie
 
Registered: Feb 2004
Location: England UK
Distribution: RH9 Mandrake 10.2
Posts: 14

Original Poster
Rep: Reputation: 0
Just to keep you up to date,

Done it at last, after following a suggestion of removing the linux-wlan-ng folder I was using, and then untar-ing the original linux-wlan-ng, so that I had a fresh folder, went make config, followed as usual the config setting, hit make all then make install... had no problems.

Woooo

So the process was find the right kernel source that matches that of your own kernel
Compile it with: make/make modules_install/make bzImage/make install (get a cup of coffee and wait a while) - this gives you the Module.symvers
Then put in a fresh folder by untar'ing the lastest linux-wlan-ng
Run the make config

Right all I have to do now is get the USB device seeing the wireless network.

I'll be back lol
 
  


Reply



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
problems with the "make" part, wlan driver hyssing_ Linux - Newbie 7 08-20-2005 04:55 PM
wlan-ng problems (senao/engenius wlan usb adapter) poo bear Linux - Wireless Networking 6 05-05-2004 05:54 PM
linux-wlan-ng problems e1000 Linux - Wireless Networking 1 04-06-2004 05:37 PM
linux-wlan problems! hosk Linux - Wireless Networking 0 10-02-2003 02:52 PM
make all linux-wlan chrismiceli Linux - Wireless Networking 1 11-09-2002 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:48 AM.

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
Open Source Consulting | Domain Registration