SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-24 03:56:17

Flea90
Member
Registered: 2011-05-24
Posts: 10

[HELP] Problem compiling Ralink 3060 Wireless Driver

Hello! I love Slitaz and i've learned a lot since I installed it. I always try to solve my problems but now i'm puzzled and i can`t figure out how to solve the problem.

I have a Wireless PCI Card: D-Link DWA 525. I used the lspci command and i found out that it uses a Ralink 3060 Chipset. I downloaded the drivers from linux from the webpage (http://www.ralinktech.com/support.php?s=2. It has the source files and i've to compile the driver. I'm quite noob with this... i downloaded gcc complier, slitaz-toolchain and other packages. Then i loguin as root in a terminal, change to the driver folder (with all the files to be compiled) and do the following:

make

make install

The driver doesn`t compile i gives me an error... it says that it couldn't find a folder. The exact line is: /lib/modules/2.6.15-28/build/ no such file or directory.

It gives me that error and i could`t compile the driver.

What can i do to solve this? I really don't know what to do... i would really apreciate your help! I really need to install this card.

Thanks!

Flea90.

Offline

#2 2011-05-24 04:02:16

Flea90
Member
Registered: 2011-05-24
Posts: 10

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

I uploaded a readme file that comes with the other files. It explains the steps to follow... but i[c]m not sure about some things, obviously i'm doing something wrong because i couldn[/c]t make it work.

Offline

#3 2011-05-24 19:53:01

Flea90
Member
Registered: 2011-05-24
Posts: 10

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

This is the error that appears:

make: *** /lib/modules/2.6.30.6-slitaz/build: No such file or directory.  Stop.

make: *** [LINUX] Error 2

please anyone help me!

Offline

#4 2011-05-24 20:05:23

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

check with tazpkg search-pkgname which package provides the missing dir:

fabio@s10:~$ tazpkg search-pkgname /lib/modules/$(uname -r)/build

Search result for file /lib/modules/2.6.37-slitaz/build

================================================================================

linux-module-headers

================================================================================

1 pkg(s) found with file: /lib/modules/2.6.37-slitaz/build

i'm on cooking so my output is different from yours, but you should need to install linux-module-headers :

tazpkg get-install linux-module-headers

if you have more missing files use tazpkg search-pkgname again to find what you miss

Offline

#5 2011-05-25 00:21:04

Flea90
Member
Registered: 2011-05-24
Posts: 10

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

Thank you very much ernia!! It really worked for me! I discover waht package i was missing and installed the linux-source package and i could compile the driver without any problem... but i've new drawbacks here.

I try to use the network manager to connect to my router but i can`t. The network manager shows some wireless networks but I double click on them and nothing happens. It seems that the network manager isn't working very well. I've to load the driver each time I boot (modprobe rt3562sta). The green light of the pci card is blinking and it shows some networks but i'm not able to connect to any of them (even not to my own router nor other networks without key).

Does anyone have a clue with this?

Sorry about my bad english... thanks again!

Offline

#6 2011-05-25 00:35:05

Flea90
Member
Registered: 2011-05-24
Posts: 10

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

i'm still trying but i can't... is there any way to configure it manually?

Offline

#7 2011-05-25 06:02:29

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

you can make the module to be automatically loaded at boot putting it in

/etc/rcS.conf

in the LOAD_MODULES row

i don't have slitaz with me right now and i don't really know how the network utility works, you could try googling for iwconfig and wpa_supplicant

Offline

#8 2011-05-26 02:11:49

Flea90
Member
Registered: 2011-05-24
Posts: 10

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

Thanks again! Now the module is loaded at boot... but i still can't connect to any network!

any clue about this?

Offline

#9 2011-06-16 03:05:00

Flea90
Member
Registered: 2011-05-24
Posts: 10

Re: [HELP] Problem compiling Ralink 3060 Wireless Driver

Solved. To make things easier i was trying to connect to my router without any pass. As it didn't mean to work i decided to set WPA2 authentication in my router and i was able to connect without any problems using WICD.

I honestly don't know what was causing troubles... perhaps it has something to do with the WPA_Supplicant daemon.

Bye!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.030 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]