You are not logged in.
Pages: 1
When trying to access media (such as videos/movies) through my sshfs mount, after a random period of time I am presented with the following error
ssh_dispatch_run_fatal: Connection to 192.168.1.23 port 22: message authentication code incorrect
remote host has disconnected
sent: 6557 messages, 205281 bytes
received: 6554 messages, 196680118 bytes
rtt min/max/avg: 0ms/81ms/4ms
num connect: 1
And after googling aroudn, I am unsure how to proceed. Most of the answers I found tell me it is either a a bug in my ssh https://unix.stackexchange.com/question … ect#288055
Or a problem with the hardware.
Here is the output of dmesg on the client side: https://ptpb.pw/7BWJ
And the output of dmesg on the server sided: https://ptpb.pw/VCL0
It may be worth noting that I am able to access/stream the media through an sshfs mount on my windows machine without any disconnects
Thank you in advance!
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Did you see the impressive amount of link status changes on the server?
How's the network there configured? Any power saving mechanisms that might stop the link?
Check your server journal, eg. whether NM or so "detects" a carrier loss and sets the link down or what else might cause this.
Online
Did you see the impressive amount of link status changes on the server?
I was attempting a new personal record
As far as the network settings, it's sitting behind my home network with the routers default settings. Here is the config file for the profile enp2s0
Description='A basic static ethernet connection'
Interface=enp2s0
Connection=ethernet
IP=static
Address=('192.168.1.23/24' '192.168.1.87/24')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'
The journal just tells me that it's accepted my public key and that it recived a disconnect from the user (though looking at the times, I think this is me actually disconnecting)
Aug 10 12:40:53 LenovoNFS sshd[14697]: Accepted publickey for justin from 192.168.1.120 port 59762 ssh2: RSA SHA256:tnw/DPlyjgCUMkJ99brfl6ghGXDYOQwdhN1sjl6WdlI
and the full contents of the journal: https://ptpb.pw/cHla
I had powerdevil installed (with kde) for awhile but it should be gone (as I got rid of kde and powerdevil) and I haven't installed any other so I hope there isn't any power saving settings to stop the link..
Last edited by jbenge1 (2018-08-10 20:14:21)
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Aug 09 23:29:46 LenovoNFS dhcpcd[378]: enp2s0: carrier lost
Aug 09 23:29:46 LenovoNFS kernel: r8169 0000:02:00.0 enp2s0: link down
...
Aug 09 23:29:48 LenovoNFS dhcpcd[378]: enp2s0: carrier acquired
Aug 09 23:29:48 LenovoNFS kernel: r8169 0000:02:00.0 enp2s0: link up
...
Aug 09 23:29:50 LenovoNFS dhcpcd[378]: enp2s0: carrier lost
Aug 09 23:29:50 LenovoNFS kernel: r8169 0000:02:00.0 enp2s0: link down
Aug 09 23:29:53 LenovoNFS dhcpcd[378]: enp2s0: carrier acquired
Aug 09 23:29:53 LenovoNFS kernel: r8169 0000:02:00.0 enp2s0: link up
All link status changes in the journal are caused by carrier changes - cable? (broken, badly seated - check both ends)
Probably unrelated, but see https://wiki.archlinux.org/index.php/IPv6#dhcpcd_2
Online
The cable is well seated, though I don't currently have acces to a separate cable atm but I will certainly have to look into that route as it is a fairly old cable!
Altering the dhcpcd.conf didn't resolve the error.
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Ok I found a different cable (likely just as old) same problems arise, so I went out to the store and bough a new one, and I am still getting the same problem. Most recent journal output: https://ptpb.pw/gxWJ
I'm wondering if it could be a problem with the laptop connection point?
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
The switch might be resetting wildly.
You should check whether the client also looses the carrier at about the same times the server does.
Online
Here are the two most recent journals
Client: https://ptpb.pw/REdv
Server: https://ptpb.pw/ZDxQ
I am not seeing a loss of the carrier at around the same time the server does
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Why are there error messages from a netctl service (falsely) covering wlan0 while dhcpcd still covers wlp1s0?
systemctl list-units | grep -iE '(net|dhcp)'
systemctl list-unit-files --state=enabled
(on the server)
Online
$ systemctl list-units | grep -iE '(net|dhcp)'
sys-devices-pci0000:00-0000:00:02.3-0000:01:00.0-net-wlp1s0.device loaded active plugged RTL8821AE 802.11ac PCIe Wireless Network Adapter
sys-devices-pci0000:00-0000:00:02.4-0000:02:00.0-net-enp2s0.device loaded active plugged RTL810xE PCI Express Fast Ethernet controller
sys-subsystem-net-devices-enp2s0.device loaded active plugged RTL810xE PCI Express Fast Ethernet controller
sys-subsystem-net-devices-wlp1s0.device loaded active plugged RTL8821AE 802.11ac PCIe Wireless Network Adapter
dhcpcd.service loaded active running dhcpcd on all interfaces
* netctl@GiantsFan.service loaded failed failed A simple WPA encrypted wireless connection using a static IP
netctl@LinksysStaticEthernet.service loaded active exited A basic static ethernet connection
systemd-timesyncd.service loaded active running Network Time Synchronization
system-netctl.slice loaded active active system-netctl.slice
network-online.target loaded active active Network is Online
network.target loaded active active Network
nss-lookup.target loaded active active Host and Network Name Lookups
systemctl list-unit-files --state=enabled
UNIT FILE STATE
autovt@.service enabled
dhcpcd.service enabled
getty@.service enabled
netctl@GiantsFan.service enabled
netctl@LinksysStaticEthernet.service enabled
nfs-server.service enabled
sshd.service enabled
systemd-timesyncd.service enabled
remote-fs.target enabled
9 unit files listed.
The netctl @GiantsFan was some old wireless profile from its previous home.
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.
You have both netctl and dhcpcd fighting over control of your hardware. Why is dhcpcd enabled?
Offline
You have both netctl and dhcpcd fighting over control of your hardware. Why is dhcpcd enabled?
I for some reason thought netctl wouldn't handle wired connections (and I have no idea why) and when I realized it could I forgot to disable dhcpcd. However upon disabling and stopping dhcpcd, and rebooting the computer I am still experiencing the drop in connection from the server
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Updated journal (and please in general w/ the "-x" switch, the "explanations" are all really silly and just clutter the output)
Online
My mistake!
Here is the server's journal: https://ptpb.pw/IpxA
and the client side journal: https://ptpb.pw/XQ_j
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Notice that you posted journals dating bacl to may. The client one is a 43MB text file…
The only thing that remotely indicates a problem is the re-connect cycle after the client apparently woke up from S3,
Aug 12 20:17:10 LenovoNFS sshd[789]: Accepted publickey for justin from 192.168.1.120 port 59882 ssh2: RSA SHA256:tnw/DPlyjgCUMkJ99brfl6ghGXDYOQwdhN1sjl6WdlI
Aug 12 20:18:39 LenovoNFS sshd[791]: Received disconnect from 192.168.1.120 port 59882:11: disconnected by user
Aug 12 20:18:39 LenovoNFS sshd[791]: Disconnected from user justin 192.168.1.120 port 59882
Aug 12 20:20:12 LenovoNFS sshd[800]: Accepted publickey for justin from 192.168.1.120 port 60240 ssh2: RSA SHA256:tnw/DPlyjgCUMkJ99brfl6ghGXDYOQwdhN1sjl6WdlI
but the client log ends before at Aug 12 20:15:56 …
Since there's dhcpcd and netctl entries in the client, does https://bbs.archlinux.org/viewtopic.php … 6#p1802086 maybe apply there as well?
Online
The client doesn't have dhcpcd enabled so this shouldn't be the case
$ systemctl list-unit-files --state=enabled
UNIT FILE STATE
autovt@.service enabled
display-manager.service enabled
getty@.service enabled
intel-undervolt.service enabled
lm_sensors.service enabled
netctl@HomeWifi5GHz.service enabled
sddm.service enabled
remote-fs.target enabled
backupTimer.timer enabled
updatePackageCount.timer enabled
10 unit files listed.
I don't know if it's worth noting or not, but when I mount using
$ mount -t nfs 192.168.1.23:/home/justin LenovoMount
I do not recieve any disconnects (unless I leave the home network...)
Also a separate server running on a different network mounted with sshfs I have the exact same errors (That server is running ubuntu, though I am not asking to debug that one I just wanted to see if a different machine would yield similar errors attempting to narrow down if it the server or the client)
Last edited by jbenge1 (2018-08-13 07:30:15)
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
I am also able to connect to the ubuntu server from the Lenovo server without any interruptions
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Pass "-o debug,sshfs_debug" to sshfs for more details.
Just to be sure: this happens randomly after the mount worked for some time. It's not that at some point you fail to connect at all?
Online
Yes it happens randomly (sometimes it lasts longer than other times and I get my hopes up)
sshfs -o sshfs_debug justin@192.168.1.23:/home/justin LenovoMount/ -C
...
[01065] READ
[01066] READ
[01067] READ
[01068] READ
[01065] DATA 32781bytes (15ms)
[01066] DATA 32781bytes (21ms)
[01067] DATA 32781bytes (28ms)
[01068] DATA 32781bytes (31ms)
[01069] READ
[01070] READ
[01071] READ
[01072] READ
ssh_dispatch_run_fatal: Connection to 192.168.1.23 port 22: message authentication code incorrect
remote host has disconnected
sent: 1072 messages, 35617 bytes
received: 1068 messages, 29314246 bytes
rtt min/max/avg: 0ms/57ms/19ms
num connect: 1
This is the abriged version, but previous to the ellipses is all just all read logs
"Dr. Madden, why don't the natural numbers include 0?" -me
"....... Take a philosophy course" -Dr. Madden
Offline
Pages: 1