Jump to content

Massive networking issues [SOLVED]


Kellwolf
 Share

Recommended Posts

If you're using a Mandrake kernel, you have the support. Before you can build the driver, you need the kernel source installed:

 

urpmi kernel-source-2.6

 

The wife here, again. Bonzai! That worked. One thing, though:

 

cp net/80211/* /lib/modules/`uname -r`/kernel/drivers/net/wireless

 

There is no slash between net and 80211. Leaving the slash in gets the error

 

cp: cannot stat 'net/80211/*': no such file or directory.

 

Taking the slash out gives

 

cp: omitting directory 'net80211/CVS'

cp: omitting directory 'net80211/linux'

 

So far so good, but when I get to modprobe ath_pci, I get the following:

 

FATAL. Error inserting ath.pci (/lib/modules/2.6.8.1-12 mdk/kernel/drivers/met/wireless/ath_pci.ko): unknown symbol in module, or unknown parameter (see dmesg)

 

Dmesg starts with

ISO 9660 Extensions: Microsoft Joliet Level 3

 

[goes on for a few lines]

 

ath_hal: module license 'Proprietary' taints kernel.

ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)

wlan: 0.8.4.5 (EXPERIMENTAL)

ath_pci: Unknown symbol ath_rate_tx_complete

ath_pci: Unknown symbol ath_rate_attach

ath_pci: Unknown symbol ath_rate_newassoc

ath_pci: Unknown symbol ath_rate_node_copy

ath_pci: Unknown symbol ath_rate_node_cleanup

ath_pci: Unknown symbol ath_rate_detach

ath_pci: Unknown symbol ath_rate_node_init

ath_pci: Unknown symbol ath_rate_findrate

ath_pci: Unknown symbol ath_rate_newstate

ath_pci: Unknown symbol ath_rate_setupxtxdesc

 

I'm running through the FAQs I have pulled up, but if you happen to know an answer right off I'd love to hear it. :)

 

BTW, there was much rejoicing when the urpmi kernel command worked, and even more rejoicing when making madwifi worked. Huge party at the Castle Anthrax. ;)

Link to comment
Share on other sites

Did you do depmod -a before trying to modprobe? If so, try modprobe those modules in a different order. One thing, though, is from what I remember when I had an atheros card was I had to cp wlan/wlan.ko over, too, but it doesn't seem to be present here when I do 'make' (see if it's there on your system), because it seems like I was supposed to modprobe wlan beofer ath_pci. I'll keep n the lookout for you for you a good source if this driver if this is reall y the problem, but tonight I've had a little too much fun with my friends to really be any help right now.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

I'm winging it here, but isince you get errors with ath_rate_*, try this. cd to the madwifi directory again and

 

make clean

 

and then, following these instructions from the README:

Madwifi currently provides two different rate control algorithms,

ONOE and AMRR. ONOE is used by default. In order to make madwifi

use AMRR instead, you have to specify that via the ATH_RATE

environment variable; e.g.

 

trouble% export ATH_RATE=ath_rate/amrr

trouble% make

 

export ATH_RATE=ath_rate/amrr

make

 

then do all the 'cp whatever' commands I have above and try to modprobe. This is only a guess, like I said, since the madwifi pkg seems to have changed since I used it.

Edited by Steve Scrimpshire
Link to comment
Share on other sites

Tried all of the above, but we're still getting the same error. I tried

 

modprobe wlan

 

and that appeared to work, but ath_pci still refuses to cooperate. When running lsmod, it shows wlan and ath_hal running.

 

The madwifi directory is currently sitting on the desktop for Kell. Potential newbie error, should it be moved somewhere else? If that's been the problem the entire time I'll feel like a dumbass but at least I will have learned something.

 

Hope you're sufficiently recovered from your evening. ;) :sick2:

Link to comment
Share on other sites

Okay, I found this in the Madwifi FAQ :

 

8.4. The drivers compile fine, but I get "unresolved symbol" errors on modprobe

 

This generally means that your kernel was built with CONFIG_MODVERSIONS set, but the madwifi modules got compiled with different options. Rebuild your kernel with it disabled, hopefully that will fix it.

 

Also make sure you have CONFIG_NET_WIRELESS=y in your .config.

 

Think that might have anything to do with it? I'm guessing that the .config file referred to is the one in the /boot directory. If so, then it does say this:

 

#

# Prism, GT/Duette 802.11(a/b/g) PCI/Cardbus support

#

CONFIG_PRISM54=m

CONFIG_NET_WIRELESS=y

 

Not sure if that's what they mean or not. When it says "rebuild your kernel" is that what the urpmi command does?

 

BTW, I did manage to do something on my own. I fixed the DVD problem by installing libdvdcss. I actually managed to install it on my own, so I guess that's a little progress. :)

Edited by Kellwolf
Link to comment
Share on other sites

That's not gonna be the problem. I think it is either:

 

(a) Not compiling against the right kernel source (look in /usr/src for all your linux* directories and tell me what's there)

(b) You need to update module-init-tools

© I'm stuck...

|

|

hmmm...that's odd, I disabled emoticons in the post and still it translates ( c ) as ©

must be a firefox thing

Edited by Steve Scrimpshire
Link to comment
Share on other sites

(a) Not compiling against the right kernel source (look in /usr/src for all your linux* directories and tell me what's there)

 

Ok. linux-2.6.8.1-12mdk is the only directory there.

 

(B) You need to update module-init-tools

 

Only two files there, which is in /lib/module-init-tools

modprobe.compat

modprobe.default

 

Can't seem to find a version number, although google is pointing me to various places with m-i-t-3 and -3.1 and -3.2, as well as tools-testsuite. Continuing to look through the results there after posting this.

Edited by Kellwolf
Link to comment
Share on other sites

Try this as root:

 

cd /usr/src

ln -s linux-2.6.8.1-12mdk linux

 

 

Then go back to your wifi directory and follow these instructions:

http://mandrakeusers.org/index.php?showtop...ndpost&p=170042

module-init-tools is not going to be a directory, it is a pkg:

 

urpmi module-init-tools

Edited by Steve Scrimpshire
Link to comment
Share on other sites

cd /usr/src

ln -s linux-2.6.8.1-12mdk linux

 

Got that and the linux@ file is there.

 

Then go back to your wifi directory and follow these instructions:

http://mandrakeusers.org/index.php?showtop...ndpost&p=170042

 

Same error as before on modprobe ath_pci

 

I think if I can just get this one part running, it's all downhill from here.

 

module-init-tools is not going to be a directory, it is a pkg:

 

urpmi module-init-tools

 

Did this just to make sure and it said "everything already installed."

Edited by Kellwolf
Link to comment
Share on other sites

Unfortunately, that means that ( c ) holds true and I'm stumped. Try googling for your errors on http://google.com/linux

I haven't scanned through all the search results.

 

 

Yeah, I was afraid of that. I did a Google search earlier, and I stumbled across people in multiple languages that have had the same (and different) errors. I've tried a couple of differnet fixes (such as putting the alias ath0 line in the .config file and adding the ifconfig-ath0 file in network-scripts) but none of them worked.

 

I really appreciate all of your help and work, and if you do manage to think of something, please let me know. If I someone manage to get it fixed on my own, I'll put the solution up here.

Link to comment
Share on other sites

Okay, now EVERYTHING works. With a great deal of help from Steve, I got the wired port up and running. I managed to stumble through my DVD problem on my own, so that's fixed. The wireless is now working, but not with madwifi. Turns out that ndiswrapper is a better solution for D-Link DWL-G630 cards. Look some tweaking, but it's all running now.

 

A HUGE thank you to Steve and sherpa in the IRC chat for all of your help. Couldn't have done it with out either of you.

Link to comment
Share on other sites

  • 2 months later...

Hi Steve:

 

I hope you're still following this post.

 

I have 10.1 Download, and having heard that it doesn't include madwifi, I can't do what you've said, but i have some advance questions:

 

1. When you add Source, does it create a madwifi directory, or is madwifi there only in the Official 10.1?

 

2. Is it actually in /?.

 

3. if it's NOT there at all, how do I get the mdk-blessed version, and

 

4. is it still 0.9?

 

Thanks,

 

BD2K :thanks:

 

If you're using a Mandrake kernel, you have the support. Before you can build the driver, you need the kernel source installed:

 

urpmi kernel-source-2.6

 

cd madwifi

make

cp ath/ath_pci.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless

cp ath_hal/ath_hal.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless

cp net/80211/* /lib/modules/`uname -r`/kernel/drivers/net/wireless

depmod -a

modprobe ath_pci

 

Read the README file in the madwifi directory for more help that you should be able to follow.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...