I have two network interfaces on a laptop running Ubuntu 12.04. The wired interface is plugged into a wirless router on the 192.168.0.0 network and then wireless interface is connected to an ad-hoc network on the 192.168.1.1 network.
I want to connect another machine to the wireless router and have the data be routed to the ad-hoc network. So the other machine will get an address like 192.168.0.4 and it should be able to send data to the ad-hoc network say to machine 192.168.1.100.
I've tried simply changing the /etc/network/interface text file, but I really don't know what I am doing there, and I tried installing some bridging software and that doesn't seam to help.
Any ideas? Thank you.