Finally I have decided to use the wired ethernet port (eth0 in the RASPIBIAN) as VNC server and "watch" the OS through it. For that I have asigned a static IP to eth0:
- Edit the next file:
nano /etc/network/interfaces
- I have edited it and put the static IP in the eth0 config lines:
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.160
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
I have removed the next line
gateway 192.168.1.1 below the "broadcast" line because there are internet access conflicts between the eth0 and the wlan0 interface. If this line appears in the eth0 config then the wlan0 is unable to connect to internet (only one gateway can be configured in this file) and the system tries to connect through the eth0.The wlan0 interface tries to connect to a Wi-Fi network configured in the file "wpa_supplicant.conf". This file can be edited manually or can be configured through the wpa_gui application.
No hay comentarios:
Publicar un comentario