Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIFS_MOUNT: Mount fails if server is specified with FQDN #32

Open
Kreeblah opened this issue May 17, 2020 · 1 comment
Open

CIFS_MOUNT: Mount fails if server is specified with FQDN #32

Kreeblah opened this issue May 17, 2020 · 1 comment

Comments

@Kreeblah
Copy link
Contributor

Specifying a FQDN for the SERVER parameter seems to make the mount fail. For example:

SERVER="SERVERNAME"
SHARE="SHARENAME"
USERNAME="USERNAME"
PASSWORD="PASSWORD"
LOCAL_DIR="_Arcade/MAME|_Arcade/HBMAME|ScummVM/Games|Games|bootrom|NeoGeo|_TAS|ao486"
MOUNT_AT_BOOT="true"
WAIT_FOR_SERVER="true"
ADDITIONAL_MOUNT_OPTIONS="vers=2.1"

The above settings in my INI work.

SERVER="SERVERNAME.domain.com"
SHARE="SHARENAME"
USERNAME="USERNAME"
PASSWORD="PASSWORD"
LOCAL_DIR="_Arcade/MAME|_Arcade/HBMAME|ScummVM/Games|Games|bootrom|NeoGeo|_TAS|ao486"
MOUNT_AT_BOOT="true"
WAIT_FOR_SERVER="true"
ADDITIONAL_MOUNT_OPTIONS="vers=2.1"

This change to the SERVER option, however, returns:

Waiting for SERVERNAME.domain.com
mount: /tmp/cifs_mount: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program.
//The/MiSTer not mounted
Done!

And nothing gets mounted.

I've verified that the FQDN is correct, as I can ping it from my MiSTer just fine, so something seems to be up with how the script parses that string. I also see the same results even if I take out the ADDITIONAL_MOUNT_OPTIONS, and reduce LOCAL_DIR to just "Games", so neither of those seems to be related.

@mbaran5
Copy link

mbaran5 commented Dec 3, 2020

I have the same issue here. FQDN will fail while the short server name will work, or the IP address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants