ping 192.168.2.99 -t
xilinx@192.168.2.99
,密码同用户名myhost=$(< /dev/urandom tr -dc a-z0-9|head -c8;echo);sudo pynq_hostname.sh pynq-$myhost;cat /etc/hostname
pynq-hostname
reboot
重启z2$var = Get-NetAdapter -InterfaceDescription "*Ethernet*" -Physical | select -ExpandProperty Name; Remove-NetIPAddress -InterfaceAlias $var -Confirm:$false;select -ExpandProperty Name; Set-NetIPInterface -InterfaceAlias $var -Dhcp Enabled
pynq-hostname
或者pynq-hostname.<localdomain>