I got my Raspberry Pi today. I formatted an SD card and installed Raspbian on it. I want to use the Raspberry Pi for downloading torrent files. I get into the Raspberry Pi with SSH with my MacBook. I don't have any monitor or mouse etc. to use with the Raspberry Pi. I want to use something like VNC to connect to the Raspberry Pi with my MacBook.
When I plug the Raspberry Pi with an Ethernet cable into my TP-LINK TD-W8951ND ADSL modem router, I can see the Raspberry Pi's IP address from the modem's web interface and get ssh into with the IP address. I have a Ubiquiti NanoStation on my house roof for Wi-Fi Internet service.
Here is my setup: 1. I get Internet connectivity with the Ubiquiti NanoStation antenna on the roof from a local wireless Internet service company. 2. The Ethernet cable come to the TP-LINK TD-W8951ND ADSL modem router from the roof. With the MacBook I can get Internet wired or wireless. 3. I can use Internet with two devices at the same time, but I have to login my username and password for wireless Internet service if I reboot any device the session end.
When I connect my MacBook and Raspberry Pi to my TP-LINK TD-W8951ND ADSL modem router via Ethernet, they work together, and I can get the IP address of the Raspberry Pi and can ssh into it. But when I connect the Ubiquiti NanoStation's Ethernet cable to my TP-LINK TD-W8951ND ADSL modem router, I lose the Raspberry Pi's IP address. I can't even use the TP-LINK TD-W8951ND ADSL modem router's web interface, can't access to TP-LINK router, and the Ubiquiti NanoStation prompt me to get into the service company's Mikrotik modem interface. And I get a different IP address when I connect to the Internet. I use DHCP on my ADSL router which has four ethernet ports.
Before connecting to the Internet with Ubiquiti NanoStation, I can access the Raspberry Pi with the 192.168.1.103 IP address on the TP-LINK router. After connecting to the Internet with Ubiquiti NanoStation the IP address doesn't work, and I can't access the TP-LINK router.
How can I solve this problem? I can connect the Raspberry Pi into a monitor and Internet for installing VNC on the Raspberry Pi and other packages for use with my MacBook Pro for once. I want to setup VNC once and use Raspberry Pi with my MacBook always with VNC. Since I have to login username and password for the Wi-Fi Internet service, I must use VNC to login when needed.
I read about giving a static IP address to the Raspberry Pi, but I couldn't try it when I am logged into the Internet - I lose connection with my Raspberry Pi and ADSL router.
If I make the Raspberry Pi's IP address static and use no-ip, dyndns etc. DNS service with port forwarding, will it work after connecting to the Internet with Ubiquiti NanoStation? Can I get into the Raspberry Pi with VNC when I connect it into the ADSL router with an Ethernet cable?