Help with wireless driver. Please

I have a ralink rt5390 wireless card in my computer. No linux distro Ive tried will work with it. (Ubuntu, Opensuse, Fedora, etc.) I really want to get it working. Im using Opensuse 11.4 64 bit and ive tried the files here
https://build.opensuse.org/package/show?package=rt5390sta&project=driver%3Awireless

for 11.3 but I get an error when I try to install it. when I click details I get this

[PK_TMP_DIR|dir:///var/tmp/TmpDir.waJJol] Repository already exists.

Should I go down to Opensuse 11.3? I really need some help. Opensuse is my favorite! Thanks in advance. If you need any more details please ask

On 04/06/2011 08:36 PM, rolltide101x wrote:
>
> I have a ralink rt5390 wireless card in my computer. No linux distro Ive
> tried will work with it. (Ubuntu, Opensuse, Fedora, etc.) I really want
> to get it working. Im using Opensuse 11.4 64 bit and ive tried the files
> here
> http://tinyurl.com/3hkoguk
>
> for 11.3 but I get an error when I try to install it. when I click
> details I get this
>
> [PK_TMP_DIR|dir:///var/tmp/TmpDir.waJJol] Repository already exists.
>
> Should I go down to Opensuse 11.3? I really need some help. Opensuse is
> my favorite! Thanks in advance. If you need any more details please ask

Drivers MUST be for EXACTLY the kernel you wish to use. The ones for 11.3 will
never work for 11.4. As there are no published binaries for 11.4 (yet), you have
a few options, including compiling your own version. Before you take that step,
please post the output for the command


/sbin/lspci -nn

I only need the data for the Ralink 5390. You can ignore the rest. You should
also go to the wireless forum, which would have been a better place to post, and
read the stickies.

As lwfinger stated, you have to build against your kernel source, so just download the source rpm for 11.3 and build the rpm on your 11.4 system:


wget http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.3/src/rt5390sta-2.4.0.4-6.1.src.rpm
rpmbuild --rebuild rt5390sta-2.4.0.4-6.1.src.rpm 

After all the build output you should see something like:


Wrote: /usr/src/packages/RPMS/x86_64/rt5390sta-kmp-default-2.4.0.4_k2.6.37.1_1.2-6.1.x86_64.rpm
Wrote: /usr/src/packages/RPMS/x86_64/rt5390sta-kmp-desktop-2.4.0.4_k2.6.37.1_1.2-6.1.x86_64.rpm
Wrote: /usr/src/packages/RPMS/x86_64/rt5390sta-kmp-xen-2.4.0.4_k2.6.37.1_1.2-6.1.x86_64.rpm
Wrote: /usr/src/packages/RPMS/noarch/rt5390sta-common-2.4.0.4-6.1.noarch.rpm

And there you should have your rpms, built against your kernel. Install the appropriate one, for example:


(as root)
rpm -ivh /usr/src/packages/RPMS/noarch/rt5390sta-common-2.4.0.4-6.1.noarch.rpm
rpm -ivh /usr/src/packages/RPMS/x86_64/rt5390sta-kmp-desktop-2.4.0.4_k2.6.37.1_1.2-6.1.x86_64.rpm

I built it with:


Callandor:~ # rpm -qa | grep kernel
kernel-source-2.6.37.1-1.2.2.noarch
kernel-desktop-devel-2.6.37.1-1.2.2.x86_64
kernel-default-devel-2.6.37.1-1.2.2.x86_64
kernel-devel-2.6.37.1-1.2.2.noarch
kernel-xen-devel-2.6.37.1-1.2.2.x86_64
kernel-desktop-2.6.37.1-1.2.2.x86_64
kernel-syms-2.6.37.1-1.2.2.x86_64

I had no issues building or installing the rpm, though of course I can’t actually test the driver as I don’t have that card - it ought to work though.

Welcome to the beautiful world of source code and source rpm!

Looks like you won’t have to wait long though - this driver is being put into the kernel upstream: linux kernel monkey log

Cheers,
LewsTherin

Here you go and thanks

clate@linux-nnmh:~> /sbin/lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
00:1a.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
00:1a.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
00:1a.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation ICH9M/M-E SATA AHCI Controller [8086:2929] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
00:1f.6 Signal processing controller [1180]: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem [8086:2932] (rev 03)
02:00.0 Network controller [0280]: RaLink Device [1814:5390]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
clate@linux-nnmh:~>

I got this when I try what you said. Did I do something wrong?

clate@linux-nnmh:~> rpmbuild --rebuild rt5390sta-2.4.0.4-6.1.src.rpm
Installing rt5390sta-2.4.0.4-6.1.src.rpm
warning: InstallSourcePackage at: psm.c:244: Header V3 DSA/SHA1 Signature, key ID 4073bdbe: NOKEY
error: line 23: Dependency tokens must begin with alpha-numeric, ‘_’ or ‘/’: BuildRequires: %kernel_module_package_buildreqs dos2unix
clate@linux-nnmh:~>

On 04/06/2011 10:06 PM, rolltide101x wrote:

If you install the compat-wireless package, the driver will be included. The
name is rt2800pci. I do not have your device, but I have an RT3090 that uses the
same driver. It is quite stable for a relatively new driver.

The URL for the repository that contains compat-wireless is
http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.4/. Add
that repo and install the compat-wireless-kmp-XXXXX, where XXXXX is desktop or
default, whichever matches the kernel you are using as shown by ‘uname -r’.

Ok, I reinstalled down to 11.3 and im getting the same error with the drivers for 11.3 and the files you suggested.

[PK_TMP_DIR|dir:///var/tmp/TmpDir.qIURRD] Repository already exists.

What does this mean? Any help?

On 04/07/2011 03:36 AM, rolltide101x wrote:
>
> Ok, I reinstalled down to 11.3 and im getting the same error with the
> drivers for 11.3 and the files you suggested.
>
> [PK_TMP_DIR|dir:///var/tmp/TmpDir.qIURRD] Repository already exists.
>
> What does this mean? Any help?

I do not know. With YaST, check your install repositories.

Ive tried deleting the repository with that name but it always comes back. It seems to send stuff to a temporary folder to be installed. I cant figure out a fix for this Ive tried quite a few things. I have googled this and tried solutions some other people have had success with but it didnt work for me.

Try a reboot first. If that does not help, go Yast - System - Sysconfigeditor, search for “TMP” and set the tmp dirs to be cleaned at boottime. Then reboot and try again.

Which one should I mess with? I have rebooted several times through this process and it hasnt worked. Here is a picture of what searching for “TMP” turned up

http://img854.imageshack.us/img854/4678/screenshotlt.png

Nevermind. I think I figured it out. Rebooting now. crosses fingers

Well actually I gotta wait about 10 minutes for a download to get done. (Ive been waiting an hour and a half for it lol)

It didnt fix it. Still saying the same thing. Any other advice? please!!!

Any help? Ethernet cable is getting annoying lol

Reinstalled down to openSUSE 11.2

I got the Error Message: [PK_TMP_DIR|dir:///var/tmp/TmpDir.EDyYC2] Repository already exists.
Extensions installed:

fixed it with
sudo zypper rr 2
sudp zypper rr 1
sudo zypper clean –all
sudo zypper ref

then I added the repository
Index of /repositories/driver:/wireless/11.2-update

and I installed the packages like normal. It will also work in the package manager. Worked fine on openSUSE 11.2 i586

Just putting this in case anyone else needs it

link where repository is
https://build.opensuse.org/package/binaries?package=rt5390sta&project=driver%3Awireless&repository=11.2-update