linux:netzwerk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:netzwerk [2024/10/03 22:03] – [Nützliche Befehle] gsys | linux:netzwerk [2026/08/23 09:40] (current) – [Ubuntu] gsys | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| < | < | ||
| - | sysctl -w net.ipv4.ip_default_ttl=128 | + | sysctl -w net.ipv4.ip_default_ttl=128 |
| - | ping 192.168.1.1 | + | ping 192.168.1.1 |
| - | ping -c 4 192.168.1.1 | + | ping -c 4 192.168.1.1 |
| - | netstat -npl #offene Ports auflisten | + | netstat -npl # offene Ports auflisten |
| - | netstat -tulpn | + | netstat -tulpn |
| - | lsof -i | grep -e LISTEN | + | ss -tulpn |
| - | cat < / | + | lsof -i | grep -e LISTEN |
| + | cat < / | ||
| </ | </ | ||
| ===== Debian ===== | ===== Debian ===== | ||
| - | / | + | '' |
| - | / | + | '' |
| < | < | ||
| Line 62: | Line 63: | ||
| iface ens192 inet dhcp | iface ens192 inet dhcp | ||
| + | </ | ||
| + | |||
| + | ===== Ubuntu ===== | ||
| + | |||
| + | ''/ | ||
| + | ''/ | ||
| + | |||
| + | < | ||
| + | netplan status -a | ||
| + | netplan apply | ||
| </ | </ | ||
linux/netzwerk.1727985787.txt.gz · Last modified: by gsys