I learned how to connect the PC to my RPI2 ethernet wired and now I would like to do it via wi-fi.
Currently the ethernet connection is done using the package tightvncserver on RPI2 and xtightvncviewer on pc.
To enter always the same IP address on the PC when prompted, I set a static address for RPI2 and the file etc/networks/interfaces has the following content:
Code: Select all
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "......"
wpa-psk "......"Code: Select all
claudio @ ASUS-K53SJ: ~ $ xtightvncviewer
xtightvncviewer: ConnectToTcpAddr: connect: No route to host
Unable to connect to VNC server
If so, what should I do?
If not, what should I do?
Claudio