sven-ola wrote:"iptables -L -n -v;iptables -t nat -L -n -v;iwconfig;ifconfig" as well.
By external interface, I mean vlan1, or the external network connection.
This is a stock CVS version, with the addpattern patch and new et.o driver included.
I'm using a WRT54GS1.1 (actually a few of them).
I've tried setting it to use dhcp and a static address, with no luck.
If I run tcpdump on a remote host, and try to ping, run udhcpc, etc... I can see packets from my WRT, and responses are sent. But the WRT never seems to get them.
At first glance, this looks like a firewall issue, but based on the firewall config listed below, I don't think so. (i've tried the default iptables config from cvs as well)
I've even tried to explicitly allow connections from a particular remote host, to no avail.
I've switched cables thinking that was it... nope.
Wireless always seems to be available, as thats how I access the box.
This is very confusing, since the exact same firmware (without the addpattern and new et driver) works just fine on a GS 1.0.
iptables -nvL:
Chain INPUT (policy ACCEPT 1765 packets, 154K bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 1520 packets, 182K bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 4331 packets, 583K bytes)
pkts bytes target prot opt in out source destination
iptables -t nat -L:
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11-DSF ESSID:"linksys"
Mode:Master Channel:6 Access Point: 00:12:17:BC:12:31
Bit Rate:24Mb/s Tx-Power=15 dBm
Retry limit:0 RTS thr:off Fragment thr:off
Encryption key:off
Link Quality:0/5 Signal level:-160 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
br0 no wireless extensions.
vlan0 no wireless extensions.
vlan1 no wireless extensions.
ifconfig:
br0 Link encap:Ethernet HWaddr 00:12:17:BC:12:2F
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6525 errors:0 dropped:0 overruns:0 frame:0
TX packets:3239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:440563 (430.2 KiB) TX bytes:534163 (521.6 KiB)
eth0 Link encap:Ethernet HWaddr 00:12:17:BC:12:2F
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:15748 errors:0 dropped:0 overruns:0 frame:0
TX packets:5388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3247848 (3.0 MiB) TX bytes:2092310 (1.9 MiB)
Interrupt:5 Base address:0x2000
eth1 Link encap:Ethernet HWaddr 00:12:17:BC:12:31
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6512 errors:0 dropped:0 overruns:0 frame:23337
TX packets:4301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:541077 (528.3 KiB) TX bytes:732295 (715.1 KiB)
Interrupt:4 Base address:0x1000
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:996 errors:0 dropped:0 overruns:0 frame:0
TX packets:996 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:88685 (86.6 KiB) TX bytes:88685 (86.6 KiB)
vlan0 Link encap:Ethernet HWaddr 00:12:17:BC:12:2F
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:162286 (158.4 KiB)
vlan1 Link encap:Ethernet HWaddr 00:12:17:BC:12:2F
inet addr:192.168.2.34 Bcast:192.168.2.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:4288 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1930024 (1.8 MiB)
netstat -rn:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 40 0 0 vlan1
192.168.1.0 0.0.0.0 255.255.255.0 U 40 0 0 br0
0.0.0.0 192.168.2.1 0.0.0.0 UG 40 0 0 vlan1
lsmod:
Module Size Used by
wl 348968 1
et 22208 0 (unused)
diag 2224 0 (unused)