This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wirover [2010/01/14 10:45] rmadden |
wirover [2010/01/19 14:40] rmadden |
||
---|---|---|---|
Line 149: | Line 149: | ||
* Ant build all on the client | * Ant build all on the client | ||
* Run client.jar on client, server.jar on server. Note, mysql DB must be setup correctly on server, copy server.jar to the server | * Run client.jar on client, server.jar on server. Note, mysql DB must be setup correctly on server, copy server.jar to the server | ||
- | + | ===== General Setup/Linksys DD-WRT Setup/DHCP and DNS on WiGateway ===== | |
- | + | ||
- | ===== General Setup/Linksys DD-WRT Setup ===== | + | |
Because the routing cache is maintained by the kernel separately from the routing tables, manipulating the routing tables may not have an immediate effect on the kernel's choice of path for a given packet. To avoid a non-deterministic lag between the time that a new route is entered into the kernel routing tables and the time that a new lookup in those route tables is performed, use ip route flush cache. Once the route cache has been emptied, new route lookups (if not by a packet, then manually with ip route get) will result in a new lookup to the kernel routing tables. | Because the routing cache is maintained by the kernel separately from the routing tables, manipulating the routing tables may not have an immediate effect on the kernel's choice of path for a given packet. To avoid a non-deterministic lag between the time that a new route is entered into the kernel routing tables and the time that a new lookup in those route tables is performed, use ip route flush cache. Once the route cache has been emptied, new route lookups (if not by a packet, then manually with ip route get) will result in a new lookup to the kernel routing tables. | ||
Line 244: | Line 242: | ||
* also have to have two routes for the NAT to work | * also have to have two routes for the NAT to work | ||
* additional routes for multiple interfaces must be such that they don't conflict | * additional routes for multiple interfaces must be such that they don't conflict | ||
+ | ===== General Setup/Linksys DD-WRT Setup/DHCP and DNS on Linksys Box ===== | ||
+ | |||
+ | /etc/resolv.conf | ||
+ | nameserver 208.67.222.222 | ||
+ | nameserver 208.67.220.220 | ||
+ | |||
+ | OpenWRT Settings (backed up in svn as config/dd-wrt-config.bin): | ||
+ | |||
+ | **Administration Tab** | ||
+ | * **Management** | ||
+ | * **Router Management** | ||
+ | * Router Username: wirover | ||
+ | * Router Password: soekris; | ||
+ | * **Web Access** | ||
+ | * Protocol: HTTPS | ||
+ | * **Remote Access** | ||
+ | * Web GUI Management: Enable | ||
+ | * Use HTTPS | ||
+ | * Web GUI Port: 8080 | ||
+ | * **WOL** | ||
+ | * **Wake-on-Lan** | ||
+ | * MAC Address/Hostname: (00:23:54:30:A4:6F/C027506) | ||
+ | * MAC Address/Hostname: (00:23:54:30:97:39/C027507) | ||
+ | * MAC Address/Hostname: (/C027508) | ||
+ | * Net Broadcast: 255.255.255.255 | ||
+ | * **Automatic Wake-on-Lan** | ||
+ | * Automatic Wake on Lan: Enable | ||
+ | * Interval: 15 Seconds | ||
+ | * Host Name: 255.255.255.255 | ||
+ | * Interval: 60 Seconds | ||
+ | |||
+ | **Setup Tab** | ||
+ | * **WAN Setup** | ||
+ | * WAN Connection Type | ||
+ | * Connection Type: Disabled | ||
+ | * Optional Settings | ||
+ | * MTU: Manual (highest possible calculated MTU) | ||
+ | * **Network Setup Section** | ||
+ | * Router Setup | ||
+ | * Local IP Address: 192.168.2.1 | ||
+ | * Subnet Mask: 255.255.255.0 | ||
+ | * Gateway: (IP of WiGateway) 192.168.2.2 | ||
+ | * Network Address Server Settings (DHCP) | ||
+ | * DHCP Type: Server | ||
+ | * All checkboxes checked. | ||
+ | |||
+ | **Wireless Tab** | ||
+ | * **Wireless Physical Interface wl0** | ||
+ | * Access Point Mode | ||
+ | * ESSID: WiGateway | ||
+ | |||
+ | **NAT/QoS Tab** | ||
+ | * **Enable Buswatch Port Forwarding 9000-9999 to 80 on Buswatch IP (192.168.2.149)** | ||
+ | |||
+ | Setup the linksys AP for now | ||
+ | * found error where dhcp should have been forwarded instead of server | ||
+ | * user: wirover pass: soekris; | ||
===== BusWatch Setup ===== | ===== BusWatch Setup ===== |