Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-19-2004, 12:25 PM
|
#1
|
LQ Newbie
Registered: May 2004
Posts: 20
Rep:
|
Mandrake 9.1 Internet: D-Link AirPlus DWL-G520 wireless PCI Adapter
hey all....
so i've got mandrake up and running on my computer dual boot with win 2k. now the thing is, i have a wireless card, i.e. D-Link AirPlus DWL-G520 wireless PCI Adapter. So how do i get Mandrake 9.1 to recognize this card, and get me on the internet.
I tried this so far: went into network, and selected the wizard option, however when it prompted me to select a network adapter from the list, my card was not in it at all. so at this point, i stopped.
how do I get it to populate the list with my card specifications so i can chose it, and get internet connectivity???
|
|
|
05-19-2004, 12:52 PM
|
#2
|
Member
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67
Rep:
|
Upgrade to Mandrake 10.0. Many of the wireless cards weren't recognized in older versions
of mandrake. The problem is solved for most in Mandrake 10.0
|
|
|
05-19-2004, 01:48 PM
|
#3
|
LQ Newbie
Registered: May 2004
Posts: 20
Original Poster
Rep:
|
is upgrading easy? i just installed mandrake version 9.1 yesterday.
i have a dual boot configuration i.e. Windows 2000 on primary drive and linux on secondary slave drive.
isnt there a work around to upgrading?
will atheros drivers support.
|
|
|
05-21-2004, 04:05 AM
|
#4
|
Member
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67
Rep:
|
Yes, upgrading is very easy. Just insert the CD 1, boot on it, and let the autoinstaller manage everything. It will recognize what you already have and update all your files accordingly. It will not touch/modify your file partionning. (this is how it went for all the PC I have updated ! )
If you don't have the CDs, download it first and burn it.
|
|
|
05-21-2004, 03:51 PM
|
#5
|
LQ Newbie
Registered: May 2004
Posts: 20
Original Poster
Rep:
|
well i wanted to leave out upgrading to version 10 as a last resort.
i've read that if you upgrade to mandrake 10, there will be a mixture of old and new files and as such, some people have said it is better to just perform a clean install i.e. wipe out mandrake 9.1 and install over it version 10.. what are your thoughts. did you come across any problems when you upgraded? or did mandrake 10 recognize all your hardware including the wireless card. remember, i have a D LInk G520 wireless.
btw, i really want to get version 9.2 to work with my current version of mandrake, 9.2.
i've done some research, an it said to install the wirleless tools package for linux. i checked on mandrakelinux.com but i cant seem to locate where the package is. the site shows a listing of packages available from mandrake 9.2, but where does one download it from ? i read you can get it from
freshmeat.org, but will that wireless package work for my version of mandrake !!!!
btw, how do you recompile the kernel, or should say rebuild the kernel?
do you use the make utility???
- thanks.
|
|
|
05-21-2004, 05:01 PM
|
#6
|
Member
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411
Rep:
|
this link has most drivers for d-link http://support.dlink.com/faq
but u may be better looking at the forums networking threads to see if their is anything that can help u in past posts, or maybe posting there
I would imagine u need some type of wifi driver sorry can`t help more specifically but i`m sure there is someone that can :-)
|
|
|
05-28-2004, 06:06 PM
|
#8
|
LQ Newbie
Registered: May 2004
Posts: 20
Original Poster
Rep:
|
Ok, so I upgraded to mandrake version 10.0 official. Now mandrake claims that this version supports a wide range of wifi devices.
so after upgrading, which actually took longer than installation.
(and btw, i should have done a clean install of version 10 instead of upgrading.)
i went to configure my wireless network card which is the D-Link dwl g520.
so it gave a long list of drivers to choose from . so i selected the prism54 driver which some folks have claimed works.
but for me, it didnt. then i chocse the orinoco wireless pci driver, but that didnt work either.
so now question is, which one should i select from the drop down list???
secondly, jw99, can you give me exact directions on how you got it to work for you. i would really appreciate that.
do i need to get the madwifi package? will it be compatible with my kernel version ?? or will i have to recompile me kernel, something that
i dont know jack about !!!!
so help me out guys.
and secondly, on version 10 KDE is no longer working. I get to login prompt, select KDE, login into the system, and after a few seconds and
a blank screen i am redirected back to the login screen. I tried logging in under "linux_old" but that didnt work either.
i havent checked the /var/logs yet?
sorry for the long post. but i reallly want to solve my wireless conectivity issues first. so i dont have to swith b/w windows and linux. i just
wanna go linux all the way. and learn this feakin system inside out.
thanks.
|
|
|
05-28-2004, 11:55 PM
|
#9
|
LQ Newbie
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15
Rep:
|
hey khurrum we've all been there man. I actually just created the exact instructions at the madwifi wiki page, here:
http://madwifiwiki.thewebhost.de/wik...ndDLinkDWLG520
Yes, you will need to download madwifi. This card uses an Atheros chipset, not the Prism chipset, and the Atheros chipset does not yet have full support.... that's what the madwifi project is working on.
You don't have to recompile the kernel, although you do need to install the kernel source code since madwifi will need that to compile itself.
You might want to go ahead and do a clean install of Mandrake 10, since that's what I was doing and it worked well. I actually did this for two computers, and for one of them I screwed up the process and I just decided to start over from scratch. Of course, these were brand new machines anyway and didn't have any files or settings changed on them. So, good luck, and if it doesn't work then try a fresh install of Mandrake 10.
No idea on the KDE failures. I had KDE fail on me on a Mandrake 9.2 machine, and I still haven't got it back working yet. I was using it as a server anyway If I were you I'd just re-install Mandrake 10.... but then that's the "Microsoft Windows User" in me speaking.
|
|
|
05-31-2004, 06:32 PM
|
#10
|
LQ Newbie
Registered: May 2004
Posts: 20
Original Poster
Rep:
|
hey jw99 thanks for the post. !!!
so i performed a clean install of mandrake 10.0.
downloaded wincvs, got the madwifi package. most recent just a couple days newer than then one you got on may 26th.
btw, did you get any errors at all when installing madwifi driver?
i did what your instructions said:
after i ran make install, i got some errors (see output below) so at this point i stopped.
and the other thing, is the file ifcfg-ath0 created by installing the driver, or is it a file that i have to create i.e copy and paste into a file???
also about #9 in your directions: /etc/modules is a directory how do you add "alias ath0 ath_pci" to it? does the alias command take care of it.
here is the output i received after executing, in order, the following: make clean, make and make install (see below). i got errors at the bottom so i decided to stop. did you get any of the errors shown below???
[root@localhost madwifi]# make clean
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make clean); \
done
make[1]: Entering directory `/madwifi/ath_hal'
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -f ah_osdep.c opt_ah.h hal.o
make[1]: Leaving directory `/madwifi/ath_hal'
make[1]: Entering directory `/madwifi/wlan'
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/madwifi/wlan'
make[1]: Entering directory `/madwifi/driver'
rm -f *~ *.o *.ko *.mod.c
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/madwifi/driver'
[root@localhost madwifi]# make
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make); \
done
make[1]: Entering directory `/madwifi/ath_hal'
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/linux/i386-elf.hal.o.uu
uudecode: ./../hal/linux/i386-elf.hal.o.uu: No `end' line
make[1]: *** [hal.o] Error 1
make[1]: Leaving directory `/madwifi/ath_hal'
make[1]: Entering directory `/madwifi/wlan'
make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=/madwifi/wlan modules
make[2]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /madwifi/wlan/if_media.o
CC [M] /madwifi/wlan/rc4.o
CC [M] /madwifi/wlan/if_ieee80211subr.o
/madwifi/wlan/if_ieee80211subr.c: In function `ieee80211_recv_beacon':
/madwifi/wlan/if_ieee80211subr.c:2930: warning: comparison is always false due t o limited range of data type
/madwifi/wlan/if_ieee80211subr.c: At top level:
/madwifi/wlan/if_ieee80211subr.c:2752: warning: `ieee80211_send_tspec' defined b ut not used
CC [M] /madwifi/wlan/if_ieee80211wireless.o
LD [M] /madwifi/wlan/wlan.o
Building modules, stage 2.
MODPOST
CC /madwifi/wlan/wlan.mod.o
LD [M] /madwifi/wlan/wlan.ko
make[2]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make[1]: Leaving directory `/madwifi/wlan'
make[1]: Entering directory `/madwifi/driver'
make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=/madwifi/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /madwifi/driver/if_ath_module.o
/madwifi/driver/if_ath_module.c:39:20: opt_ah.h: No such file or directory
make[3]: *** [/madwifi/driver/if_ath_module.o] Error 1
make[2]: *** [/madwifi/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/madwifi/driver'
make: *** [all] Error 2
[root@localhost madwifi]# make install
for i in ./ath_hal ./wlan ./driver; do \
(cd $i; make install); \
done
make[1]: Entering directory `/madwifi/ath_hal'
uudecode ./../hal/linux/i386-elf.hal.o.uu
uudecode: ./../hal/linux/i386-elf.hal.o.uu: No `end' line
make[1]: *** [hal.o] Error 1
make[1]: Leaving directory `/madwifi/ath_hal'
make[1]: Entering directory `/madwifi/wlan'
make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=/madwifi/wlan modules
make[2]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
test -d //lib/modules/2.6.3-7mdk/net || mkdir -p //lib/modules/2.6.3-7mdk/net
strip -S wlan.ko
cp wlan.ko //lib/modules/2.6.3-7mdk/net
make[1]: Leaving directory `/madwifi/wlan'
make[1]: Entering directory `/madwifi/driver'
make -C /lib/modules/2.6.3-7mdk/build SUBDIRS=/madwifi/driver modules
make[2]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
CC [M] /madwifi/driver/if_ath_module.o
/madwifi/driver/if_ath_module.c:39:20: opt_ah.h: No such file or directory
make[3]: *** [/madwifi/driver/if_ath_module.o] Error 1
make[2]: *** [/madwifi/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/madwifi/driver'
make: *** [install] Error 2
|
|
|
05-31-2004, 07:05 PM
|
#11
|
LQ Newbie
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15
Rep:
|
hmm, no I didn't get those errors. It looks like something might have changed in the CVS.
Try doing this (if the directories are different then you'll have to change them yourself)
ln -s /madwifi/ath_hal/opt_ah.h /madwifi/driver/opt_ah.h
basically what you're doing here is creating a link to the opt_ah.h file (which is in madwifi/ath_hal) from the madwifi/driver directory, since a file there expects to find it there. You could also just copy the file with cp.
let me know if the make fails again...
|
|
|
05-31-2004, 07:06 PM
|
#12
|
LQ Newbie
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15
Rep:
|
btw, you will get some of those warnings and other output, but don't worry about them.... just worry if you get errors at the bottom again.
|
|
|
05-31-2004, 07:27 PM
|
#13
|
LQ Newbie
Registered: May 2004
Posts: 20
Original Poster
Rep:
|
i am missing this file: opt_ah.h
thats what is causing the error when i run "make install"
the way i downloaded the driver is thru wincvs. but for some reason the file opt_ah.h is not in
/hal/linux
and
/ath_hal
by the way, cvs says to hit enter for the password when logging in as anonymous, but when i do so, it fails authentication.
can u please check if you have this file: opt_ah.h
actually can you zip up your entire madwifi driver package and email to me? thanks pal.
*** does the file ifcfg-ath0 get generated of do i have to create it myself?
thanks.
Last edited by khurrum; 06-01-2004 at 08:58 PM.
|
|
|
05-31-2004, 09:52 PM
|
#14
|
LQ Newbie
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15
Rep:
|
ok, I've uploaded the CVS to here:
http://www.wbwither.net/madwifi.4-26-04.tar.gz
And yes you do have to create the file.
And on my system /etc/modules is a file. The file says:
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
alias ath0 ath_pci
|
|
|
06-01-2004, 04:21 PM
|
#15
|
LQ Newbie
Registered: May 2004
Posts: 20
Original Poster
Rep:
|
hey jw99 !!!
thanks for the upload.
so here's where i upto:
downloaded you're wirless package.
installed the driver....didnt get any errors at all. just warnings which i ignored
created the file: ifcfg-athO (with an O right, not zero 0)
added the alias to etc/modules; etc/modules.conf; etc/modprobe.conf
ran depmod.
rebooted my machine. then i opened terminal and typed: ifconfig athO up
and here's what i get repeatedly:
athO: unknown interface: no such device
so this is where i'm at.
shoud i unplug my card from the pci bus slot, stick it back in, boot into linux and then do all of this over again???
FYI: when i select "configure my computer" and choose hardware, under ethernet, it recognizes the card as atheros.
with additional information listed underneath it.
|
|
|
All times are GMT -5. The time now is 01:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|