Answer the question
In order to leave comments, you need to log in
How to connect to Debian via LAN and Internet via WIFI?
Hello! The task is this: there is a RaspberryPi 2 (a VNC server is enabled on the raspberry) and a laptop. They are directly connected by a network cable (laptop in raspberry, no router). In the PC, I configured that the network card would be given IP 192.168.10.11. On Raspberry, I added the following settings to the dhcpcd.conf file:
interface eth0
static ip_address=192.168.10.12/24
static routers=192.168.10.12 static domain_name_servers
=
192.168.10.1 8.8.8.8
Wifi is working. If I plug the cable into the laptop and raspberry - locale is created, there is access from the laptop to raspberry via VNC. But! Internet stops working on raspberry. Wifi label shows connected but no internet.
As soon as I pull out the cable from the raspberry, the Internet immediately works. How to fix it?
PS: I just need to connect to the raspberry via VNC and access the Internet from it. Internet access is not required on the laptop.
Thanks for answers!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question