Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > tl-wn422g wireless usb adapter

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-28-2008   #1 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 7
tl-wn422g wireless usb adapter

I want to use tl-wn422g wireless usb adapter on fedora. The device has an atheros 5007UG chipset, supported by zd1121 driver. A driver named zd1121rw was built into the kernel. When I plug in the device, zd1211rw module gets automatically loaded.

But I can't proceed any further. iwconfig output is
Code:
wlan0     IEEE 802.11g  ESSID:"" 
          Mode:Managed  Channel:0  Access Point: Not-Associated  
          Tx-Power=0 dBm  
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B  
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Trying to bring up the interface using
Code:
ifconfig wlan0 up
gives error:
Code:
SIOCSIFFLAGS: Connection timed out
so, nothing can be done with this device until the interface is up.

I have also tried the new zd1211 driver from linuxwireless.org (compact- wireless) but it gives same results.

Any Suggestions...?
ahaider7 is offline  


Reply With Quote
Old 11-28-2008   #2 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
You may not have the firmware installed, needed for the wireless to work.

zd1211rw - Linux Wireless
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 11-28-2008   #3 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 7
I have the firmware installed. All the files from zd1211-firmware-1.4.tar.bz2 are copied into /lib/firmware/zd1211. But still the same situation.

Kindly review the dmesg output if needed.
Attached Files
File Type: zip dmesg.txt.zip (8.1 KB, 17 views)
ahaider7 is offline   Reply With Quote
Old 11-28-2008   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
Your dmesg output has no mention of wlan0 or zd1211rw, and that is odd.

I do see that SELinux is active. This may interfere with the wireless connection, so disable it and try again.

Also, put a copy of the firmware directly in the /lib/firmware folder, it may not be looking for it in the /zd1211 sub-directory.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 12-01-2008   #5 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 7
Hi waterhead,

Thanx for your support. I have disabled selinux and copied the zd1211 firmware in the lib/firmware directory. Now the dmesg output shows loading of zd1211rw driver.

But still, when I try to bring up the interface, it is giving error of SIOCSIFFLAGS: Connection timed out.

Any Idea....?
Attached Files
File Type: zip dmesg.txt.zip (8.2 KB, 8 views)
ahaider7 is offline   Reply With Quote
Old 12-01-2008   #6 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
In the future, just post the output of dmesg in your post. I would rather not have to download a zipped file from an unknown source.

I still see a lot if SELinux messages, so it still is running. This may or maynot be your problem, though.

Have you configured the device in the Network section? You can start it with this command:
Code:
system-config-network
Click on the device and click Edit. Select Controlled by NetworkManager and use DHCP for the connection.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 12-01-2008   #7 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 7
Sorry for attaching the zip files. I had to do so, bcoz size of text file exceeded the allowable limit.

Anyhow, main problem is that this device DOES NOT APPEAR in the Network configuration dialog. Even I can't add it through 'New' wizard bcoz when I click 'New' and select 'Wireless Connection', my device does not appear there. (There is only one entry 'Other Wireless Card' which shows a very limited list if wireless cards)
ahaider7 is offline   Reply With Quote
Old 12-02-2008   #8 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
You could try running the kudzu command. Try this to see if it lists the wireless card. (as root)
Code:
kudzu -p -c network
This only probes the system and prints out what it finds. Then just run kudzu without any options. That is suppose to configure new hardware. Then run the first command again to see if it is any different.

Is there a configuration file for it in the /etc/sysconfig/networking or networking-scripts
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 12-02-2008   #9 (permalink)
Just Joined!
 
Join Date: Nov 2008
Posts: 7
Running kudzu without any arguments and then running kudzu -p gives info about this card. (don't recognizes it as a network interface)
Code:
-
class: OTHER
bus: USB
detached: 0
device: wlan0
driver: zd1211rw
desc: "ZyDAS USB2.0 WLAN"
usbclass: 255
usbsubclass: 0
usbprotocol: 0
usbbus: 1
usblevel: 1
usbport: 6
usbdev: 3
vendorId: 0ace
deviceId: 1215
usbmfr: ZyDAS
usbprod: USB2.0 WLAN
-
There is no configuration file for this interface in the paths mentioned.
ahaider7 is offline   Reply With Quote
Old 12-02-2008   #10 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,957
You may have to try manually adding it. First, open the file /etc/sysconfig/hwconf in a text editor, as root (use su). Then try changing this:
Code:
class: OTHER
to this:
Code:
class: USB
If that doesn't work, you may need to add it to the file that lists the other network devices. The problem is, I can't find that which file it is using. You may need to make a file for it in the /etc/sysconfig/network-scripts/ and call it ifcfg-wlan0. Here is one that I have.
Code:
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Wireless
DEVICE=wlan0
HWADDR=00:00:00:00:00:00 <change this>
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ONBOOT=no
USERCTL=yes
PEERDNS=yes
IPV6INIT=no
ESSID=<change this>
CHANNEL=1<change this?>
MODE=Managed
RATE=Auto
NM_CONTROLLED=yes
Change the ones that I indicated. You need the MAC address for the HWADDR. I removed any info related to my wlan0 setup.

EDIT: There seems to be an identical file in the /etc/sysconfig/network folder. Maybe you need to put a copy of it in there too.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:28 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2