CIFS mount fails during boot because of firewall

CIFS mount fails during boot because of firewall

Postby sojkovec » Sep 18th, '21, 10:36

Recently I started having this issue with firewall dropping responses from NAS (router Samba server) when booting up. See protocol below, it's self-explanatory. Strangely, about 1-in-20 mounting will succeed (also firewall dropping packets is not in the boot log in that case). Any ideas how to fix this? Or at least as work-around any way to reduce the timeout from 1 and half minute to let's say 10 seconds? Boot being delayed for almost 2 minutes because of this is quite annoying. Thanks for any advice.

Relevant part of the log follows:
Code: Select all
Sep 18 10:24:52 localhost kernel: [   11.479074] IPv6: ADDRCONF(NETDEV_CHANGE): enp8s0: link becomes ready
Sep 18 10:24:53 localhost kernel: [   12.699908] NET: Registered protocol family 17
Sep 18 10:24:53 localhost kernel: [   12.885562] Key type cifs.spnego registered
Sep 18 10:24:53 localhost kernel: [   12.886387] Key type cifs.idmap registered
Sep 18 10:24:53 localhost kernel: [   12.888000] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
Sep 18 10:24:53 localhost kernel: [   12.888000]
Sep 18 10:24:53 localhost kernel: [   12.888004] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
Sep 18 10:24:53 localhost kernel: [   12.888007] CIFS: Attempting to mount \\192.168.1.1\Download2
Sep 18 10:24:53 localhost kernel: [   12.888159] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
Sep 18 10:24:53 localhost kernel: [   12.888159]
Sep 18 10:24:53 localhost kernel: [   12.888162] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
Sep 18 10:24:53 localhost kernel: [   12.888165] CIFS: Attempting to mount \\192.168.1.1\Shared
Sep 18 10:24:53 localhost kernel: [   12.909307] Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
Sep 18 10:24:53 localhost kernel: [   12.909307]
Sep 18 10:24:53 localhost kernel: [   12.911509] CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers
Sep 18 10:24:53 localhost kernel: [   12.911515] CIFS: Attempting to mount \\192.168.1.1\root
Sep 18 10:24:53 localhost kernel: [   13.036002] netfilter PSD loaded - (c) astaro AG
Sep 18 10:24:54 localhost kernel: [   13.038288] IFWLOG: register target
Sep 18 10:24:54 localhost kernel: [   13.522736] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=36107 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:54 localhost kernel: [   13.525054] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=14152 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:54 localhost kernel: [   13.527284] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=10850 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:54 localhost kernel: [   13.725214] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=36108 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:54 localhost kernel: [   13.727421] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=14153 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:54 localhost kernel: [   13.729571] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=10851 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:55 localhost kernel: [   14.145214] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=36109 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:55 localhost kernel: [   14.147653] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=14154 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:55 localhost kernel: [   14.150026] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=10852 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:55 localhost kernel: [   14.366474] tun: Universal TUN/TAP device driver, 1.6
Sep 18 10:24:55 localhost dhclient: (Socket Filtering) are enabled in your kernel
Sep 18 10:24:55 localhost kernel: [   14.985245] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=36110 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:55 localhost kernel: [   14.987769] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=14155 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:57 localhost kernel: [   16.664916] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=36111 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:57 localhost kernel: [   16.667306] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=14156 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:24:58 localhost kernel: [   17.515668] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=52.149.21.60 DST=192.168.1.2 LEN=401 TOS=0x00 PREC=0x00 TTL=101 ID=19724 DF PROTO=TCP SPT=443 DPT=58852 WINDOW=2049 RES=0x00 ACK PSH FIN URGP=0
Sep 18 10:25:00 localhost kernel: [   19.328436] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=52.149.21.60 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=101 ID=19725 DF PROTO=TCP SPT=443 DPT=58852 WINDOW=0 RES=0x00 ACK RST URGP=0
Sep 18 10:25:01 localhost kernel: [   20.035323] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=36112 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:25:01 localhost kernel: [   20.037912] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=14157 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:25:01 localhost kernel: [   20.040393] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=149 TOS=0x00 PREC=0x00 TTL=64 ID=10855 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=362 RES=0x00 ACK PSH URGP=0
Sep 18 10:26:23 localhost kernel: [  102.885323] CIFS: VFS: cifs_mount failed w/return code = -512
Sep 18 10:26:23 localhost kernel: [  102.890249] CIFS: VFS: cifs_mount failed w/return code = -512
Sep 18 10:26:23 localhost kernel: [  102.897202] CIFS: VFS: cifs_mount failed w/return code = -512
Sep 18 10:26:23 localhost kernel: [  103.017853] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:23 localhost kernel: [  103.020698] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:23 localhost kernel: [  103.026741] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.225848] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.225870] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.233721] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.433848] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.433879] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.441743] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:24 localhost kernel: [  103.841841] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:25 localhost kernel: [  104.657846] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:26 localhost kernel: [  105.903796] logitech-hidpp-device 0003:046D:406B.0009: HID++ 4.5 device connected.
Sep 18 10:26:27 localhost kernel: [  106.321836] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:27 localhost kernel: [  106.321863] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:30 localhost kernel: [  109.586231] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:30 localhost kernel: [  109.586282] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:30 localhost kernel: [  109.586296] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:37 localhost kernel: [  116.306831] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:37 localhost kernel: [  116.306876] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:37 localhost kernel: [  116.306888] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:50 localhost kernel: [  129.617969] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:50 localhost kernel: [  129.618016] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:26:50 localhost kernel: [  129.618036] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:27:16 localhost kernel: [  155.729818] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45668 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:27:16 localhost kernel: [  155.729851] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45664 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:27:16 localhost kernel: [  155.729875] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=192.168.1.1 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=TCP SPT=445 DPT=45666 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:29:29 localhost kernel: [  288.633362] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=72.251.236.55 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=47 ID=25007 DF PROTO=TCP SPT=443 DPT=53910 WINDOW=0 RES=0x00 RST URGP=0
Sep 18 10:29:29 localhost kernel: [  288.633403] net-fw DROP IN=enp8s0 OUT= MAC=f0:2f:74:af:54:a6:38:d5:47:e4:c7:00:08:00 SRC=72.251.236.55 DST=192.168.1.2 LEN=40 TOS=0x00 PREC=0x00 TTL=47 ID=25008 DF PROTO=TCP SPT=443 DPT=53910 WINDOW=0 RES=0x00 RST URGP=0
sojkovec
 
Posts: 13
Joined: Feb 3rd, '21, 21:58

Re: CIFS mount fails during boot because of firewall

Postby sojkovec » Sep 18th, '21, 10:39

I have just noticed those backslashes, AFAIK cifs should convert them to normal ones, but I will try if this fixes it.

EDIT: Nope, fstab is fine, I don't know why the log shows the backslashes.
sojkovec
 
Posts: 13
Joined: Feb 3rd, '21, 21:58

Re: CIFS mount fails during boot because of firewall

Postby doktor5000 » Sep 18th, '21, 15:49

The backslashes are part of the UNC path notation, and they are converted to that by mount.cifs: https://en.wikipedia.org/wiki/Path_(computing)#Universal_Naming_Convention

Would be helpful if you would post the actual fstab entries (minus credentials, obviously). Also, why mount it during boot at all?
It can easily be mounted later on via x-systemd.automount option, have a look at https://wiki.archlinux.org/title/fstab#Remote_filesystem
Or you can use a systemd mount unit for this, and add dependencies to mount it after network and firewall is up (this should be similar to marking it as a remote filesystem with the _netdev option in fstab).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

SOLVED: CIFS mount fails during boot because of firewall

Postby sojkovec » Jun 14th, '22, 19:47

Sorry for delay, but it's not an Mageia (or Linux in general) issue. I have installed Win10 on the other drive, and it does behave the same way. It seems there is something fishy about ASUSwrt implementation of SMB.

Sojkovec
sojkovec
 
Posts: 13
Joined: Feb 3rd, '21, 21:58

Re: CIFS mount fails during boot because of firewall

Postby doktor5000 » Jun 14th, '22, 22:32

Okay, but why did you mark your reply as solved ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron