From b7b8382d79e4706c409d1c619a0fca3d75ef014e Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Sun, 23 May 2021 15:41:29 +0200 Subject: [PATCH] Update script. --- .../examples/Arduino/Portenta-H7/38-Ethernet/peer_to_peer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/examples/Arduino/Portenta-H7/38-Ethernet/peer_to_peer.py b/scripts/examples/Arduino/Portenta-H7/38-Ethernet/peer_to_peer.py index 6328c27d9..99d3aeebd 100644 --- a/scripts/examples/Arduino/Portenta-H7/38-Ethernet/peer_to_peer.py +++ b/scripts/examples/Arduino/Portenta-H7/38-Ethernet/peer_to_peer.py @@ -1,14 +1,14 @@ # Ethernet LAN Peer to Peer example. # On the PC try the following: # -# $> sudo ifconfig eth0 192.168.1.102 up +# $> sudo ifconfig eth0 192.168.1.100 up # $> ping 192.168.1.102 import network, time lan = network.LAN() lan.active(True) -lan.ifconfig(('192.168.1.100', '255.255.255.0', '192.168.1.1', '192.168.1.1')) +lan.ifconfig(('192.168.1.102', '255.255.255.0', '192.168.1.1', '192.168.1.1')) while (True): # Nothing else to do.