LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-06-2007, 07:20 AM   #1
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Rep: Reputation: 15
Installing wireless usb with zd1211rw (tendnet)


Hi All,

Obviously, Newbee here. Please make it simple. I want to use my wireless usb from trendnet. I did some research and found out that it's already has a driver that supports it version. It's zd1211. I'm running Slackware 12.0 and zd1211rw.ko is included as a modules.

I just need steps how to mount it starting from Howto's in using the module to insert it in the kernel to firing it up everytime my system boots up.

Summary:
Slackware 12.0
Trendnet TEW-424UB
Usb 1.1 ( it's okay, I'll use my wireless in pure b )


Thanks
 
Old 10-06-2007, 08:42 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
First see if it isn't already inserted:
Code:
lsmod | grep zd1211rw
if not, then insert it (as root of course):
Code:
modprobe zd1211rw
Now you need to configure the wireless card, which is harder. This may help:
http://slackbook.org/html/book.html#...ATION-WIRELESS

I'm not an expert at this, so maybe someone else will say more.
 
Old 10-06-2007, 08:50 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You will at first have to download and install the firmware for this card.Get the zd1211-firmware archive at http://sourceforge.net/project/showf...roup_id=129083 and extract the file(s) to Slackware's /lib/firmware directory.

Then, try to insert the USB wireless card and see if that results in a network interface being created:
Code:
ifconfig -a
... insert the wireless card into a USB slot...
Code:
ifconfig -a
If 'ifconfig -a' lists a new interface the second time you run it, then the UDEV detected your card and loaded the driver successfully.
Check the output of the "dmesg" command and the logfiles in /var/log if a new interface does not show up within aa short time.

If you see the new interface you're all set now, only the network configuration remains to be done.
Please report back if the above works, and what the name is of the new interface (wlan0, eth1, ???) and whether you want to use DHCP, or a static IP, and WEP/WPA encrypted connections.

Eric
 
Old 10-06-2007, 11:24 AM   #4
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Okay I did modprobe. It works. I see it in lsmod.

I downloaded firmware and extracted it to lib/firmware.
ifconfig -a doesn't show new device but when I did

dmesg it show that the new full speed usb was detected.

I tried iwconfig and it shows

lo no wireless extension.


I think I need to enable wireless radio first as I read it somewhere but I don't know how.


Thanks again
 
Old 10-06-2007, 11:25 AM   #5
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Anybody have any idea what is hotplug all about or how to use it???
 
Old 10-06-2007, 11:55 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You first have to install the firmware. When running "modprobe zd1211rw" there will be some messages in "dmesg" command output, maybe you can post them here?
Slackware 12 uses UDEV for hotplugging support, which means that UDEV should automatically load the zd1211rw module when you insert that USB wireless stick. If it does not, it may be a card model/type which is unrecognized or even unsupported by the zd1211rw driver.
An alternative is to use the ndiswrapper driver instead of zd1211rw, if that one fails to work.

Eric
 
Old 10-06-2007, 05:57 PM   #7
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
I did some research on zd1211 and it shows that it's supported. I don't know about zd1211rw if it does. I'll post valuable messages here very shortly.


Ciao for now.
 
Old 10-06-2007, 06:01 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
There is only a zd1211rw, no zd1211, module in my Slackware 12.0 kernel...

Eric
 
Old 10-06-2007, 07:02 PM   #9
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
I can't attach file. what should I do? I can't open txt doc as well from slackware here in XP.
 
Old 10-06-2007, 08:45 PM   #10
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
my bad, here are the msgs.

lsdev = with the usb wireless attached.

Device DMA IRQ I/O Ports
------------------------------------------------
0000:00:1f.0 1000-107f 1180-11bf
0000:00:1f.1 0170-0177 01f0-01f7 0376-0376 03f6-03f6 10a0-10af
0000:00:1f.2 1080-109f
0000:00:1f.3 10b0-10bf
0000:00:1f.5 1200-12ff 1300-133f
82801AA-ICH 9
ACPI 1000-1003 1004-1005 1008-100b 1028-102b 102c-102f
cascade 4 2
dma 0080-008f
dma1 0000-001f
dma2 00c0-00df
floppy 2 6 03f2-03f5 03f7-03f7
fpu 00f0-00ff
i801_smbus 10b0-10bf
i8042 1 12
ide0 14 01f0-01f7 03f6-03f6 10a0-10a7
ide1 15 0170-0177 0376-0376 10a8-10af
Intel 1200-12ff 1300-133f
keyboard 0060-006f
parport0 0378-037a 037b-037f
PCI 0cf8-0cff
pic1 0020-0021
pic2 00a0-00a1
pnp 04d0-04d1 0800-087f 1000-105f 1060-107f 1180-11bf 1c00-1c7f
rtc 8 0070-0077
serial 03e8-03ef 03f8-03ff
timer 0
timer0 0040-0043
timer1 0050-0053
uhci_hcd 1080-109f
uhci_hcd:usb1 11
vga+ 03c0-03df
wd7000 0320-0323 0350-0353


command: lsusb = with usb wireless attached. take note of the silicon int. that is what it is.

Bus 1 Device 5: ID 0457:0163 Silicon Integrated Systems Corp.
Bus 1 Device 3: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 1 Device 1: ID 0000:0000

Command: ifconfig -a = with usb wireless attached.

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)




command: dmesg

...lines deleted...

usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
Capability LSM initialized
usbhid: exports duplicate symbol hiddev_hid_event (owned by kernel)
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
usbcore: registered new interface driver zd1211rw
usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using uhci_hcd and address 4
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
kobject_add failed for usb_storage with -EEXIST, don't try to register things with the same name in the same directory.
[<c03e86f7>] kobject_shadow_add+0x117/0x1a0
[<c013fba4>] mod_sysfs_setup+0x24/0xb0
[<c0141458>] sys_init_module+0x1648/0x1940
[<c0102ae8>] syscall_call+0x7/0xb
[<c0710000>] __mutex_lock_slowpath+0x40/0x90
=======================
scsi 2:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.02 PQ: 0 ANSI: 0 CCS
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
sda: sda1
sd 2:0:0:0: Attached scsi removable disk sda
usb-storage: device scan complete
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb 1-1: USB disconnect, address 4
usb 1-1: new full speed USB device using uhci_hcd and address 5
usb 1-1: configuration #1 chosen from 1 choice
kobject_add failed for uhci_hcd with -EEXIST, don't try to register things with the same name in the same directory.
[<c03e86f7>] kobject_shadow_add+0x117/0x1a0
[<c013fba4>] mod_sysfs_setup+0x24/0xb0
[<c0141458>] sys_init_module+0x1648/0x1940
[<c0102ae8>] syscall_call+0x7/0xb
[<c013007b>] call_usermodehelper_keys+0x9b/0xf0
[<c0710000>] __mutex_lock_slowpath+0x40/0x90
=======================
kobject_add failed for uhci_hcd with -EEXIST, don't try to register things with the same name in the same directory.
[<c03e86f7>] kobject_shadow_add+0x117/0x1a0
[<c013fba4>] mod_sysfs_setup+0x24/0xb0
[<c0141458>] sys_init_module+0x1648/0x1940
[<c0102ae8>] syscall_call+0x7/0xb
[<c013007b>] call_usermodehelper_keys+0x9b/0xf0
[<c0710000>] __mutex_lock_slowpath+0x40/0x90
=======================



Hopefully this will help

Thanks in advance...
 
Old 10-07-2007, 08:14 PM   #11
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Thanks to everybody. My system is up and running. My box is now connected to the outside world hehehe...

I used ndiswrapper.

Thanks anyways... still, I have learned a lot from you.
 
Old 01-27-2008, 04:24 PM   #12
satvic
LQ Newbie
 
Registered: Jan 2008
Location: plano, tx
Distribution: backtrack 3beta
Posts: 2

Rep: Reputation: 0
problem installing zd1211rw for ZyXEL AG-225H

Plz help and be descriptive (n00b here)
according to my research this USB adapter comes with ZD1211 chipset ... the zd1211 included with my kernel was giving error in dmesg when I plug it in:
Code:
usb 1-5: new high speed USB device using ehci_hcd and address 6
usb 1-5: configuration #1 chosen from 1 choice
usb 1-5: reset high speed USB device using ehci_hcd and address 6
usb 1-5: Could not load firmware file zd1211/zd1211_ub. Error number -2
zd1211rw 1-5:1.0: couldn't load firmware. Error number -2
usb 1-5: reset high speed USB device using ehci_hcd and address 6
zd1211rw: probe of 1-5:1.0 failed with error -2
so I downloaded and compiled another one from here:
zd1211.wiki.sourceforge.net/VendorDriver

after I extracted the firmware to /lib/modules/zd1211

It seems to work and shows in iwconfig:

Code:
 usb 1-5: new high speed USB device using ehci_hcd and address 7
usb 1-5: configuration #1 chosen from 1 choice
usb 1-5: reset high speed USB device using ehci_hcd and address 7
usb 1-5: firmware version 0x4330 and device bootcode version 0x4810 differ
zd1211rw 1-5:1.0: firmware version 4605
zd1211rw 1-5:1.0: zd1211 chip 0586:3409 v4810 high 00-13-49 AL7230B_RF pa0 g----
zd1211rw 1-5:1.0: eth2
It's killing me .. Can you tell me how to recompile a module from the source included with kernel? I mean what steps do I take to "unplug" existing module from kernel, recompile the one from included source and I guess then replug it with modprobe.

I'm running backtrack 3beta (slackware 12) on kernet 2.6.21.5.

ALSO: what do I need to do before I unplug the card ? ifconfig eth2 down? modprobe -r zd1211rw ? then unplug? or just bring down the network is enough?

Last edited by satvic; 01-27-2008 at 04:31 PM. Reason: question
 
Old 01-28-2008, 02:32 AM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You don't have the right firmware installed, install the right one in '/lib/firmware'. The one for your specific card.
 
Old 01-29-2008, 03:00 PM   #14
satvic
LQ Newbie
 
Registered: Jan 2008
Location: plano, tx
Distribution: backtrack 3beta
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by H_TeXMeX_H View Post
You don't have the right firmware installed, install the right one in '/lib/firmware'. The one for your specific card.
how do I install the firmware? sry, I'm noob. what's the diff between firmware and the driver? there is source code for zd1211 in the kernel folder ... how do I compile that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a Wireless USB driver Tyblat Linux - Wireless Networking 3 12-31-2005 02:40 PM
installing Buffalo wireless USB widget hopper Slackware - Installation 5 07-30-2004 12:54 PM
Help installing wireless usb adaptor for mandrake 10.0 TTribaLL Linux - Newbie 16 07-06-2004 01:05 AM
installing usb wireless card amuarica Linux - Wireless Networking 2 04-14-2004 11:13 PM
Need help installing wireless usb adapter isone Linux - Hardware 1 12-28-2003 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration