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

Nothing transfering to samba share... #139

Open
zestysoft opened this issue May 22, 2019 · 1 comment
Open

Nothing transfering to samba share... #139

zestysoft opened this issue May 22, 2019 · 1 comment

Comments

@zestysoft
Copy link

Just did a fresh install following the One Step Setup (headless) automatic a few days ago:
https://github.com/cimryan/teslausb/blob/master/doc/OneStepSetup.md

I got the 2, 3, 4, 5 stages of flashes.

While it was still plugged into the computer, I could see the drive letter, and I was able to ssh into it.

Plugged it into the car and after it started to flash with a regular heartbeat, Tesla detected it. Since then a number of things have written to it (apparently).

At no point however has it dumped its contents back to my local samba server.

A number of things look out of the ordinary -- both root and boot are showing as mounted rw.

/mutable/archiveloop shows this:

mount: can't find /mnt/archive in /etc/fstab
Wed 22 May 04:17:43 BST 2019: Failed to mount /mnt/archive.
Wed 22 May 04:17:43 BST 2019: Attempts exhausted.
Wed 22 May 04:17:43 BST 2019: Failed to mount cam archive.
Wed 22 May 04:17:43 BST 2019: Couldn't connect archive, skipping archive step

Looking at /boot/teslausb-headless-setup.log, it shows this error:

Sun 19 May 23:22:01 BST 2019 : verify-archive-configuration: STOP: The archive couldn't be mounted with CIFS version 3.0. Try specifying a lower number for the CIFS version like this:

However, when I recreate the /tmp/teslaCamArchiveCredentials, create the /tmp/archivetestmount directory and re-run the command, it works perfectly.

The password only contains alphanumeric characters, and I had it enclosed in single quotes like the example shows in the instructions. Any idea what went wrong?

Since I'm still able to ssh into it, is it possible for me to re-run the setup commands to see where things broke? Barring that if I want to complete the setup, I assume I just need to make sure /mnt/archive mounts through fstab?

@TonyHoyle
Copy link

I found I had to run /root/bin/setup-teslausb to get anything to work. The documentation implies running /etc/rc.local is enough but that was just exiting with 'already running'.

That step also installs a bunch of stuff I noticed was missing, like ntpd.

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

No branches or pull requests

2 participants