Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Help: Debian USB wireless problems so close..but so far. - linux-wlan-ng - linksys WUSB12

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2005, 09:24 PM
Default Help: Debian USB wireless problems so close..but so far. - linux-wlan-ng - linksys WUSB12



Hi,

Couple of quick questions first:
If a USB device locks up is there a way to restart it, or flush
it, or something? at this point I am rebooting.

Anyone know if there is firmware upgrade for the linksys WUSB12?

I am trying to get a linksys WUSB12 working with linux-wlan-ng.

I installed debian sarge 3.1 r0 which gave me 2.4.27-2-386

Apparently linux-wlan-ng isn't supported any longer, so I tried
the Hostap route.. but that apparently doesn't support USB devices.
So back to linux-wlan-ng, I downloaded it and tried to compile it,
but no luck, this apparently need a kernel 2.6 or greater.
Downloaded linux-2.6.13.4 and recompiled the kernel.
Compiled linux-wlan-ng.
Rebooted and the prism2_usb module is being loaded automatically.
Not sure what parameters the system starts the prism2_usb module
with.
Where would I check for this?

So sometimes this works, but mostly it doesn't.
Looking for a method to isolate where the problem is
or a solution would be good... in fact any suggestions
are more than appreciated.

At the end you'll notice I lose my USB wireless device.

So after the system boots these are the steps I am following.

(power light is on solid, link light is blinking)

lsmod |grep prism
prism2_usb 71428 0
p80211 31760 1 prism2_usb
usbcore 108924 3 prism2_usb,uhci_hcd

lsusb
Bus 001 Device 003: ID 066b:2213 Linksys, Inc. WUSB12v1.1 802.11b
Adapter
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 0000:0000

wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
message=lnxreq_ifstate
ifstate=enable
resultcode=success

wlanctl-ng wlan0 lnxreq_autojoin ssid=NOYB2 authtype=opensystem
message=lnxreq_autojoin
ssid='NOYB2'
authtype=opensystem
resultcode=success

lsusb
Bus 001 Device 003: ID 066b:2213 Linksys, Inc. WUSB12v1.1 802.11b
Adapter
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 0000:0000

ifconfig -a
wlan0 Link encap:Ethernet HWaddr 00:06:25:23:4B:6A
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

ifconfig wlan0 up

ifconfig -a
wlan0 Link encap:Ethernet HWaddr 00:06:25:23:4B:6A
inet6 addr: fe80::206:25ff:fe23:4b6a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

dhclient wlan0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software
Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:06:25:23:4b:6a
Sending on LPF/wlan0/00:06:25:23:4b:6a
Sending on Socket/fallback/fallback-net
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
Trying recorded lease 192.168.200.100
PING 192.168.200.1 (192.168.200.1) 56(84) bytes of data.

--- 192.168.200.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time
0ms

bound: renewal in 38337 seconds.

(power light is on solid, link light is still blinking)

ifconfig wlan0 down

ifconfig wlan0 192.168.200.111 netmask 255.255.255.0 up

PING 192.168.200.1 (192.168.200.1) 56(84) bytes of data.
>From 192.168.200.111 icmp_seq=1 Destination Host Unreachable
>From 192.168.200.111 icmp_seq=2 Destination Host Unreachable
>From 192.168.200.111 icmp_seq=3 Destination Host Unreachable


--- 192.168.200.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time
5107ms
, pipe 3

lsusb
Bus 001 Device 003: ID 066b:2213 Linksys, Inc. WUSB12v1.1 802.11b
Adapter
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 0000:0000

rmmod prism2_usb

rmmod p80211

lsusb
Bus 001 Device 003: ID 066b:2213 Linksys, Inc. WUSB12v1.1 802.11b
Adapter
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 0000:0000

modprobe prism2_usb prism2_doreset=1
(power light is on solid, link light SOLID)

lsusb
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 0000:0000

I'VE LOST MY USB WIRELESS ADAPTOR, how do I get it back???

lsmod |grep prism
prism2_usb 71428 0
p80211 31760 1 prism2_usb
usbcore 108924 3 prism2_usb,uhci_hcd

Only way I can get the device back now is to reboot.


Thanks for looking.. any suggestions links.. greatly appreciated.



Ou Phrontis
Reply With Quote
Reply

Tags
closebut, debian, linksys, linuxwlanng, problems, usb, wireless, wusb12

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
Forum Jump


All times are GMT. The time now is 07:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.