I am using 2012-07-15-wheezy-raspbian OS on my Raspberry Pi. I have connected Raspberry Pi to the router through lan cable. My laptop is connected to the router through Wifi and hence i can connect to Raspberry Pi. But i have no internet due to access point problem. Hence Raspberry Pi cannot connect to the internet.
But my mobile hotspot can be used for internet sharing. Now i want to connect my laptop and Raspberry Pi to the same network that generated by my mobile hotspot. So that i can access Raspberry Pi through my laptop and also they have access to internet. I want to use ethernet cable to share this internet through the router by connecting lan cable to the input of router and so the devices under the network generated by the router also can access the internet.
How can i configure the Raspberry Pi to work this condition?
Please help me i am new to raspberry pi. I have found lot of tutorial and i didn't understand it. What code should be written in /etc/network/interfaces/
and wpa_supplicant.conf
?