Netzwerk: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→WLan) |
|||
Zeile 2: | Zeile 2: | ||
= Links = | = Links = | ||
= Using command IP = | |||
<pre> | |||
# Geräte auflisten: | |||
ip addr show | |||
# IP-Adresse zuweisen | |||
ip addr add 192.168.50.5 dev eth1 | |||
# IP-Adresse aktivieren | |||
ip link set eth1 up | |||
# IP-Adresse entziehen: | |||
ip addr del 192.168.50.5/24 dev eth1 | |||
</pre> | |||
= Netzwerkmanager = | = Netzwerkmanager = |
Version vom 31. Juli 2019, 16:46 Uhr
Kategorie:Netzwerk
Links
Using command IP
# Geräte auflisten: ip addr show # IP-Adresse zuweisen ip addr add 192.168.50.5 dev eth1 # IP-Adresse aktivieren ip link set eth1 up # IP-Adresse entziehen: ip addr del 192.168.50.5/24 dev eth1
Netzwerkmanager
Konfiguration
Ethernet
/etc/NetworkManager/system-connections/enp2s0
[connection] id=enp2s0 uuid=8ab2397e-98bc-4bfc-97be-8c435b32deb5 type=ethernet interface-name=enp2s0 permissions= timestamp=1560831441 [ethernet] mac-address=8C:16:45:92:9A:C6 mac-address-blacklist= [ipv4] address1=192.168.2.50/24,192.168.2.3 dns-priority=100 dns-search= may-fail=false method=manual [ipv6] addr-gen-mode=stable-privacy dns-priority=100 dns-search= ip6-privacy=0 method=ignore
WLan
/etc/NetworkManager/system-connections/zweisiedler
[connection] id=Zweisiedler uuid=bbe62b85-30b3-44ab-a45e-78384b5ba260 type=wifi permissions=user:hm:; timestamp=1561554161 [wifi] mac-address=50:5B:C2:E9:38:01 mac-address-blacklist= mode=infrastructure seen-bssids=C0:25:06:64:D3:B6; ssid=Zweisiedler [wifi-security] key-mgmt=wpa-psk psk=<cleartext-password> [ipv4] dns-search= method=auto [ipv6] addr-gen-mode=stable-privacy dns-search= ip6-privacy=0 method=auto