Author Topic: For Zydas 1211 & 1211b based USB wireless dongle users  (Read 11715 times)

July 09, 2009, 04:36:15 AM
Read 11715 times

Frosty_CRO

  • Full Member

  • Offline
  • ***

  • 194
Here are the latest compiled drivers ( v2.22 ) for all of you Zydas 1211 & 1211b based USB wireless dongle MAC / WINDOWS users ( thanks to skypeman ). I am using them with the ext3-boot 0.9.2. Your WDTV host name will be DMAX.

http://myfreefilehosting.com/f/881f5f2b78_0.3MB

Copy them to the root of your USB stick / HD, and make sure your net.config looks somewhat like this:
*** I am using WEP, with hidden SSID and MAC filter - secure enough for my neighbourhood. :D

FOR ZD1211:

MTU=1492
insmod /boot/zd1211.ko
sleep 10
ifconfig eth0 up
sleep 10
iwconfig eth0 essid babic key XXXXXXXXXXXXXXXXX rate 54M rts off frag off
# Enable Ad-Hoc Mode
#iwconfig eth0 essid WDTVwifi rate 54M mode ad-hoc
# Connect to a specific Access Point MAC address
#iwconfig eth0 ap xx:xx:xx:xx:xx:xx
# DHCP on or off
#DHCP=yes
DHCP=no
IP=192.168.1.101
GW=192.168.1.1
NM=255.255.255.0
DNS1=192.168.1.1
SUPPRESS_OTHERS=yes

FOR ZD1211B:

MTU=1492
insmod /boot/zd1211b.ko
sleep 10
ifconfig eth0 up
sleep 10
iwconfig eth0 essid babic key XXXXXXXXXXXXXXXXX rate 54M rts off frag off
# Enable Ad-Hoc Mode
#iwconfig eth0 essid WDTVwifi rate 54M mode ad-hoc
# Connect to a specific Access Point MAC address
#iwconfig eth0 ap xx:xx:xx:xx:xx:xx
# DHCP on or off
#DHCP=yes
DHCP=no
IP=192.168.1.101
GW=192.168.1.1
NM=255.255.255.0
DNS1=192.168.1.1
SUPPRESS_OTHERS=yes

After boot, if you find something like this in your messages.txt, everything is working A-OK!

Jan  1 00:00:45 DMAX user.warn kernel:
Jan  1 00:00:45 DMAX user.warn kernel:  _____     ____   _    ____
Jan  1 00:00:45 DMAX user.warn kernel:  |__  /   _|  _ \  / \  / ___|
Jan  1 00:00:45 DMAX user.warn kernel:     / / | | | | | |/ _ \ \___ \
Jan  1 00:00:45 DMAX user.warn kernel:   / /| |_| | |_| / ___\ ___) |
Jan  1 00:00:45 DMAX user.warn kernel: /____\__,|____/_/ \_\____/
Jan  1 00:00:45 DMAX user.warn kernel:       |___/
Jan  1 00:00:45 DMAX user.notice kernel: zd1211 - version 2.22.0.0-development
Jan  1 00:00:45 DMAX user.notice kernel: vendor_id = 079b
Jan  1 00:00:45 DMAX user.notice kernel: product_id = 004a
Jan  1 00:00:45 DMAX user.notice kernel: USB 2.0 Host
Jan  1 00:00:45 DMAX user.notice kernel: Release Ver = 4330
Jan  1 00:00:45 DMAX user.notice kernel: EEPORM Ver = 4330
« Last Edit: September 03, 2009, 12:49:16 PM by Frosty_CRO »
Too much free time on my hands...

July 10, 2009, 12:31:09 AM
Reply #1

TON

  • Jr. Member

  • Offline
  • **

  • 87
Great! I am going to buy a Zydas-based dongle, I am too tired of fighting rt73.

BTW, why do you set rate to just 11M?

July 10, 2009, 02:16:59 AM
Reply #2

Frosty_CRO

  • Full Member

  • Offline
  • ***

  • 194
Been using 54M for a while now, WORKS GREAT!
11M is the most stable rate. 54M is not needed, since everything goes through my router ( chokepoint ).
Before you buy a Zydas based dongle, see the polish wiki on what zydas based dongles are supported.
Here it is:
http://pl.wiki.wdtv.org/doku.php?id=wlanusb
« Last Edit: September 03, 2009, 12:49:50 PM by Frosty_CRO »
Too much free time on my hands...

July 10, 2009, 02:51:44 AM
Reply #3

TON

  • Jr. Member

  • Offline
  • **

  • 87
Frosty_CRO

I have just bought myself one: Zyxel G202. It is based on zydas 1211b. I will try it this evening.
I saw some references at the Russian WDTV forum about problems with rt73 that disappear with the wireless change.

My router supports 54M and want to be able to use them ;D. My ADSL is just one Mb but I would like to have the ability to copy files to/from WDTV using some computer.

BTW, do these drivers support wpa_supplicant? I am using WPA since I am not sure if WEP is enough for me. Probably I am paranoic though 8) How to set these drivers for WPA?

July 10, 2009, 03:06:43 AM
Reply #4

Frosty_CRO

  • Full Member

  • Offline
  • ***

  • 194
Try WEP first, to make sure everything works.
Don't forget to set up your router accordingly - disable MAC filter and firewall for starters, enable them later.
And believe me, you will not reach speeds over 5.5M, albeit the settings of 11M or 54M, so no need to go overboard with that.

Your net.config ( remember dos2unix, or edit with notepad++ ) should look something like this:

insmod /boot/zd1211b.ko
blacklist zd1211
ifconfig eth0 up ( use $MDEV or other if your dongle is not eth0 )
sleep 5
iwconfig eth0 essid youressid key s:yourkey rate 11M ( use $MDEV or other if your dongle is not eth0 + no need to go over 11M )
DHCP=no ( set the following settings accordingly )
IP=192.168.1.35
GW=192.168.1.1
NM=255.255.255.0
DNS1=192.168.1.1

P.S. Anyone who takes time to hack my MAC filter, WEP key and hidden SSID deserves to use my internet line. :D But, since I check my logs on an everyday basis, any punk that connects will be immediately detected. So, those security settings are enough for me.
« Last Edit: July 10, 2009, 03:12:57 AM by Frosty_CRO »
Too much free time on my hands...

July 10, 2009, 09:50:27 AM
Reply #5

skypeman

  • Newbie

  • Offline
  • *

  • 21
regarding your 3-way security:

mac filter: anyone who is capable to dump enough IV`s to guess your wep key will also be able to see what MAC address your wireless devices has.
just a normal scan allows anyone to see it.

hidden ssid: download and install netstumpler to scan for hidden networks and their mac + logged in clients and the mac addresses of them.

i hope its more clear now that the encryption is the only protection. anything beside that is just marketing.


July 10, 2009, 10:01:49 AM
Reply #6

TON

  • Jr. Member

  • Offline
  • **

  • 87
Frosty_CRO

I started my new dongle. Unfortunately your driver did not work for me :(, looks like it does not recognize vendor/id pair for my device. Standard Zorander's wireless worked though and I used wpa_supplicant to set it up for WPA.

So now I am testing my new dongle and hope it will be stable enough to justify its price ::).

July 10, 2009, 11:20:10 AM
Reply #7

Frosty_CRO

  • Full Member

  • Offline
  • ***

  • 194
i hope its more clear now that the encryption is the only protection. anything beside that is just marketing.

Yeah, I know that... But since I live in the middle of nowhere, there's not much danger. I guess I am just too lazy to enable encryption, but maybe I'll do it this weekend just for the hell of it.

Thanks for lookin' out for me, skype!
« Last Edit: July 10, 2009, 11:26:40 AM by Frosty_CRO »
Too much free time on my hands...

August 20, 2009, 11:45:01 PM
Reply #8

kaim

  • Jr. Member

  • Offline
  • **

  • 60
Thanks for the drivers, I can confirm that it works with Zyxel G-202 and WPA2, heres my setup:
http://wdtvforum.com/main/index.php?topic=59.msg14211#msg14211


September 17, 2009, 02:17:09 AM
Reply #9

kaim

  • Jr. Member

  • Offline
  • **

  • 60
ok, there is something wrong with the driver OR with my settings:
Using WDLXTV-0.5.6.2 with Zyxel G-202, wireless-mod-wdlxtv.app.bin and log-saver.app.bin

It DOES work (but seems to be pretty unstable) with:
Code: [Select]
HOST=wdtv
insmod /CRAP/zd1211b.ko (OBVIOUSLY, THIS PATH DOESN'T EXIST)
blacklist zd1211
sleep 10
ifconfig $MDEV up
wpa_supplicant -B w -D otus -i $MDEV -c /tmp/mnt/sda1/wpa_supplicant.conf
sleep 5
MTU=1492
DHCP=yes
SUPPRESS_OTHERS=yes
messages.txt:
http://pastebin.com/f1d1cccd0
system.txt:
http://pastebin.com/f6ea38a52
dmesg.txt:
http://pastebin.com/f1518c9e2


But it does NOT work with:
Code: [Select]
HOST=wdtv
insmod /tmp/mnt/sda1/zd1211b.ko (WHICH SHOULD BE THE RIGHT PATH FOR WDLXTV)
blacklist zd1211
sleep 10
ifconfig $MDEV up
wpa_supplicant -B w -D otus -i $MDEV -c /tmp/mnt/sda1/wpa_supplicant.conf
sleep 5
MTU=1492
DHCP=yes
SUPPRESS_OTHERS=yes
messages.txt:
http://pastebin.com/f1d1af102
system.txt:
http://pastebin.com/f6b21f3b1
dmesg.txt:
http://pastebin.com/f4a9ad57a


Any explanations for that behaviour? It does work when NOT using the driver, it seems.
But: it is pretty unstable, i.e. WLAN doesn't when I try using it an hour later or so...

September 17, 2009, 03:09:14 PM
Reply #10

skypeman

  • Newbie

  • Offline
  • *

  • 21
just remove the stupid sleep lines and why do you added the wireless app?

try if you can connect without .. if not it could be that your system lacks of wifitools which is part of the app.
if thats the case try to use the wireless app of the rt73 based card here in the forums.
its basically the same but the drivers are not interfering.

September 19, 2009, 02:44:29 AM
Reply #11

kaim

  • Jr. Member

  • Offline
  • **

  • 60
thanks for the help skypeman, but it didn't work with these drivers.
however, it's now working perfectly stable with wireless-mod.app.bin instead of the wdlxtv-version.

September 20, 2009, 03:20:25 AM
Reply #12

skypeman

  • Newbie

  • Offline
  • *

  • 21
good to hear that. grats

well the wireless mod was intended to work with zydas chips .. the zydas driver has just some new VID/PID pairs
compiled that I need .. somehow it found a way to this forums :)

greetings

September 21, 2009, 03:11:29 PM
Reply #13

Frosty_CRO

  • Full Member

  • Offline
  • ***

  • 194
Skype, did you compile any newer 1211 & 1211b drivers?
Too much free time on my hands...

October 10, 2009, 01:13:28 PM
Reply #14

blkhrt

  • Newbie

  • Offline
  • *

  • 1
I have a Planex GW-US45GSX wireless dongle, which use the zd1211b chipset. I'm currently using the latest version of WDLXTV 0.5.7. I am using the net.config settings that Kaim suggested above with wireless-mod.app.bin but I still cant get my wireless dongle to connect. Here's my net.config settings :

net.config
Code: [Select]
HOST=wdtv
insmod /tmp/mnt/sda1/zd1211b.ko
blacklist zd1211
sleep 10
ifconfig $MDEV up
wpa_supplicant -B w -D otus -i $MDEV -c /tmp/mnt/sda1/wpa_supplicant.conf
sleep 5
MTU=1500
DHCP=no
SUPPRESS_OTHERS=yes


# Static IP Configuration:
DHCP=yes
IP=192.168.1.111
GW=192.168.1.1
NM=255.255.255.0
DNS1=66.189.0.29
DNS2=66.189.0.30
DNS3=66.189.0.5

wpa_supplicant.conf
Code: [Select]
ctrl_interface=/tmp/wpa_supplicant
network={
ssid="myssid"
key_mgmt=WPA-PSK
psk="mypassword"
}
messages.txt
http://pastebin.com/f6d3ce759

I am using WPA-TKIP for my wireless. are there anything wrong with the net.config or wpa_supplicant.conf file that need to be fixed? any help would be greatly appreciated. Thanks!