Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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 )
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.
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.
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 choicekobject_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
=======================
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.