Hallo zusammen, ich habe nun erneut ein Problem mit der Verbindung zu meinem RaspberryPi3B+ per Ethernet SSH. Wenn ich Versuche eine SSH Verbindung über WLAN via der Fritzbox 7390 (dessen DHCP Server managed die IP Adressen) herzustellen funktioniert dies einwandfrei. So da das "Problem" bereits beim Versuch es einzurichten entstand jedoch dann zum Schluss hin des folgend Thread behoben war verwundert mich das ganze eben leicht.
hier einen Link zum alten Thread https://forum.ubuntuusers.de/topic/wlan-fuer-internet-ethernet-fuer-lokalen-switc/
Also kommen wir zu den Konfigurationen, in meinem Laptop Ubuntu /etc/NetworkManager/system-connections/ethernet0
[connection] id=ethernet0 uuid=1f0625b9-4a06-3e63-9566-4fd48e8f15f7 type=ethernet autoconnect-priority=-999 permissions= timestamp=1553068599 [ethernet] mac-address=A8:1E:84:05:EE:44 mac-address-blacklist= [ipv4] address1=192.168.60.21/24 dns-search= method=manual [ipv6] addr-gen-mode=stable-privacy dns-search= method=ignore
Und diese hier im RaspberryPi in der /etc/dhcpcd.conf
interface eth0 metric 402 static ip_address=192.168.60.61/24
Ich habe bereits versuchte eine neue Route via folgenden Befehl auf meinem Laptop zu erstellen. Dabei ist der Laptop 192.168.60.61 mit der MAC B8:27:EB:EB:00:DF und der Raspberry die 192.168.60.21. Das habe ich mehr oder weniger so aus meinem alten Thread versucht wiederzuverwenden. Hat aber leider nichts gebracht.
sudo route add -host 192.168.60.61 gw 192.168.60.21 dev enp1s0f1 sudo arp -i enp1s0f1 -s 192.168.60.61 B8:27:EB:EB:00:DF
... so wenn ich mir dann Versuche mit dem Befehl sudo tcpdump -c 100 -vvveni enp1s0f1 auf meinem Laptop auf den Ethernetport zu lauschen und per ping -c 100 -I eth0 192.168.60.21 vom Raspberry aus kommt in keiner der beiden Terminalfenster eine reaktion bzw. wird ein Paket übertragen. - Wenn ich jedoch den Spieß umdrehe, also auf meinem Raspberry sudo tcpdump -c 100 -vvveni eth0 laufen lasse und auf dem Laptop den ping -c 100 -I enp1s0f1 192.168.60.61 dann bekomme ich auf den ping-Versuch folgende Antwort
PING 192.168.60.61 (192.168.60.61) from 192.168.60.21 enp1s0f1: 56(84) bytes of data. --- 192.168.60.61 ping statistics --- 100 packets transmitted, 0 received, 100% packet loss, time 101382ms
und am anderen Ende spukt mir TCPdump im Raspberry folgendes aus
09:13:16.634212 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:16.634282 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:17.308456 a8:1e:84:05:ee:44 > 33:33:00:00:00:fb, ethertype IPv6 (0x86dd), length 222: (flowlabel 0x63fcd, hlim 255, next-header UDP (17) payload length: 168) fe80::aa1e:84ff:fe05:ee44.5353 > ff02::fb.5353: [udp sum ok] 0 [1a] [9q] PTR (QM)? _ipps._tcp.local. PTR (QM)? _ftp._tcp.local. PTR (QM)? _webdav._tcp.local. PTR (QM)? _webdavs._tcp.local. PTR (QM)? _sftp-ssh._tcp.local. PTR (QM)? _smb._tcp.local. PTR (QM)? _afpovertcp._tcp.local. PTR (QM)? _nfs._tcp.local. PTR (QM)? _ipp._tcp.local. _smb._tcp.local. [1h15m] PTR ACER._smb._tcp.local. (160) 09:13:17.658345 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:17.658411 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:18.682308 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:18.682373 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:19.706161 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:19.706229 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:20.730350 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:20.730421 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:21.390660 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 30222, offset 0, flags [DF], proto TCP (6), length 60) 192.168.60.61.54328 > 192.168.60.21.445: Flags [S], cksum 0xf9d1 (incorrect -> 0xdd88), seq 1318984630, win 29200, options [mss 1460,sackOK,TS val 2035565861 ecr 0,nop,wscale 7], length 0 09:13:21.390689 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 48692, offset 0, flags [DF], proto TCP (6), length 60) 192.168.60.61.54330 > 192.168.60.21.445: Flags [S], cksum 0xf9d1 (incorrect -> 0x3124), seq 1126880140, win 29200, options [mss 1460,sackOK,TS val 2035565861 ecr 0,nop,wscale 7], length 0 09:13:21.758303 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:21.758373 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:22.430545 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 48693, offset 0, flags [DF], proto TCP (6), length 60) 192.168.60.61.54330 > 192.168.60.21.445: Flags [S], cksum 0xf9d1 (incorrect -> 0x2d15), seq 1126880140, win 29200, options [mss 1460,sackOK,TS val 2035566900 ecr 0,nop,wscale 7], length 0 09:13:22.430574 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 30223, offset 0, flags [DF], proto TCP (6), length 60) 192.168.60.61.54328 > 192.168.60.21.445: Flags [S], cksum 0xf9d1 (incorrect -> 0xd979), seq 1318984630, win 29200, options [mss 1460,sackOK,TS val 2035566900 ecr 0,nop,wscale 7], length 0 09:13:22.782135 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:22.782226 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:23.802389 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:23.802454 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:24.510534 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 48694, offset 0, flags [DF], proto TCP (6), length 60) 192.168.60.61.54330 > 192.168.60.21.445: Flags [S], cksum 0xf9d1 (incorrect -> 0x24f5), seq 1126880140, win 29200, options [mss 1460,sackOK,TS val 2035568980 ecr 0,nop,wscale 7], length 0 09:13:24.510571 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype IPv4 (0x0800), length 74: (tos 0x0, ttl 64, id 30224, offset 0, flags [DF], proto TCP (6), length 60) 192.168.60.61.54328 > 192.168.60.21.445: Flags [S], cksum 0xf9d1 (incorrect -> 0xd159), seq 1318984630, win 29200, options [mss 1460,sackOK,TS val 2035568980 ecr 0,nop,wscale 7], length 0 09:13:24.826204 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:24.826281 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:25.850140 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:25.850219 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28 09:13:26.874269 a8:1e:84:05:ee:44 > ff:ff:ff:ff:ff:ff, ethertype ARP (0x0806), length 60: Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.60.61 tell 192.168.60.21, length 46 09:13:26.874337 b8:27:eb:eb:00:df > a8:1e:84:05:ee:44, ethertype ARP (0x0806), length 42: Ethernet (len 6), IPv4 (len 4), Reply 192.168.60.61 is-at b8:27:eb:eb:00:df, length 28
Ich hoffe nun mir kann mal wieder einer weiterhelfen. Den Switch habe ich Testweise gewechselt, ebenso wie rein vorsorglich einem die Kabel getauscht. Scheint daher nicht zu kommen. Zudem sind bei Systeme aktuell auf dem neuesten "upgrade" Stand. Danke vielmals schon.