I see, I edited the file to match the above and proceeded but it did not work. I think the problem is that my home gateway ip is different as it suggests may be the case. Since this is the first time i have done anything like this I think I screwed up the edit though. I am on a macbook pro, looked under system preferences for the IP and found the airport section where it said router : 192.168.1.1 but I think I should have been looking at the section IPv4 which is 192.168.1.2?
So I reedited the file to appear as
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.111'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
list dns '192.168.1.1'
list dns '8.8.8.8'
but unfortunately I think I may have guessed wrong and should have put 192.168.1.2 instead because now I cannot log back in to the router to change this file. Any suggestions as to how to get back to the right place? previously I had used ssh root@192.168.1.1 but now I get this...
ssh: connect to host 192.168.1.1 port 22: Network is unreachable
So I reedited the file to appear as
config interface 'lan'
option ifname 'eth0'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.111'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
list dns '192.168.1.1'
list dns '8.8.8.8'
but unfortunately I think I may have guessed wrong and should have put 192.168.1.2 instead because now I cannot log back in to the router to change this file. Any suggestions as to how to get back to the right place? previously I had used ssh root@192.168.1.1 but now I get this...
ssh: connect to host 192.168.1.1 port 22: Network is unreachable