PDA

View Full Version : [xubuntu] 6.06 on iMac G3 -> installing USB WIFI Stick Asus WL-167G


swimon
November 14th, 2008, 05:43 PM
Hellow,

I just installed xubuntu 6.06 on my imac G3
I don't have any experience with linux so I really don't know how all this works, I geuss I expected it would be a little easier...

So i wanted to install my Wifi Stick
I went to the asus site and downloaded the driver for linux
(http://support.asus.com/download/download.aspx?SLanguage=en-us&model=WL-167g)

But i don't know what to do with it. I managed to figure out I need the "RT25USB" instead of the otherone. I can extract the "RT25USB-SRC-V2.0.7.0.tar.gz"-file, but it doenst install anything... (i think, i'm not too sure what a .tar.gz file is either)

in the extracted files there is a readme file, but i cant figure out what the ### they are talking about :) (i included the readme file below)

so if anyone could help me, that would be really great, because my G3 already feels like it's running a lot smoother!

Grtz!

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

================================================== =============================================
ModelName:
===========
RT2500USB

================================================== =============================================
Driver lName:
===========
rt2570.ko

================================================== =============================================
Ralink Hardware:
===========
Ralink 802.11b/g wireless network card.

================================================== =============================================
Description:
=============
This is a linux device driver for Ralink RT2500USB b/g WLAN Card.
This driver implements basic 802.11 function.
Infrastructure and Ad-hoc mode with open or shared or wpapsk or wpa2psk authentication method.
WEP-40 and WEP-104 or tkip or aes encryption.


================================================== =============================================
Compatibility:
===================
Testing has been done with LinEX kernel 2.6.9, Fedora Core 3.
You may encounter some rough edges when working with recent other Linux kernels branch.


================================================== =============================================
FILE LAYOUT:
=============
*.c : c files
*.h : header files
Makefile.6 :Makefile for kernel 2.6
Makefile.4 :Makefile for kernel 2.4
./LINUX_RACONFIG_Vx.x.x.x : source code for utility RaConfig2500 version x.x.x.x
./LINUX_RACONFIG_Vx.x.x.x/bin/LINUX/RaConfig2500 : utility RaConfig2500

================================================== =============================================
Build Instructions:
====================
0) $dos2unix *
$chmod 644 *
$chmod 755 Configure

1) cp Makefile.x Makefile // x is your kernel

2) $make
3) $insmod rt2570.ko # Insert driver module
4) $ifconfig rausb0 up # Bring up device
5) $dhclient rausb0 # Get network IP address

Note: Script functionality:
Configure retrive linux version
6) ./LINUX_RACONFIG_Vx.x.x.x/bin/"Linux"/RaConfig2500

if lack of libstdc++.so.6, cp ./LINUX_RACONFIG_Vx.x.x.x/libstdc++.so.6 /usr/lib

7)Edit(or add the line) in /etc/modules.conf
alias rausb0 rt2570

8) Create and edit 'ifcfg-rausb0' file in /etc/sysconfig/network-script/
DEVICE='rausb0'
ONBOOT='yes'
BOOTPROTO='dhcp'

================================================== =============================================
CONFIGURATION:
====================
RT2500 driver can be configured via following interfaces,
i.e. i)RaConfig2500, ii)wireless extension,
i) RaConfig2500 is utility for rt25usb.

ii) Wireless extension usage please refer to man page of 'iwconfig', 'iwlist' and 'iwpriv'.
Here is definition for private command 'iwpriv'
-------------------------------------------------------------------------------------------------------
NAME
iwpriv - configure optionals (private) parameters of a wireless network
interface

SYNOPSIS
iwpriv [interface]
iwpriv [interface] [parameters] [val]


DESCRIPTION
[interface] [parameters] [val] explaination
----------- ----------------- ---------------- --------------------------------
rausb0 auth 1~5 1:Open
2:Shared
3:WPAPSK
4:WPA2PSK
5:WPANONE

rausb0 psm 0~1 0:Continuous wake up
1:power safe mode

rausb0 enc 1~4 1:none
2:wep
3:tkip
4:aes

rausb0 wpapsk 8~64 chars WPAPSK password


================================================== =============================================
EXAMPLE:
====================
Example I: Config STA to link with AP and OPEN/NONE(Authentication/Encryption)
1. iwconfig rausb0 mode Managed
2. iwconfig rausb0 key off
3. iwconfig rausb0 essid "AP's SSID"

Example II: Config STA to link as Ad-hoc mode and OPEN/NONE(Authentication/Encryption)
1. iwconfig rausb0 mode ad-hoc
2. iwconfig rausb0 key off
3. iwconfig rausb0 essid "Desired SSID"

Example III: Config STA to link with AP and OPEN/WEP(Authentication/Encryption).
Default Key ID = 3
1. iwconfig rausb0 key [3]
2. iwconfig rausb0 key s:abcde
3. iwconfig rausb0 essid "AP's SSID"

Example IV: Config STA to link with ad-hoc mode and WPAPSK/TKIP(Authentication/Encryption)
WPA PreShared-Key is 12345678
1. iwconfig rausb0 mode ad-hoc
2. iwpriv rausb0 auth 4
3. iwpriv rausb0 enc 3
4. iwconfig rausb0 essid "Desired SSID"
5. iwpriv rausb0 wpapsk 12345678
6. iwconfig rausb0 essid "Desired SSID"

Example V: Config STA to link with AP and WPAPSK/AES(Authentication/Encryption)
WPA PreShared-Key is 12345678
1. iwpriv rausb0 enc 4
2. iwpriv rausb0 auth 3
3. iwconfig rausb0 essid "AP's SSID"
4. iwpriv rausb0 wpapsk 12345678
5. iwconfig rausb0 essid "AP's SSID"

Example VI: Config STA to link with AP and WPA2PSK/TKIP(Authentication/Encryption)
WPA PreShared-Key is 12345678
1. iwpriv rausb0 enc 3
2. iwpriv rausb0 auth 4
3. iwconfig rausb0 essid "AP's SSID"
4. iwpriv rausb0 wpapsk 12345678
5. iwconfig rausb0 essid "AP's SSID"

p.s Step 2 is part of generating wpapsk password and is necessary.

swimon
December 2nd, 2008, 03:12 PM
is there any support for wireless networks in 6.06 ?

I mean, if i get this driver to run, will I be able to connect to my network?

Or do I need to install other packeges?

gRrtz

mkvnmtr
December 2nd, 2008, 07:42 PM
Did you look for a driver in the package manager? I didn't use wifi on 6.06 so don't remember how you go about getting it. On 8.04 they have a driver installer that will download and enable your drivers. 6.06 is so old there is no reason to be using it. If 6.06 works for you 8.04 should install for you. It is only how much ram you have. If you don't have over 348 the live disk installer might not work and you have to use the alt. install disk. It is just as easy.

swimon
December 3rd, 2008, 12:40 PM
Hello and Thx,

I did check the packet manager, but was unsure what to look for, because I'm an absolute beginner.

I tried 6.06 at first, because it has LTS and is still officially supported. And the later versions aren't.
But when I couldn't get this to work, I tried 8.10, in this version I get a window with available networks, even without trying to install the drivers in the first post...

But I can't get the graphics configured right for 8.10, so i'm thinking of switching back to 6.06...


Maybe If I install 6.06, and then download an upgrade to 8.10 on an USB-stick, the graphic settings will still be intact, and the wifi-functions of 8.10 will also work?

Is this possible? And if so, where can I download these packages?

GRTZ and Thank you.