Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-14-2013, 11:38 PM
#1
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Rep:
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 .
03-15-2013, 12:28 AM
#2
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371
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.
03-15-2013, 12:39 AM
#3
Senior Member
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,264
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.
03-15-2013, 10:07 AM
#4
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
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
03-15-2013, 11:40 AM
#5
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
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 .
03-15-2013, 12:39 PM
#6
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
You need the kernel module, the firmware and then probably something like:
Code:
modprobe rt61pci
ifconfig wlan0 up
iwconfig ...
03-15-2013, 01:16 PM
#7
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
Quote:
Originally Posted by
gnashley
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.
03-16-2013, 03:11 AM
#8
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
free firmware -do you mean open-source?
03-16-2013, 02:46 PM
#9
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
Quote:
Originally Posted by
gnashley
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 - 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
thanks
Last edited by afreitascs; 03-16-2013 at 04:04 PM .
03-16-2013, 05:59 PM
#10
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
Quote:
Originally Posted by
afreitascs
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 - 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
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 .
03-16-2013, 11:47 PM
#11
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
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 .
03-18-2013, 07:48 AM
#13
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371
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
03-18-2013, 11:25 PM
#14
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
Quote:
Originally Posted by
allend
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
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
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 - 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
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
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
04-03-2013, 11:12 AM
#15
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Original Poster
Rep:
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
All times are GMT -5. The time now is 08:43 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News