"It has never been like this and now it is exactly the same again" © Viktor Chernomyrdin
I can't connect the network directory when booting the operating system.
The directory is shared in Ubuntu 20.04, it can be accessed both via smbclient and with manual mounting.
Here are some options I've tried:
//<ip-address>/share /mnt/share cifs username=<user>,password=<password>,uid=1000,gid=1000 0 0
//<ip-address>/share /mnt/share cifs username=<user>,password=<password>,uid=1000,gid=1000,auto 0 0
//<ip-address>/share /mnt/share cifs username=<user>,password=<password>,uid=1000,gid=1000,user 0 0
//<ip-address>/share /mnt/share cifs username=<user>,password=<password>,uid=1000,gid=1000,user,auto 0 0
//<ip-address>/share /mnt/share cifs uid=1000,gid=1000,file_mode=0755,dir_mode=0755,_netdev,username=<user>,password=<password> 0 0
//<ip-address>/share /mnt/share cifs username=<user>,password=<password>,uid=1000,gid=1000,user,noauto,x-systemd.automount 0 0
Every time I changed the configuration, I completely rebooted the computer, but the mounting did not happen. But it was mounted manually without any problems sudo mount -a
I've already tried a bunch of options. What actually happened? Everything worked before.