Your post above makes it all worthwhile. Thanks, Ben, for you very kind comments.
Your post above makes it all worthwhile. Thanks, Ben, for you very kind comments.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.
Your fix worked perfectly, i tried many methods from installing different versions of ubuntu to reinstalling no end of drivers.
Thankyou VERY much.
Best things in life are free, for everything eles theres ubuntuProud Kubuntu User Since 2008
Just an update to the much appreciated solution from Chili555. I managed to get his solution working in 10.04 lucid lynx 32 bit with the latest usb-n13 driver from the Asus site, version 2.3.0.2 dated April 22 2010 (zip file attached to this post, and here is also the Asus official link):
http://support.asus.com/download/dow...Language=en-us
(Of course Chili555's solution also works with the driver he attached in post #17 of the main thread:
http://ubuntuforums.org/showthread.p...USB-N13&page=2
)
The steps I followed were:
tar -xvzf DPO_RT3070_LinuxSTA_V2.3.0.2_20100422.tgz
cd DPO_RT3070_LinuxSTA_V2.3.0.2_20100422
sudo make
make install
At this point, there was an error "error 1" with the new driver's makefile where it's looking for the file /DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/RT3070STA.dat . However the actual file is named RT2870STA.dat . Here is the terminal output of the error:
The solution is to edit the os/linux/Makefile.6 file:Code:make -C /home/d/Desktop/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/os/linux -f Makefile.6 install mkdir: cannot create directory `/etc/Wireless': File exists make[1]: Entering directory `/home/d/Desktop/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/os/linux' rm -rf /etc/Wireless/RT3070STA mkdir /etc/Wireless/RT3070STA cp /home/d/Desktop/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/RT3070STA.dat /etc/Wireless/RT3070STA/. cp: cannot stat `/home/d/Desktop/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/RT3070STA.dat': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/d/Desktop/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/os/linux' make: *** [install] Error 2
sudo gedit os/linux/Makefile.6
There is a line near the top:
Change this line to:Code:DAT_FILE_NAME = RT$(CHIPSET)STA.dat
Save, exit, then:Code:DAT_FILE_NAME = RT2870STA.dat
sudo make install
The makefile should install without errors now. Then create the two files in /etc/modprobe.d/ and /etc/udev/rules.d/ exactly as Chili555 wrote them:
http://ubuntuforums.org/showpost.php...44&postcount=2
Then physically insert the usb-n13 device in the usb port. At this point ubuntu recognized the hardware, I didn't need to restart. This new driver seems to give me better speed than the older version.
to roydragger:
I appreciate that someone else is working on this adapter at the same time as me.
I attempted your fix in 10.04, and on the sudo make command, got this:
Code:make -C tools make[1]: Entering directory `/home/thinkpad/build/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/tools' gcc -g bin2h.c -o bin2h make[1]: gcc: Command not found make[1]: *** [all] Error 127 make[1]: Leaving directory `/home/thinkpad/build/Linux/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/tools' make: *** [build_tools] Error 2
What does this mean?
It seems wierd to reply to your own post, but I found out it was because I didn't have the gcc installed, as I am running Netbook Edition which doesn't have gcc installed, therefore, could not compile anything. Hope this helps anyone else involved in this trek getting the Asus usb n13 to work.
Will these instructions work in 8.04 LTS? I started to follow roydrager's instructions but when it talked about editing the os/linux/Makefile.6 file, I couldn't even find that directory.
Here's my background about how I've come to this point. When WinXP went down on my old Toshiba A15-157, I first tried putting Ubuntu 10.04 on it but it wouldn't boot up properly. So I put 8.04 on it because I already had the disk. When I tried to use the internal wireless, I can see the wireless networks but it wouldn't support WPA, only WEP. I followed instructions from another thread to try to update the firmware. But it still wouldn't offer WPA when I selected roaming. If I selected manual configuration, WPA was offered but I still couldn't connect to the network. This seemed to be the end of that attempt, so I decided to try a new USB adapter. Like 828688 Ben, I'm not familiar with the internal workings of Linux & when I plug in the USB N13 I get nothing.
Forget the part about not finding the os/linux directory. I found it and made the changes from above but got the following message:
sh: cannot create /sys/bus/usb/drivers/rt2870/new_id: Directory nonexistent
FATAL: Error running install command for rt3070sta
root@sas-laptop:/home/sas/Desktop/RT3070_V2.3.0.2# exit
exit
sas@sas-laptop:~/Desktop/RT3070_V2.3.0.2$ dir
chips LICENSE\ ralink-firmware.txt RT2870STACard.dat tools
common Makefile RT2870STA.dat
include os sta
iwpriv_usage.txt README_STA_usb sta_ate_iwpriv_usage.txt
sas@sas-laptop:~/Desktop/RT3070_V2.3.0.2$ sudo make install
[sudo] password for sas:
make -C /home/sas/Desktop/RT3070_V2.3.0.2/os/linux -f Makefile.6 install
mkdir: cannot create directory `/etc/Wireless': File exists
make[1]: Entering directory `/home/sas/Desktop/RT3070_V2.3.0.2/os/linux'
rm -rf /etc/Wireless/RT3070STA
mkdir /etc/Wireless/RT3070STA
cp /home/sas/Desktop/RT3070_V2.3.0.2/RT2870STA.dat /etc/Wireless/RT3070STA/.
install -d /lib/modules/2.6.24-28-generic/kernel/drivers/net/wireless/
install -m 644 -c rt3070sta.ko /lib/modules/2.6.24-28-generic/kernel/drivers/net/wireless/
install: cannot stat `rt3070sta.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/sas/Desktop/RT3070_V2.3.0.2/os/linux'
make: *** [install] Error 2
sas@sas-laptop:~/Desktop/RT3070_V2.3.0.2$
Swan48 sorry I didn't get those particular errors so I don't exactly have an answer for you. From the top of your console output:
It seems that your first command, sudo make, failed, which probably caused the later errors of not finding rt3070.koCode:sh: cannot create /sys/bus/usb/drivers/rt2870/new_id: Directory nonexistent FATAL: Error running install command for rt3070sta
The things different I noticed about our setups are:
distro: 8.04 vs. 10.04
kernel: 2.6.24-28 vs. 2.6.32-21
directory: it appears you made your own directory named Desktop/RT3070_V2.3.0.2/. I just used the default directory that the DPO_RT3070_LinuxSTA_V2.3.0.2_20100422.tgz file creates when you untar it, Desktop/DPO_RT3070_LinuxSTA_V2.3.0.2_20100422/. Perhaps the makefile looks specifically for this directory?
I just got my N13 to work.In fact, I'm using it now. I ended up installing 9.10 & that solved a lot of problems I was having. After updating 9.10, I followed the instructions Chilli gave Ben & hoped for similar results. So to answer my own question, to solve this problem if you're using 8.04, I suggest you update your system to at least 9.10 & follow the above instructions.
Thanks everyone.
I'm glad to see that this thread has helped everyone as much as it has helped me.
--
Ben
Bookmarks