Turn your openwrt router into a bridge
So here is what I wanted to prevent a cable between our cablecom connection, where our first router is located and our office.
+---------+ +--------------+This graphic and most of the configs are from http://wiki.openwrt.org/WirelessBridgeWithWPAHowto I just changed it to match WPA1 and my WRT54g. This Script will turn your router into a wireless bridge, but with an IP on the LAN and on the wireless side assigned so you can still configure it.
| OpenWRT | <--- WPA secured WiFi ---> | Existing |
| bridge | | access point | -- (DHCP server)
+---------+ +--------------+
| | |
PC PC PC
#Remove unused services: rm /etc/init.d/S45firewall rm /etc/init.d/S50dnsmasq cp -f /rom/etc/init.d/S40network /etc/init.d/S40network sed -i "/ifup wan/d" /etc/init.d/S40network #Configure wifi: ipkg install nas ipkg install wl nvram set wl0_radio=1 nvram set wl0_infra=1 nvram set wl0_mode=wet nvram set wl0_ssid=ebiwireless nvram set wl0_akm=psk nvram set wl0_crypto=tkip nvram set wl0_wpa_psk=fsckingunsecure #Configure the interfaces: nvram unset wan_ifname nvram set wan_proto=none nvram set lan_ifname=br0 nvram set lan_ifnames="vlan0 eth1" nvram set lan_ipaddr=192.168.2.253 nvram set wifi_ifname=eth1 nvram set wifi_proto=static nvram set wifi_ipaddr=192.168.2.252 nvram unset vlan1ports nvram unset vlan1hwname nvram set vlan0ports="4 3 2 1 0 5*" #Save that stuff and reboot nvram commit reboot