I have changed the static IP of my Windows laptop to 192.168.2.98 and the subnet as 255.255.255.0.
For some reason I am unable to connect to the board. I used to be able to but now I am not sure why it isn’t working anymore.
So, I enabled Wi-Fi sharing on my laptop and the board’s dynamic IP(?) changed to 192.168.137.84 and things worked. However, the next day I had problems with my Wi-Fi sharing so I redid the Wi-Fi sharing settings and the board’s dynamic IP changed again to 192.168.137.231. (I found these addresses by running the command prompt and used arp -a to see what is connected to my laptop’s ethernet port)
Things worked well but after switching the board off and on, Jupyter Notebooks started to lag and hang.
So, on a different Windows laptop, I assigned its ethernet port to 192.168.2.98, did not enable Wi-Fi sharing and still cannot connect to the board (192.168.2.99).
I decided to use PuTTY and ran a few commands which made me even more confused as to what is going on.
Just to let you know, this isn’t really PYNQ specific, so you should be able to search Ubuntu forums for networking help.
From the output.txt it seems you have lost the eth0:0 alias for the static IP address.
Can you check this file:
/etc/network/interfaces.d/eth0
It may have been modified. It should look like this by default:
xilinx@pynq:~$ more /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet dhcp
auto eth0:1
iface eth0:1 inet static
address 192.168.2.99
netmask 255.255.255.0
You should also be able to configure with this as root: