PCLinuxOS-Forums
 
*
Welcome, Guest. Please login or register. July 29, 2010, 01:13:50 PM


Login with username, password and session length


Pages: 1 [2] 3   Go Down
  Print  
Author Topic: [SOLVED] WUSB100  (Read 3223 times)
pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #15 on: February 11, 2010, 08:28:30 AM »

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.Sad

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=1100594

And there is a bug report for ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/350695



Checking 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





[root@localhost etc]# locate rt2870.bin
/lib/firmware/rt2870.bin
[root@localhost etc]# locate rt2870sta
/lib/modules/2.6.26.8.tex3/kernel/drivers/net/wireless/rt2870sta.ko

[root@localhost etc]# vi modprobe.conf

install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
blacklist audio
blacklist snd-usb-audio
options snd-ac97-codec power_save=1
alias sound-slot-0 snd_hda_intel
alias eth0 forcedeth
alias net-pf-10 off
install scsi_hostadapter /sbin/modprobe sata_nv; /sbin/modprobe pata_amd; /bin/true
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 ax25
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 netrom
alias net-pf-7 bridge
alias net-pf-8 atm
alias net-pf-9 x25
alias net-pf-10 off
alias net-pf-11 rose
alias net-pf-12 decnet
alias ipv6 off
alias net-pf-15 af_key
alias net-pf-16 af_netlink
alias net-pf-17 af_packet
alias net-pf-19 af_econet
alias net-pf-20 atm
alias net-pf-23 irda
alias net-pf-24 pppoe
alias net-pf-25 wanrouter
alias net-pf-26 llc
alias net-pf-31 bluetooth
alias eth1394 off
alias ath0 ath_pci
alias eth1395 ndiswrapper
alias ra0 rt2870sta

Thanks,
I think i am all set for the driver to load and work on startup.  I think the problem is the driver is not compiled for my ID 1737:0078

[root@localhost etc]# 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

I am going with Ds342 suggestion and working with the following leads:

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=1100594

And there is a bug report for ubuntu: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/350695

Thanks for the support everyone.
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #16 on: February 12, 2010, 10:34:03 AM »

alright this will be a long post here bear with me.

Before you begin:

make sure you have this package installed from sysnaptic
glibc-headers-devel

also make note of the output for lsusb
[pcorazao@localhost ~]$ lsusb
Bus 001 Device 015: ID 154b:6545 PNY
Bus 001 Device 014: ID 1737:0078 Linksys
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


The Id may different, i had 1737:0078


1) download the following files from here: http://www.ralinktech.com/support.php?s=2
   
RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2
RT2870_Firmware_V8.zip

   
2) decompress and extract files

bzip2 -d RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2
tar -xvf RT2870_LinuxSTA_V2.3.0.0.tar.tar
unzip RT2870_Firmware_V8.zip -x

3) modify rt2870sta driver
   
cd RT2870_LinuxSTA_V2.3.0.0
cd common
vi rtusb_dev_id.c

add the following line, between the "#ifdef RT35xx" and "#endif // RT35xx //" in the file "common/rtusb_dev_id.c"

{USB_DEVICE(0x1737,0x0079)}, /*Linksys WUSB100*/

save and close

cd..
cd os
cd linux
vi config.mk

change the following entries from no to yes

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=yls

save and close

cd ..
cd ..
vi MakeFile

ensure that the following lines say STA and LINUX

RT28xx_MODE = STA
TARGET = LINUX:q

4) complie driver

From RT2870_LinuxSTA_V2.3.0.0 directory
run the following commands

sudo make
   
   # To fix "error: too few arguments to function ¡¥iwe_stream_add_event"
     => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c
   The following Link contains the file on a post.
   Patch: http://fedoraforum.org/forum/showthread.php?t=195429
             I am stuck here
   

sudo make install

5) install new driver  *must be a root shell
   From RT2870_LinuxSTA_V2.3.0.0 directory
   cp ./rt2870sta.ko /lib/modules/2.6.26.8.tex3/kernel/drivers/net/wireless/rt2870sta.ko
   
   From RT2870_Firmware_V8 directory
   cp ./rt2870.bin /lib/firmware/rt2870.bin
   *note this file is great to review along with the README_STA file that comes with RT2870_LinuxSTA_V2.3.0.0

   vi /etc/modprobe.conf
   ensure the following line is present, if not add it.
   alias ra0 rt2870sta   
   
   create vi /ect/ifcfg-ra0 --Test for PCLinuxOS
      DEVICE='ra0'
      ONBOOT='yes'
      BOOTPROTO='dhcp'   

   vi /etc/sysconfig/network --Test for PCLinuxOS
   GATEWAY=x.x.x.x   
   replease x.x.x.x with your default gatway.
   
   vi /etc/modprobe.preload
   ensure the following line is present, if not add it.   
   rt2870sta
   
   vi /etc/rc.local
   ensure the following line is present, if not add it before exit 0
   insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko   

   cd /lib/modules/2.6.26.8.tex3/kernel/drivers/net/wireless/rt2870sta.ko
   sudo modprobe rt3572sta
      run dmesg to check for errors
   dmesg
   run ifconfig, check for ra0
   ifconfig
   run iwconfig, check for rao
   iwconfig

   use the following commands to bring the interface up and down.
   ifup ra0
   or ifconfig ra0 inet YOUR_IP up
   ifdown ra0

6) reboot
   run pcc to manage the connection.

7) unload driver - if you want to remove   
     ifconfig ra0 down
     rmmod rt2870sta   


I am stuck at step 4

I get the following output after make:

make
make -C tools
make[1]: Entering directory `/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/tools'
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/tools/bin2h
cp -f os/linux/Makefile.6 /home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/Makefile
make -C /lib/modules/2.6.26.8.tex3/build SUBDIRS=/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.26.8.tex3'
  CC [M]  /home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.o
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:753: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:753: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:753: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:753: error: too few arguments to function ‘iwe_stream_add_event’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:832: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:832: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:832: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:832: error: too few arguments to function ‘iwe_stream_add_event’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:848: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:848: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:848: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:848: error: too few arguments to function ‘iwe_stream_add_point’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:875: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:875: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:875: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:875: error: too few arguments to function ‘iwe_stream_add_event’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:895: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:895: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:895: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:895: error: too few arguments to function ‘iwe_stream_add_event’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:911: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:911: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:911: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:911: error: too few arguments to function ‘iwe_stream_add_event’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:929: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:929: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:929: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:929: error: too few arguments to function ‘iwe_stream_add_point’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:978: warning: passing argument 1 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:978: warning: passing argument 4 of ‘iwe_stream_add_value’ from incompatible pointer type
include/net/iw_handler.h:569: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:978: warning: passing argument 5 of ‘iwe_stream_add_value’ makes pointer from integer without a cast
include/net/iw_handler.h:569: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:978: error: too few arguments to function ‘iwe_stream_add_value’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1002: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1002: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1002: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘STRING *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1002: error: too few arguments to function ‘iwe_stream_add_point’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1020: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘PSTRING’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1020: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1020: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘STRING *’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1020: error: too few arguments to function ‘iwe_stream_add_point’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_siwencode’:
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:1446: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c: At top level:
/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.c:5935: fatal error: opening dependency file /home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/.sta_ioctl.o.d: Permission denied
compilation terminated.
make[2]: *** [/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux/../../os/linux/sta_ioctl.o] Error 1
make[1]: *** [_module_/home/pcorazao/Documents/RT2870_LinuxSTA_V2.3.0.0Modified/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26.8.tex3'
make: *** [LINUX] Error 2


I am in need of the patch file:
os/linux/sta_ioctl.c.patch
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #17 on: February 12, 2010, 11:35:19 AM »

upgrade the Kernel?..... Huh

I think i'll try that ...
Logged

old-polack
Administrator
Hero Member
*****
Offline Offline

Posts: 6045


----IOFLU----


« Reply #18 on: February 12, 2010, 11:40:35 AM »

pcorazao:

http://fedoraforum.org/forum/showthread.php?t=195429

The patch file you are looking for is attached to the 7th reply in the thread. You will need to register, and log in to that forum, to be able to d/l the attachment.

I really don't know what's included in the existing module for that device, as i don't have one, but I, personally, would be trying a newer kernel, to see if that device is covered by the newer rt2870sta module, before resorting to compiling my own. Texstar is usually very meticulous about using a full set of patches when building our kernels, to provide for the greatest number of wireless devices. If the particular patch is missing from that module, to cover your device, I'd be reporting it in the broken packages section, so that an updated dkms module could be built.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?

 
pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #19 on: February 12, 2010, 11:16:34 PM »

ok forget the patch..it went to another driver and also my file appears to already have the patch inplace after reading the file.

i upgraded the Kernel to 2.6.27.31.tex5 and compiled the driver and it compiled GREAT! i got a new rt2870sta.ko

I placed it in /lib/modules/2.6.27.31.tex5/kernel/drivers/net/wireless/

and loaded the driver but it keeps loading the old one rt2870sta.ko.gz

so i renamed the old one to rt2870staOld.ko.gz and loaded it again and said could not find rt2870sta.ko.gz

my question is

how can i make the new driver i just compiled rt2870sta.ko into a rt2870sta.ko.gz file so i can load it to see if it works.
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #20 on: February 12, 2010, 11:28:14 PM »

crap i got it

gzip rt2870sta.ko
 Grin
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #21 on: February 13, 2010, 12:10:25 AM »

the driver is all setup per my previous posts and when i load it
modprobe rt2870sta

i get the following

[root@localhost ~]# dmesg | grep rt2870
usbcore: registered new interface driver rt2870
rt2870sta: version magic '2.6.26.8.tex3 SMP mod_unload modversions 686 ' should be '2.6.27.31.tex5 SMP mod_unload 686 '
[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:496 errors:0 dropped:0 overruns:0 frame:0
          TX packets:514 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:296249 (289.3 KiB)  TX bytes:75730 (73.9 KiB)
          Interrupt:20 Base address:0xe000

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:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:922 (922.0 b)  TX bytes:922 (922.0 b)

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

eth0      no wireless extensions.

vboxnet0  no wireless extensions.


whats usbcore ? this still looks like something is getting setup before my new driver gets set
Logged

MaddogF16
Hero Member
*****
Offline Offline

Posts: 2918



« Reply #22 on: February 13, 2010, 09:47:34 AM »

Use "lsusb" in a terminal with adapter plugged in to see if the system is seeing the adapter. If seen and identified then "lsmod" to see what module is getting loaded. When you run "ifconfig" and don't see the interface  or interface+HW address it's a pretty good indication that it's not the right driver for the job.

You could attempt " modprobe -t net \* " if you getting really stuck and it should load and unload drivers in an attempt to find one that communicates with the adapter.

Have you blacklisted or uninstalled ndiswrapper while trying to get the native (kernel) driver going so there's no conflicts?
Logged

Why?
pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #23 on: February 13, 2010, 11:21:22 AM »

[root@localhost ~]# lsusb
Bus 001 Device 014: ID 1737:0078 Linksys
Bus 001 Device 002: ID 154b:6545 PNY
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@localhost ~]# lsmod
Module                  Size  Used by
ndiswrapper           184476  0
rfcomm                 37392  0
nvidia               7222008  38
af_packet              21120  2
vboxnetadp             11200  0
vboxnetflt             18280  0
vboxdrv               161032  2 vboxnetadp,vboxnetflt
hidp                   17152  2
l2cap                  25088  8 rfcomm,hidp
sbs                    14856  0
sbshc                   8960  1 sbs
pci_slot                8456  0
fan                     8452  0
container               7424  0
bluetooth              55908  3 rfcomm,hidp,l2cap
binfmt_misc            12424  1
loop                   18060  0
fuse                   54940  3
dm_mirror              22016  0
dm_log                 13316  1 dm_mirror
dm_mod                 54728  2 dm_mirror,dm_log
cpufreq_ondemand       11148  0
cpufreq_conservative    10120  0
cpufreq_powersave       5504  0
powernow_k8            17668  0
freq_table              7808  2 cpufreq_ondemand,powernow_k8
rt2870sta             551916  0
nvram                  11660  0
sdhci                  18948  0
intel_agp              29252  0
agpgart                32456  2 nvidia,intel_agp
mmc_block              13572  0
mmc_core               49180  2 sdhci,mmc_block
ohci1394               33200  0
ieee1394               80836  1 ohci1394
bttv                  163860  0
videodev               37632  1 bttv
v4l1_compat            17796  1 videodev
ir_common              39172  1 bttv
compat_ioctl32          5120  1 bttv
i2c_algo_bit            9732  1 bttv
v4l2_common            13952  1 bttv
videobuf_dma_sg        14852  1 bttv
videobuf_core          19332  2 bttv,videobuf_dma_sg
btcx_risc               7944  1 bttv
tveeprom               15748  1 bttv
yenta_socket           27020  0
rsrc_nonstatic         15104  1 yenta_socket
pcmcia_core            35604  2 yenta_socket,rsrc_nonstatic
snd_hda_intel         415892  1
snd_hwdep              10756  1 snd_hda_intel
snd_seq_dummy           6788  0
snd_seq_oss            32768  0
snd_seq_midi_event     10112  1 snd_seq_oss
snd_seq                50416  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         10380  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40224  0
snd_pcm                71428  2 snd_hda_intel,snd_pcm_oss
snd_timer              23432  2 snd_seq,snd_pcm
snd_page_alloc         11912  2 snd_hda_intel,snd_pcm
snd_mixer_oss          17664  1 snd_pcm_oss
snd                    51620  11 snd_hda_intel,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
i2c_nforce2            10372  0
soundcore              10080  1 snd
k8temp                  8320  0
i2c_core               24084  6 nvidia,bttv,i2c_algo_bit,v4l2_common,tveeprom,i2c_nforce2
forcedeth              58256  0
video                  21268  9
joydev                 13504  0
pcspkr                  6528  0
output                  6656  1 video
evdev                  13472  8
battery                14468  0
usb_storage           105924  0
button                 10384  0
ide_cd_mod             34052  0
cdrom                  36768  1 ide_cd_mod
rtc_cmos               13984  0
wmi                     9896  0
ac                      8324  0
thermal                19612  0
processor              38444  2 powernow_k8,thermal
sg                     34480  0
pata_amd               14596  0
ata_generic             8836  0
pata_acpi               8064  0
sata_nv                26504  3
libata                153120  4 pata_amd,ata_generic,pata_acpi,sata_nv
dock                   11920  1 libata
sd_mod                 37276  4
scsi_mod              136524  4 usb_storage,sg,libata,sd_mod
crc_t10dif              5760  1 sd_mod
ext3                  125320  1
jbd                    46100  1 ext3
uhci_hcd               25744  0
ohci_hcd               26640  0
ehci_hcd               38028  0
usbcore               135152  7 ndiswrapper,rt2870sta,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd
[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
rt73 : driver installed
sis163u : driver installed
wlannic : driver installed
wlanuig : driver installed
wlipnds : driver installed

I am tried, rebooting and modprobe rt2870sta looks like the driver loads fine.

when i play around with pcc, i don't see any network interface, if i proceed to setup a new interface with ndiswrapper it says that usbcore is already managing this device, do you want to change?  I know i am playing around with ndiswrapper but if i say yes then load the rt2870 windows driver it fails now if i hit the previous button and return to the original setup screen, i then now see a linksys network adapter interface instead of nothing....

could it be that usbcore has managed the device and my linux driver is not getting the opportunity to load?

what is usbcore, is it worth trying to blacklist that... it sounds important..

Thanks for the help maddog!
Logged

MaddogF16
Hero Member
*****
Offline Offline

Posts: 2918



« Reply #24 on: February 13, 2010, 11:31:59 AM »

I think Ndiswrapper (which is using a windows driver as a wrap around) is what's causing the issue. I'd remove ndiswrapper from the system via synaptic package manager and try the native (Linux) kernel driver first,which should be loaded already but the ndiswrapper package is blocking it. USBCORE is fine as that's the controlling unit of the usb ports.

Remove ndis and reboot, then modprobe the sta driver again, then issue ifconfig and see if the adapter shows up and we'll judge from that point where to go next. Have two hockey games to coach today but I'll try to check back in on ya.
Logged

Why?
Mark342
Full Member
***
Offline Offline

Posts: 119



« Reply #25 on: February 13, 2010, 05:54:56 PM »

Renaming the old driver doesn't work.
You have to move it outside the kernel directory, otherwise the old driver might be loaded instead of the new one.
Logged

Registered Linux user #493318
Register yourself here: Linux Counter
pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #26 on: February 13, 2010, 08:19:28 PM »

i removed the renamed old driver and did a
modprobe rt2870sta on the new driver
dmesg

and got the following:

hub 1-0:1.0: unable to enumerate USB device on port 6
usb 1-6: new high speed USB device using ehci_hcd and address 11
usb 1-6: device descriptor read/8, error -110
usb 1-6: device descriptor read/8, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 12
usb 1-6: device descriptor read/8, error -110
usb 1-6: device descriptor read/8, error -110
usb 1-6: new high speed USB device using ehci_hcd and address 13
hub 1-0:1.0: unable to enumerate USB device on port 6
usb 1-6: new high speed USB device using ehci_hcd and address 14
usb 1-6: configuration #1 chosen from 1 choice
usb 1-6: New USB device found, idVendor=1737, idProduct=0078
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: Linksys RangePlus Wireless Network USB Adapter
usb 1-6: Manufacturer: Cisco-Linksys LLC
ndiswrapper version 1.55 loaded (smp=yes, preempt=no)
usbcore: registered new interface driver ndiswrapper


[root@localhost ~]# modprobe rt2870sta
[root@localhost ~]# lsmod
Module                  Size  Used by
ndiswrapper           184476  0
rfcomm                 37392  0
nvidia               7222008  38
af_packet              21120  2
vboxnetadp             11200  0
vboxnetflt             18280  0
vboxdrv               161032  2 vboxnetadp,vboxnetflt
hidp                   17152  2
l2cap                  25088  8 rfcomm,hidp
sbs                    14856  0
sbshc                   8960  1 sbs
pci_slot                8456  0
fan                     8452  0
container               7424  0
bluetooth              55908  3 rfcomm,hidp,l2cap
binfmt_misc            12424  1
loop                   18060  0
fuse                   54940  3
dm_mirror              22016  0
dm_log                 13316  1 dm_mirror
dm_mod                 54728  2 dm_mirror,dm_log
cpufreq_ondemand       11148  0
cpufreq_conservative    10120  0
cpufreq_powersave       5504  0
powernow_k8            17668  0
freq_table              7808  2 cpufreq_ondemand,powernow_k8
rt2870sta             551916  0
nvram                  11660  0
sdhci                  18948  0
intel_agp              29252  0
agpgart                32456  2 nvidia,intel_agp
mmc_block              13572  0
mmc_core               49180  2 sdhci,mmc_block
ohci1394               33200  0
ieee1394               80836  1 ohci1394
bttv                  163860  0
videodev               37632  1 bttv
v4l1_compat            17796  1 videodev
ir_common              39172  1 bttv
compat_ioctl32          5120  1 bttv
i2c_algo_bit            9732  1 bttv
v4l2_common            13952  1 bttv
videobuf_dma_sg        14852  1 bttv
videobuf_core          19332  2 bttv,videobuf_dma_sg
btcx_risc               7944  1 bttv
tveeprom               15748  1 bttv
yenta_socket           27020  0
rsrc_nonstatic         15104  1 yenta_socket
pcmcia_core            35604  2 yenta_socket,rsrc_nonstatic
snd_hda_intel         415892  1
snd_hwdep              10756  1 snd_hda_intel
snd_seq_dummy           6788  0
snd_seq_oss            32768  0
snd_seq_midi_event     10112  1 snd_seq_oss
snd_seq                50416  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         10380  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40224  0
snd_pcm                71428  2 snd_hda_intel,snd_pcm_oss
snd_timer              23432  2 snd_seq,snd_pcm
snd_page_alloc         11912  2 snd_hda_intel,snd_pcm
snd_mixer_oss          17664  1 snd_pcm_oss
snd                    51620  11 snd_hda_intel,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
i2c_nforce2            10372  0
soundcore              10080  1 snd
k8temp                  8320  0
i2c_core               24084  6 nvidia,bttv,i2c_algo_bit,v4l2_common,tveeprom,i2c_nforce2
forcedeth              58256  0
video                  21268  9
joydev                 13504  0
pcspkr                  6528  0
output                  6656  1 video
evdev                  13472  8
battery                14468  0
usb_storage           105924  0
button                 10384  0
ide_cd_mod             34052  0
cdrom                  36768  1 ide_cd_mod
rtc_cmos               13984  0
wmi                     9896  0
ac                      8324  0
thermal                19612  0
processor              38444  2 powernow_k8,thermal
sg                     34480  0
pata_amd               14596  0
ata_generic             8836  0
pata_acpi               8064  0
sata_nv                26504  3
libata                153120  4 pata_amd,ata_generic,pata_acpi,sata_nv
dock                   11920  1 libata
sd_mod                 37276  4
scsi_mod              136524  4 usb_storage,sg,libata,sd_mod
crc_t10dif              5760  1 sd_mod
ext3                  125320  1
jbd                    46100  1 ext3
uhci_hcd               25744  0
ohci_hcd               26640  0
ehci_hcd               38028  0
usbcore               135152  7 ndiswrapper,rt2870sta,usb_storage,uhci_hcd,ohci_hcd,ehci_hcd

[root@localhost ~]# lsusb
Bus 001 Device 014: ID 1737:0078 Linksys
Bus 001 Device 002: ID 154b:6545 PNY
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

still no interface showing up...

what is usbcore?  I think this maybe the issue...

I Keep coming back to this because its strange, when i first run pcc there is no interface just "Use a Windows driver(with ndiswrapper)"

if i setup continue the wizard and select the .inf file i get the following promt:

"The Selected device has already been configured with the usbcore driver
Do you really want to use ndiswrapper driver?, yes or now"

of course the windows driver fails to load / find the device ect..

at this point if i hit the previous btn i then see

Select the network interface to configure:

Cisco-Linksys LLC Linksys RangePlus Wireless Network USB Adapter


Is it possible that usbcore keeps managing the device and dose not give rt2870sta a change to manage?

what dose usbcore do, and could i configure it to lead the wireless id alown? or blacklist it?

This happens right, when two drivers are configured to control the same id's like a loading precedence maybe?

of course i am removing the failed ndiswrapper -r rt2870 after i play with  pcc and i have tried rebooting ect..

Thanks for the help everyone
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #27 on: February 13, 2010, 08:37:13 PM »

strange it shows up in pcc hardware:

Identification
Vendor: ‎Cisco-Linksys LLC

Description: ‎Linksys RangePlus Wireless Network USB Adapter

Media class: ‎

Connection
Bus: ‎USB

Bus PCI #: ‎1

PCI device #: ‎14

Vendor ID: ‎0x1737

Device ID: ‎0x0078

Sub vendor ID: ‎0x0000

Sub device ID: ‎0x0000

Misc
Module: ‎ndiswrapper
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #28 on: February 13, 2010, 09:13:06 PM »

OHHH MYYYY GOD!!!!

I fat fingered the device ID on the driver

[root@localhost ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:36:CE:E6:08
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:25057 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19043 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:21967155 (20.9 MiB)  TX bytes:2895074 (2.7 MiB)
          Interrupt:20 Base address:0xe000

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:105 errors:0 dropped:0 overruns:0 frame:0
          TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:27301 (26.6 KiB)  TX bytes:27301 (26.6 KiB)

ra0       Link encap:Ethernet  HWaddr 00:1E:E5:EA:D9:A1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:31056 (30.3 KiB)


steps:
Before you begin:

make sure you have this package installed from sysnaptic
glibc-headers-devel

also make note of the output for lsusb
[pcorazao@localhost ~]$ lsusb
Bus 001 Device 015: ID 154b:6545 PNY
Bus 001 Device 014: ID 1737:0078 Linksys
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


The Id may different, i had 1737:0078

go to pcc service section and make sure "dkms" service is set to start at boot time
open synaptic press reload then apply all updates
then search for kernel-2.6.27.31.tex5 and install it and reboot select the new kernel from the grub menu
Edit /boot/grub/menu.lst to use the new kernel from now on.


1) download the following files from here: http://www.ralinktech.com/support.php?s=2
   
RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2
RT2870_Firmware_V8.zip

   
2) decompress and extract files

bzip2 -d RT2870_LinuxSTA_V2.3.0.0.tar.tar.bz2
tar -xvf RT2870_LinuxSTA_V2.3.0.0.tar.tar
unzip RT2870_Firmware_V8.zip -x

3) modify rt2870sta driver
   
cd RT2870_LinuxSTA_V2.3.0.0
cd common
vi rtusb_dev_id.c

add the following line, between the "#ifdef RT35xx" and "#endif // RT35xx //" in the file "common/rtusb_dev_id.c"

{USB_DEVICE(0x1737,0x0078)}, /*Linksys WUSB100*/

save and close

cd..
cd os
cd linux
vi config.mk

change the following entries from no to yes

# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

save and close

cd ..
cd ..
vi MakeFile

ensure that the following lines say STA and LINUX

RT28xx_MODE = STA
TARGET = LINUX:q

4) complie driver

From RT2870_LinuxSTA_V2.3.0.0 directory
run the following commands

sudo make
   
   # To fix "error: too few arguments to function ��iwe_stream_add_event"
   must update to the latest pclinuxos kernel tex5
   
sudo make install

5) install new driver  *must be a root shell
   From RT2870_LinuxSTA_V2.3.0.0 directory
   cp ./rt2870sta.ko  /lib/modules/2.6.27.31.tex5/kernel/drivers/net/wireless/rt2870sta.ko

   From RT2870_Firmware_V8 directory
   cp ./rt2870.bin /lib/firmware/rt2870.bin
   *note this file is great to review along with the README_STA file that comes with RT2870_LinuxSTA_V2.3.0.0

   vi /etc/modprobe.conf
   ensure the following line is present, if not add it.
   alias ra0 rt2870sta   
   
   create vi /ect/ifcfg-ra0 --Test for PCLinuxOS
      DEVICE='ra0'
      ONBOOT='yes'
      BOOTPROTO='dhcp'   

   vi /etc/sysconfig/network --Test for PCLinuxOS
   GATEWAY=x.x.x.x   
   replease x.x.x.x with your default gatway.
   
   vi /etc/modprobe.preload
   ensure the following line is present, if not add it.   
   rt2870sta
   
   vi /etc/rc.local
   ensure the following line is present, if not add it before exit 0
   insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko   

   cd /lib/modules/2.6.26.8.tex3/kernel/drivers/net/wireless/rt2870sta.ko
   sudo modprobe rt3572sta
      run dmesg to check for errors
   dmesg
   run ifconfig, check for ra0
   ifconfig
   run iwconfig, check for rao
   iwconfig

   use the following commands to bring the interface up and down.
   ifup ra0
   or ifconfig ra0 inet YOUR_IP up
   ifdown ra0

6) reboot
   run pcc to manage the connection.

7) unload driver - if you want to remove   
     ifconfig ra0 down
     rmmod rt2870sta   


The only trouble i have now is ra0 is ethernet not wireless...

[root@localhost ~]# ifup ra0

Determining IP information for ra0... failed; no link present.  Check cable?

all the networking tools don't find any networks to scan ether?
Logged

pcorazao
Full Member
***
Offline Offline

Posts: 98



WWW
« Reply #29 on: February 14, 2010, 11:19:54 AM »

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

eth0      no wireless extensions.

vboxnet0  no wireless extensions.

ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT2870STA"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Bit Rate:1 Mb/s
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=10/100  Signal level:0 dBm  Noise level:-97 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@localhost etc]# ifup ra0

here is the .dat file:

#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=US
ChannelGeography=1
SSID=11n-AP
NetworkType=Infra
WirelessMode=5
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
WmmCapable=1
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
AutoRoaming=0
RoamThreshold=70
APSDCapable=0
APSDAC=0;0;0;0
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=0
HT_MpduDensity=4
HT_BW=1
HT_BADecline=0
HT_AutoBA=1
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
HT_DisallowTKIP=1
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0
CarrierDetect=0
AntDiversity=0
BeaconLostTime=4
PSP_XLINK_MODE=0

[root@localhost etc]# 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:25673 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24832 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20951169 (19.9 MiB)  TX bytes:3901458 (3.7 MiB)
          Interrupt:20 Base address:0xe000

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:115 errors:0 dropped:0 overruns:0 frame:0
          TX packets:115 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18014 (17.5 KiB)  TX bytes:18014 (17.5 KiB)

ra0       Link encap:Ethernet  HWaddr 00:1E:E5:EA:D9:A1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3058 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:238200 (232.6 KiB)

the last bit of dmesg:
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
RTMPSetPhyMode: channel is out of range, use first channel=1
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
IOCTL::unknown IOCTL's cmd = 0x00008947
usb 1-6: USB disconnect, address 17
Bulk In Failed. Status=-108, BIIdx=0x0, BIRIdx=0x0, actual_length= 0x0
#
RTUSB_VendorRequest failed(-19),TxFlags=0x0, ReqType=IN, Req=0x7, Idx=0x1000, pAd->Flags=0x10080102
CMDTHREAD_RESET_BULK_IN: Cannot do bulk in because flags(0x10080102) on !
rtusb_disconnect: unregister usbnet usb-0000:00:0b.1-6
RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
 RTUSB disconnect successfully
usbcore: deregistering interface driver rt2870
<--- rtusb exit
rtusb init --->
usbcore: registered new interface driver rt2870
usb 1-6: new high speed USB device using ehci_hcd and address 18
usb 1-6: configuration #1 chosen from 1 choice


=== pAd = f9902000, size = 482916 ===

<-- RTMPAllocAdapterBlock, Status=0
usb 1-6: New USB device found, idVendor=1737, idProduct=0078
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: Linksys RangePlus Wireless Network USB Adapter
usb 1-6: Manufacturer: Cisco-Linksys LLC
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
RTMPSetPhyMode: channel is out of range, use first channel=1
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
RTMPSetPhyMode: channel is out of range, use first channel=1
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
IOCTL::unknown IOCTL's cmd = 0x00008947
---> RTMPFreeTxRxRingMemory
<--- RTMPFreeTxRxRingMemory
<-- RTMPAllocTxRxRingMemory, Status=0
-->RTUSBVenderReset
<--RTUSBVenderReset
CfgSetCountryRegion():CountryRegion in eeprom was programmed
CfgSetCountryRegion():CountryRegion in eeprom was programmed
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 5
2. Phy Mode = 5
RTMPSetPhyMode: channel is out of range, use first channel=1
3. Phy Mode = 9
MCS Set = ff 00 00 00 01
<==== rt28xx_init, Status=0
0x1300 = 00064300


ifup ra0

Determining IP information for ra0... failed; no link present.  Check cable?

pcc can't find any networks to start.

Any ideans  Huh

Thanks
Logged

Pages: 1 [2] 3   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM