ok, so im new to linux, i have researched some and understand it to a point, but i have come across a stumbing block and im not sure how to install this driver, on the software cd under
everything is running more than perfectly, except no internet. altho the wifi company did supply me with loads of linux files.
any detailed help would be awsome.
thanks a bunch
kiel
happybunny
01-18-2009, 01:02 AM
What does the readme file say? Anything useful?
modprobe rt61.ko *might* work if you're lucky enough to have right kernel to match that.
Are those files listed part of that tar.gz file? If not, what's in it?
if you tar zxvf RT61STAV100_K2.6.8-2-386_Debian31.tar.gz, it will extract the contents and you can see what you can see...perhaps an INSTALL file to read or something
kiel
01-18-2009, 11:24 AM
it talks about 2.4 kernal and the installation, but im not sure if I have the right kernal and this is all new to me so here is a link, maybe some can defuse this for me www.megaupload.com/?d=DP7ALHP8 im not sure if im on that kernal and its a bit confusing.:eek:
kiel
01-18-2009, 11:26 AM
here is the details of the readme http://www.megaupload.com/?d=DP7ALHP8 im not sure if i have the right kernal, and this is nothing like windows..:eek:
kiel
01-18-2009, 11:52 AM
i found out im a 2.6 i run the cd STA/Module in root term and it says no such file or directory, im not sure if im typing something wrong or im missing a step, here is a link to the howto
http://www.megaupload.com/?d=DP7ALHP8
step a says: run 'cd STA/Module'
'cp../2.6x/Makefile.'
i get an error when typing this.....
Debain GNU/Linux, Kernel 2.6. 18-6-686
je_fro
01-18-2009, 02:41 PM
That megaupload site is garbage, can you just paste it here?
================================================== =====================
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:
=============
./2.4x : Makefile for kernel 2.4 series
./2.6x : Makefile for kernel 2.6 series
*.c : c files
*.h : header files
Makefile.RTL865x : Makefile for big endian platform
================================================== =====================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with open or shared or
WPA-PSK authentication method. NONE, WEP, TKIP and AES encryption.
================================================== =====================
Build Instructions:
====================
For 2.4 series kernel:
a. $tar -xvzf RT61_Linux_STA_Drv_x.x.x.x.tar.gz
go to "./RT61_Linux_STA_Drv_x.x.x.x/Module" directory.
b. Use 'chmod' command to change access right of following script files :
'load', 'unload', 'Configure'
c. run 'cp ../2.4x/Makefile .'
d. $make config # config build linux os version
d. run '/sbin/insmod rt61.ko' (as root)
'/sbin/ifconfig ra0 inet YOUR_IP up'
For big endian platform:
a. replace Makefile with Makefile.RTL865x
================================================== =====================
CONFIGURATION:
====================
RT61 driver can be configured via following interfaces,
i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file
i) iwconfig comes with kernel.
ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
iii)copy configuration file "RT61STA.dat" to /etc/Wireless/RT61STA/RT61STA.dat.
Configuration File : RT61STA.dat
---------------------------------------
# Copy this file to /etc/Wireless/RT61STA/RT61STA.dat
# This file is a binary file and will be read on loading rt.o module.
#
# Use "vi -b RT61STA.dat" to modify settings according to your need.
#
# 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
# 2.) set Channel to "0" for auto-select on Infrastructure mode
# 3.) set SSID for connecting to your Accss-point.
# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPANONE"
# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
# for more information refer to the Readme file.
#
# The word of "Default" must not be removed
Default
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=AP350
NetworkType=Infra
Channel=0
AuthMode=OPEN
EncrypType=NONE
DefaultKeyID=1
Key1Type=0
Key1Str=0123456789
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WpaPsk=abcdefghijklmnopqrstuvwxyz
TXBurst=0
PktAggregate=0
TurboRate=0
WmmCapable=0
AckPolicy1=0
AckPolicy2=0
AckPolicy3=0
AckPolicy4=0
BGProtection=0
ShortSlot=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0
-----------------------------------------------
*NOTE:
WMM parameters
WmmCapable Set it as 1 to turn on WMM Qos support
AckPolicy1~4 Ack policy which support normal Ack or no Ack
(AC_BK, AC_BE, AC_VI, AC_VO)
All WMM parameters do not support iwpriv command but ¡¥WmmCapable¡¦¡¦,
please store all parameter to RT61STA.dat, and restart driver.
-----------------------------------------------
syntax is 'Param'='Value' and describes below.
1. CountryRegion=value
value
0: use 1 ~ 11 Channel
1: use 1 ~ 13 Channel
2: use 10, 11 Channel
3: use 10 ~ 13 Channel
4: use 14 Channel
5: use 1 ~ 14 Channel
6: use 3 ~ 9 Channel
4. WirelessMode=value
value
0: 11b/g mixed,
1: 11B only,
2: 11A only
3: 11a/b/g mixed
4: 11G only
5. TxRate=value
value
0: Auto //WirelessMode=0~4
1: 1 Mbps //WirelessMode=0 or 1 or 3
2: 2 Mbps //WirelessMode=0 or 1 or 3
3: 5.5 Mbps //WirelessMode=0 or 1 or 3
4: 11 Mbps //WirelessMode=0 or 1 or 3
5: 6 Mbps //WirelessMode=0 or 2 or 3 or 4
6: 9 Mbps //WirelessMode=0 or 2 or 3 or 4
7: 12 Mbps //WirelessMode=0 or 2 or 3 or 4
8: 18 Mbps //WirelessMode=0 or 2 or 3 or 4
9: 24 Mbps //WirelessMode=0 or 2 or 3 or 4
10: 36 Mbps //WirelessMode=0 or 2 or 3 or 4
11: 48 Mbps //WirelessMode=0 or 2 or 3 or 4
12: 54 Mbps //WirelessMode=0 or 2 or 3 or 4
6. Channel=value
value
1~14 depends on CountryRegion
7. BGProtection=value
value
0: Auto
1: Always on
2: Always off
8. TxPreamble=value
value
0:Preamble Long
1:Preamble Short
2:Auto
9. RTSThreshold=value
value
1~2347
10. FragThreshold=value
value
256~2346
11. TxBurst=value
value
0: Disable
1: Enable
12. NetworkType=value
value
Infra: infrastructure mode
Adhoc: adhoc mode
13. AdhocOfdm=value
value
0: Adhere WIFI spec, the Tx MAX rate will be 11Mbps in Adhoc mode
1: Violate WIFI spec, the Tx MAX rate will be 54Mbps in Adhoc mode(b/g mixed)
2: Violate WIFI spec, the Tx MAX rate will be 54Mbps in Adhoc mode(11g only)
14. AuthMode=value
value
OPEN For Open System
SHARED For Shared key System
WEPAUTO
WPAPSK
WPANONE For Adhoc Security System
15. EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK
AES For AuthMode=WPAPSK
16. DefaultKeyID=value
value
1~4
17. Key1=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
18. Key2=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
19. Key3=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
20. Key4=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
21. WPAPSK=value
value
8~63 ASCII or
64 HEX characters
22. PktAggregate=value
value
0: Disable
1: Enable when the peer supports it
23. TurboRate=value
value
0: Disable
1: Enable 72/100 Mbps whenever applicable
(Not support yet!)
24. WmmCapable=value
value
0: Disable WMM
1: Enable WMM
25. PSMode=value
value
0: CAM Constantly Awake Mode
1: Max_PSP Max Power Savings
2: Fast_PSP Power Save Mode
26. IEEE80211H=value
value
0: Disable
1: Enable Spectrum management
(This field can be enable only in A band)
MORE INFORMATION
================================================== ===============================
If you want for rt61 driver to auto-load at boot time:
A) choose ra0 for first RT61 WLAN card, ra1 for second RT61 WLAN card, etc.
B) create(edit) 'ifcfg-ra0' file in /etc/sysconfig/network-scripts/,
edit( or add the line) in /etc/modules.conf:
alias ra0 rt61
C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-ra0
DEVICE='ra0'
ONBOOT='yes'
NOTE:
if you use dhcp, add this line too .
BOOTPROTO='dhcp'
*D) To ease the Default Gateway setting,
add the line
GATEWAY=x.x.x.x
in /etc/sysconfig/network
i845_
01-18-2009, 02:50 PM
@kiel
I can confirm that the Edimax EW-7128G is well supported under Linux. (link (http://linux-wless.passys.nl/query_part.php?brandname=Edimax))
I'd rather you installed the driver provided by the rt2x00 project (link (http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page)), or the latest driver provided by Ralink (link (http://web.ralinktech.com/ralink/Home/Support/Linux.html)), than using the one provided on the driver disk that came along with the card.
A quick Google reveals guides for both (rt2x00 (http://forums.debian.net/viewtopic.php?t=21519), Ralink (http://www.physics.nmt.edu/%7Ersonnenf/linuxcontrib/ralink-2561-rt61/)).
Hope that helps.
je_fro
01-18-2009, 02:54 PM
Well, if you get no output from the command to load a module that's a good thing.
It appears this hardware may be supported by the linux kernel without the need for company drivers (which usually suck.)
Try "modprobe rt61pci" and see if that helps.
i845_
01-18-2009, 02:59 PM
Of course, if the device is natively supported by the kernel, I see no reason to fool around with other drivers.
kiel
01-18-2009, 03:01 PM
ok i did that and i got
FATAL: Module tr61pci not found
i did a cp folder to /etc/Wireless/RT61STA
and i now have all the contents of that file they provided in the etc/wireless/made the folder...yadda yadda
please keep in mind this is my 1st successfull linux install and im really new to commands, drivers are steps above me
i845_
01-18-2009, 03:06 PM
The name of the module is rt61pci, not tr61pci.
Hold on.
kiel
01-18-2009, 03:08 PM
either you read it wrong or i typed it back wrong, im on the forum via a diff machine, but i typed in what u said and i got a fatal error, now i tried both, neither were found
kiel
01-18-2009, 03:14 PM
ok well since you guys think it supported, then im going to rid that folder i made to kill any conflicting, mv /etc/wireless/foldername /name/home/folderdelete
but im still dumbfounded by getting this up
i845_
01-18-2009, 03:22 PM
Since I'll be up for sometime, let me guide you:
First of all, grab the sources here (http://web.ralinktech.com/ralink/Home/Support/Linux.html). (Select the RT2501PCI/mPCI/CB(RT61:RT2561/RT2561S/RT2661 driver). Download it to a directory of your choice (say ~/tempfolder).
Now, issue these:
$ cd ~/tempfolder
$ tar jxvf 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2
$ cd 2008_0723_RT61_Linux_STA_v1.1.2.2/Module (you might need to use cd 2008_0723_RT61_Linux_STA_v1.1.2.2/2008_0723_RT61_Linux_STA_v1.1.2.2/Module, if the first command fails.)
$ cp Makefile.6 Makefile
$ sudo su
# make all
# make install
# cp rt2561.bin /etc/Wireless/RT61STA/
# cp rt2561s.bin /etc/Wireless/RT61STA/
# cp rt2661.bin /etc/Wireless/RT61STA/
# dos2unix rt61sta.dat
# cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
# load
kiel
01-18-2009, 03:26 PM
ok got the file pushing it to zip and moving it to the linux machine
kiel
01-18-2009, 03:31 PM
i extracted the folder contents to my desktop 2008_0723_RT61_Linux_STA_v1.1.2.2
i845_
01-18-2009, 03:32 PM
You may confirm the commands with the README file present within the driver archive you downloaded (present within 2008_0723_RT61_Linux_STA_v1.1.2.2/2008_0723_RT61_Linux_STA_v1.1.2.2/Module; represented here purely for convenience). I strongly recommend it (you shouldn't blindly trust strangers on the Internet, should you? ;-) Proceed, only after having verified the instructions provided by me with the copy of the README present in the driver archive you downloaded.)
================================================== =====================
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.
Note: Script functionality:
load load module to kernel
unload unload module from kernel
Configure retrieve linux version
================================================== =====================
CONFIGURATION:
====================
RT61 driver can be configured via following interfaces,
i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file,
(iv)RaConfig61
i) iwconfig comes with kernel.
ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
iii)copy configuration file "rt61sta.dat" to /etc/Wireless/RT61STA/rt61sta.dat.
iv) RaConfig61 is utility for rt61.
Configuration File : rt61sta.dat
---------------------------------------
# Copy this file to /etc/Wireless/RT61STA/rt61sta.dat
# This file is a binary file and will be read on loading rt.o module.
#
# Use "vi -b rt61sta.dat" to modify settings according to your need.
#
# 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
# 2.) set Channel to "0" for auto-select on Infrastructure mode
# 3.) set SSID for connecting to your Accss-point.
# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"
# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
# for more information refer to the Readme file.
#
# The word of "[Default]" must not be removed
[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
SSID=AP350
NetworkType=Infra
Channel=0
AuthMode=OPEN
EncrypType=NONE
DefaultKeyID=1
Key1Type=0
Key1Str=0123456789
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
WPAPSK=abcdefghijklmnopqrstuvwxyz
TxBurst=0
PktAggregate=0
WmmCapable=0
APSDCapable=0
APSDAC=0;0;0;0
BGProtection=0
ShortSlot=0
IEEE80211H=0
TxRate=0
RTSThreshold=2347
FragThreshold=2346
PSMode=CAM
TxPreamble=0
FastRoaming=0
NativeWpa=1
-----------------------------------------------
*NOTE:
WMM parameters:
1.) WmmCapable
Set it as 1 to turn on WMM Qos support
2.) APSDCapable
Set it as 1 to use automatic power-save delivery(APSD) on an Non-AP QSTA
3.) APSDAC
Set ACs corresponding BE, BK, VI and VO as delivery-enabled or delivery-disabled
All WMM parameters do not support iwpriv command but WmmCapable,
please store all parameter to rt61sta.dat, and restart driver.
NetworkManager and WPS:
If Native WPA Supplicant (NetworkManager) is enabled, WPS CAN NOT be triggered.
For this case, we have to set NativeWpa=1 in rt61sta.dat.
Otherwise, if we want to use WPS, we have to disable NetworkManager by setting
NativeWpa=0 in rt61sta.dat.
-----------------------------------------------
syntax is 'Param'='Value' and describes below.
1. CountryRegion=value
value
0: use 1 ~ 11 Channel
1: use 1 ~ 13 Channel
2: use 10, 11 Channel
3: use 10 ~ 13 Channel
4: use 14 Channel
5: use 1 ~ 14 Channel
6: use 3 ~ 9 Channel
7: use 5 ~ 13 Channel
4. WirelessMode=value
value
0: 11b/g mixed
1: 11B only
2: 11A only //Support in RfIcType=1(id=RFIC_5225) or RfIcType=2(id=RFIC_5325)
3: 11a/b/g mixed //Support in RfIcType=1(id=RFIC_5225) or RfIcType=2(id=RFIC_5325)
4: 11G only
5. TxRate=value
value
0: Auto //WirelessMode=0~4
1: 1 Mbps //WirelessMode=0 or 1 or 3
2: 2 Mbps //WirelessMode=0 or 1 or 3
3: 5.5 Mbps //WirelessMode=0 or 1 or 3
4: 11 Mbps //WirelessMode=0 or 1 or 3
5: 6 Mbps //WirelessMode=0 or 2 or 3 or 4
6: 9 Mbps //WirelessMode=0 or 2 or 3 or 4
7: 12 Mbps //WirelessMode=0 or 2 or 3 or 4
8: 18 Mbps //WirelessMode=0 or 2 or 3 or 4
9: 24 Mbps //WirelessMode=0 or 2 or 3 or 4
10: 36 Mbps //WirelessMode=0 or 2 or 3 or 4
11: 48 Mbps //WirelessMode=0 or 2 or 3 or 4
12: 54 Mbps //WirelessMode=0 or 2 or 3 or 4
6. Channel=value
value
depends on CountryRegion or CountryRegionABand
7. BGProtection=value
value
0: Auto
1: Always on
2: Always off
8. TxPreamble=value
value
0:Preamble Long
1:Preamble Short
2:Auto
9. RTSThreshold=value
value
1~2347
10. FragThreshold=value
value
256~2346
11. TxBurst=value
value
0: Disable
1: Enable
12. NetworkType=value
value
Infra: infrastructure mode
Adhoc: adhoc mode
13. AuthMode=value
value
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA Use WPA_Supplicant
WPA2 Use WPA_Supplicant
14. EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
15. DefaultKeyID=value
value
1~4
16. Key1=value
Key2=value
Key3=value
Key4=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
(usage : "iwpriv" only)
17. Key1Type=vaule
Key2Type=value
Key3Type=vaule
Key4Type=vaule
value
0 hexadecimal type
1 assic type
(usage : reading profile only)
18. Key1Str=value
Key2Str=value
Key3Str=vaule
Key4Str=vaule
value
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
(usage : reading profile only)
19. WPAPSK=value
value
8~63 ASCII or
64 HEX characters
20. PktAggregate=value
value
0: Disable
1: Enable when the peer supports it
21. WmmCapable=value
value
0: Disable WMM
1: Enable WMM
22. PSMode=value
value
CAM Constantly Awake Mode
Fast_PSP Power Save Mode
MAX_PSP Max power save mode
23. IEEE80211H=value
value
0: Disable
1: Enable Spectrum management
(This field can be enable only in A band)
24. FastRoaming=value
value
0: Disable Fast Roaming
1: Enable Fast Roaming
25. RoamThreshold=value
value [Valid on FastRoaming=1]
60~90
26. APSDCapable=value
value [Valid on WmmCapable=1]
0: Disable APSD
1: Enable APSD
27. APSDAC=value
value [Valid on APSDCapable=1]
0: Delivery-disabled AC
1: Delivery-enabled AC
MORE INFORMATION
================================================== ===============================
If you want for rt61 driver to auto-load at boot time:
A) choose ra0 for first RT61 WLAN card, ra1 for second RT61 WLAN card, etc.
B) go to "./RT61_Linux_STA_Drv_x.x.x.x/Module" directory.
$make install
NOTE:
if you use dhcp,
add this line
BOOTPROTO='dhcp'
in the file ifcfg-ra0 .
*C) To ease the Default Gateway setting,
add the line
GATEWAY=x.x.x.x
in /etc/sysconfig/network
D) When build for SUSE, please unmark the part for SUSE in Makefile.
When build for Mandriva 2007.1, please unmark the part for Mandriva in Makefile.
kiel
01-18-2009, 03:37 PM
bash: -xvzf: command not found
i845_
01-18-2009, 03:39 PM
The command is:
tar jxvf 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2The build instructions mention the command
tar -xvzf RT61_Linux_STA_Drv_x.x.x.x.tar.gzbecause they're decompressing a GZipped Tar archive (one that ends in a .tar.gz extension). We're dealing with a BZipped Tar archive (one that ends in a .tar.bz2 extension). Hence, different commands.
i extracted the folder contents to my desktop 2008_0723_RT61_Linux_STA_v1.1.2.2
You seem to have already extracted the files. Why bother with this step then?
kiel
01-18-2009, 03:45 PM
ok i did a $cp then dragged the filename Makefile.6 to the termal then added /Makefile.6 # big endian platform and it says permission denied, im using root term
kiel
01-18-2009, 03:49 PM
i realize now there was some issues with me now knowing to remove the $ and the # yadda yadda
kiel
01-18-2009, 03:50 PM
3> goes ovwer 2.4 kernel, so im lost at to whats the next step i did the makefile6 and it worked fine
i845_
01-18-2009, 03:51 PM
Why drag the files to the terminal to get their names? Why not do a cd to the desktop.
cd Desktop
i845_
01-18-2009, 03:52 PM
Verify the commands provided by me with the README file, and then follow them. I included just the ones necessary to compile the driver for a 2.6-series kernel.
For updates, keep posting within the same post. Use the Edit button on the bottom left corner of the post to add details.
If the moderators see this, (a thread being used as an IM app,) they'll kill me.
kiel
01-18-2009, 03:54 PM
ok I did this i did cp/tmp/filename..../make6
then cd Desktop
now the directory/term says blackbox/home/username/Desktop#
kiel
01-18-2009, 03:57 PM
make all says ***no rule to make target "all" stop
i845_
01-18-2009, 03:59 PM
Hold it, hold it. Let's re-cap.
i extracted the folder contents to my desktop 2008_0723_RT61_Linux_STA_v1.1.2.2
You are logged in as kiel, right. Then you must have placed the file in /home/kiel/Desktop.
Since you're using a root terminal, issue these:
cd ~kiel/Desktop
lsWhat do you see?
Updates:
This is in response to your private message (mods, I had requested kiel to use the PM feature, since I was afraid you'd be mad at me for dragging this post to such a length. Since kiel has started editing his posts to include updates, I'll post here, so as to keep a record...)
@ 01:39 AM (Indian Standard Time)
Subject:sorry
ive never gotten into linux like this, just played with installations. so I did the makefile.6 and that was good, then i changed the to desktop, thats good, but make all says no target
No issues. I just want you to use the shell to navigate to where you stored the driver archive. That way, we'll do away with your dragging the files to a terminal window to get their names.
We might need to re-do everything. Here's what to do:
* Delete the files you decompressed during your last attempt to compile the driver.
* Open a root terminal, and navigate to the folder where you stored the driver archive (issue the command cd, followed by a space and the name of the folder...)
* Issue: tar jxvf 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2. This will decompress the archive into a folder.
* To get into the folder, issue cd 2008_0723_RT61_Linux_STA_v1.1.2.2/Module (you might need to use cd 2008_0723_RT61_Linux_STA_v1.1.2.2/2008_0723_RT61_Linux_STA_v1.1.2.2/Module, if the first command fails...)
* Issue these, one by one:
cp Makefile.6 Makefile
make all
make install
cp rt2561.bin /etc/Wireless/RT61STA/
cp rt2561s.bin /etc/Wireless/RT61STA/
cp rt2661.bin /etc/Wireless/RT61STA/
dos2unix rt61sta.dat
cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
load
Report, if you run into problems.
@kiel
I guess I'd better go to sleep. It's 2 AM in the morning now. Sorry dude, I probably confused you a lot. I hope I'll wake up in the morning, and see you all fixed up.
Good luck, and once again, my sincerest apologies.
To the mods: I apologize for the botch-up.
kiel
01-18-2009, 04:02 PM
k were good there, now make all?, nope no make all still no rule
blackbox:home/kiel/Desktop#
yah i did the cd ~Kiel/Desktop
ok, ready for next step i think -,-
im guessing i skip step 3 its for kernel 2.4
I closed the folder so i can access it anymore, now i just have open the term and the readme and this forum on the laptop
__________________________________________________ _______________________________________
ls 2008../.../filenames....bz2
blackbox:home/kiel/Desktop#
-----------------------
c. Issue: tar jxvf 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2. This will decompress the archive into a folder.
d. To get into the folder, issue cd cd 2008_0723_RT61_Linux_STA_v1.1.2.2/Module
you might need to use cd 2008_0723_RT61_Linux_STA_v1.1.2.2/2008_0723_RT61_Linux_STA_v1.1.2.2/Module, if the first command fails
no such file or dirrectory on either command
kiel
01-18-2009, 04:47 PM
im stumped...
I followed
$ cd ~/tempfolder
$ tar jxvf 2008_0723_RT61_Linux_STA_v1.1.2.2.tar.bz2
$ cd 2008_0723_RT61_Linux_STA_v1.1.2.2/Module (you might need to use cd 2008_0723_RT61_Linux_STA_v1.1.2.2/2008_0723_RT61_Linux_STA_v1.1.2.2/Module, if the first command fails.)
$ cp Makefile.6 Makefile
$ sudo su
# make all
# make install
# cp rt2561.bin /etc/Wireless/RT61STA/
# cp rt2561s.bin /etc/Wireless/RT61STA/
# cp rt2661.bin /etc/Wireless/RT61STA/
# dos2unix rt61sta.dat
# cp rt61sta.dat /etc/Wireless/RT61STA/rt61sta.dat
# load
and this is what i come up with
blackbox:/home/kiel# cp 2008_0723_RT61_Linux_STA_v1.1.2.2/Module/Makefile.6 Makefile
blackbox:/home/kiel# sudo su
blackbox:/home/kiel# make all
make -C /lib/modules/2.6.18-6-686/build SUBDIRS=/home/mmills modules
make: *** /lib/modules/2.6.18-6-686/build: No such file or directory. Stop.
make: *** [all] Error 2
blackbox:/home/kiel#
as I said before im starting to learn linux, this is clearly more advanced than i am. is it possible to mk the folder in the proper location to force this through?
idk
bwkaz
01-19-2009, 02:14 AM
blackbox:/home/kiel# make all
make -C /lib/modules/2.6.18-6-686/build SUBDIRS=/home/mmills modules
make: *** /lib/modules/2.6.18-6-686/build: No such file or directory. Stop.
make: *** [all] Error 2
blackbox:/home/kiel# You need the sources for your currently running kernel before you'll be able to build any drivers from source. (You will also need to rebuild this driver every time you upgrade kernels...) Install the kernel-source package (...or whatever your distro calls it).
This is why it's a much better idea to use drivers that are already included in the kernel...
kiel
01-19-2009, 10:51 AM
if i knew how to use the drivers in the kernel, i wouldnt try and use other methods. but as I said, im rather new to linux, simply saying im trying the only thing i know to do, if you have any ideas that will allow me to use the driver inside the core of this kernel, please speak up.
kiel
bwkaz
01-19-2009, 11:32 PM
if i knew how to use the drivers in the kernel, i wouldnt try and use other methods. but as I said, im rather new to linux, simply saying im trying the only thing i know to do, if you have any ideas that will allow me to use the driver inside the core of this kernel, please speak up. Um, you might want to re-read what I posted. In particular, this part:
You need the sources for your currently running kernel before you'll be able to build any drivers from source. :p
i845_
01-20-2009, 10:01 AM
@kiel
I can confirm that the Edimax EW-7128G is well supported under Linux. (link (http://linux-wless.passys.nl/query_part.php?brandname=Edimax))
I'd rather you installed the driver provided by the rt2x00 project (link (http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page)), or the latest driver provided by Ralink (link (http://web.ralinktech.com/ralink/Home/Support/Linux.html)), than using the one provided on the driver disk that came along with the card.
A quick Google reveals guides for both (rt2x00 (http://forums.debian.net/viewtopic.php?t=21519), Ralink (http://www.physics.nmt.edu/%7Ersonnenf/linuxcontrib/ralink-2561-rt61/)).
Hope that helps.
Take a look at the links I posted. Particularly, the one named Ralink.
kiel
01-24-2009, 02:21 PM
one person says, he go for it, the next person says, nah, dont use it.
so this is what I do know, the device is linux supported by both 2.4 and 2.6 kernel, since i dont know much, but have a hunch, im thinking maybe there is a different way about getting this device to work native to the distro, which is debian 2.6 without updates, my wireless card, is native, but my lan is not supported, so i cant update my system off the lan, i know that i should be able to get it working nativly, because i downloaded some live cds and such and 2 distros found the card and put me online, so ide like to find the native solution.
kiel
kiel
01-24-2009, 02:41 PM
currently I am using a livecd on my desktop unit and the wireless is working fine, however the lan card goes undetected, not a big deal really, I can fix that with a good old 3com or something I know is supported later on, but its really aggravating that I have to use a livecd, because my debain 2.6 wont work with it. maybe i will try downloading the debain 2.6 dvd and try it out.
just a thought,
Kiel
i845_
01-24-2009, 03:24 PM
Caveat emptor: I report methods that work for me, or have worked for me in the past. If you think I'm wrong somewhere, then by all means tell me. I don't wish to learn things the hard way.
You need the sources for your currently running kernel before you'll be able to build any drivers from source. (You will also need to rebuild this driver every time you upgrade kernels...) Install the kernel-source package (...or whatever your distro calls it).
Take a look at the links I posted. Particularly, the one named Ralink.
Actually, that link contained notes posted by a guy who had faced the exact same problem that you did. He solved it by installing the kernel sources, just as bwkaz mentioned in his post.
One person says, he go for it, the next person says, nah, dont use it.
I can understand. Sorry if I added to confusion in any way.
Just a thought... Kiel
There's a package named firmware-ralink (http://packages.debian.org/etch-backports/firmware-ralink) in the Debian backports repository, which might interest you. See if installing it helps you out (forum elders, please comment on this.)
Looks like we might have finally nailed the issue: Ralink drivers require non-free firmware for their operation. This can be resolved in case of the kernel driver (rt61pci), by installing the firmware-ralink package from the Etch backports repo. However, the rt61pci driver has been included in the mainline kernel only from version 2.6.24 onwards. In one of his posts, kiel states:
I get an error when typing this.....
Debian GNU/Linux, Kernel 2.6.18-6-686
I'm guessing he's running on a 2.6.18-series kernel. Hence, the inability to utilize the kernel driver, cause there's probably none. I remember je_fro telling kiel to do a modprobe rt61pci. To which, kiel got:
FATAL: Module rt61pci not found
(Seniors, please comment on this, as I might be completely wrong, and I do not wish to confuse kiel any further.)
Try checking your kernel version by issuing the command uname -r. If it is >= 2.6.24, then installing the firmware-ralink package might help you. Read here (http://wiki.debian.org/rt61pci#head-cbd6924295d5f0b7520cc59551c9b8776fea405f).
If you're using a 2.6.18-series kernel, you'll probably need to use an EtchAndAHalf kernel image, which contains the rt61pci driver. Read here (http://wiki.debian.org/rt61pci#head-3077f271e3c11887d71cb70a53a0ef5943af206a).
kiel
01-24-2009, 05:14 PM
well i am in the process of downloading the current dvd, my main pc is the only machine that can dvds currently, so im using a different os, (xp) to make this happen, atm
once i get the dl, ill do all the post says and hit you up with an update
kiel
bwkaz
01-24-2009, 09:16 PM
There's a package named firmware-ralink (http://packages.debian.org/etch-backports/firmware-ralink) in the Debian backports repository, which might interest you. See if installing it helps you out (forum elders, please comment on this.) Ah, it makes a lot of sense if this is (part of) the problem. :)
Yes, apparently lots of cards (especially of the wireless variety) require firmware. (For the record, I HATE this, since the redistribution of the firmware is often actually illegal. Stupid hardware manufacturers. I would much prefer having the current firmware in a flash chip on the device itself, as long as there's a documented way to update it if needed -- but no, then they'd have to think about how their product should work for five seconds. Can't have that. Sigh...) This firmware is often either unavailable except via a firmware-stripping tool (e.g. one that yanks the firmware bits out of the Windows driver), or only available as a separate package. It sounds like your card is one of those.
However, the rt61pci driver has been included in the mainline kernel only from version 2.6.24 onwards.
[...]
I'm guessing he's running on a 2.6.18-series kernel. Boo for the distro pushing three year old kernels, if that is true. (From the version number, it appears that the kernel probably has distro-specific patches in it, but I doubt any of those are adding newer drivers. Not the way Debian normally handles their kernel packages in their stable release. :))
(Seniors, please comment on this, as I might be completely wrong, and I do not wish to confuse kiel any further.) That sounds plausible to me as well.
kiel, you probably need both a newer kernel, and the firmware package, before the card will work. But that should be easier than trying to compile the driver yourself. I hope anyway. :)
I am unsure what you mean (above) by "the current dvd", but if that's the most current stable Debian release, it still may be too old of a kernel to have this driver. (I don't know for sure.) If that's what it is, then feel free to try it out, but don't be surprised if its kernel is still <2.6.24 (and doesn't have the driver).
kiel
01-25-2009, 12:09 AM
well the live dvd i was running without any configuration was slax i believe and I think ubuntu was running it as well, not a big fan of either of the distros really, didn't like the feel of the slax and ubuntu, imo was a , how do i say this nicely...more user friendly version of debain, i guess that's all i can say about that distro, to many thinks to spiff it up, and looking at all there updates, a lot in a short time, I choose debain, due to the fact that it has been stable, for a long time, anyways, I think i posted the current kernel on the 1st page, as I am NEW to linux, i think im gonna have to see a therapist now, im going nuts `,~
Debain GNU/Linux, Kernel 2.6. 18-6-686 KDE
i845_
01-25-2009, 06:07 AM
I think I posted the current kernel version on the first page...
I saw it, and quoted it on one of my posts as well. Just re-checking.
...as I'm new to Linux, I think I'm gonna have to see a therapist now... I'm going nuts...
:p :p :p
Look, the thing with Linux is that it gives you complete control over everything. While this is a blessing of the first magnitude for people well-versed with the system, beginners may feel intimidated by so much power. This is normal.
What I want to tell you is that the 'going nuts' part that you describe, is what makes the Linux journey so interesting - you take a problem, and keep slogging at it till you fix it. And while doing so, you get to learn a whole lot about how the system/hardware functions internally. Ask any experienced sysadmin, mod or forum elder, and they will give you variations on the same basic story.
If that's what it is, then feel free to try it out, but don't be surprised if its kernel is still < 2.6.24 (and doesn't have the driver).
The latest stable Debian release is 4.0r6. A quick Google suggests that it probably utilizes a 2.6.18 kernel. A general Debian CD/DVD set will, therefore, probably install a 2.6.18 kernel by default.
Special CD images are, however, available for installing Debian 4.0r6 with a 2.6.24 kernel (see here (http://www.debian.org/releases/etch/debian-installer/etchnhalf)). Of these, the netinst image can be used in conjunction with the general Debian CD/DVD sets. After the installation of the base system, the installer will ask if additional CDs should be scanned; at that point you could use the DVDs you're currently downloading to carry on with the install.
The options that you have at this point are:
* Supplement your existing Debian install with a newer kernel. Follow the instructions mentioned here (http://wiki.debian.org/rt61pci#head-3077f271e3c11887d71cb70a53a0ef5943af206a).
* Install the latest stable Debian release, from scratch, with a newer kernel (as mentioned above).
* Try out the testing branch of Debian. It's gonna go stable pretty soon, and runs stable enough to support a workstation.
* Compile the driver from source. This is the method we followed originally.
* Give up on Debian altogether, and get a more beginner-friendly distribution.
* See a therapist. The Emacs psychotherapist may help you here. ;-)
bwkaz
01-30-2009, 02:14 AM
I choose debain, due to the fact that it has been stable, for a long time, Yes, but when they choose "no new kernels by default" as their method of staying "stable", then you will have problems trying to use hardware that isn't supported by 3-year-old kernels. :p
Anyway, yeah, I'd say all of the options given by i845_ look promising (except the "compile the driver from source", and possibly the "see a psychotherapist" ;)).
kiel
01-30-2009, 10:02 AM
mm yah that's gonna make me go nuts -,-
im very patient, will wait on stable
kiel
03-06-2009, 10:40 AM
so I installed debian 5.0 and got 0 for a bootloader, how wonderful, a little irritated.
i845_
03-06-2009, 03:01 PM
...and got 0 for a bootloader...
What do you mean? Does the bootloader not work? If it doesn't, what error messages does it provide?
kiel
03-24-2009, 04:00 PM
I loaded it up like normal, did the install and on the boot it gave me the default Microsoft error, so I wrote some 00's to the hd and waited and did it all over again, so I waited weeks, just using my laptop, then I started exploring again, I checked out kubuntu, cause I remember ubuntu back when it first came out, and they nativly support my wireless and video etc, so im gonna run this for ahwile.
problem solved, but not the way I wanted it solved, the thing I hate about ubuntu is every 6 months they have to go and change sh%t.
so we shall see
kiel
03-24-2009, 10:15 PM
I wish i could figure this out on the debain side, im not a big fan of this kubuntu, to many bells and whistels and new versions.
justlinux.com
Copyright Internet.com Inc. All Rights Reserved.