20090707 WRT Routing
Heavner 23:42, 7 July 2009 (PDT)
at the 10pm computer up time, I logged into both the met and relay bricks and routers. got the following:
Thoughts/Notes: router at relay is 192.168.1.154 SM_WRT_24 brick is at 192.168.1.53 router at met station is 192.168.1.155 SM_MET brick is at 192.168.1.57 gateway on met brick is 192.168.1.1 .. I think this should be 192.168.1.154 1) WDS config 2) LemonVPN? 3) ad-hoc vs infrastructure?
Looked at it, OLSR isn't the solution (ROBIN only works on Atheros radios). I'm going after WDS, and  is a helpful site.
Heavner 09:18, 11 July 2009 (PDT) At the 8am uptime, I changed the wds/mac settings:
ROOF: root@SM_WRT_18:~# nvram set wl0_wds="00:21:29:A5:8F:07 00:1C:10:9E:7C:F5" added ROOF (00:18:39:EC:BC:0E) & SM_WRT_24 to SM_MET (did do the nvram commit here..) added SM_MET and ROOF to SM_WRT_24 (but I don't think I got the nvram commit done...)
I didn't mess w/ the lazy_wds setting, it was off on one of the glacier routers, and on the other one (I think..)
Heavner 11:13, 11 July 2009 (PDT)
root@WRT_MET:~# nvram show | grep wl0_wds wl0_wds=00:21:29:A5:8F:07 00:18:39:EC:BC:0E root@SM_WRT_24:~# nvram show | grep wl0_wds wl0_wds=00:18:39:EC:BC:0E 00:1C:10:9E:7C:F5 root@WRT_MET:~# nvram set wan_gateway=192.168.1.154 root@WRT_MET:~# nvram set lan_gateway=192.168.1.154 root@WRT_MET:~# traceroute 220.127.116.11 traceroute to 18.104.22.168 (22.214.171.124), 30 hops max, 40 byte packets 1 192.168.1.155 (192.168.1.155) 2992.06 ms !H 2998.41 ms !H 2999.26 ms !H
I think the issue is the routing/gateway, will google for this. WRT_MET (192.168.1.157) can't see (ping!) 192.168.1.1 but it is seeing 192.168.1.154 just fine.
These are all static/adhoc, so I'm thinking of killing dhcp servers on both WRT_MET and WRT_24
the gateway on WRT_MET was set to 192.168.1.1
I think the gateway should be 192.168.1.1 -- I wonder if it firewall issues on the MET or WRT_24 routers. Maybe I'll kill both of those, and we'll see..
Heavner 12:10, 11 July 2009 (PDT)
MET wl_mode=sta WRT_24 wl_mode=ap ROOF wl_mode=ap
check these settings, and maybe add spanning tree protocol (STP) -- try on the routers in the office. (especially before setting wl_mode=wds)
Heavner 13:05, 11 July 2009 (PDT) Huh...
root@WRT_MET:~# nvram show | grep stp lan_stp=1 while WRT_24 and ROOF both have lan_stp=0
Heavner 14:16, 13 July 2009 (PDT) tried a few things...
got MET wl_mode=ap and wl0_mode=ap set at least, and gateway was correct.. so still not quite... hmm.. looking at the roof route (but DON'T change anything there, as that is working!)
seems like either MET isn't routing correctly or RELAY isn't relaying correctly.. I can't ping 192.168.1.1 (roof) from MET, but can ping RELAY from MET and roof from RELAY.
I believe MET is SM_WRT_21 based on MAC address, and RELAY is SM_WRT_24