Friday, October 29, 2021
Friday, October 15, 2021
windows PC ping icmp not working
Windows Firewall -> Inbound Rules -> allow icmp.
Also, if the interface in Network of Windows is marked as “public” instead of “work", then it makes Windows think it is on a public hotspot and it will not give access remotely even if the windows firewall rules allow it (In “Public”-mode it doesn’t read the “Inbound Rules”…)
In windows defender:
- Search for
Windows Firewall
, and click to open it. - Click Advanced Settings on the left.
- From the left pane of the resulting window, click Inbound Rules.
- In the right pane, find the rules titled File and Printer Sharing (Echo Request - ICMPv4-In)
- Right-click each rule and choose Enable Rule
- change remote "local subnet" to "any"
Friday, June 18, 2021
eve-ng : When a node won't start
/var/log/syslog shows:
Jun 18 11:21:18 labusraeveng01 iol_wrapper[105334]: 18/5 15:21:18.639 ERR#011Error while connecting local AF_UNIX: No such file or directory /tmp/netio33797/5 (2)
Jun 18 11:21:18 labusraeveng01 iol_wrapper[105334]: 18/5 15:21:18.639 ERR#011Cannot listen at AF_UNIX (5). ERR: Cannot open AF_UNIX sockets (2).
Jun 18 11:21:18 labusraeveng01 iol_wrapper[105334]: 18/5 15:21:18.639 ERR#011Failed to create AF_UNIX socket file (2).
Jun 18 11:21:18 labusraeveng01 iol_wrapper[105334]: 18/5 15:21:18.639 INF#011Caught SIGTERM, killing child.
For some reason the socket in /tmp doesn't exist anymore.
mkdir /tmp/netio33797
python -c "import socket as s; sock = s.socket(s.AF_UNIX); sock.bind('/tmp/netio33797/5')"
chown -R 33797:unl /tmp/netio33797
et voila!
eve-ng network/interface linux issues
Sometimes the ip-config of eve-ng itself is deleted (on the linux level)
/var/log/syslog shows:
Jun 18 15:49:13 labusraeveng01 systemd-udevd[104705]: Could not generate persistent MAC address for vun001000000221: No such file or directory
- Add file /etc/systemd/network/99-default.link
[Link]
# NamePolicy=kernel database onboard slot path
MACAddressPolicy=none
rm -f /opt/ovf/.configured
su –
and configure networking again.
Check license:
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
In case the license stays invalid, try:
systemctl restart licserver
test
import os import argparse import json def load_json_file(filepath): with open(filepath, 'r') as f: return json.load(f) d...
-
/var/log/syslog shows: Jun 18 11:21:18 labusraeveng01 iol_wrapper[105334]: 18/5 15:21:18.639 ERR#011Error while connecting local AF_UNIX: ...
-
1)make it a sataa.qcow2 image 2)after first boot configure "boot nxos bootflash:///nxos.7.0.3.I7.3.bin" and write mem Remark...
-
EVE-NG Copy&paste To copy between host and eve-ng native client, while in the client, click CTRL-ALT-SHIFT which will bring up the H...