Thanks. I’ve added auto eth0 to interfaces. I’ve also removed the 2nd gateway, don’t know how it got there in the first place as it wasn’t there before… I’ve also revised the iptables as suggested, removing “-A FORWARD” accept rules and changing -A POSTROUTING as above.
My ip addr outputs:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:06:58:2c brd ff:ff:ff:ff:ff:ff
inet 192.168.2.1/24 brd 192.168.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::ba27:ebff:fe06:582c/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 74:da:38:00:77:1a brd ff:ff:ff:ff:ff:ff
inet 192.168.15.6/24 brd 192.168.15.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::76da:38ff:fe00:771a/64 scope link
valid_lft forever preferred_lft forever
Seems to be OK, I guess. The TV is configured to a manual IP 192.168.2.2. I’ve also had enabled the IP forwarding as suggested in your 2nd edit. Still no luck, the TV connects to the Pi ethernet but no connection to the internet. Somewhere down the line the packets don’t seem to be flowing from eth0 to wlan0. I’ve checked the files above again and they seem in line with tutorial on NAT and iptables but somewhere down the line there’s a failure. I don’t have any messages file in the /var/log, don’t know where else to look at to inspect for NAT between eth0 wlan0.
Thanks for your help so far, I wouldn’t have gotten this far without it. I’ll have a look again tomorrow, this is driving me nuts…