I have installed Raspbian OS and enabled vnc through lan cable.(headless setup)[there is no internet on my LAN] both PC & Pi are connected to my router. When I connect my Raspberry Pi's (wifi) to a mobile hotspot (my phone) Raspberry Pi is connected to phone's wifi hotspot but internet is not available on the Pi.
But when I remove the lan cable and only connect the Pi's wifi to phone's hotspot internet seems to be working fine.
How can I setup to use my Pi's wifi (internet access) to download files and store it on a local NAS server(through LAN)?
Any help would be appreciated as i'm new to Linux