Hello. After compiling the source for rt2561 from
http://svn.openfoundry.org/usert2500/ with original Makefile (because make.serialmonkey is just for 2.6.x kernel) I have these messeges and no connection with the AP. What am I missing? Thank you.
# uname -a
Linux linux 2.4.29 #6 Tue Dec 13 16:30:37 PST 2005 i686 Slackware 10.1 GNU/Linux
#modprobe rt2561
Warning: loading /lib/modules/2.4.29/kernel/drivers/net/wireless/rt2561.o will taint the kernel: no license
See
http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module rt2561 loaded, with warnings
#dmesg
PCI: Found IRQ 7 for device 00:0f.0
PCI: Sharing IRQ 7 with 00:11.0
#lspci
00:11.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 6c)
00:0f.0 Network controller: RaLink Ralink RT2600 802.11 MIMO
(Here I have conflict. They are on the same IRQ)
# /etc/rc.d/rc.wireless ra0
/etc/rc.d/rc.wireless: ra0 is 'Any ESSID'
/etc/rc.d/rc.wireless: /sbin/iwconfig ra0 nick linux
/etc/rc.d/rc.wireless: /sbin/iwconfig ra0 essid default
# iwconfig ra0
ra0 RT61 Wireless ESSID:"default" Nickname:"linux"
Mode:Managed Channel:6 Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=54Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:0/70 Signal level:-209 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
#dmesg
...
jueming
jueming
...
# ifconfig ra0 inet 192.168.1.100 up
(The same if
#dhcpcd ra0)
# ifconfig ra0
ra0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4260 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:4 txqueuelen:1000
RX bytes:320461 (312.9 Kb) TX bytes:504 (504.0 b) (And they are changing)
Interrupt:7 Base address:0xf000
#dmesg
...
jueming
IN=ra0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=192.168.1.1 DST=224.0.0.1 LEN=28 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2 (these are from iptables firewall)
jueming
...
# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.100 icmp_seq=1 Destination Port Unreachable
ping: sendmsg: Operation not permitted
(The same if:
#route add default gw 192.168.1.1)