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



Are you sure there aren't any other wifi modules still loaded? I have had problems with both the ZYDAS dongle & a TP-Link PCMCIA wifi card, including the 'hanging' issue. I resolved these by ensuring any modules loaded as a result of auto-detection during the boot process were unloaded before & loaded the zd1211 module. If you're not sure post the output of the lsmod command here.
One other issue I have noticed with the Zydas dongle - I can't use a USB mouse in the second port on the PCMCIA USB2.0 card I use. Trying to use a mouse leads to very slow operation & a lot of 'hotplug' messages on the console (or visible in dmesg). I need to use the built-in (PS/2) mouse when using the ZYDAS dongle.

I have verified the commands I use:

Make sure all wlan modules and ndiswrapper are unloaded.
insmod zd1211b.
Plug in dongle (can be plugged in before insmodding the module).

Then execute:

ifconfig eth0 up
iwconfig eth0 essid <MYSSID>
/home/dsl/wpa_supplicant -B -Dzydas -ieth0 -c/etc/wpa_supplicant.conf
pump -ieth0

When I use the above in bootlocal.sh I have 'sleep 5' before the ifconfig command, after loading the module & then put a few other commands after iwconfig & before wpa_supplicant (e.g. modprobe the sound system, load saved sound settings, start smbd & nmbd).

Note that if you need wpa_supplicant you will need the version I uploaded earlier as it has the ZYDAS driver in it. I'll try & put this lot into a DSL/UNC extension & submit it to Robert, rather than relying on my uploaded files.

This is the output for lsmod:
Code Sample

Module                  Size  Used by    Not tainted
soundcore               3428   0 (autoclean)
af_packet              13608   0 (autoclean)
mousedev                3832   0 (unused)
hid                    22788   0 (unused)
input                   3168   0 [mousedev hid]
cloop                  39364   0 (unused)
nls_cp437               4348   0 (autoclean)
nls_iso8859-1           2844   0 (autoclean)
ntfs                   50944   0 (autoclean)
msdos                   4684   0 (autoclean)
agpgart                44388   0 (unused)
serial                 52196   0 (autoclean)
ieee1394              183300   0
usb-uhci               21708   0 (unused)
usbcore                58240   1 [hid usb-uhci]
ds                      6536   2
yenta_socket            9700   2
pcmcia_core            39840   0 [ds yenta_socket]
ide-cd                 28768   0
ide-scsi                9264   0
rtc                     7004   0 (autoclean)

I tried this sequence of commands:
Code Sample
sudo insmod zd1211
... (dongle in) ...
sudo ifconfig eth0 up
sudo iwconfig eth0 essid mylan mode managed
sudo killall pump
sudo pump -i eth0

and I had DSL frozen.
I tried also "pump -ieth0" with the same result  :(
I tried also without "killall pump" with the same result  :(
I tried also zd1211b driver, with no success.
Do you know any DSL extension to use dhcpcd?

The only thing I can see from your lsmod output is that you appear to have a USB mouse running. Can you use a serial or PS/2 mouse instead (if there's a built-in mouse or pad  it will likely be ps/2). Other than that I can't see anything in there that may cause problems. Did you get any software wit the dongle? I had a CD with mine which had the source code for the modules - it was this code I compiled to get the drivers I uploaded.
I haven't any usb mouse. I'm using the touchpad on the notebook.
I have found a linux driver for my dongle on the 3Com web site, but I'm not so expert to compile it.
The driver is here: http://www.3com.com/product....er=desc

Many thanks to andrewb,  ^thehatsrule^, nonoo for your support.

Next Page...
original here.