Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mawifi-driver for D-Link DWL-G520 wireless card emerge error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
K-Dawg
Apprentice
Apprentice


Joined: 06 Jan 2004
Posts: 186
Location: Denver, Colorado

PostPosted: Fri May 28, 2004 8:31 pm    Post subject: mawifi-driver for D-Link DWL-G520 wireless card emerge error Reply with quote

Hi fellow gentooers, I have a quick question for ya. I had previously had my D-Link DWL-G520 PCI wireless g card in my server but decided that the wireless signal just wasn't stable enough for me (sig drops I am guessing from my POS WRT54G linksys router, cause I have to reset the channel every day or 2 and the card immediately recognizes the AP again) so I went back to a hard wire into 10/100 NIC again like I should have stayed in the first place on a server :). Anyways now I went to move this wireless card to my workstation running KDE 3.2.2 and I have emerged wireless-tools but when I go to emerge madwifi-driver it tells me it is masked to which I apply an ACCEPT_KEYWORDS="~x86" emerge madwifi-driver command, portage starts to compile the pkg and then dies shortly thereafter :) w/ the following error:


!!! ERROR: net-wireless/madwifi-driver-0.1_pre20040514
failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY - --------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_madwifi-driver -0.1_pre20040514-13677.log"

open_wr: /usr/src/linux-2.6.3-gentoo-r1/.tmp_version s/ath_hal.mod
open_wr: /usr/src/linux-2.6.3-gentoo-r1/.tmp_version s/wlan.mod
open_wr: /usr/src/linux-2.6.3-gentoo-r1/.tmp_version s/ath_pci.mod
------------------------------------------------------ --------------------------

that is the last part of the error, can someone please help me out here or point me in the right direction. When I emerged this package on my server it went flawless.
Back to top
View user's profile Send private message
K-Dawg
Apprentice
Apprentice


Joined: 06 Jan 2004
Posts: 186
Location: Denver, Colorado

PostPosted: Fri May 28, 2004 10:46 pm    Post subject: Reply with quote

BUMP :) Come on gentoo guru's what is going on here? Could someone please assist me w/ a resolution
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jun 01, 2004 8:30 am    Post subject: Reply with quote

I can't fix your error, but I can tell you that the current CVS version is miles better than the one in portage.

I suggest you get the CVS version and compile it by hand.
http://www.mattfoster.clara.co.uk/madwifi-faq.htm#get
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
K-Dawg
Apprentice
Apprentice


Joined: 06 Jan 2004
Posts: 186
Location: Denver, Colorado

PostPosted: Tue Jun 01, 2004 9:41 am    Post subject: Reply with quote

Thanks for the reply UberLord, I was starting to get worried that the gentoo community was gonna leave me in the dark on this one.

Well I got the madwifi-driver emerged w/ some sandbox disabling and manipulation (FEATURES="-sandbox -userpriv") but now I am still having issues.

Still dont know what the problem is, I had no issues whatsoever the first time i emerged the madwifi-driver and it worked almost flawlessly w/ this D-Link card in another machine. Now it just keeps hoppin channels, as in I will manually set it w/ iwconfig ath0 channel 1 or 6 or 11 and the essid and it will lock on or a few second onto that frequency and then drop off. I can ping the card, it shows 1 mbps which I cant seems to set to anything else (does iwconfig ath0 rate 54M or 54MB make a difference cause I was doing the first :(?. In any case for now I have unmerged these drivers and was thinkin abt goin the linux-wlan-ng way or is this a bad idea? Or will the prism54 or prism2/2.5/3 work for me (I dont believe so but hey it's worth asking since you are kinda a wireless guru :) ) Or should I just all in all go w/ your option and scripts?

Sorry to flood you w/ all these questions but I would really like to get this running properly again

DAMN I MISS MY ORINOCO CARD AND THE SIMPLICITY OF IT :)

Edit: Looks like from other research that the linux-wlan-ng is definently NOT the way to go and is not supported under 2.6 kernel series which I use
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Jun 01, 2004 11:26 am    Post subject: Reply with quote

K-Dawg wrote:

Well I got the madwifi-driver emerged w/ some sandbox disabling and manipulation (FEATURES="-sandbox -userpriv") but now I am still having issues.

Still dont know what the problem is, I had no issues whatsoever the first time i emerged the madwifi-driver and it worked almost flawlessly w/ this D-Link card in another machine. Now it just keeps hoppin channels, as in I will manually set it w/ iwconfig ath0 channel 1 or 6 or 11 and the essid and it will lock on or a few second onto that frequency and then drop off.


I think my card was doing the same thing with the current portage version. I cannot stress that getting the current CVS version will probably fix this for you.

Quote:

Or should I just all in all go w/ your option and scripts?


Seeing as my main development machine uses the madwifi driver, I think my ebuild will certainly work for your stuff ;)

Quote:

Sorry to flood you w/ all these questions but I would really like to get this running properly again

DAMN I MISS MY ORINOCO CARD AND THE SIMPLICITY OF IT :)

Edit: Looks like from other research that the linux-wlan-ng is definently NOT the way to go and is not supported under 2.6 kernel series which I use


I dunno - the orinoco was simple purely because it's contained within the kernel. However, it doesn't support monitor or scan modes unless you patch it - but the patch is very flaky with current 2.6 kernels :(
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum