LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-15-2012, 03:27 PM   #1
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Rep: Reputation: 0
Smile 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.
 
Old 08-16-2012, 11:01 PM   #2
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
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
 
1 members found this post helpful.
Old 08-17-2012, 04:26 PM   #3
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
Code:
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.
 
Old 08-17-2012, 08:05 PM   #4
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
Look at this webpage. It tells you what you must do.

Alex Brinister
 
Old 08-18-2012, 12:28 PM   #5
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
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.
 
Old 08-18-2012, 12:51 PM   #6
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
Are you familiar with rebuilding a kernel? You can actually check if the module is built into your kernel by doing this:

Code:
zcat /proc/config.gz | grep RT2800USB
If nothing comes back, then you need to reconfigure your kernel and rebuild it.

Alex Brinister

Last edited by abrinister; 08-19-2012 at 11:05 PM. Reason: spelled /proc wrong
 
Old 08-19-2012, 05:04 PM   #7
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
No output. I'll look into what I can do with the kernel.
 
Old 08-19-2012, 11:07 PM   #8
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
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).

Alex Brinister
 
Old 08-21-2012, 03:35 PM   #9
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
I tried both. Does that count
 
Old 08-21-2012, 09:50 PM   #10
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
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.

Alex Brinister
 
Old 08-27-2012, 04:16 PM   #11
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
Post

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.
 
Old 08-27-2012, 04:20 PM   #12
abrinister
Member
 
Registered: Dec 2010
Location: /home
Distribution: RL: Arch x64 VM: Debian
Posts: 460

Rep: Reputation: 38
Did you enable /proc/config.gz support?

Alex Brinister
 
Old 09-15-2012, 10:57 AM   #13
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
Smile Yay Thread Solved

Quote:
Originally Posted by abrinister View Post
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.
 
Old 06-13-2013, 05:15 AM   #14
Valent
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
Hi, I downloaded latest Ralink driver and compiled it from their webpage: http://www.mediatek.com/_en/07_downl...ows.php?sn=501

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.

This guy has solved it:
http://www.geekamole.com/2013/rt2800...-gentoo-linux/

But I'm not sure is this a bug in kernel driver or is this usb device wrongly presenting itself to the system?
 
Old 06-29-2013, 01:21 PM   #15
Mes9
Member
 
Registered: Jan 2012
Distribution: Fedora 17
Posts: 31

Original Poster
Rep: Reputation: 0
Thumbs down

Quote:
Originally Posted by Valent View Post
Hi, I downloaded latest Ralink driver and compiled it from their webpage: http://www.mediatek.com/_en/07_downl...ows.php?sn=501

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.

This guy has solved it:
http://www.geekamole.com/2013/rt2800...-gentoo-linux/

But I'm not sure is this a bug in kernel driver or is this usb device wrongly presenting itself to the system?
Sorry Valent, I'm totally novice linux user and don't know the answer to your question.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless usb adapter driver installation Jugg Linux - Newbie 16 02-01-2011 09:44 AM
Does kernel 2.6.11.12 supports 802.11n wireless USB adapter driver? syseeker Linux - Hardware 1 07-06-2010 06:17 AM
can:t get my wireless usb adapter to be detected -fedora 9-driver zd1201 SkullArm Linux - Newbie 2 10-19-2008 11:01 AM
Fedora 9 and Network Adapter 3COM OfficeConnect Wireless 11g Compact USB Adapter mpharkin Linux - Newbie 1 09-20-2008 05:18 AM


All times are GMT -5. The time now is 10:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration