I had flashed openwrt earlier and was trying to set it up via the web interface when I clicked on save and apply changes it just said "waiting on router" for a good while so I unplugged the router and plugged it back in, now its completely unresponsive. I belive I was able to get it to boot into failsafe mode but I dont think I am setting up the ip for my laptop correctly. Im using Ubuntu and I set up my /etc/network/interfaces to look like this :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
What am I doing wrong? Also, once I ssh in what should I do to restore the router?