Zitat von: gosia am 10. April 2023, 15:31:29Hallo Thats_me,
schön wärs. Ich habe einfach öfters eine Portition Glück, schliesslich bin ich ein Sonntagskind
Eher das Gegenteil.Zitatzusätzliche statische Adressen:Hatte ich bisher dort nie eingetragen, aber nun nachgeholt.
* /etc/hosts:
127.0.0.1 localhost
127.0.0.1 mx
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
[code]* /etc/host.conf:
multi on
* /etc/nsswitch.conf:
passwd: files
group: files
shadow: files
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
* /etc/resolv.conf:
# Generated by NetworkManager
nameserver 192.168.5.1
nameserver 176.9.93.198
nameserver 116.203.32.217
ZitatWichtig wäre auch das Datum von /etc/resolv.conf, nicht dass die Datei mal mitsudo chattr +i /etc/resolv.conf
ZitatWas sagtlsattr /etc/resolv.conf
mxme@mx:~
$ lsattr /etc/resolv.conf
--------------e------- /etc/resolv.conf
[main]
plugins=ifupdown,keyfile
dns=none
[ifupdown]
managed=true
$ ip r
default via 192.168.5.1 dev eth0 proto static metric 100
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.100 metric 100
192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.101 metric 100
mxme@mx:~
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether b0:25:aa:3e:b9:55 brd ff:ff:ff:ff:ff:ff
inet 192.168.5.100/24 brd 192.168.5.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet 192.168.5.102/32 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet 192.168.5.101/24 brd 192.168.5.255 scope global secondary noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::445e:bbbe:c081:de3e/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 0e:f6:f6:c8:c8:8d brd ff:ff:ff:ff:ff:ff permaddr 64:bc:58:01:c5:84
mxme@mx:~
$ ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=0.690 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=0.706 ms
64 bytes from 192.168.5.1: icmp_seq=8 ttl=64 time=1.01 ms
^C
--- 192.168.5.1 ping statistics ---
8 packets transmitted, 3 received, 62.5% packet loss, time 7159ms
rtt min/avg/max/mdev = 0.690/0.801/1.007/0.145 ms
$ ip r
default via 192.168.5.1 dev wlan0 proto dhcp metric 600
192.168.5.0/24 dev wlan0 proto kernel scope link src 192.168.5.102 metric 600
$ ping 192.168.5.1
PING 192.168.5.1 (192.168.5.1) 56(84) bytes of data.
64 bytes from 192.168.5.1: icmp_seq=1 ttl=64 time=0.925 ms
64 bytes from 192.168.5.1: icmp_seq=2 ttl=64 time=1.39 ms
64 bytes from 192.168.5.1: icmp_seq=3 ttl=64 time=4.54 ms
64 bytes from 192.168.5.1: icmp_seq=4 ttl=64 time=0.843 ms
64 bytes from 192.168.5.1: icmp_seq=5 ttl=64 time=0.848 ms
^C
--- 192.168.5.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4019ms
rtt min/avg/max/mdev = 0.843/1.709/4.538/1.428 ms
Zitat von: Thats_me am 10. April 2023, 09:45:07bei dir funktioniert immer alles

* Distro: MX-21.3_x64
* Verbindung über eine kleine Fritzbox 4020, dort sind unter DNS-Server zwei alternative DNS-Server eingetragen. Dies spielt aber bei den noch kommenden Netzwerkmanager-Einstellungen keine Rolle (wird ignoriert).
* Netzwerkmanager -> IPv4 Einstellungen:
Methode: automatisch DHCP (nur Adressen)
zusätzliche statische Adressen: 192.168.188.30/24 (d.i. mein Rechner), Gateway: 192.168.188.1 (=Fritzbox)
DNS-Server: 9.9.9.9, 1.1.1.1
* Netzwerkmanager -> IPv6 Einstellungen: ignorieren
* /etc/hosts:
127.0.0.1 localhost
127.0.0.1 china
192.168.188.1 fritz.box
# Virtuelle Hosts
127.0.0.1 virt1.local
127.0.0.1 virt2.local
* /etc/host.conf:
multi on
* /etc/nsswitch.conf:
passwd: files
group: files
shadow: files
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
* /etc/resolv.conf:
# Generated by NetworkManager
nameserver 9.9.9.9
nameserver 1.1.1.1
sudo chattr +i /etc/resolv.conf
lsattr /etc/resolv.conf
Zitat von: gosia am 10. April 2023, 00:12:18funktioniert bei mir prima. Die /etc/resolv.conf sieht dann bei mir so ausGuten Morgen gosia,

Zitat von: Thats_me am 09. April 2023, 14:40:58Frohe Feiertage @alldanke gleichfalls an alle...
Zitat von: Thats_me am 09. April 2023, 14:40:58Obiges habe ich ja kapiert.Was meinst Du mit "obiges", das mit MX nicht funktioniert? Im Networkmanager direkt "automatisch (DHCP), nur Adressen" und als DNS-Server den gewünschten einzutragen funktioniert bei mir prima. Die /etc/resolv.conf sieht dann bei mir so aus
Nur funktioniert das mit MX Linux nicht.
# Generated by NetworkManager
nameserver 9.9.9.9
nameserver 1.1.1.1
nslookup extra.com
Server: 9.9.9.9
Address: 9.9.9.9#53
Non-authoritative answer:
Name: extra.com
Address: 69.172.200.204

# Generated by Connection Manager
nameserver 176.9.93.198 #dnsforge
nameserver 116.203.32.217 #Dismail
nameserver 192.168.5.1
# Generated by NetworkManager
nameserver 192.168.5.1
nameserver 176.9.93.198
nameserver 116.203.32.217
# Host addresses
127.0.0.1 localhost
127.0.1.1 xmg
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.0.1 localhost
127.0.0.1 mx
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


Seite erstellt in 0.073 Sekunden mit 12 Abfragen.