ATMEL wireless pcmf502rd driver no longer n distro


Forum: Networking
Topic: ATMEL wireless pcmf502rd driver no longer n distro
started by: lycanthrope

Posted by lycanthrope on Dec. 28 2004,05:07
The ATMEL wireless pcmf502rd driver is no longer in the DSL distro.  I've successfully used an earlier version of the distro that automatically recognized and loaded the driver for my wireless card.  All i had to do configure the WEP, etc.  The current distro recognizes my card and it's driver, and attempts to modprobe load it, and fails.  
I assume that the driver is missing on purpose???
How can I add this driver back into the current distro so that I can  use my wireless card?  
I currently boot DSL on my laptop from  cdrom -- for familial reasons, i have to keep the hardrive devoted to windows 98.
Thanks..

Posted by tronik on Dec. 28 2004,15:26
Hello,

If you tell me which driver it is, I'll be happy to remaster DSL for you and make it available to download (with your driver module included), and a 2.4.27 kernel if you wish, just let me know which driver it is and we'll get to work on it ;)

OTHERWISE, you can simply procure the driver, and you might be able to modprobe it from the command line without it actually being in the modules directory...

Let me know!

Posted by lycanthrope on Dec. 28 2004,18:39
The missing driver is pcmf502rd.o --- part of the atmelwlandriver group of drivers for the atmel chipset.  http://sourceforge.net/projects/atmelwlandriver/
this distro -> Linux box 2.4.22-xfs #1 SMP Fr Sep 19 17:55:45 CEST i586 unknown
recognized and loaded the driver automatically.
Here is the lsmod for the working distro
Module                  Size  Used by    Not tainted
pcmf502rd              72032   1
soundcore               3428   0 (autoclean)
mousedev                3832   0 (unused)
hid                    21380   0 (unused)
input                   3168   0 [mousedev hid]
af_packet              13448   1 (autoclean)
nls_iso8859-1           2876   0 (autoclean)
nls_cp437               4380   0 (autoclean)
serial                 52004   0 (autoclean)
usb-storage            60960   0
usb-ohci               18184   0 (unused)
usbcore                57472   1 [hid usb-storage usb-ohci]
ds                      6536   2 [pcmf502rd]
yenta_socket            9408   2
pcmcia_core            39712   0 [pcmf502rd ds yenta_socket]
apm                     9768   1
rtc                     6940   0 (autoclean)
cloop                   8068   2

Thanks for the help.  

reid

Posted by dexdex on Feb. 21 2005,16:57
I need this driver too but i dont know how i can install it please help me. I have the belkin F5D6020 ver.2 wlan card and in /etc/pcmcia/atmel.conf  there is the lind bind "pcmf502rd" but this file is missing in /lib/module/pcmcia/.....

can you give me a step by step solution? I have a working internet connection an the belkin wlan card is the second card beyond a working ethernet card.

Posted by cbagger01 on Feb. 21 2005,18:49
If it was originally included, my advice would be to download KNOPPIX 3.4 dated 5-17-2004 and then copy the driver file over to you DSL installation.

Then make a *.dsl extension so that it can be re-used by others.

Posted by dexdex on Feb. 22 2005,11:05
Well, i foud a knoppix 3.4 iso file, but the driver doesn't exist there (i boot from 3.4 cd-rom). I tried to make the driver but when i come to "make config"  dsl tells me something about problems in terminal size. please can you make a dsl for atmelwlandriver.
Posted by tempestuous on Feb. 22 2005,12:47
I offered some advice in a more recent post to someone needing help with an Atmel chip, and have just discovered this one.  Now I have just checked my older DSL CD's to see if the atmelwlandriver is there ... and yes, there it is.  So I offer the following -

The atmel drivers are in the versions of DSL based on the 2.4.22-xfs kernel - pre 0.8.0 (I think).  The relevant files are found in /lib/modules/2.4.22-xfs/pcmcia/...
pcmf502r.o
pcmf502r3.o
pcmf502rd.o
pcmf502re.o
pcmf504.o

You could try to just copy these files into a remastered version of DSL from 0.8.0 - 0.9.3 ... but device drivers can be kernel-specific.  You might get an error message something like "this module was compiled for another kernel version".  If so, the atmelwlandriver will need to be compiled in Knoppix 3.4, which has the 2.4.26 kernel.

Posted by dexdex on Feb. 22 2005,14:53
And how do i do that? Compiling the driver? I copied the driverfiles and the massage appear mismatch kernel bla bla bla  ... for the wlan card. and another question when i boot my 0.9.3 dsl there ist kernel 2.4.27.
Posted by cbagger01 on Feb. 22 2005,17:28
Hmm..

If you need the right kernel version, try downloading DSL version 0.7.3

Posted by tempestuous on Feb. 23 2005,00:48
Sorry, I assumed DSL's kernel was still 2.4.26.  So you will need the latest Knoppix 3.7.  You should be able to run Knoppix from live CD to do the compile.
Alternatively, it might be possible to do the compile in DSL with gnu-utils.dsl (build tools) installed.  I'm not sure ... the atmel driver compile requires kernel headers too.  Knoppix is the safe bet.
Follow the download link at < http://atmelwlandriver.sourceforge.net/news.html > to get the source code.  Unpack the tarball (tar jxvf) and change dir to atmelwlandriver.  The very thorough instructions are then in the README file, including how to recompile the kernel - avoid this, but all you should need to do is at root prompt -
make config
make all
make install

Then copy the freshly made files from /lib/modules/2.4.27/ across to your DSL installation.  You should possibly also copy /etc/pcmcia/atmel.conf, because the existing version in DSL may be wrong.
Craig S

Posted by MAGAT on Mar. 24 2005,08:50
DSL's kernel ==>2.4.26
and knoppix 3.7 ==>2.4.27

it's possible to recompile the atmel drivers with knoppix
although the  kernel was differents..

vincent

Posted by dexdex on April 14 2005,09:22
Yepee, finally it works!

PCMCIA Belkin F5D6020 version 2 card:

I used the atmelwlandriver 2.1.2.2 version. the newer versions seems not to work (at least on my mitac 5024 laptop). the driver is  teh pcmf502re.o

Posted by Damianiw on April 19 2005,08:13
Hi I'm really new to linux

I've got a 3com wireless card that I've identified as needing this atmel driver.

In really easy to understand noob steps, what do I need to do to add this to MyDSL ?

I've tried the make command, but it isn't found, I'm guessing I need the GNU utils.dsl so I'm getting that

I'd like the wireless to load at boot time, any help appreciated  :D

Posted by dexdex on April 19 2005,12:23
i think you will need the gcc as well (i did it over knoppix 3.4 and copied the driver fiel to the dsl machine)

1. download the atmeldriver pack here < http://sourceforge.net/project/showfiles.php?group_id=59001 >
hte latest driver pack didnt work with my belkin so i took ver 2.1.2.2. an d this version should work with your card too

2. unpack the package and enter the the atmeldriver directory, there you put the command:
******************************
su
make config
******************************
it should appear like this:
******************************
Build all [y/N] : n
Set extra module version information [y/N] : n
Build Debug version [y/N] : n
Build USB Drivers [y/N] :
=> Build PCMCIA Drivers [y/N] :
Build PCMCIA rfmd Driver [y/N] :n
Build PCMCIA 3COM Driver [y/N] :y
=> Build PCMCIA rfmd revision d Driver [y/N] : n
=> Build PCMCIA rfmd revision e Driver [y/N] : n
Build PCMCIA 504 Driver [y/N] :n
Build miniPCI Driver [y/N] :n
Build applications [y/N] :n
***********************
The lines are different with the atmelversion but you should only install your 3com driver (usb or pcmcia whatever you have)

The you enter the command:
***********************
make clean
make all
make install
***********************
Then the driver should be installed and you can reboot your machine
After rebooting test if your card is there
*************************
su
iwconfig
************************
if your card appear type
********************
netcardconfig
********************
to setup the ip and the wlan configuration

Posted by damianiw on April 20 2005,19:29
Thanks I'll give that a go,

being really new to this, do I need to remaster the cd or something or can I specify something in the filelist that gets backed up otherwise it won't be there when I reboot will it ?

If I need to do that what should i do ?

by the look of it the file is in the net bind when it configures the card but it says it cannot find the file (ends .o) so it'snot on the Cd, so could I just build this, then copy the relevant .o file that's missing across and then include this in the backup file list ?

DSL is amazingly fast !

Posted by damianiw on April 20 2005,23:11
Hi I tried this but when i run make config I get the following errors:

error could not get terminal size

xwindows include files missing
grep /.config no such file or directory

it then prompts me for root dir of external pcmcia

if it point it to /etc/pcmcia I get another error

/etc/pcmcia dir /include does not exist

if i try to continue by running make clean then make all then make install i get a final error of:

depmod: Can't open /lib/modules/2.4.26/modules.dep for writing

I'm way out of my water here !

Posted by damianiw on May 14 2005,07:17
I think I may have DL the wrong version of knoppix, will give this a go, then can i test without recompiling mydsl ?

I'd guess recompiling will be my best option once it works, if I'm doing this I'd like to update firefox, is there an easy way to update it, I've seen a few .dsl's but it seems to be at least 20MB did it really bloat that much ?

Posted by cbagger01 on May 14 2005,23:29
The correct version of knoppix is:

knoppix-3.4-5-17-2004

Posted by damianiw on May 16 2005,20:01
Can anyone give me a mirror / working torrent for this version of knoppix ?

or even better the missing files as a dsl extension  :laugh:

Posted by Kevin on June 12 2005,05:17
I've been reading these posts regarding 3Com OfficeConnect PCMCIA card and DSL.  

I have the same problem with the can't get window size when compiling atmel on DSL. So I got the correct version of Knoppix, burnt to a CD, then tried it again.

I found that when the atmel make config asks for external pcmcia directory, it wants the path to the kernel source (/KNOPPIX/usr/src/linux-2.4.26 on a knoppix LiveCD).  However, when I boot to the LiveCD and run the make install, it barks about the target being read only...duh, it's a CD.

How do I get around this?  Has anyone made a .dsl file of a working one yet?  I'm actually thinking of doing a knoppix install on a box just to get this damnsmall-file for damnsmalllinux  This issue has been the center of my universe for days now...I need to finish this so I can sleep at night.    :angry:

Posted by tempestuous on June 12 2005,12:12
damianiw and Kevin,
You need Knoppix 3.4 installed to hard drive.
Kevin, you're right, when the configuration asks for "root dir of external pcmcia:" the correct answer is /usr/src/linux-2.4.26 - this is the Knoppix kernel source - but it's missing.  You need to get it separately from < http://developer.linuxtag.net/knoppix/i386/ >
I already have Knoppix3.4+kernel source installed, so I tried it just now, with the latest atmelwlandriver source - 3.4.1.0.  I got many errors - I think the usb versions and utilities failed, but the pcmcia drivers compiled OK.  The compilation also produced an updated configuration file - /etc/pcmcia/atmel.conf
So here's what I have, they're each about 110KB -

pcmf502r          (rfmd)
pcmf502rd        (rfmd revision d)
pcmf502re        (rfmd revision e)
pcmf502r3        (3COM)
pcmf504
pcmf504_2958
pcmf504A_2958

If you want to avoid this process yourselves, email me and tell me which version you want.
Craig S

Posted by damianiw on July 19 2005,21:19
This isn't as easy as it first seemed, apparantly the xjack version of the card is a different one ! Guess which one I have !!

Thanks to the help of someone here I got the driver to install but my card isn't recognised - so back to google....

I found this site: < Site >

< http://www.linuxquestions.org/questions/showthread.php?postid=208340 >

Which mentions a hacked driver to support the xjack, unfortunately the link to it is dead but I found it elsewhere:

< http://www.xs4all.nl/~bvermeul/swallow/ >

or link to driver I'm trying:

< http://www.xs4all.nl/~bvermeul/swallow/poldhu-0.2.13.tar.gz >

and the author has implemented support for the xjack an 128bit WEP under kernel 2.4+ (so if my now ever increasing linux skills are correct) it should compile for DSL !

I tried with my freshly installed hd install but failed, I did download and add the GNU-Utils, Kernel Source, and GCC for DSL, i worked out i had to edit the config.mk inside the package and point it to my kernel src, which I hoped would be the last step...

however I now get the following error when trying make all or indeed make install:
Code Sample

set -e; for d in clients config  ; do make -C $d; done
make[1]: Entering directory `/usr/src/poldhu/clients'
cc -D -MD -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -D  -D -DMODULE -I/usr/src/linux/include -Imake config/include  -I/usr/src/linux/arch/i386/mach-generic  -c poldhu.c
make[1]: Leaving directory `/usr/src/poldhu/clients'
make[1]: cc : Command not found


now trying my friend google again this seems to say I need GCC (which I have) and libc6-dev ????

I'm way out of my depth but still determined to work out how to get my card to work as I like it !

I'd love to be able to return something to the community here - a DSL for this to save others the hideous process  :D

Posted by damianiw on July 19 2005,22:30
Still thinking on this, I now understand that I'll need to get knoppix 3.4 and try compiling with that, any mirrors anywhere ? I found a japanese version but that's no use to me !!

however I've also noticed that the atmel drivers I was given have no listing in the modules.pcimap so maybe the driver would work if I hack about with the modules.pcimap !

Posted by pinguino on Oct. 05 2005,07:49
Hi guys

my Belkin F5D6020 ver 2 worked out of the box for DSL 0.6.
I am having trouble with DSL 1.5.
1) do you have a link for knoppix 3.4?
2) I have tryed to recompile the atmel driver within dsl 1.5. Downloaded gcc (version for 0.8) and the kernel source (on /tmp) but was unable to compile successfully according to

< http://www.houseofcraig.net/atmel_guide.php >

failing on ls /lib/modules/`uname -r`/build/Makefile

3) if it is just a question of having pcmf502re.o compiled with kernel 2.4.26 in the pcmcia directory and someone has done that could you kindly send it too me.

Many thanks

Pinguino

Posted by tempestuous on Oct. 05 2005,09:12
I compiled the atmelwlan drivers and made a mydsl package, which you can download here -
< http://distro.ibiblio.org/pub....ers.dsl >

Posted by pinguino on Oct. 05 2005,09:55
Dear Tempestuous

many thanks for the atmelwlandriver.dsl I have just downloaded and your prompt reply.
Could you please drop few lines explaining how to use the atmelwlandriver.dsl.
Do I need to tar or to place it in a particular directory?
I suppose I am not quite sure I know what I am doing but hope this could help someone else in this fantastic DSL comunity.

Regards

Pinguino

Posted by tempestuous on Oct. 06 2005,12:52
To install the driver package, in EmelFM select atmelwlandrivers.dsl and press "MYDSL"
## or the manual way - open an xterminal
sudo /etc/init.d/mydsl-install /<mylocation>/atmelwlandrivers.dsl

sudo su
## now we need to run "depmod", which is easy with a HD install,
## but difficult with the liveCD because much of the filesystem is read-only.
## map the new modules
depmod
## you will see "*** Unresolved symbols" errors for some modules
## don't worry, these errors are for other unrelated modules
## load the drivers
modprobe pcmf502re  # or one of the other versions
## if no error messages, this should create a network interface, atml0
## can check this by running "ifconfig -a"
## now set up the wireless network
iwconfig atml0 essid MY_ESSID key 1234567890 mode Managed

## now standard network stuff -
## for automatic IP
pump -i atml0
## or for static IP
## modify /etc/resolv.conf to include your nameservers, then -
ifconfig atml0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0
route add default gw 192.168.0.1 atml0  # or whatever your router's IP is

Posted by pinguino on Oct. 11 2005,07:01
Ok guys

I have done my homework but failed miserably. I still need your help.
I have installed the drivers that Tempestuous has provided me with and followed all the steps untill

pump -i atml0

which failed. I have also tryed the static IP. It seems it sets all the variables correctly but one of the light on the card keeps blinking (which means the card is not yet associated).
The good news is that after reboot, when cardmgr starts I hear two high pitch beeps (before it was one high pitch beep and one low flop beep) and now the card keeps blinking while before was solid.

Am I doing something wrong?
I have temporarely disabled security on the router to simplyfy thing so I am only using
iwconfig atml0 essid belkin54g mode Managed
(DSL would be the second client, I already have XP on another pc).
What is my nameservers? I have changed /etc/resolv.conf as follow

search localdomain
nameserver 192.168.2.1

192.168.2.1 is my router IP. Is that correct? Then

ifconfig atml0 192.168.2.3 broadcast 192.168.0.255 netmask 255.255.255.0

route add default gw 192.168.2.1 atml0.


There is something else that do not understand.
Why was not able to compile the drivers myself? I am basically trying to follow houseofcraig steps such as in < http://www.houseofcraig.net/atmel_guide.php >

I have downloaded in /tmp gcc1 and then in EmelFM pressed "MYDSL"
I have downloaded in /tmp kernelsource.dsl and then in EmeFM pressed "MYDSL"

now I get sensible answer when I do gcc --version and make --version
however ls /lib/modules/`uname -r`/build/Makefile says No such files or directory. Why is that?

Guys as always yor help will be very much appreciated

Cheers

Pinguino

Posted by tempestuous on Oct. 11 2005,13:47
Unless your router has a true nameserver itself, your nameservers will be those of your Internet Service Provider.  They will be able to tell you the correct IP addresses.

"search" should be their search domain.

I think "broadcast" should be 192.168.2.255, but it might be easier to leave this out altogether and just have -
ifconfig atml0 192.168.2.3

Posted by pinguino on Oct. 11 2005,19:55
Ok guys

I have got my F5D6020 ver 2 up and running and am posting from my garden. only kiddng it is raining out there

1) I would like to thank this forum and DSL since without it I would have not been able to connect wirelessly with an old laptop 64M 2G HD.

2) Many thanks to Tempestuous. It is really good to see guys that have used DSL longer and generally know more linux to help the newby. Unfortunally I did not managed to use his drivers. I am sure I have done something wrong. The good things is that you learn from every post. Even a single comand is precious to a newby

3) I have recompiled the drivers myself following a step by step instruction from < http://www.houseofcraig.net/atmel_guide.php >

Just few comments that to many will sound bloady obvious but still may help some other newby. I am running DSL 1.5 HD installed. Get yourself gcc compiler. Click on the desktop icon MyDSL>system>gcc1.dsl and download in /tmp.
Now in Emelfm select the file and click to mydsl (not sure this is necessary). Do the same for the kernelsource.dsl.

Running XTerminal you should be able to get sensible answers to gcc --version and make --version.

I was stuck with veryfing the presence of the correct kernel source. ls /lib/modules/`uname -r`/build/Makefile was always returning No such file or directory exist

I found a clue in
< http://www.houseofcraig.net/belkin_howto.php >
basically I needed to link Makefile and used the comand:
ln -s /usr/src/Makefile /lib/modules/`uname -r` /build

after that just follow all the steps. I did not end up having atml0 but had eth0. I have jut carryed on substituting atml0 with eth0. Eventually I was able to ping the router but not the internet. I run then netcardconfig and was up and running.

Hope this helps someone else sorry for this long post

1) This card does not work out of the box for DSL1.5 as stated in the wiki. It does work out of the box for DSL0.6
2) Can we hope to have this drivers included again in future releases?
3) Does anyone know how to configure for WPA security?At the moment I am only filtering MAC address and am a bit paranoid.

Seeya

Pinguino

Posted by tempestuous on Oct. 12 2005,10:04
Re. WPA, some Linux wifi drivers natively support WPA encryption, and I think atmelwlandriver does too, but it's difficult to find documentation about WPA configuration.
iwpriv is a utility which is used to configure a driver's unique functions such as WPA features.

wpa_supplicant, from < http://hostap.epitest.fi/wpa_supplicant/, > is a "helper" application to add WPA support.

According to this - < http://atmelwlandriver.sourceforge.net/iwpriv.txt >
atmelwlandriver seems to need both iwpriv and wpa_supplicant.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.