Turned off Win 10 Firewall, reformatted reflashed redone conf file, Music went into Pi from PC but no clips transferred from Pi to PC, am just about to chuck this in the bin......
I have ran Putty into Pi and pinged my PC so the network is there is there a way to SSH or Putty into the Pi and force the files into PC to see that it works or it might throw up errors that I can then look at.
Cheers
Paul
Hey sorry for the late reply. The following are the only 3 sections in teslausb_setup_variables.conf that are uncommented. Everything else is commented out.
# Default variables for CIFS (Windows/Mac file sharing) setup
export ARCHIVE_SYSTEM=cifs
export archiveserver=yourfileserver.yourdomain.local
export sharename=TeslaUSB\$
export
[email protected]
export sharepassword=RandomPassw0rdH3re
export cifs_version="3.0"
export camsize=100%
# Wifi setup information. Note that Raspberry Pi Zero W only supports 2.4 GHz wifi
export SSID=YourSSIDName
export WIFIPASS=YourWifiPassword
# If doing a headless (i.e. automatic) setup
export HEADLESS_SETUP=true
A few thoughts:
- Don't put any symbols in the sharepassword (the account that accesses the share) password (i.e. keep it to letters and numbers and no spaces).
- I have an Active Directory domain. If you don't, then you can leave off the @yourdomain.local bit.
- Note my share is hidden ($ at the end) which I've escaped (\$). Yours probably won't have the $ on it.
- camsize=100% means I don't need/want a music folder.
- If your Wifi password has any symbols in it, try escaping them (but not all escaping is equal, so if you have several different ones you may be in for an interesting/challenging time. $ becomes \$). Bash escaping rules:
Bash Reference Manual
- The way I troubleshooted the mounting of the server drive was to ssh to the Pi, make yourself root (type sudo -i) and then run /etc/rc.local (type /etc/rc.local). Look for things like "Trying mount command-line" and "The archive share is mountable using: mount -t cifs etc...". Hopefully the errors will be semi-obvious.
- Try pinging your fileserver from the Pi.
- Type exit to get back out (i.e. back out of sudo, or to log off the Pi).
Let us know how you get on.