I have installed Ubuntu 11.10
I have internet in mobile then create hotspot for access internet in laptop.
Now main thing is that how can I share that to LAN(eth0).
Path of internet
Mobile WIFI --> Laptop WIFI --> Laptop Lan --> Smart TV Lan
You can run a NAT/Firewall software like Firestarter on the LAPTOP (install from the software center).
Another solution without running anything is to do the NAT manually with iptables on NAT Table postrouting using Masquerade on your wi-fi interface. See rule below:
and you will need to enable ip forwarding with:
or make it permanent with:
Modify the line:
Should show 1