no link in ad-hoc mode

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5186

-=RaY=-

03-02-2009 20:17:51

I have some problemm while trying to pick up Ralink 2560f in ad-hoc mode,
I use the rt2500 1.1.0 CVS 2009020123 from http//rt2x00.serialmonkey.com
here some piece of log
[code1lsgzeve]
root@OpenWrt:/# uname -r
2.6.24.7
root@OpenWrt:/# insmod rt2500
rt2500: 1.1.0 CVS 2009020123 http://rt2x00.serialmonkey.com
root@OpenWrt:/# ifconfig -a
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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0[attachment=0].png[/attachment]
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ra0 Link encap:Ethernet HWaddr 00:0C:43:25:60:00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:9 Base address:0x4000

root@OpenWrt:/# iwconfig
lo no wireless extensions.

ra0 RT2500 Wireless ESSID:""
Mode:Managed Frequency=2.412 GHz Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:136 Noise level:113
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
[/code1lsgzeve]

now i am trying to config this interface
[code1lsgzeve]

root@OpenWrt:/# iwconfig ra0 mode ad-hoc
root@OpenWrt:/# iwconfig ra0 channel 7
root@OpenWrt:/# iwconfig ra0 essid Transfer
root@OpenWrt:/# iwconfig ra0 rate 32M
root@OpenWrt:/# iwconfig ra0 enc off
root@OpenWrt:/# iwconfig ra0 key off
root@OpenWrt:/# iwconfig ra0 rts 0ff
root@OpenWrt:/# iwconfig ra0 frag 0ff
[/code1lsgzeve]

and then just pick it up
[code1lsgzeve]

root@OpenWrt:/# ifconfig ra0 192.168.21.222
[/code1lsgzeve]

end result is
[code1lsgzeve]

root@OpenWrt:/# 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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

ra0 Link encap:Ethernet HWaddr 00:0C:43:25:60:00
inet addr:192.168.21.222 Bcast:192.168.21.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:9 Base address:0x4000

root@OpenWrt:/# iwconfig
lo no wireless extensions.

ra0 RT2500 Wireless ESSID:"TRANSFER"
Mode:Ad-Hoc Frequency=2.462 GHz Cell: 46:B6:99:28:86:36
Bit Rate=11 Mb/s Tx-Power:0 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level:-120 dBm Noise level:-79 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code1lsgzeve]

When I trying to ping to another interface i can't get anything
[code1lsgzeve]
root@OpenWrt:/# ping 192.168.21.21
PING 192.168.21.21 (192.168.21.21): 56 data bytes

--- 192.168.21.21 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/#
[/code1lsgzeve]

iwlist scan result is similar
[code1lsgzeve]

root@OpenWrt:/# iwlist ra0 scan
ra0 No scan results
[/code1lsgzeve]

But in the Windows I can see this adapter, but can't ping it (
Help me please(((((
P.S. excuse me for my language.

Vern

04-02-2009 16:32:59

Hi -=RaY=-,

What does "route -n" say after you've finished your bringup procedure?

What are your firewall settings - if any?

Thanks,