JoyFM wrote:
Hi,
I'm using linux 2.6.24 is it possible to use ad-hoc modus with the rt61 driver?
Hi I have had reasonable success with the compat wireless driver set under 2.6.24:
http://linuxwireless.org/en/users/Drivers
http://linuxwireless.org/download/compat-wireless-2.6/
just download the latest daily tarball in the download area and read the instructions , although they are external to the kernel and beta drivers, they do install and uninstall in my gentoo kernel very easy.
The daily driver in my case was dated 20-04-2008 , this is currently working in adhoc as shown below.
not sure about wpa supplicant but they may be worth a try.
I have a few machines around with wifi and 2 have rt61 cards
One machine is running a 2.6.23 kernel with ralinks own 1.1.1.0 linux drivers, the other is configured as above as I cannot get the ralink drivers to compile on 2.6.24
Some test results from the
Code:
rt61pci 24192 0
crc_itu_t 2176 1 rt61pci
rt2x00pci 10368 1 rt61pci
rt2x00lib 24960 2 rt61pci,rt2x00pci
firmware_class 9728 2 snd_emu10k1,rt2x00lib
rfkill 7056 1 rt2x00lib
input_polldev 5000 1 rt2x00lib
mac80211 162716 2 rt2x00pci,rt2x00lib
cfg80211 28896 2 rt2x00lib,mac80211
eeprom_93cx6 2560 1 rt61pci
machine:
Code:
wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
wlan0: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
wlan0: Selected IBSS BSSID e2:0a:e5:3f:d5:8b based on configured SSID
wlan0: Configured IBSS beacon template
wlan0: Selected IBSS BSSID e2:0a:e5:3f:d5:8b based on configured SSID
wlan0: Configured IBSS beacon template
wlan0: no IPv6 routers present
phy0: Adding new IBSS station 00:14:85:de:d3:31 (dev=wlan0)
wlan0: Selected IBSS BSSID e2:0a:e5:3f:d5:8b based on configured SSID
wlan0: Configured IBSS beacon template
phy0: Adding new IBSS station 00:14:85:de:d3:31 (dev=wlan0)
wlan0: no IPv6 routers present
This driver setup seems to take a while to join the cell but once it does so seems ok speed and stability wise.
Code:
lo no wireless extensions.
eth1 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"WLAN"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: E2:0A:E5:3F:D5:8B
Tx-Power=4 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:yeah-sure-like-i-am-telling-you-;-)
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
ppp0 no wireless extensions.
Code:
iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 58748
[ 4] 0.0-10.2 sec 24.5 MBytes 20.2 Mbits/sec
[ 6] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 58749
[ 6] 0.0-10.1 sec 25.4 MBytes 21.0 Mbits/sec
[ 4] local 192.168.0.1 port 5001 connected with 192.168.0.2 port 58750
[ 4] 0.0-10.2 sec 26.2 MBytes 21.7 Mbits/sec
Code:
iperf -c 192.168.0.2
------------------------------------------------------------
Client connecting to 192.168.0.2, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.1 port 60089 connected with 192.168.0.2 port 5001
[ 3] 0.0-10.1 sec 20.1 MBytes 16.7 Mbits/sec
rufnut rufnut # iperf -c 192.168.0.2
------------------------------------------------------------
Client connecting to 192.168.0.2, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.1 port 60090 connected with 192.168.0.2 port 5001
[ 3] 0.0-10.0 sec 20.1 MBytes 16.8 Mbits/sec
I guess the main reason for one side being faster than the other is that in the ralink driver (the other machine) I have the turbo function on.
Most important of all for some, from /etc/conf.d/net (maybe different on yr distro) :
Code:
channel_wlan0="1"
mode_wlan0="Ad-Hoc"
essid_wlan0="WLAN"
key_WLAN="yeah-sure-like-i-am-telling-you-;-) enc open"
config_wlan0=( "192.168.0.1 netmask 255.255.255.0" )
iwconfig_wlan0="txpower on"
A lot of good people have battled to bring this result, thanks guys
regards Brett
