|
pcorazao
|
 |
« on: February 10, 2010, 04:09:11 PM » |
|
Hello,
I have a WUSB100 Linksys USB wireless card
when i use pcc to set the network i don't see the wireless card, so i use ndiswrapper and select a new driver and select the rt2870.inf from the CD it came with i can see the .sys file is next to it in the cd. I get a message about how it can't find the device for that driver
[root@localhost ~]# ndiswrapper -l airplus : driver installed bcmwl5 : driver installed bcmwl5a : driver installed blkwgnv7 : driver installed lsbcmnds6 : driver installed lstinds : driver installed mrv8k51 : driver installed mrvw245 : driver installed net5211 : driver installed net8185 : driver installed netr28ux : invalid driver! netr33x : driver installed prismnic : driver installed rt2500 : driver installed rt2870 : driver installed device (1737:0078) present rt73 : driver installed sis163u : driver installed wlannic : driver installed wlanuig : driver installed wlipnds : driver installed
[root@localhost ~]# depmod -a
[root@localhost ~]# modprobe ndiswrapper
[root@localhost ~]#dmesg
NVRM: loading NVIDIA UNIX x86 Kernel Module 180.22 Tue Jan 6 09:29:08 PST 2009 usb 1-2: new high speed USB device using ehci_hcd and address 6 usb 1-2: device descriptor read/8, error -110 usb 1-2: device descriptor read/8, error -110 usb 1-2: new high speed USB device using ehci_hcd and address 7 usb 1-2: device descriptor read/8, error -110 usb 1-2: device descriptor read/8, error -110 usb 1-2: new high speed USB device using ehci_hcd and address 8 usb 1-2: device descriptor read/64, error -110 usb 1-2: device descriptor read/64, error -110 usb 1-2: new high speed USB device using ehci_hcd and address 9 usb 1-2: device descriptor read/64, error -110 hub 1-0:1.0: unable to enumerate USB device on port 2 usb 1-2: new high speed USB device using ehci_hcd and address 10 usb 1-2: configuration #1 chosen from 1 choice ndiswrapper version 1.55 loaded (smp=yes, preempt=no) usb 1-2: reset high speed USB device using ehci_hcd and address 10 ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:'MmGetSystemRoutineAddress' ndiswrapper (load_sys_files:206): couldn't prepare driver 'rt2870' ndiswrapper (load_wrap_driver:108): couldn't load driver rt2870; check system log for messages from 'loadndisdriver' usbcore: registered new interface driver ndiswrapper
i am using pclinuxOS 2009.2
dose anyone one know where i could go from here:
ndiswrapper (load_sys_files:206): couldn't prepare driver 'rt2870' ndiswrapper (load_wrap_driver:108): couldn't load driver rt2870; check system log for messages from 'loadndisdriver'
Thanks,
|
|
|
|
|
Logged
|
|
|
|
|
pcorazao
|
 |
« Reply #1 on: February 10, 2010, 04:28:36 PM » |
|
I installed dkms-rt2870sta driver and i see pan0 now under the pcc.
dmesg ndiswrapper (load_sys_files:206): couldn't prepare driver 'rt2870' ndiswrapper (load_wrap_driver:108): couldn't load driver rt2870; check system log for messages from 'loadndisdriver' usbcore: registered new interface driver ndiswrapper
iwconfig lo no wireless extensions.
eth0 no wireless extensions.
vboxnet0 no wireless extensions.
pan0 no wireless extensions.
|
|
|
|
|
Logged
|
|
|
|
|
MaddogF16
|
 |
« Reply #2 on: February 10, 2010, 04:44:21 PM » |
|
Show us ifconfig please
|
|
|
|
|
Logged
|
Why?
|
|
|
|
MaddogF16
|
 |
« Reply #3 on: February 10, 2010, 04:46:11 PM » |
|
Assuming you rebooted after installing the DKMS package?
|
|
|
|
|
Logged
|
Why?
|
|
|
|
pcorazao
|
 |
« Reply #4 on: February 10, 2010, 05:05:16 PM » |
|
Hi thanks for the help
I have been reading some of the other post trying to get this to work.
[root@localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:16:36:CE:E6:08 inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:322 errors:0 dropped:0 overruns:0 frame:0 TX packets:383 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:191988 (187.4 KiB) TX bytes:59561 (58.1 KiB) Interrupt:20 Base address:0x8000
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:19 errors:0 dropped:0 overruns:0 frame:0 TX packets:19 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1026 (1.0 KiB) TX bytes:1026 (1.0 KiB)
|
|
|
|
|
Logged
|
|
|
|
|
MaddogF16
|
 |
« Reply #5 on: February 10, 2010, 05:19:20 PM » |
|
Maybe a dumb question here, but are you unplugging the ethernet line when you try to use the USB device? You're ifconfig shows a nicely running ethernet connection.  Have you tried unplgging the device and plugging back in to trigger the hotplug?
|
|
|
|
|
Logged
|
Why?
|
|
|
|
pcorazao
|
 |
« Reply #6 on: February 10, 2010, 05:32:31 PM » |
|
yep i had the cable plugged in, i'll remove it and reboot.
i also added these entries to the following files:
# /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a `#', and everything on the line after them are ignored.
slamr evdev rt2870sta
#!/bin/sh # ### BEGIN INIT INFO # Provides: rc.local # X-Mandriva-Compat-Mode # Default-Start: 2 3 4 5 # Short-Description: Local initialization script # Description: This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. ### END INIT INFO
touch /var/lock/subsys/local insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko exit 0
|
|
|
|
|
Logged
|
|
|
|
|
MaddogF16
|
 |
« Reply #7 on: February 10, 2010, 05:40:59 PM » |
|
If you can see it in PCC as pan0 is that under normal look up or with ndiswrapper? Need to determine if we're going the ndiswrapper route or trying for native support? There are some good ndis guys around here if you choose that route. Make sure there's firmware for this device in /lib/firmware.
|
|
|
|
|
Logged
|
Why?
|
|
|
|
pcorazao
|
 |
« Reply #8 on: February 10, 2010, 05:55:16 PM » |
|
I unpluged and rebooted, no luck. option 1) ndiswrapper I have the CD that it came with and i am using the rt2870.inf and the rt2870.sys i can manually install them using ndiswrapper -i rt2870.inf the trouble comes when i modprobe ndiswrapper pcc dose not load the driver eather option 2) rt2870sta.so linux driver so......... then i started using. i copied the rt2870sta.so to the wireless directory i used the one from the sysnaptic reporitory under:dkms-rt2870sta and made the edits to the files mentioned above rebooted. no luck. If you can recommend anything let me know. Thanks, -Pete the card dose work in pclinuxos running virturalbox (pclinuxos2007 personal release) with windows xp. crazy... i need to learn more about virturalbox and how this is possible. 
|
|
|
|
|
Logged
|
|
|
|
old-polack
Administrator
Hero Member
   
Offline
Posts: 6502
----IOFLU----
|
 |
« Reply #9 on: February 10, 2010, 05:58:30 PM » |
|
yep i had the cable plugged in, i'll remove it and reboot.
i also added these entries to the following files:
# /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a `#', and everything on the line after them are ignored.
slamr evdev rt2870sta
#!/bin/sh # ### BEGIN INIT INFO # Provides: rc.local # X-Mandriva-Compat-Mode # Default-Start: 2 3 4 5 # Short-Description: Local initialization script # Description: This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. ### END INIT INFO
touch /var/lock/subsys/local insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko exit 0
The file highlighted in blue is basically useless, as it's only used with 2.4.x kernels. You need to make the entries in /etc/modprobe.preload if you wish to have them loaded in a 2.6.x kernel.
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? 
|
|
|
|
MaddogF16
|
 |
« Reply #10 on: February 10, 2010, 06:01:32 PM » |
|
If I'm not mistaken OP in the newer 2.6.32 kernels that file won't be there, at least not in my U install.
|
|
|
|
|
Logged
|
Why?
|
|
|
|
Mark342
|
 |
« Reply #11 on: February 10, 2010, 06:20:56 PM » |
|
I have one of those. The driver rt2870sta is the driver that works with this card, but the source of the driver lacks the WUSB100's usb id that is necessary for the driver to "detect" this card. Unfortunately, you will have to get the source, add the usb id (that you get from "lsusb") ,and compile the driver. I do not recommend this because you will have to manually load the compiled driver (insmod rt2870sta.ko) and do "ifup ra0" on every boot. Also, the computer will pause at bootup until the Linksys usb is removed. If you are running kernel 2.6.28 or later then you will have to add this one line and recompile the kernel.  But if you really want to get it to work: There is a guide for ubuntu for the WUSB100 ver 1 (WUSB ver 2 is the same, but with a usbid of 1737:0078): http://ubuntuforums.org/showthread.php?t=1100594And there is a bug report for ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/350695
|
|
|
|
|
Logged
|
Insanity is hereditary. You get it from your kids. Registered Linux user #493318 Register yourself here: Linux Counter
|
|
|
old-polack
Administrator
Hero Member
   
Offline
Posts: 6502
----IOFLU----
|
 |
« Reply #12 on: February 10, 2010, 06:21:42 PM » |
|
If I'm not mistaken OP in the newer 2.6.32 kernels that file won't be there, at least not in my U install.
U uses some strange combinations of files other distributions do not. Any file can be sourced, with the right scripts, or links, but the two that were spelled out by kernel.org for use with 2.6.x kernels were /etc/modprobe.conf and /etc/modprobe.preload. Most distributions honor that set up. If that changes with newer kernels in general, I'm sure we will be made aware of it, but so far the two official files are the ones used by PCLinuxOS.It's much the same as grub using /boot/grub/menu.lst, by design, but Red Hat and Fedora using /boot/grub/grub.conf instead.
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? 
|
|
|
old-polack
Administrator
Hero Member
   
Offline
Posts: 6502
----IOFLU----
|
 |
« Reply #13 on: February 10, 2010, 07:03:03 PM » |
|
I have one of those. The driver rt2870sta is the driver that works with this card, but the source of the driver lacks the WUSB100's usb id that is necessary for the driver to "detect" this card. Unfortunately, you will have to get the source, add the usb id (that you get from "lsusb") ,and compile the driver. I do not recommend this because you will have to manually load the compiled driver (insmod rt2870sta.ko) and do "ifup ra0" on every boot. Also, the computer will pause at bootup until the Linksys usb is removed. If you are running kernel 2.6.28 or later then you will have to add this one line and recompile the kernel.  But if you really want to get it to work: There is a guide for ubuntu for the WUSB100 ver 1 (WUSB ver 2 is the same, but with a usbid of 1737:0078): http://ubuntuforums.org/showthread.php?t=1100594And there is a bug report for ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/350695Checking my installation, all the files and modules for this item seem to already exist, without resorting to any of the above. It would appear that Texstar has already included support for this in the PCLinuxOS kernels. [root@fatman ~]# locate rt2870.bin/lib/firmware/rt2870.bin [root@fatman ~]# locate rt2870sta/lib/modules/2.6.26.8.tex1/kernel/drivers/net/wireless/rt2870sta.ko.gz /lib/modules/2.6.26.8.tex3/kernel/drivers/net/wireless/rt2870sta.ko.gz /lib/modules/2.6.27.21.tex1/kernel/drivers/net/wireless/rt2870sta.ko.gz /lib/modules/2.6.27.31.tex4/kernel/drivers/net/wireless/rt2870sta.ko.gz /lib/modules/2.6.27.31.tex5/kernel/drivers/net/wireless/rt2870sta.ko.gz /lib/modules/2.6.31.9-pclos3/kernel/drivers/staging/rt2870/rt2870sta.ko.gz /lib/modules/2.6.32.2-pclos5/kernel/drivers/staging/rt2870/rt2870sta.ko.gz My guess would be that all that is needed is a proper entry in /etc/modprobe.conf to associate the driver with the device; something on the order of; alias pci:v000010ECd00008168sv00001458sd0000E000bc02sc00i00 r8169 alias eth0 r8169 alias pci:v000010DEd000001C3sv00000E11sd000000A8bc02sc00i00 forcedeth alias eth1 forcedeth alias snd-0 snd-hda-intel options snd_hda_intel model=6stack-dig
|
|
|
|
|
Logged
|
Old-Polack Of what use be there for joy, if not for the sharing thereof? 
|
|
|
|
pcorazao
|
 |
« Reply #14 on: February 11, 2010, 08:09:32 AM » |
|
yep i had the cable plugged in, i'll remove it and reboot.
i also added these entries to the following files:
# /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a `#', and everything on the line after them are ignored.
slamr evdev rt2870sta
#!/bin/sh # ### BEGIN INIT INFO # Provides: rc.local # X-Mandriva-Compat-Mode # Default-Start: 2 3 4 5 # Short-Description: Local initialization script # Description: This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. ### END INIT INFO
touch /var/lock/subsys/local insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko exit 0
The file highlighted in blue is basically useless, as it's only used with 2.4.x kernels. You need to make the entries in /etc/modprobe.preload if you wish to have them loaded in a 2.6.x kernel. Thanks # /etc/modprobe.preload: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a `#', and everything on the line after them are ignored. # this file is for module-init-tools (kernel 2.5 and above) ONLY # for old kernel use /etc/modules capability yenta_socket floppy bttv ohci1394 8250_pci mmc_core mmc_block slamr amd64-agp intel_agp sdhci nvram amd64_agp evdev rt2870sta
|
|
|
|
|
Logged
|
|
|
|
|