LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-14-2013, 11:38 PM   #1
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Rep: Reputation: 30
Unhappy problem with wireless network card D-Link dwa-510 , rt61


hello

I am using a tutorial to install my wireless network card D-Link dwa510

Quote:
lspci -k

02:06.0 Network controller: IBM Winnipeg PCI-X Host Bridge
Subsystem: D-Link System Inc Device 3a71
but

Quote:
iwconfig wlan0 essid networkname
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device wlan0 ; No such device.
also
Quote:
ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:e0:7d:ca:6c:73 txqueuelen 1000 (Ethernet)
RX packets 11156 bytes 9858007 (9.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10752 bytes 1442477 (1.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 2 bytes 100 (100.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 100 (100.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I know the card drivers is "rt61" ,and is included in the kernel, but

Quote:
lsmod
Module Size Used by
rfcomm 33911 4
ipt_REJECT 2338 1
iptable_filter 1449 1
ip_tables 17171 1 iptable_filter
x_tables 16864 3 ip_tables,iptable_filter,ipt_REJECT
snd_seq_dummy 1456 0
snd_seq_oss 28985 0
snd_seq_midi_event 5621 1 snd_seq_oss
snd_seq 51267 5 snd_seq_midi_event,snd_seq_oss,snd_seq_dummy
snd_seq_device 5197 3 snd_seq,snd_seq_oss,snd_seq_dummy
snd_pcm_oss 39120 0
snd_mixer_oss 15436 1 snd_pcm_oss
bnep 10981 2
bluetooth 192151 10 bnep,rfcomm
rfkill 15789 3 bluetooth
ipv6 282088 0
it87 28726 0
hwmon_vid 3093 1 it87
cpufreq_ondemand 6611 4
lp 9756 0
fuse 68466 7
hid_generic 1138 0
usbhid 36908 0
hid 84897 2 hid_generic,usbhid
i2c_dev 5834 0
sp5100_tco 4561 0
snd_hda_codec_via 38621 1
nvidia 9363907 22
acpi_cpufreq 7487 1
mperf 1164 1 acpi_cpufreq
freq_table 2531 2 cpufreq_ondemand,acpi_cpufreq
ppdev 5959 0
parport_pc 19232 1
parport 31012 3 lp,ppdev,parport_pc
i2c_piix4 8032 0
processor 26937 1 acpi_cpufreq
snd_hda_intel 27380 2
k10temp 2883 0
snd_hda_codec 96971 2 snd_hda_codec_via,snd_hda_intel
ohci_hcd 24019 0
i2c_core 20260 3 i2c_dev,i2c_piix4,nvidia
thermal_sys 15392 1 processor
button 4697 0
evdev 10269 5
hwmon 1330 3 it87,k10temp,thermal_sys
8139too 19752 0
snd_hwdep 6453 1 snd_hda_codec
snd_pcm 76135 3 snd_pcm_oss,snd_hda_codec,snd_hda_intel
snd_page_alloc 7323 2 snd_pcm,snd_hda_intel
snd_timer 18735 2 snd_pcm,snd_seq
snd 59613 15 snd_pcm_oss,snd_hwdep,snd_timer,snd_hda_codec_via,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_se q_oss,snd_seq_device,snd_mixer_oss
soundcore 5315 1 snd
ehci_hcd 44490 0
mii 4020 1 8139too
wmi 8340 0
kvm_amd 50127 0
kvm 373230 1 kvm_amd
microcode 11938 0
loop 18129 0
anybody with any ideas? I use slackware current multilib updated .

many thanks

Last edited by afreitascs; 03-16-2013 at 05:08 PM.
 
Old 03-15-2013, 12:28 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,406

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
I think that you need to download and install the non-free firmware for RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661) from here. http://www.mediatek.com/_en/07_downl...ows.php?sn=501

Unzip the tarball and move the *.bin and licence to /lib/firmware.
 
Old 03-15-2013, 12:39 AM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 519

Rep: Reputation: 137Reputation: 137
afreitascs,

The kernel 'rt61pci' is the module on my system (these is no rt61 istalled in my 3.2.29 default kernel) and firmware is in /lib/firmware already:

Code:
# modinfo rt61pci
filename:       /lib/modules/3.2.29/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license:        GPL
firmware:       rt2661.bin
firmware:       rt2561s.bin
firmware:       rt2561.bin
description:    Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     6EC3F7278A9374D7B5F8C61
alias:          pci:v00001814d00000401sv*sd*bc*sc*i*
alias:          pci:v00001814d00000302sv*sd*bc*sc*i*
alias:          pci:v00001814d00000301sv*sd*bc*sc*i*
depends:        rt2x00lib,rt2x00pci,eeprom_93cx6
intree:         Y
vermagic:       3.2.29 SMP mod_unload 
parm:           nohwcrypt:Disable hardware encryption. (bool)
Otherwise, you will need to go to allends link, downoad driver, compile kernel module, and install firmware.
 
Old 03-15-2013, 10:07 AM   #4
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
Thanks allend for link , kingbeowulf thanks for the replies

so I can not use rt61pci, I have to use the rt61. Is it?

Quote:
# modinfo rt61pci
filename: /lib/modules/3.7.10/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license: GPL
firmware: rt2661.bin
firmware: rt2561s.bin
firmware: rt2561.bin
description: Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version: 2.3.0
author: http://rt2x00.serialmonkey.com
srcversion: 9D70DB2C5E2C37F07E9F7F8
alias: pci:v00001814d00000401sv*sd*bc*sc*i*
alias: pci:v00001814d00000302sv*sd*bc*sc*i*
alias: pci:v00001814d00000301sv*sd*bc*sc*i*
depends: rt2x00lib,rt2x00pci,eeprom_93cx6
intree: Y
vermagic: 3.7.10 SMP mod_unload
parm: nohwcrypt: Disable hardware encryption. (bool)
Thanks
 
Old 03-15-2013, 11:40 AM   #5
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
then from what I understand (searching on google) I have the free rt61pci drive, but need the free firmware ...

If I am right, where there is free ralink firmware?

thanks

ps: I guess I'm confused

Last edited by afreitascs; 03-15-2013 at 12:04 PM.
 
Old 03-15-2013, 12:39 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
You need the kernel module, the firmware and then probably something like:
Code:
modprobe rt61pci
ifconfig wlan0 up 
iwconfig ...
 
Old 03-15-2013, 01:16 PM   #7
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gnashley View Post
You need the kernel module, the firmware and then probably something like:
Code:
modprobe rt61pci
ifconfig wlan0 up 
iwconfig ...
thanks for the replies

This missing firmware. Is there any free firmware for the card d-link DWA510?

thanks
 
1 members found this post helpful.
Old 03-16-2013, 03:11 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,752

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
free firmware -do you mean open-source?
 
Old 03-16-2013, 02:46 PM   #9
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gnashley View Post
free firmware -do you mean open-source?
yes ....


I downloaded the file from the link suggested by allend non open-source ( http://www.mediatek.com/_en/07_downl...ows.php?sn=501 ) , and I'm looking at the

README

Quote:
Build Instructions:
====================

1> $tar -xvzf RT61_Linux_STA_Drv_x.x.x.x.tar.gz
go to "./RT61_Linux_STA_Drv_x.x.x.x/Module" directory.

2> $cp Makefile.4 ./Makefile # [kernel 2.4]
or
$cp Makefile.6 ./Makefile # [kernel 2.6]
or
$cp Makefile.RTL865x ./Makefile # big endian platform

3> [kernel 2.4]
$chmod 755 Configure
$make config # config build linux os version

4> $make all # compile driver source code
4.1> $make install




, but I get the error when

make all

PHP Code:
[B]#make all[/B]
make -/lib/modules/3.7.10/build SUBDIRS=/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module modules
make
[1]: Entering directory `/usr/src/linux-3.7.10'
scripts/Makefile.build:49: *** CFLAGS was changed in "/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/Makefile". Fix it to use ccflags-y.  Stop.
make[1]: *** [_module_/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module] Error 2
make[1]: Leaving directory 
`/usr/src/linux-3.7.10
make
: *** [allError 2 

thanks

Last edited by afreitascs; 03-16-2013 at 04:04 PM.
 
Old 03-16-2013, 05:59 PM   #10
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by afreitascs View Post
I downloaded the file from the link suggested by allend non open-source ( http://www.mediatek.com/_en/07_downl...ows.php?sn=501 ) , and I'm looking at the

README

, but I get the error when

make all

PHP Code:
[B]#make all[/B]
make -/lib/modules/3.7.10/build SUBDIRS=/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module modules
make
[1]: Entering directory `/usr/src/linux-3.7.10'
scripts/Makefile.build:49: *** CFLAGS was changed in "/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/Makefile". Fix it to use ccflags-y.  Stop.
make[1]: *** [_module_/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module] Error 2
make[1]: Leaving directory 
`/usr/src/linux-3.7.10
make
: *** [allError 2 

thanks



Before compiling I did, and no more errors

Quote:
export KBUILD_NOPEDANTIC=1
For now this is ...

thanks

ps: I picked up this tip on Google and do not know what it means, if anyone knows, writes here ... thanks again

Last edited by afreitascs; 03-16-2013 at 06:07 PM.
 
Old 03-16-2013, 11:47 PM   #11
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
I am not able to install the wireless card dlink dwa-510 in slackware-current multilib updated, even using the drivers provided by the d-link. If someone can help me I'm grateful.

I used Drivers

http://www.mediatek.com/_en/07_downl...ows.php?sn=501

specifically

2010_0825_RT61_Linux_STA_v1.1.2.6.tar.bz2

note : The module is created rt61, but the device ra0 is not created

many thanks

Last edited by afreitascs; 03-16-2013 at 11:49 PM.
 
Old 03-17-2013, 11:37 PM   #12
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by allend View Post
I think that you need to download and install the non-free firmware for RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661) from here. http://www.mediatek.com/_en/07_downl...ows.php?sn=501

Unzip the tarball and move the *.bin and licence to /lib/firmware.
I when I compile, I get error

http://www.linuxquestions.org/questi...7/#post4912993


I found something similar on the Gentoo forum

http://forums-lb.gentoo.org/viewtopi...2-start-0.html

I do not know how to solve it. I did it

http://www.linuxquestions.org/questi...7/#post4913061

but not solved! The module is created rt61, but the device ra0 is not created.

Thanks
 
Old 03-18-2013, 07:48 AM   #13
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,406

Rep: Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829Reputation: 829
I just downloaded the 2010_0825_RT61_Linux_STA_v1.1.2.6.tar.bz2, extracted it, entered <path>/<to>/2010_0825_RT61_Linux_STA_v1.1.2.6/Module and entered 'make all'. The kernel module rt61.ko built without error on my 64-bit Slackware-current.
Sorry, but I cannot reproduce your problem.
I found this, it is old and not exactly your device, but may help. http://www.cyberciti.biz/tips/linux-...-pci-card.html
 
Old 03-18-2013, 11:25 PM   #14
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by allend View Post
I just downloaded the 2010_0825_RT61_Linux_STA_v1.1.2.6.tar.bz2, extracted it, entered <path>/<to>/2010_0825_RT61_Linux_STA_v1.1.2.6/Module and entered 'make all'. The kernel module rt61.ko built without error on my 64-bit Slackware-current.
Sorry, but I cannot reproduce your problem.
I found this, it is old and not exactly your device, but may help. http://www.cyberciti.biz/tips/linux-...-pci-card.html
Quote:
Originally Posted by kingbeowulf View Post
afreitascs,

The kernel 'rt61pci' is the module on my system (these is no rt61 istalled in my 3.2.29 default kernel) and firmware is in /lib/firmware already:

Code:
# modinfo rt61pci
filename:       /lib/modules/3.2.29/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
license:        GPL
firmware:       rt2661.bin
firmware:       rt2561s.bin
firmware:       rt2561.bin
description:    Ralink RT61 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     6EC3F7278A9374D7B5F8C61
alias:          pci:v00001814d00000401sv*sd*bc*sc*i*
alias:          pci:v00001814d00000302sv*sd*bc*sc*i*
alias:          pci:v00001814d00000301sv*sd*bc*sc*i*
depends:        rt2x00lib,rt2x00pci,eeprom_93cx6
intree:         Y
vermagic:       3.2.29 SMP mod_unload 
parm:           nohwcrypt:Disable hardware encryption. (bool)
Otherwise, you will need to go to allends link, downoad driver, compile kernel module, and install firmware.
Quote:
Originally Posted by gnashley View Post
You need the kernel module, the firmware and then probably something like:
Code:
modprobe rt61pci
ifconfig wlan0 up 
iwconfig ...
many thanks to you guys


1) I did a clean install of slackware 14-64 multilib out on another partition of my hd, and got the same error in the compilation.

2) In this same installation, I installed multilib and got the same error with "make".

3) Then put the module in rt61pci blacklist and continued getting the same error.

In all the above cases, the same error using "make"

PHP Code:
B]#make all[/B]
make -/lib/modules/3.7.10/build SUBDIRS=/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module modules
make
[1]: Entering directory `/usr/src/linux-3.7.10'
scripts/Makefile.build:49: *** CFLAGS was changed in "/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/Makefile". Fix it to use ccflags-y.  Stop.
make[1]: *** [_module_/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module] Error 2
make[1]: Leaving directory 
`/usr/src/linux-3.7.10
make
: *** [allError 2 
I returned to my slackware-current-64-multilib ...

On my slackware-current-64-multilib, I discovered that I had written in / etc / rc.d / rc.module

Quote:
/sbin/modprobe rt61pci
Do not know why I did it! I deleted it.

Now, that is different from my first topic

lspci -k, get
Quote:
lspci -k
02:06.0 Network controller: Ralink corp. RT2561/RT61 rev B 802.11g
Subsystem: D-Link System Inc Device 3a70
Kernel driver in use: rt61pci
Now I'm trying to get my head straight, and trying to make my wireless network work, using the module rt61pci ...

Thank you, and forgive my confusion
 
Old 04-03-2013, 11:12 AM   #15
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 432

Original Poster
Rep: Reputation: 30
well ... I did my wireless card working using the module rt61pci (card D-Link dwa510 )

In /etc/rc.d/rc.inet1.conf

Quote:
#Ifname [4] = "wlan0" ---> ifname [4] = "wlan0"

#IPADDR [4] = "" ----> IPADDR [4] = ""

#NETMASK [4] = "" ---> NETMASK [4] = ""

#USE_DHCP [4] = "yes" ---> USE_DHCP [4] = "yes"

#WLAN_ESSID [4] = BARRIER05 -> WLAN_ESSID [4] = "Your eesid"

#WLAN_MODE [4] = Managed ----> WLAN_MODE [4] = Managed

#WLAN_WPA [4] = "wpa_supplicant" ----> WLAN_WPA [4] = "wpa_supplicant"
In the console I did

Quote:
# wpa_passphrase "myESSID" "mypassword"
Copy the lines including {} to /etc/wpa_supplicant

Typed in terminal

Quote:
#/etc/rc.d/rc.inet1 restart
my wireless works! my wireles is able to work as wpa2/psk

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

How to make working rt61 using from here

http://www.mediatek.com/_en/07_downl...ows.php?sn=501

I have not been able because I get error while compiling


Quote:
#make all
make -C /lib/modules/3.7.10/build SUBDIRS=/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module modules
make[1]: Entering directory `/usr/src/linux-3.7.10'
scripts/Makefile.build:49: *** CFLAGS was changed in "/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module/Makefile". Fix it to use ccflags-y. Stop.
make[1]: *** [_module_/usr/src/2010_0825_RT61_Linux_STA_v1.1.2.6/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-3.7.10
make: *** [all] Error 2

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

Anyway I can give my topic as solved

thanks
 
  


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
Installing wireless network card problem wgp80 Linux - Networking 2 04-26-2008 03:56 PM
problem installing wireless network card on Centos abdulquadir Linux - Hardware 1 10-07-2006 06:20 AM
Wireless Network Card Problem! Boshinator Linux - Wireless Networking 3 05-16-2006 10:49 PM
problem getting broadcom wireless network card to work thebugslayer Linux - Wireless Networking 1 01-22-2005 06:27 PM
SuSe 9.2 wireless network card problem Hockeyfan Linux - Wireless Networking 2 12-08-2004 01:01 AM


All times are GMT -5. The time now is 06:56 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