DSL 4.2.5, compiling Driver for Zydas zd1211


Forum: Networking
Topic: DSL 4.2.5, compiling Driver for Zydas zd1211
started by: nonoo

Posted by nonoo on Feb. 07 2008,10:22
Hello, i want to compile a wlan-driver for my zydas zd1211 usb wlan Dongle. The Dongle don't work with ndiswrapper.  DSL 4.2.5 frozen by "modprobe ndiswrapper".

In MyDSL i have installed:


< >

The Driver I`try to use is from here:

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

Driver version 2.22.0.0

The Readme for Driver version 2.22.0.0:

< http://www.nopaste.org/p/aX5SuolKi >

The Driver ist for Kernel 2.4.x.

lsusb type:

Code Sample
Bus 001 Device 004: ID 0ace:1211


It's a Acer WLAN 11g USB Dongle.

The Dongle work's in Debian Etch with ndiswrapper and the kernel zd1211 implementet zd1211 driver. When I want to use the implementet Option from the Kernel, I must use the Firmware  from Debian Sid.

In DSL 4.2.5 don't can compile the Driver with make.
make begin to run, and than Error.

How can I compile a Driver for my Dongle?

Thank you.

nonoo

Posted by curaga on Feb. 07 2008,11:54
What error do you get from make?

I also took a look at the Makefile. You probably need to chang this line:
Quote
   KERNEL_SOURCE=/usr/src/linux-2.4
To this:
Quote
   KERNEL_SOURCE=/usr/src/linux

Posted by nonoo on Feb. 07 2008,14:30
The original Makefile from ZD1211LnxDrv_2_22_0_0

< http://nopaste.info/2c459bb8a9.html >

The Changelog-Couruga-Makefile

line 23 "KERNEL_SOURCE=/usr/src/linux-2.4"  ----->

"KERNEL_SOURCE=/usr/src/linux"

< http://nopaste.info/01c73b9b01.html >

If I use "make"-----> Error.

:(

How can I post the Message from Emelfm here?
I don`t know to work with copy an paste.


Edit: ndiswrapper don't work to.

:( :(  :(

Posted by curaga on Feb. 07 2008,16:29
how to copy and paste: click the mouse, drag it while clicked so you highlight text, move the mouse where you want to paste, click on the wheel.
Posted by nonoo on Feb. 07 2008,16:38
Hello, in don`t have at time a wheel mouse, I` use a Two-Button Mouse. Can I copy and past with a Two Button Mouse? left+right Button  click don`t copy the market Text.

nonoo

Posted by ^thehatsrule^ on Feb. 07 2008,16:44
See the first popup under dillo during startup, or view it in the wiki
Posted by NoobieDoobieDo on Feb. 07 2008,17:17
Do a google search for "how to copy paste" and then paste us the error message from `make`.
Posted by andrewb on Feb. 07 2008,22:09
You have this subject running in 3 threads! I've replied under the "DSL 3.4.11 compiling Driver for Zydas zd1211, Zyda" thread < http://damnsmalllinux.org/cgi-bin....=19805; >

Please don't multi-post the same problem.

Posted by nonoo on Feb. 07 2008,22:42
Hello

Topic: DSL 3.4.11 compiling Driver for Zydas zd1211, Zyda, DSL 3.4.11 compiling

DSL 3.4.11 used the Kernel 2.4.26.

DSL 4.25 used the Kernel 2.4.31.

If zd1211 in DSL 3.4.11 don't work, zd1211 can work in DSL 4.2.5.

Greets nonoo



Edit:

Hello, try to compile again.

I'm use the Vendor Driver ZD1211LnxDrv_2_22_0_0.tar.gz

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

The compling beginning,  and end sucessful.

iwlist scan types now eht0, eth0 ist my Acer USB zd1211 Wlan dongle.

Code Sample

eth0   Failed read scan data : Argument list too long


What can I now do?

Posted by andrewb on Feb. 07 2008,23:39
Sorry the above link should have been :

< http://damnsmalllinux.org/cgi-bin....=19805; >

Posted by nonoo on Feb. 09 2008,12:07
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

Posted by nonoo on Feb. 10 2008,11:08
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

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