Author Topic: <Solved> Wusb600n (rt2870sta)  (Read 6027 times)

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
<Solved> Wusb600n (rt2870sta)
« on: June 14, 2009, 01:35:26 PM »
Hi Guy's

I have a WUSB600N Linksys wireless, i know i'm not the only person to suffer no connection with this Driver, but i've been very lucky to get it to work  ??? , thing is i have to go through set up wireless every time, i did find this from buntu's forum :-

Quote
Then do this to make it perminent:
 
 
Quote:
 Originally Posted by mizunoX View Post
Okay here's what I've found (and anyone with more linux knowledge is free to correct me if there's a better way).
 
 Copy the .ko file to the kernel modules folder:
 
Code:
sudo mkdir /lib/modules/<kernel version>/wireless
sudo cp rt2870sta.ko /lib/modules/<kernel version>/wireless
Edit the modules list
 
Code:
sudo gedit /etc/modules
Add the following to the bottom:
 
Code:
rt2870sta
Edit the startup script:
 
Code:
sudo gedit /etc/rc.local
Add this near the end but before "exit 0"
 
Code:
sudo insmod /lib/modules/<kernel version>/wireless/rt2870sta.ko


I've done (as root) mkdir /lib/modules/2.6.26.8/wireless and  mkdir /lib/modules/2.6.26.8.tex3/wireless

both give mkdir: cannot create directory `/lib/modules/2.6.26.8/wireless': No such file or directory

mkdir: cannot create directory `/lib/modules/2.6.26.8.tex3/wireless': No such file or directory

So question is:- How does the above format work in PCLos?

I have a Fresh download of 2009.1 just 2 days ago, the actual kernel installed is 2.6.26.8.tex3

What is a ko file?

Any help is appreciated.

T.I.A


« Last Edit: July 23, 2009, 07:48:39 AM by texstar »
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3793
Re: Wusb600n (rt2870sta) ?
« Reply #1 on: June 15, 2009, 11:30:39 PM »
I think the ko file is the driver.

As root:
mkdir /lib/modules/2.6.26.8.tex3/wireless
this worked for me.

I would not try to mess with this directly, other than for testing. Whatever the solution is for everyone, it needs to be added to draknetcenter. This is because, whenever PCC is started your changes will likely get messed up.

I do hope we get all of these wireless issues solved.

Galen

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #2 on: June 16, 2009, 04:41:14 AM »
Thanks Galen

Quote
As root:
mkdir /lib/modules/2.6.26.8.tex3/wireless
this worked for me.

Nah, didn't work for me, i did try as root, i have got internet with that chip, would have liked it to be permanent, bit of a pain having to set up all the time.
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

CtrlAltDel

  • Guest
Re: Wusb600n (rt2870sta) ?
« Reply #3 on: June 16, 2009, 05:48:50 AM »
Hi there coolbreeze..

What happens if you type locate modules in a console?  Could you give us your output here?


Cheers..



CtrlAltDel

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #4 on: June 16, 2009, 06:10:48 AM »
Thanks C.A.D,

It's a Massive list how do i copy/paste it all, it goes on for miles.
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

CtrlAltDel

  • Guest
Re: Wusb600n (rt2870sta) ?
« Reply #5 on: June 16, 2009, 06:43:01 AM »
Just select the relevant parts ie.. /lib/modules/2.6.26.........

When highlighted, you can right-click it and select copy..  Then paste the results here..  If it's really long use the "Insert Code" icon beside the "Quote" icon..

This will let us scroll through the list..  ;)

Cheers..


CtrlAltDel

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #6 on: June 16, 2009, 06:51:04 AM »
just done the quote button, apparently " i'm not authorised and have to login"
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #7 on: June 16, 2009, 07:12:38 AM »
what you've ask for is too far up the screen
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

CtrlAltDel

  • Guest
Re: Wusb600n (rt2870sta) ?
« Reply #8 on: June 16, 2009, 07:26:59 AM »
You can scroll up to the top in the console..  ;)


Good luck,


CtrlAltDel

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #9 on: June 16, 2009, 07:57:36 AM »
I can go to the top, but not to the command i put in
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

CtrlAltDel

  • Guest
Re: Wusb600n (rt2870sta) ?
« Reply #10 on: June 16, 2009, 08:31:01 AM »
OK..  Scratch that..  Let's take a different approach..

Open a new console and enter:

su  [ENTER then root password]
mkdir /lib/modules/2.6.26.8.tex3/wireless
cp rt2870sta.ko  /lib/modules/2.6.26.8.tex3/wireless    (make sure to have this rt2870sta.ko in the folder you are in)

kwrite /etc/modules/preload.d     (add rt2870sta  to the bottom of this file and save)

kwrite /etc/rc.d/rc.local        (add insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko to the bottom of this file and save)

exit
exit


Now reboot the machine and see if your wireless sticks..

Good luck,


CtrlAltDel

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #11 on: June 16, 2009, 09:02:47 AM »
This what i get, same as i've tried before

Quote
[root@localhost ~]# mkdir /lib/modules/2.6.26.8.tex3/wireless
mkdir: cannot create directory `/lib/modules/2.6.26.8.tex3/wireless': File exists

 [root@localhost ~]# cp rt2870sta.ko  /lib/modules/2.6.26.8.tex3/wireless
cp: cannot stat `rt2870sta.ko': No such file or directory
 
[root@localhost ~]#

I don't have  /etc/modules/preload.d just  /etc/modprobe.d and /etc/modprobe.preload.d

the only listing of modules is in /lib/modules/2,6.26.8.tex3/wireless/rt2870sta

 as for /etc/rc.d/rc.local  there's no rc.local  ???
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

CtrlAltDel

  • Guest
Re: Wusb600n (rt2870sta) ?
« Reply #12 on: June 16, 2009, 10:04:32 AM »
OK I may have made a typo in that..  I'm not on PCLOS at the minute..  We have made progress though..

Quote
[root@localhost ~]# mkdir /lib/modules/2.6.26.8.tex3/wireless
mkdir: cannot create directory `/lib/modules/2.6.26.8.tex3/wireless': File exists

The directory does exist!!  So let's just put the driver there..  Do you have the rt2870sta.ko file?

If so, open Konqueror as root.. Or in console,

su [Enter root password]
konqueror  (locate your  rt2870sta.ko file and copy it to /lib/modules/2.6.26.8.tex3/wireless

Navigate to /etc/modprobe.preload.d then right-click it and open with kwrite..
Add rt2870sta  to the bottom of this file and save..

Navigate to /etc/rc.d/rc.local  then right-click it and open with kwrite..
Add insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko to the bottom of this file and save..


##############################################
ONLY DO THE FOLLOWING IF YOU HAVE NO RC.LOCAL FILE
##############################################

If you wish, you can copy and paste the following into a new file and call it rc.local..  Right-click the file, select Properties, Permissions then tick "Allow this file to run as a program"..  Copy this file to /etc/rc.d/rc.local


Quote
#! /bin/sh

touch /var/lock/subsys/local
insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta.ko

##############################################
##############################################

If you can do this successfully your wireless should run upon reboot..

Good luck,


CtrlAltDel
« Last Edit: June 16, 2009, 10:06:16 AM by CtrlAltDel »

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #13 on: June 16, 2009, 10:22:17 AM »
ok, still learning as i go,

[micheal@localhost ~]$ su
Password:
[root@localhost micheal]# kwrite /etc/rc.local
DCOPClient::attachInternal. Attach failed Could not open network socket
kbuildsycoca running...

this is in kwrite

 #!/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.
insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta
### END INIT INFO

touch /var/lock/subsys/local


[root@localhost micheal]# kwrite /etc/modules/preload.d
kwrite: WARNING: KDirWatch: /etc/modules is a file. Use addFile!
[root@localhost micheal]#

kwrite came up with a blank page

EDIT: now just swapped these after seeing your post.

touch /var/lock/subsys/local
insmod /lib/modules/2.6.26.8.tex3/wireless/rt2870sta

« Last Edit: June 16, 2009, 10:50:53 AM by coolbreeze »
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200

Offline coolbreeze

  • Hero Member
  • *****
  • Posts: 2668
  • Error #152 - Windows not found: (C)heer (P)arty (D
Re: Wusb600n (rt2870sta) ?
« Reply #14 on: June 16, 2009, 10:49:35 AM »
Hey C.A.D. Your a patient man, champion.

Well i've rebooted, still have to configure, bit of a pain.

No fault of Linux, a remedy will show up, i've confidence in that.

The only thing in /etc/modprobe.prelode.d was cpufreq, as you asked, i've put rt2870sta in on the last line
Linux user #440309
PCLOS IS THE KING  Please Donate to the cause. PCLinuxOS
My mind is so full that there's no room to think.
M5A78L-M mobo, AMD Phenom IIx 6 1055T, 4Gig ram,nvidia GeForce GT 240 1 Gig, Netgear DGN2200