Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a USB wireless network dongle, which under Windows identifies itself as a ZD1201. I am not sure how to get this working under Linux. It appears that the Linux support for this device is poor, according to this entry in the HCL for a similar dongle based on the same chip:
However it does say that eventually he got it working :
"Getting this stick to works requires patching the kernel, building the drivers, and mucking about with them until some random plug/unplug insmod/rmmod interactions make it work."
Has anyone else had any experience with a ZD1201? I have done everything that should be necessary : patched the kernel sources, rebuilt with the Prism module, and modprobe orinoco.cs, but now I am not sure what to do. How do I know when it is working? Should it appear when I do ifconfig -a?
What command can I issue to see whether or not the device is detected? Is there anyone that can give me a clue as to what sort of "mucking about" I should be doing to get it to work?
Thanks for the link, but I have already tried that and it didn't work. I am using 2.4.26 and there is no patch for the 2.4.26 kernel, so I used the 2.4.24 but it's not a patch, it's just a complete file, could this be a problem if I use it on my 2.4.26 kernel?
I think I am going to give this up and get a new wireless card that is supported. Maybe, now that I am a bit more experienced with Linux, I will have one last try when I have a few spare days to waste but I'm not feeling confident about it
I got a bit further... I installed the drivers, according to the pdf instructions included in the download in the above link.
Code:
modprobe prism2_usb
Then I typed some of the wlanctl-ng commands in. When I was half-way through I realised that the list of commands is for reference only and you aren't supposed to type them all in in sequence! D'oh!
Anyway I deactivated WEP on my AP, set the SSID to muzzy and changed it to channel 9.
This might be useful to help find what my problem is:
Code:
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Warning: Driver for device wlan0 has been compiled with version 15
of Wireless Extension, while this program is using version 16.
Some things may be broken...
wlan0 IEEE 802.11-b ESSID:"muzzy" Nickname:"muzzy"
Mode:Managed Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Tx-Power:2500 dBm
Retry min limit:7 RTS thr=2500 B Fragment thr=2500 B
Encryption key:off
Link Quality:0/1 Signal level:-100 dBm Noise level:-100 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
I am worried about all the zeros. How do I get it to detect my AP?
I'm trying again but this time using a fresh unpatched 2.4.21 kernel, and a new USB device based on the same chipset! I can get as far as I got before, but no further.
Code:
# modprobe prism2_usb
# iwconfig wlan0 essid muzzy
# ifconfig wlan0 192.168.0.10 up
# iwconfig wlan0
Warning: Driver for device wlan0 has been compiled with version 15
of Wireless Extension, while this program is using version 16.
Some things may be broken...
wlan0 IEEE 802.11-b ESSID:"muzzy" Nickname:"muzzy"
Mode:Managed Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Tx-Power:2500 dBm
Retry min limit:7 RTS thr=2500 B Fragment thr=2500 B
Encryption key:off
Link Quality:0/1 Signal level:-100 dBm Noise level:-100 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Has anyone got any ideas at all on what I can do, or an explanation of what these mysterious numbers mean? I have never successfully got a wireless card working so I don't know if this information is normal, but it worried me that there are so many zeros. Am I missing something obvious?
I'm using a zd1201 card with Ubuntu on PowerPC (ibook g4) and Intel platforms. It works fine on each.
Steps required :
1) Install 2.6.10 (or later) kernel. This has a fix allowing the kernel to discover the USB device, otherwise it prints out messages about a broken wire or something
3) Boot on the 2.6.10 kernel, install the kernel sources, link /lib/modules/2.6.10-XXX/build to where the kernel source is
4) cd $KERNEL_SOURCE/ && cp /boot/config.XXXX .config
5) make oldconfig
6) make (required to build shared dependancies it seems.. you can ctrl+c it after about 2 or 3 minutes)
7) tar -zxf /path/to/zd1201-0.13.tar.gz
8) cd /path/to/zd1201/ && make
9) make install (NOTE: Install places the module in the wrong tree (i.e. /lib/modules/2.6.10, when it should have been /lib/modules/2.6.10-1-k7 on my system), so check, and manually move across to the right tree if necessary. (After moving the module, run "depmod -a")
10) I have the wlan-ng package installed, but it appears to be of little use.
11) Plug in the usb adaptor, run "modprobe zd1201" and check that "iwconfig wlan0" returns something half useful. Running wlan-ng-ctl commands on this device appears to have no effect from what I Can see (As listed by someone else above in this thread)
12) "/sbin/dhclient wlan0" and it should work.... assuming you have dhcpd running on your network
Hello, i recently bought the zd1201 usb dongle, downloaded the zydas linux drivers from the zydas driver rpoject (url mentioned earlier somewhere, cant remmeber offhand). During the make config it asks for my kernel source tree, my kernel was an rpm, and so did not build a source tree, so i downloaded the src.rpm version of it and installed that. But when i point it to the path /usr/src/redhat/BUILD, or any other folder in the redhat dir it says
'Kernel headers present, but not full source code'
'Could not find kernel source tree'
Please help me, total linux newbie im afraid, any help greatly appreciated as these damned wires on my floor are annoying me now :P
Thanks in advance.
Tom
Windows - A bad choice for a bad person! Naughty person, bad!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.