LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-01-2004, 03:43 PM   #16
jw99
LQ Newbie
 
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15

Rep: Reputation: 0

LOL, it's a 0 (zero) not an O. You should just be able to change all references to that (in modules.conf, etc.) and ifcfg-ath0 and depmod and reboot.
 
Old 06-01-2004, 07:07 PM   #17
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
actually, initially it was zeros, and i was getting the error message "unknown device"

so then i changed it to "O" and still got the same thing.

but maybe I think in the file ifcfg-ath0, for device it was an "O" and not zero, so that would explain why I was getting the
"unknown device" error message, in the first case.

so then, the file name ifcfg-ath0 should have a zero (0) not an "O" and like wise, for the entry
DEVICE=athO in the file, this should also be a zero right?


ok, so here what i gonna do, i'll change it all to zeros, and give it another try (fingers crossed.)

thanks for ur help, i'll post on how it goes.








 
Old 06-01-2004, 07:52 PM   #18
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
ok dokey...
so i changed it all to zeros (0)
and still i am getting the unknown device error when i run: ifconfig ath0 up

however as of today, i am noticing that when linux is in its booting phase and it does its routine check for new hardware, it is seeing the linksys device that i entered as my ssid.

i think i'm almost there...

????
 
Old 06-01-2004, 09:08 PM   #19
archinloaf
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
I got it working

I don't know if this will help anyone but I downloaded the file jw99 posted and just did:

make
make install
reboot

Everything worked. ath0 was enabled at startup and it found my access point and got a DHCP address.

I am running Mandrake 10 Official and have a Proxim Orinoco B/G PCMCIA card.

The only problem I am seeing is connection speed and reliability; speeds bounce around and distance is much less than in Windows.

I have not tried any signal strength settings though. I will post later.

archinloaf
 
Old 06-02-2004, 04:46 AM   #20
jw99
LQ Newbie
 
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by khurrum
ok dokey...
so i changed it all to zeros (0)
and still i am getting the unknown device error when i run: ifconfig ath0 up

however as of today, i am noticing that when linux is in its booting phase and it does its routine check for new hardware, it is seeing the linksys device that i entered as my ssid.

i think i'm almost there...

????
hmm, well I'm stumped man. You chmodded the /etc/sysconfig/network-scripts/ifcfg-ath0 script, right? I'm not sure it would actually change anything if you hadn't, but just thought I'd ask.... when you do ls -l you should have the same permissions as ifcfg-eth0..
 
Old 06-02-2004, 11:46 AM   #21
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
yep i chmodded ifcfcg-ath0 to 755.

i tried executing ifup ath0 and got error that the system could not understand the following:


WIRELESS=yes
WIRELESS-MODE=Managed
WIRELESS-ESSID=linksys
#WIRELESS-ENC-KEY=(your wep key here)
WIRELESS-RATE=54M
WIRELESS-IWPRIV=mode 3
 
Old 06-02-2004, 02:00 PM   #22
jestevan
LQ Newbie
 
Registered: Jun 2004
Location: outside Toronto
Distribution: Mandrake 10.1
Posts: 9

Rep: Reputation: 0
instructions?

Hello all,

I'm in the same situation here, I have the DWL-G520 and trying to get it to work in Mandrakelinux 10.0.

I'm trying to follow along, however jw99 posted the exact instructions at the page:

http://madwifiwiki.thewebhost.de/wi...AndDLinkDWLG520

But that page is no longer up and I was wondering if anyone made a copy or knows how to get the page back up?

Thanks.
 
Old 06-02-2004, 03:09 PM   #23
jw99
LQ Newbie
 
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15

Rep: Reputation: 0
Hey,

I've noticed the site was down too. :( It's too bad, there's a lot of info there, I'm sure a lot of people are having trouble getting their atheros chipset cards working without the wiki there. Anyway, here's a barebones copy of it... it's not as cleaned up as the version on the wiki, but all the steps ought to be there!

#install linux kernel source from CD;

urpmi kernel-source

#retreive driver source:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi

#install wireless tools:

urpmi libiw wireless-tools

#create necessary link:

ln -s /usr/src/linux-2.6.3-7mdk/ /lib/modules/2.6.3-7mdk/build

#install madwifi

cd madwifi
make clean
make
make install

#create /etc/sysconfig/network-scripts/ifcfg-ath0:

STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
WIRELESS=yes
WIRELESS_MODE=Managed
WIRELESS_ESSID=(ssid)
# WIRELESS_ENC_KEY=xxxxxx-your-key-here-xxxxx
WIRELESS_RATE=54M
WIRELESS_RTS=''
WIRELESS_FRAG=''
# WIRELESS_IWCONFIG=ap xx:xx:xx:xx:xx:xx
WIRELESS_IWSPY=''
WIRELESS_IWPRIV=mode 3
MII_NOT_SUPPORTED=yes

#change permissions on ifcfg-ath0

chmod 755 ifcfg-ath0

#put into /etc/modules.conf and /etc/modules and /etc/modprobe.conf:

alias ath0 ath_pci

#run depmod

depmod

Last edited by jw99; 06-02-2004 at 03:44 PM.
 
Old 06-02-2004, 06:18 PM   #24
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
well now i'm stumped too !!!!.

mandrake is still not recognizing my card when i issue
"ifconfig ath0 up"

says unknown interface.

i checked the boot.log and it says: activate device: ath0 successful.

so in that case, the command "ifconfig ath0 up" should've worked.

btw, ssid refers to the name of your wireless network right?
so if its linksys, then ssid=linksys else netgear ssid=netgear
correct?


at this point, all i can do this blow out the partition on my drive where mandrake is installed, do a fresh install, and try the process over.
but i want to leave it out as the last last resort.








Last edited by khurrum; 06-02-2004 at 06:21 PM.
 
Old 06-02-2004, 06:25 PM   #25
jw99
LQ Newbie
 
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15

Rep: Reputation: 0
yes, ssid is the name of your wireless network. It's a good idea to change it from what comes with your router! It doesn't matter what you call it, just something other than "wireless" or "netgear" or "linksys" if you want some security for your wireless network.
 
Old 06-03-2004, 01:07 PM   #26
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
well, right now i've got ssid=linksys, which is the name of my wirless network.
i mean if you use a different name i.e. myhome, for example, will linux be able to recognize it?

well, still no luck here.
 
Old 06-04-2004, 07:37 PM   #27
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
has anyone got this card working on a dual boot system where windows is on the primary drive, and linux is on slave drive.
i dont think this should make any difference whether it is done on a standalone machine or dual boot.
but i'd still like to know.

mine is a dualboot setup: win2k on primary drive, and mandrake linux on slave drive.
now for some reason, i cant figure out why, linux does not recognize the ath0 as a device.????
when i issue the following command:
ifup ath0 - i get an error saying the device ath0 is an unknown device.
ifconfig ath0 up - gives message: no such device

linux is just not seeing the device ath0 at all? anyone know why?
i mean i got the madwifi package compiled, did the other configuration. everthing goes smoothly uptil the point where i issue ifconfig.
is there a command that i can issue, which will tell me all the hardware devices on my system? i know you can go thru mandrake control center but that doesnt give me alot of info.


hey archinloaf,
if you dont mind, can you please document you're procedure as a post to this thread.
pls tell us what OS you were running i.e dual booting with windows 2000 or did you perform a standalone linux installation.

in the case of jw99, it was a standalone linux install i believe.
 
Old 06-04-2004, 09:28 PM   #28
jw99
LQ Newbie
 
Registered: May 2004
Location: Texas
Distribution: Mandrake 10, FreeBSD
Posts: 15

Rep: Reputation: 0
you're right, I was using a fresh install of Mdk10, no dual-boot. I don't think it'd make any difference really. Especially since you have a whole drive for linux.

One thing that might be worth checking is that your BIOS has the setting "Plug and Play OS" set to no or disabled. Also try setting any power management settings to disabled.

Also, regarding your question on the ssid... it's mostly a security thing for your wireless network. If you change the ssid on your access point or router, and also set your router or ap to "broadcast ssid off" then other people won't be able to just walk up and connect to your network without knowing the ssid. So it matters if you want to keep others from accessing your network.

In the Mandrake Control Center you can see the connected hardware devices. I could still see the wireless card there before I got it working. It even said "Atheros wireless pci card" or something.... it could read the id string of the card, but without drivers it couldn't do anything with it.

good luck!
 
Old 06-04-2004, 09:44 PM   #29
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
jw99-


"In the Mandrake Control Center you can see the connected hardware devices. I could still see the wireless card there before I got it working. It even said "Atheros wireless pci card" or something.... it could read the id string of the card, but without drivers it couldn't do anything with it."


I get exact samething as well when i go into Mandrake Control Center. it recognizes my card as "Atheros wireless pci card" plus other details are also listed as well.
well i'll double check my bios settings and any power management settings.
 
Old 06-06-2004, 04:40 PM   #30
khurrum
LQ Newbie
 
Registered: May 2004
Posts: 20

Original Poster
Rep: Reputation: 0
jw99,

can u tell me what the contents of the following directory on your system are: /lib/modules/2.6.3-7mdk/net
i believe they should be: lwan.ko, ath_hal.ko, ath_pci.ko correct???

my problem which i might have somewhat identified, is that when i build madwifi, the driver ath_hal is not created.
(i get: error #1: no end of line and it points to a c file.)

ideally, when you build the /lib/modules/<kernel number>/net directory should have all 3 drivers listed above.
however, mine only has two i.e. wlan and ath_pci. i'm missing ath_hal which is the reason why i cant get my card working.
i think this may have to do with my kernel source. btw, what is the path to the kernel source??? and does this version of mandrake use: /usr/local/bin or just /usr/bin/????


i dont know if this wiil work, but can you please upload these files to your website, where you uploaded the madwifi package.
if i copy yours to my lib/modules/<kernel>/net directory i might get it to work???

-k
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing the D-Link AirPlus G DWL-G122 Wireless USB Adapter on SuSE 9.2 SuSE starter Linux - Wireless Networking 28 02-05-2006 02:27 PM
D-link DWL-510 PCI Wireless Adapter superdude_876 Linux - Hardware 3 10-27-2005 01:26 AM
D-Link DWL-G520 wireless card question linuxrobot Linux - Hardware 7 07-09-2005 10:55 PM
D-Link DWL-520+ Wireless PCI adapter timmytytim Linux - Hardware 1 12-26-2004 12:58 PM
D-Link Airplus Pci Adapter and Suse 9.0 joshsterm Linux - Wireless Networking 1 02-14-2004 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:10 PM.

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