Network share no longer mounting via fstab

Hi,
I’ve started having problems mounting a share via fstab, which used to work fine a month ago.
I can manually mount that share like this:
sudo mount -t cifs //192.168.0.1/Video/System_ASUS /mnt/asus -o user=admin,password=xxxx

I used to be able to mount that share in fstab like this:
//192.168.0.1/Video/System_ASUS /mnt/asus cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=admin,password=xxxx,uid=os>

But now, this mount fails after a reboot.
Any idea why this no longer works? Let me add, that I know some Linux, but I’m no expert.

Thanks,
Kay

I had a similar issue, used the name of the device and it was solved. Need a proper setup dns in your network though.

Thanks.
I haven’t had a need to set up local DNS so far.
I’ll try that if everything else fails.

What happens if you run sudo mount /mnt/asus?

Is that the actual end of that line? If yes than that is your problem.

1 Like

This… is embarassing… :kissing_closed_eyes:
Good catch, man! It’s mounting like a breeze now.
Don’t know how I missed that silly greater sign.

Well it was not only the greater sign but also the truncated uid as it would be uid=osmc and I assume also other parts to follow.
you must have copy paste from another editor window. Normally the > sign indicates that something is on the right side that is not displayed on screen.