File RT61A.dat:
# Copy this file to /etc/Wireless/RT61STA/rt61sta.dat
# This file is a binary file and will be read on loading rt2500.o module.
[Default]
CountryRegion=0
CountryRegionABand=7
WirelessMode=0
TxBurst=0
PktAggregate=0
TurboRate=0
WmmCapable=0
AckPolicy1=0
AckPolicy2=0
AckPolicy3=0
AckPolicy4=0
BGProtection=0
IEEE80211H=0
TxRate=0
RoamThreshold=75
PSMode=CAM
TxPreamble=0
FastRoaming=0
# All parameters below can be set by iwconfig in the if-pre scripts
# if required or enabled here if you wish
# Anything enabled here will be used when EVEN the net interface is brought up
# this will undo any iwconfig pre-up settings.
SSID=[***]
NetworkType=Infra
Channel=1
AuthMode=WPAPSK
EncrypType=TKIP
DefaultKeyID=1
#Key1Type=0
#Key1Str=
#Key2Type=0
#Key2Str=
#Key3Type=0
#Key3Str=
#Key4Type=0
#Key4Str=
WPAPSK=[***]
#RTSThreshold=2312
#FragThreshold=2312
PSMode=CAM
#RFMON=0
Shell - Konsole and commands...
*** *** # ifconfig ra0 down
*** *** # rmmod rt61
*** *** # depmod -a
*** *** # modprobe rt61
*** *** # depmod -a
*** *** # device='ra0'
*** *** # onboot='yes'
*** *** # bootproto='dhcp'
*** *** # startmode='auto'
*** *** # ifconfig ra0 inet up
*** *** # iwconfig
lo no wireless extensions.
ra0 RT61 Wireless ESSID:"[***]"
Mode:Managed Frequency:2.412 GHz Access Point: [***]
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryptionkey:[***]
Link Quality=70/100 Signal level:-64 dBm Noise level:-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
*** *** # ifconfig ra0 192.168.2.3 up
*** *** # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:69 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5945 (5.8 Kb) TX bytes:5945 (5.8 Kb)
ra0 Link encap:Ethernet HWaddr [***]
inet addr:192.168.2.3 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42150 errors:0 dropped:0 overruns:0 frame:0
TX packets:5033 errors:1 dropped:1 overruns:0 carrier:0
collisions:1237 txqueuelen:1000
RX bytes:5483913 (5.2 Mb) TX bytes:514362 (502.3 Kb)
Interrupt:9
Now I try to ping within my 'Home' network to another pc:
*** *** # ping -c 2 192.168.2.2
PING 192.168.2.2 (192.168.2.2) from 192.168.2.3 : 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=128 time=15.9 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=128 time=2.38 ms
--- 192.168.2.2 ping statistics ---
2 packets transmitted, 2 received, 0% loss, time 999ms
rtt min/avg/max/mdev = 2.382/9.165/15.948/6.783 ms
Looking good ...
And now to the outside world:
*** *** # ping -c 2
www.google.nl ping: unknown host
www.google.nl Bummer ...
