[SOLVED] Wireless-N USB Adapter-How to build the right driver-On Fedora 17 kernel:3.5.1-1.fc17
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wireless-N USB Adapter-How to build the right driver-On Fedora 17 kernel:3.5.1-1.fc17
Hi I am currently running Fedora 17, kernel 3.5.1-1.fc17 and I need to build/install the driver for my wireless. The driver which came with the adapter is for kernel 2.6, and I asume that this is the cause for it not building with make.
I've tried to install both RT2870 and RT3070 which came with the wireless-adapter but neither will build.
I havent found any postings to explain how I should do this.
sudo yum install *rt3070*
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: www.fedora.is
* rpmfusion-free: www.fedora.is
* rpmfusion-free-updates: www.fedora.is
* rpmfusion-nonfree: www.fedora.is
* rpmfusion-nonfree-updates: www.fedora.is
* updates: www.fedora.is
Package kcbench-data-2.6.38-0.1-9.fc17.noarch already installed and latest version
Package linux-firmware-20120510-0.3.git375e954.fc17.noarch already installed and latest version
? same result as sudo yum install *rt2870*
Code:
~]$ lsusb
Bus 001 Device 003: ID 148f:3072 Ralink Technology, Corp. RT3072 Wireless Adapter
Bus 006 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I tried to build the rpms
Code:
rpm -ivh /*/*/*/*rt2870*.rpm
warning: /proc/10563/cwd/rt2870-2.1.2.0-2.fc9.src.rpm: Header V3 DSA/SHA1 Signature, key ID 49c8885a: NOKEY
1:rt2870 warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
2:rt2870-kmod warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
3:rt2870 warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
4:rt2870-kmod warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
5:rt2870 warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
6:rt2870-kmod warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
produces no output:
Code:
du -a /lib/modules/`uname -r`|grep 2860
du -a /lib/modules/`uname -r`|grep 2870
du -a /lib/modules/`uname -r`|grep 3070
Code:
su -c 'modprobe rt2870'
Password:
FATAL: Module rt2870 not found.
Code:
su -c 'modprobe rt3070'
Password:
FATAL: Module rt3070 not found.
Hey man. It says that only rt2870usb will build in kernel version over 3.0, and I cant find it anywhere. Then that would be my only chance of using this hardware. I do remember seeing the rt2870usb somewhere so I'll do a search for it.
I actually spelled /proc wrong in the code snippet of my last post. It is fixed now. Maybe you can rerun that (unless you were smart enough to figure out what I meant).
Okay. That means you will have to build a custom kernel (I don't know why Fedora doesn't enable the config.gz option in the kernel confg). Here is a link to the Fedora instructions on how to do this.
I've been digging for this, and I've built the kernel. On the kernel config page the drivers are set to be modules. I don't know what that means but they don't show up anywhere. The kernel was just the previous kernel rebuilt. I havn't figured out how to patch the kernel yet. Havent found much about the drivers for newer kernels either.
If this is possible I should be able to find it. Else I need to find me a more linux friendly hardware.
According to here, the drivers you are looking for are already in the kernel. Your card should work by default. If not, then you can try
Code:
su -c 'modprobe rt2870'
OR
su -c 'modprobe rt3070'
Alex Brinister
as root run
Code:
modprobe rt2800usb
And authenticate wireless in wireless assistant(I don't know the name of the program but it's the manager which resides in the top right corner. Where wired and wireless connections are.
After installing them and loading via "modprobe rt5370sta" I get ra0 wireless interface, but it looks it still doesn't work, networkmanager isn't showing anything.
After installing them and loading via "modprobe rt5370sta" I get ra0 wireless interface, but it looks it still doesn't work, networkmanager isn't showing anything.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.