Networking :: DSL 4.2.5, compiling Driver for Zydas zd1211



Hello, I have edit the makefile

Quote
KERNEL_SOURCE=/usr/src/linux



---->

Quote
KERNEL_SOURCE=/usr/src/linux-2.4.31


The module compiling now is successful.

But, the Wlan-Configuration is not successful.

Here are the Message History:

Code Sample

ifconfig eth0 up
root@box:/home/dsl# iwconfig etho
etho      No such device

root@box:/home/dsl# iwlist scan  
lo        Interface doesn't support scanning : Operation not supported

eth0      Failed to read scan data : Argument list too long

root@box:/home/dsl# ifconfig eth0 down
root@box:/home/dsl# ifconfig eth0 up  
root@box:/home/dsl# iwconfig eth0
eth0      802.11b/g NIC  ESSID:"wlan1"  
         Mode:Managed  Frequency:2.437GHz  Access Point: 00:00:00:00:00:00  
         Bit Rate:0kb/s  
         Retry:off   RTS thr=9999 B   Fragment thr:off
         Encryption key:off
         Power Management:off
         Link Quality:89/100  Signal level:55/100  Noise level:0/100
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:1040  Invalid misc:33   Missed beacon:0


ot@box:/home/dsl# iwconfig eth0 essid wlan1 mode managed
root@box:/home/dsl# pump -i eth0
Operation failed.
root@box:/home/dsl#



Where ist my mistake?


nonoo

Hello, I`m happy.

I have wlan-Support with a Zydas zd1211

Code Sample
root@box:/home/dsl# iwlist scan
lo        Interface doesn't support scanning : Operation not supported

eth0      Failed to read scan data : Argument list too long

root@box:/home/dsl# ifconfig eth0 up
root@box:/home/dsl# iwlist scan
lo        Interface doesn't support scanning : Operation not supported

eth0      Failed to read scan data : Argument list too long

root@box:/home/dsl# ifconfig eth0 down
root@box:/home/dsl# ifconfig eth0 up  
root@box:/home/dsl# iwlist scan
lo        Interface doesn't support scanning : Operation not supported

eth0      Failed to read scan data : Argument list too long

root@box:/home/dsl# iwconfig eth0 up
Error : unrecognised wireless request "up"
root@box:/home/dsl# iwconfig eth0  
eth0      802.11b/g NIC  ESSID:"wlan1"  
        Mode:Managed  Frequency:2.437GHz  Access Point: 00:15:0C:9E:C1:A3  
        Bit Rate:0kb/s  
        Retry:off   RTS thr=9999 B   Fragment thr:off
        Encryption key:off
        Power Management:off
        Link Quality:90/100  Signal level:63/100  Noise level:0/100
        Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
        Tx excessive retries:260  Invalid misc:6   Missed beacon:0

root@box:/home/dsl# iwconfig eth0 essid wlan1 mode managed
root@box:/home/dsl# pump -i eth0
root@box:/home/dsl#


Yesterday I have downloaded with my Second-PC in the same wlan area. Than "pump -i eth0" will not work.



:D  :)

Thank you andrewb and the other.

nonoo


Edit:

I`m using the follow Extensions from DSL



The Kekernelsource-2.4.31.dsl is from Testing.

Code Sample

n Mydsl Extension, in Testing, there is a kernelsource-2.4.31.dsl
This is the info file:
---------------------------
Title:          kernelsource-2.4.31.dsl
Description:    Kernelsource for DSL 4.x  
Version:        1
Author:         Peter Misch - http://www.skripta.de/
Original-site:  ftp://ftp.oss.cc.gatech.edu/pub/linux/distributions/damnsmall/current/kernel/
Copying-policy: Whatever license my program uses (GPL, BSD, MIT, etc)
-------------------==[ color=red Filesize=2,1 MB ]==------------------------------
Extension by:   pmisch - Peter Misch
Comments:       This kernelsource is needed if you want to compile
             kernelmodules for DSL 4.x - like wlan cards ....
             It is heavily stripped down to minimize memory usage.
Change-log:
Current: 2007/12/08 - First Version


The Driver Binary ist from here:

http://zd1211.wiki.sourceforge.net/VendorDriver

Driver version 2.22.0.0

I have modified the makefile:


The Original Makefile from Package:

http://nopaste.info/2267adaee0.html

Line 23     KERNEL_SOURCE=/usr/src/linux-2.4  

-----I have--changed--to------>

 KERNEL_SOURCE=/usr/src/linux-2.4.31

Than you can compile the module.


lsmod types:

Code Sample
lsmod
Module                  Size  Used by    Not tainted
apm                     9736   1  (autoclean)
mousedev                3832   0  (unused)
hid                    22788   0  (unused)
input                   3168   0  [mousedev hid]
cloop                  39364   0  (unused)
af_packet              13608   0  (autoclean)
reiserfs              169584   0  (autoclean)
ext3                   64388   0  (autoclean)
jbd                    46804   0  (autoclean) [ext3]
ntfs                   50944   0  (autoclean)
msdos                   4684   0  (autoclean)
nls_iso8859-1           2844   1  (autoclean)
nls_cp437               4348   0  (autoclean)
awe_wave              155744   0  (unused)
sb                      7796   0
sb_lib                 33518   0  [sb]
uart401                 6052   0  [sb_lib]
sound                  55244   0  [awe_wave sb_lib uart401]
soundcore               3428   6  [sb_lib sound]
serial                 52196   0  (autoclean)
zd1211                242304   1
ieee1394              183300   0
usb-uhci               21708   0  (unused)
usbcore                58240   1  [hid zd1211 usb-uhci]
pcmcia_core            39840   0
ide-cd                 28768   0


original here.