LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-03-2011, 01:06 AM   #91
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22

I'm working all weekend, but I'll try to install Fedora 14 tonight and see what I can figure out for ya, k?

Cheers,

--Stu
 
Old 04-03-2011, 07:30 PM   #92
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Albert,

You've got me! I'm sorry. Do keep us apprised though.


TechnoShaman mon!

Let's start with the tar (tape archive) command:

$ tar --help will get you a help summary, while
$ man tar will print out the whole manual in excruciating detail

These are both good options to know if you're having trouble with any program.

I don't see why the command as written wouldn't work, unless the filename for the archive is somehow different or is not in the current folder. Use ls to print a file directory and see what the file is actually called. To uncompress, it's easiest to just throw the file onto your Desktop and double-click, letting the GUI take care of the extraction, but if you want to use the command line:

$tar -jxvf 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO.bz2 worked for me, with the .bz2 extension intact. When you take off the extension, it tries to operate on a file that doesn't exist and gives you the error.


It looks like the default install of Fedora 14 does not include the proper packages for software development, so you will need to install those. Plug your computer into a wired Internet connection and be sure to run Software Update to ensure all the latest and greatest updates are installed, then Add/Remove Software to install the compilers. My guess is you need something called "build essential" or similar, but I'll have to double-check this for you once I get Fedora up and running on my machine. This is one of those vicious circles -- no network until you compile, no compiling until you have a network -- the only way out is through a wired connection in this case. You might have some success at downloading the required .rpm files and installing them offline, but this is usually more complicated than just moving your computer to the same place as a wired router.

Hope this helps! I'll get you that package name shortly.

--Stu

Last edited by BabyStuey; 04-03-2011 at 07:31 PM.
 
Old 04-03-2011, 08:22 PM   #93
Technoshaman
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Switch operating system

I think I might just install Ubuntu or Debian instead. Can you tell me which one would come with the needed tools already installed?

The reason is I don't have anyway of getting this computer to a wired connection to do all the needed updates and downloads and such. Or I can download from my other computer which has windows on it and put it on a flash drive to take to the other computer. I just need to know where I can go to get what I need and what it is that I need.

You said a wired connection, I'm very new to this. I'm actually trying to help a friend out with this who is even newer to Linux than me. He doesn't have internet yet, and hasn't decided if he is going wireless or not. Would it be a simple point and click operation to set up the wired connection. If so could you point me in the direction of instructions for that as well as help me with how to set up this other stuff so I'll know for me own reference.

Last edited by Technoshaman; 04-03-2011 at 08:25 PM.
 
Old 04-03-2011, 09:31 PM   #94
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
I'm Google-ing this instead...

In Add/Remove Software, try including:

- make
- automake
- gcc
- gcc-c++
- kernel-devel

or as root:

# yum install make automake gcc gcc-c++ kernel-devel

This should be similar to Debian/Ubuntu's "build-essential" package

It would also appear that Fedora is missing pico or nano by default too, so add that as well. :S

Last edited by BabyStuey; 04-03-2011 at 09:35 PM.
 
Old 04-03-2011, 10:18 PM   #95
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
I'm having real troubles with the Live CD install of Fedora 14, so I'm downloading the full DVD install instead: http://download.fedoraproject.org/pu...4-i386-DVD.iso If you did the Live CD route, try this instead - it may allow you to install the missing packages offline from the DVD rather than having to go online to do so. I'd actually be really surprised if you couldn't. EDIT: The Fedora 14 DVD installer won't allow me to configure my network later on my PC, and REQUIRES my Ethernet connection be hooked up in order to install. It worked on my MacBook, however. Still trying, but you may not be able to use Fedora unless you have your computer in the same place as a network cable to your router. I've usually found this to be the case at some point during any Linux installation. You can't easily and effectively install and configure a Linux system without a wired Internet connection. You may get stuck during installation or after when you require updates, but at some point Linux + computer + hard line to Internet = usually required. Otherwise, you're just making life difficult for yourself, especially since we have an unsupported wireless interface that cannot be used during the installation/configuration stage.

Unless you've got some really obscure network card/chipset, the wired networking should be plug-and-play and not require any extra steps (the way the WUSB600N does!) Assuming you have a normal everyday household router plugged into your Internet connection that uses the Dynamic Host Configuration Protocol to assign IP addresses (and most people do), it's pretty easy.

Ubuntu is a Debian-derivative, so they're both pretty similar. I'm 99% sure that the first DVD (probably even the CD) of either will be enough to install all of the necessary tools. Ubuntu is known as the "user-friendly" distribution, so it's a good choice for getting your feet wet. It has a more Mac OS-like layout and is a little more "pretty" than Debian, but they both get the job done. I primarily use Debian, but I've carved out 6 partitions for installing and trying out all the different flavours without having to clear whole hard drives. Yes, I'm a geek that way. :P

http://cdimage.debian.org/debian-cd/...-1.iso.torrent
http://cdimage.debian.org/debian-cd/...i386-DVD-1.iso
http://mirror.anl.gov/pub/ubuntu-iso...86.iso.torrent
http://mirror.anl.gov/pub/ubuntu-iso...0-dvd-i386.iso


Cheers,

--Stu

Last edited by BabyStuey; 04-04-2011 at 09:39 AM.
 
Old 04-04-2011, 11:40 AM   #96
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Hello from Fedora 14 on a WUSB600N v2!

If you really, really, really want to do this entirely offline within Fedora 14, download and burn the Install DVD, then follow the instructions for using your install medium as a repository ("Using the Base Repository") and disabling network sources ("No/Slow Internet Connection?") here: http://www.city-fan.org/tips/SubsetRepositoriesFedora14 Your install DVD will be something along the lines of "file:///media/Fedora\ 14\ i386\ DVD" to be used on the "baseurl=" line.

You may also be able to use "yum localinstall <package name>.rpm" to install the missing packages from downloaded or local sources, however, I promise you it will be a lot more frustrating than carrying your computer over to a router for the 10 minutes required to avoid this step!

Otherwise, so long as you have that Ethernet connection plugged in, the install is pretty painless. No blacklisting is required.

[DRIVER ARCHIVE IS ON DESKTOP]

[user@fedora ~]$ cd Desktop/
[user@fedora Desktop]$ ls
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO.bz2

[user@fedora Desktop]$ tar -xjvf 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO.bz2
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/include/
...
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/README_STA
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/RT2870STA.dat


[user@fedora Desktop]$ ls
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO
2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO.bz2


[user@fedora Desktop]$ cd 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO

[user@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]$ ls
chips LICENSE ralink-GPL.txt RT2870STA.dat
common Makefile sta
include os sta_ate_iwpriv_usage.txt
iwpriv_usage.txt README_STA tools
LICENSE ralink-firmware.txt RT2870STACard.dat


[user@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]$ nano os/linux/config.mk
(change two values to "=y")

[user@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]$ nano common/rtusb_dev_id.c
(add device ID for v2)

[user@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]$ make
make -C tools
make[1]: Entering directory `/home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: gcc: Command not found
make[1]: *** [all] Error 127
make[1]: Leaving directory `/home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/tools'
make: *** [build_tools] Error 2


(uh-oh)

[user@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]$ su
Password:

[root@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]# yum install make automake gcc gcc-c++ kernel-devel kernel-headers
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Install Process
Resolving Dependencies
...
Installed:
automake.noarch 0:1.11.1-5.fc14 gcc.i686 0:4.5.1-4.fc14
gcc-c++.i686 0:4.5.1-4.fc14 kernel-devel.i686 0:2.6.35.11-83.fc14
kernel-headers.i686 0:2.6.35.11-83.fc14

Dependency Installed:
autoconf.noarch 0:2.66-2.fc14 binutils.i686 0:2.20.51.0.7-6.fc14
cloog-ppl.i686 0:0.15.7-2.fc14 cpp.i686 0:4.5.1-4.fc14
glibc-devel.i686 0:2.13-1 glibc-headers.i686 0:2.13-1
libmpc.i686 0:0.8.1-1.fc13 libstdc++-devel.i686 0:4.5.1-4.fc14
ppl.i686 0:0.10.2-10.fc12

Updated:
make.i686 1:3.82-3.fc14

Dependency Updated:
glibc.i686 0:2.13-1 glibc-common.i686 0:2.13-1

Complete!


[root@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]# make
make -C tools
make[1]: Entering directory `/home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/tools'
gcc -g bin2h.c -o bin2h
...
make[1]: Leaving directory `/usr/src/kernels/2.6.35.6-45.fc14.i686'

[root@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]# make install
make -C /home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux -f Makefile.6 install
make[1]: Entering directory `/home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux'
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/2.6.35.6-45.fc14.i686/kernel/drivers/net/wireless/
install -m 644 -c rt3572sta.ko /lib/modules/2.6.35.6-45.fc14.i686/kernel/drivers/net/wireless/
/sbin/depmod -a 2.6.35.6-45.fc14.i686
make[1]: Leaving directory `/home/user/Desktop/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/os/linux'


[root@fedora 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO]#


(UNPLUG ADAPTER & REINSERT)

Your wireless connection should appear in the network manager. Connect as you would normally.

Last edited by BabyStuey; 04-04-2011 at 11:52 AM.
 
Old 04-05-2011, 11:24 PM   #97
Technoshaman
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Talking

Okay I got off my lazy but and dug up the missing ethernet cable in my closet, ran updates and as root: # yum install make automake gcc gcc-c++ kernel-devel. Then proceeded with your previous instructions it is now up and running and I'm sending you this from my wireless connection. Funny thing the wireless card isn't lit up but I'm connected so I'm not complaining.

Thanks a bunch. I'll be hanging out on this forum quite a bit.
 
Old 04-05-2011, 11:33 PM   #98
kafros_
LQ Newbie
 
Registered: Aug 2007
Posts: 11

Rep: Reputation: 0
I'm sorry, wrong thread

Quote:
I blacklisted the drivers and unfortunately after I rebooted the wireless adapter wouldn't work at all. I suppose it didn't use an alternative driver.

Last edited by kafros_; 04-05-2011 at 11:36 PM. Reason: wrong thread
 
Old 04-05-2011, 11:34 PM   #99
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
W00t!
 
Old 04-19-2011, 01:43 PM   #100
protos
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Hi,

So I recently installed ubuntu 10.10 with the WUSB600n stick and got it working with the instructions posted on the first page.

Unfortunately when I updated the kernel through "Software Update" to kernel 2.6.35-28-generic, it stopped working.
When I modprobe -l | grep sta.ko

I see

kernel/drivers/staging/rt2860/rt2860sta.ko
kernel/drivers/staging/rt2870/rt2870sta.ko
kernel/drivers/net/wireless/rt3572sta.ko

even though I have blacklisted the top two drivers - I guess this is the problem. I renamed the :

/lib/modules/2.6.35-28-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
/lib/modules/2.6.35-28-generic/kernel/drivers/staging/rt2870/rt2870sta.ko

files added a .bak to the file names and rebooted, but the drivers are still loaded. Any idea where to go from here ?

Cheers,
Colm
 
Old 04-19-2011, 04:41 PM   #101
protos
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Managed to get this working. I never actually recompiled the drivers.

Apparently anytime the kernel gets updated you need to do the

make
sudo make install

Steps to get the drivers compiled for the new kernel.

Hope this helps someone.

Cheers,
Colm
 
Old 04-20-2011, 12:04 AM   #102
BabyStuey
Member
 
Registered: Apr 2010
Location: Toronto, ON
Distribution: Debian
Posts: 41

Rep: Reputation: 22
Thanks, Colm! That is an important observation!
 
  


Reply

Tags
debian, networking, v2, wireless



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
Driver for DLink - DWL-G122 USB Adapter?? kuhlit Linux - Wireless Networking 4 06-08-2007 04:24 PM
Need a DLink DWL-g510 driver for Debian! aznboi1324 Linux - Wireless Networking 6 02-23-2006 09:38 AM
Driver Installation - Dlink DWL-520+ Timepilot Linux - Newbie 12 08-03-2004 10:01 AM
Need driver for a Dlink DWL-G520+ Deadeye Linux - Hardware 4 06-03-2004 04:16 PM
Dlink dwl-650+ Driver iksnizal Linux - Hardware 15 03-13-2003 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration