LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-22-2009, 02:17 AM   #1
eqn
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
Smile Error instalation Wifi Driver RaLink RT61 for Debian4 i386 in MSI Megabook S420


My notebook is MSI MegaBook s420, support 802.11g MiniPCI Wireless Network Adapter a product from RaLink Technology.

Based on this page
http://baruch.ev-en.org/laptop-s420.html
I used the rt61pci or rt61 driver.

I've got the rt61 driver from
http://www.ralink.com.tw/support.php?s=2
Select 'RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661)'.

And i had tried to install the driver packages 2009_0123_RT61_Linux_STA_v1.1.2.3 based on it's README file. This is README file installation.

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

* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*

=======================================================================
ModelName:
===========
RT61 Wireless Lan Linux Driver


=======================================================================
Driver lName:
===========
rt61.o/rt61.ko


=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.


=======================================================================
Description:
=============
This is a linux device driver for Ralink RT61 a/b/g WLAN Card.


=======================================================================
Contents:
=============
Makefile.4 : Makefile for kernel 2.4 series
Makefile.6 : Makefile for kernel 2.6 series
Makefile.RTL865x : Makefile for big endian platform
*.c : c files
*.h : header files


=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.


=======================================================================
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

5> $cp rt2561.bin /etc/Wireless/RT61STA/ # copy firmware
$cp rt2561s.bin /etc/Wireless/RT61STA/
$cp rt2661.bin /etc/Wireless/RT61STA/

6> $dos2unix rt61sta.dat
$cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
# !!!check if it is a binary file before loading !!!

7> $load
#[kernel 2.4]
# $/sbin/insmod rt61.o
# $/sbin/ifconfig ra0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt61.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up

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

But Error occurred, when i load the last command :

$/sbin/insmod rt61.ko
$/sbin/ifconfig ra0 inet YOUR_IP up

the error are like this:

SIOCSIFADDR: No such device
ra0: ERROR while getting interface flags: No such device
ra0: ERROR while getting interface flags: No such device

is there any suggestion and solution to this problem? Thank you for your kind attention.

morlavjacquline@gmail.com
 
Old 10-23-2009, 02:31 PM   #2
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Rep: Reputation: 23
Quote:
$/sbin/ifconfig ra0 inet YOUR_IP up
I think you've been misled by the README. Try wlan0 instead of ra0.
I've used the RaLink rt61 driver, and more recently the rt61pci module included in kernel 2.6.31, and they've always come up as wlan0.
 
Old 10-27-2009, 10:53 AM   #3
eqn
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Error unfix

i had tried your suggestion to replace ra0 with wlan0. but i still get the same error.

SIOCSIFADDR: No such device
ra0: ERROR while getting interface flags: No such device
ra0: ERROR while getting interface flags: No such device

or maybe my network setting in Debian is not active?
if so, how can i activate the network setting?

thank you.
 
Old 10-27-2009, 01:35 PM   #4
HaroldWho
Member
 
Registered: Nov 2006
Location: southeastern PA
Distribution: Slackware
Posts: 130

Rep: Reputation: 23
Quote:
SIOCSIFADDR: No such device
ra0: ERROR while getting interface flags: No such device
ra0: ERROR while getting interface flags: No such device
First you need to run 'lsmod' to see whether the module has actually been loaded. Also take a look at the system logs for clues.

Then run 'iwconfig' to see what interfaces it sees. I know squat about Debian, so I can't offer more specific help.
 
Old 11-05-2009, 01:42 AM   #5
eqn
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Ndiswrapper Very Helpfull

i use Ndiswrapper and problem solved.

Ndiswrapper download
http://sourceforge.net/projects/ndiswrapper/files/


 
  


Reply



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
RALink RT61 driver install problems, installing on SMEServer beatshoes Linux - Wireless Networking 4 07-20-2008 08:52 AM
problem installing ralink RT61 driver in slackware 10 dark_angel Slackware 7 04-11-2007 01:24 AM
problem installing ralink RT61 driver in slackware 10 dark_angel Slackware 1 10-25-2006 11:10 PM
need help installing RT61 Linux driver (wifi pci card) blackdalek Mandriva 10 09-28-2006 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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