LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-06-2003, 10:15 PM   #1
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Rep: Reputation: 15
Arrow Almost there- Wireless USB adapter


Ok, I've downloaded the wlan project files, got them running and the usb wireless adapter's lights come on, whereas they didn't before. Things are looking good, but there is one piece of the puzzle missing, I'm getting an error, and I can't see where to make my changes to fix it. Here's the error

Bringing up interface wlan0: Error for wireless request "set encode" (8B2A) : SET failed on device wlan0; function not implemented
Error for wireless request "set ESSIP" (8B1A): SET failed on device wlan0; fucntion not implemented

Determining IP information for wlan0...SIOCSIFFLAGS: no such device
SIOCSIFFLAGS: no such device
failed.

Anyone got any ideas?
I'm running RH9, updated kernel today (2.4.20-20.9), the wireless adapter is a Microsoft usb (evil , I know, but it's what I got) On a toshiba laptop.

Thanks for the aid, I am determined to make this work!!!

Last edited by Safyre; 09-06-2003 at 10:17 PM.
 
Old 09-07-2003, 09:43 AM   #2
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
please login as root, open a console, issue these commands and post the output:
ifconfig -a
iwconfig
cat /proc/bus/usb/devices
lsmod

this should help to figure this out.
 
Old 09-07-2003, 11:31 AM   #3
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
Here goes:

[root@localhost root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:39:6F:23:C9
BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xef40 Memory:f7efe000-f7efe038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:357 errors:0 dropped:0 overruns:0 frame:0
TX packets:357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23835 (23.2 Kb) TX bytes:23835 (23.2 Kb)

wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost root]# iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11-b Mode:Auto Access Point: 00:00:00:00:00:00
Encryption key: off

eth0 no wireless extensions.

[root@localhost root]# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=cf84a000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=045e ProdID=006e Rev= 1.32
S: Manufacturer=Microsoft?
S: Product=Wireless USB Adapter MN-510
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=prism2_usb
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=1ms
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=08ec ProdID=0011 Rev= 2.00
S: Manufacturer=I0MEGA
S: Product=Minidrive 256
S: SerialNumber=021B53071A00BBDF
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 94mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms


[root@localhost root]# lsmod
Module Size Used by Not tainted
sd_mod 13516 0 (autoclean)
ide-cd 35712 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
lp 8996 0 (autoclean)
parport 37056 0 (autoclean) [lp]
usb-storage 74656 0
scsi_mod 107544 2 [sd_mod usb-storage]
autofs 13268 0 (autoclean) (unused)
ds 8680 2
yenta_socket 13504 2
pcmcia_core 57216 0 [ds yenta_socket]
e100 54596 0
trident 33460 0
soundcore 6404 2 [trident]
pcigame 2952 0 [trident]
gameport 3364 0 [pcigame]
ac97_codec 14568 0 [trident]
prism2_usb 75104 0 (unused)
p80211 22988 1 [prism2_usb]
keybdev 2976 0 (unused)
mousedev 5556 0 (unused)
hid 22244 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-ohci 21704 0 (unused)
usbcore 79040 1 [usb-storage prism2_usb hid usb-ohci]
ext3 70784 2
jbd 51924 2 [ext3]



Thank you so much for the help!!! Hope I input everything correctly
 
Old 09-07-2003, 04:09 PM   #4
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
edit: dumb question deleted...

Found a link right here on LQ.org that should help you, if you already been there, done that, post back, here's the link:
http://www.linuxquestions.org/questi...t+wireless+usb

Last edited by akaBeaVis; 09-07-2003 at 04:26 PM.
 
Old 09-07-2003, 04:19 PM   #5
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
According to this post: http://www.linuxquestions.org/questi...threadid=80952
Which has the same wireless adapter as I do, I started there. What should I use instead?
 
Old 09-07-2003, 04:29 PM   #6
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
yeah, my bad, you got it right, did you you check the readme on that guy's site?
 
Old 09-07-2003, 04:33 PM   #7
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
I have checked it, but I couldn't find anything concerning the error I'm getting. Any ideas for somewhere else to look?

Note, I haven't tried installing the other versions, for the other hardware, for two reasons: I don't know how it would help, and I'm worried that if I did I could mess up the laptop. If you think that is a good solution, I'll try it.

Last edited by Safyre; 09-07-2003 at 04:35 PM.
 
Old 09-07-2003, 04:39 PM   #8
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
any errors showing up in /var/log/messages or /var/log/syslog? the fact that the mac address of your adapter is listed as all 0's is not a good sign.
 
Old 09-07-2003, 05:01 PM   #9
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
I can't find a syslog, but I have a messages file. What kind of error should I be looking for? I've found errors, but they're related to my soundcard, which I've since fixed. It cites two usb devices being detected, which could be the adapter, or could be my usb drive memory stick, which works just fine. No errors there.
 
Old 09-07-2003, 05:28 PM   #10
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
the errors would be along the lines of the device not accepting an address or not responding in some other way, it doesn't sound like you have those errors.

it seems to be time to try some things, even though the mac address is not listed, which bothers me.

first, try assigning an address to wlan0: ifconfig 10.0.0.1 wlan0, then ifconfig w/no params, see if the address sticks, I suspect the command will gen an error, but maybe it will lead somewhere. If it works, try iwconfig wlan0 and see if more info than just those 2 lines shows up. I'd also like to see the output of iwpriv wlan0 and modinfo prism2_usb, but if you have to type this in by hand, just iwpriv will do.
 
Old 09-07-2003, 05:46 PM   #11
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
The results

[root@localhost root]# ifconfig 10.0.0.1
10.0.0.1: error fetching interface information: Device not found
[root@localhost root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:509 errors:0 dropped:0 overruns:0 frame:0
TX packets:509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34215 (33.4 Kb) TX bytes:34215 (33.4 Kb)

[root@localhost root]# iwconfig wlan0
wlan0 IEEE 802.11-b Mode:Auto Access Point: 00:00:00:00:00:00
Encryption keyff

[root@localhost root]# iwpriv wlan0
wlan0 no private ioctls.

[root@localhost root]# modinfo prism2_usb
filename: /lib/modules/2.4.20-20.9/kernel/drivers/usb/prism2_usb.o
description: <none>
author: <none>
license: "Dual MPL/GPL"
parm: prism2_debug int
parm: prism2_irq_evread_max int
parm: prism2_doreset int
parm: prism2_reset_holdtime int
parm: prism2_reset_settletime int
 
Old 09-07-2003, 06:05 PM   #12
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
crap, I typed that first one wrong, it should be:
ifconfig wlan0 10.0.0.1, try that.
 
Old 09-07-2003, 06:21 PM   #13
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
This one I'll write up by hand:
[root] # ifconfig wlan0 10.0.0.1
SIOCSIFFLAGS: No such device
 
Old 09-07-2003, 06:48 PM   #14
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Ok, it *is* as bad as I thought, funny: ifconfig -a shows a wlan0 device as well as iwconfig, weird. Anyway, pull your device out, and modprobe -r prism2_usb, do an lsmod and make sure prism2_usb and p80211 are gone, then stick in your device, do another lsmod to see if they're now reloaded, and check the last 20 or 30 lines of /var/log/messages for errors, if no errors, do ifconfig -a and if wlan0 shows up do ifconfig wlan0 10.0.0.1 again followed by iwconfig to see what it shows.
 
Old 09-07-2003, 07:13 PM   #15
Safyre
Member
 
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 31

Original Poster
Rep: Reputation: 15
First the term window results:
[root@localhost root]# modprobe -r prism2_usb
[root@localhost root]# lsmod prism2_usb
Module Size Used by Not tainted
sd_mod 13516 0 (autoclean) (unused)
scsi_mod 107544 1 (autoclean) [sd_mod]
ide-cd 35712 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
lp 8996 0 (autoclean)
parport 37056 0 (autoclean) [lp]
autofs 13268 0 (autoclean) (unused)
ds 8680 2
yenta_socket 13504 2
pcmcia_core 57216 0 [ds yenta_socket]
e100 54596 0
trident 33460 0
soundcore 6404 2 [trident]
pcigame 2952 0 [trident]
gameport 3364 0 [pcigame]
ac97_codec 14568 0 [trident]
keybdev 2976 0 (unused)
mousedev 5556 0 (unused)
hid 22244 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-ohci 21704 0 (unused)
usbcore 79040 1 [hid usb-ohci]
ext3 70784 2
jbd 51924 2 [ext3]
[root@localhost root]# lsmod
Module Size Used by Not tainted
prism2_usb 75104 0 (unused)
p80211 22988 1 [prism2_usb]
sd_mod 13516 0 (autoclean) (unused)
scsi_mod 107544 1 (autoclean) [sd_mod]
ide-cd 35712 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
lp 8996 0 (autoclean)
parport 37056 0 (autoclean) [lp]
autofs 13268 0 (autoclean) (unused)
ds 8680 2
yenta_socket 13504 2
pcmcia_core 57216 0 [ds yenta_socket]
e100 54596 0
trident 33460 0
soundcore 6404 2 [trident]
pcigame 2952 0 [trident]
gameport 3364 0 [pcigame]
ac97_codec 14568 0 [trident]
keybdev 2976 0 (unused)
mousedev 5556 0 (unused)
hid 22244 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-ohci 21704 0 (unused)
usbcore 79040 1 [prism2_usb hid usb-ohci]
ext3 70784 2
jbd 51924 2 [ext3]
[root@localhost root]# lsmod
Module Size Used by Not tainted
prism2_usb 75104 0 (unused)
p80211 22988 1 [prism2_usb]
sd_mod 13516 0 (autoclean) (unused)
scsi_mod 107544 1 (autoclean) [sd_mod]
ide-cd 35712 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
lp 8996 0 (autoclean)
parport 37056 0 (autoclean) [lp]
autofs 13268 0 (autoclean) (unused)
ds 8680 2
yenta_socket 13504 2
pcmcia_core 57216 0 [ds yenta_socket]
e100 54596 0
trident 33460 0
soundcore 6404 2 [trident]
pcigame 2952 0 [trident]
gameport 3364 0 [pcigame]
ac97_codec 14568 0 [trident]
keybdev 2976 0 (unused)
mousedev 5556 0 (unused)
hid 22244 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-ohci 21704 0 (unused)
usbcore 79040 1 [prism2_usb hid usb-ohci]
ext3 70784 2
jbd 51924 2 [ext3]
[root@localhost root]# idconfig -a
bash: idconfig: command not found
[root@localhost root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:00:39:6F:23:C9
BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xef40 Memory:f7efe000-f7efe038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3341 errors:0 dropped:0 overruns:0 frame:0
TX packets:3341 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:227539 (222.2 Kb) TX bytes:227539 (222.2 Kb)

wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1500 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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost root]# ifconfig wlan0 10.0.0.1
SIOCSIFFLAGS: No such device

Now the /messages results:
ep 7 16:57:57 localhost kernel: usb.c: USB disconnect on device 00:02.0-2 address 3
Sep 7 16:57:57 localhost /etc/hotplug/net.agent: NET unregister event not supported
Sep 7 16:57:58 localhost devlabel: devlabel service started/restarted
Sep 7 16:58:03 localhost kernel: usb.c: deregistering driver prism2_usb
Sep 7 16:58:03 localhost kernel: prism2_usb.o: 0.2.0 Unloaded
Sep 7 16:58:03 localhost kernel: p80211.o: 0.2.0 Unloaded
Sep 7 16:58:28 localhost kernel: hub.c: new USB device 00:02.0-2, assigned address 4
Sep 7 16:58:28 localhost kernel: usb.c: USB device 4 (vend/prod 0x45e/0x6e) is not claimed by any active driver.
Sep 7 16:58:31 localhost /etc/hotplug/usb.agent: Setup prism2_usb for USB product 45e/6e/132
Sep 7 16:58:31 localhost kernel: init_module: prism2_usb.o: 0.2.0 Loaded
Sep 7 16:58:31 localhost kernel: init_module: dev_info is: prism2_usb
Sep 7 16:58:31 localhost kernel: usb.c: registered new driver prism2_usb
Sep 7 16:58:32 localhost /etc/hotplug/net.agent: invoke ifup wlan0
Sep 7 16:58:32 localhost kernel: ip_tables: (C) 2000-2002 Netfilter core team
Sep 7 16:58:32 localhost devlabel: devlabel service started/restarted
Sep 7 16:58:33 localhost dhclient: receive_packet failed on wlan0: Network is down
Sep 7 16:58:34 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Sep 7 16:58:34 localhost dhclient: send_packet: Network is down
Sep 7 16:58:39 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
Sep 7 16:58:39 localhost dhclient: send_packet: Network is down
Sep 7 16:58:51 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
Sep 7 16:58:51 localhost dhclient: send_packet: Network is down
Sep 7 16:58:59 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
Sep 7 16:58:59 localhost dhclient: send_packet: Network is down
Sep 7 16:59:10 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
Sep 7 16:59:10 localhost dhclient: send_packet: Network is down
Sep 7 16:59:23 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
Sep 7 16:59:23 localhost dhclient: send_packet: Network is down
Sep 7 16:59:35 localhost dhclient: No DHCPOFFERS received.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
USB Wireless G Adapter rodm13 Slackware 3 11-16-2005 03:46 AM
Wireless Usb Adapter Joshwaaa Linux - Wireless Networking 4 10-20-2004 06:46 AM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 07:13 AM
USB Wireless Adapter isone Linux - Newbie 3 12-17-2003 11:41 AM
usb wireless adapter pfoh Linux - Hardware 0 08-26-2003 12:53 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration