yaheath / pi-file-bridge

How I set up a Raspberry Pi as a file bridge
9 stars 0 forks source link

Is this still up and running for you? #1

Open aModernGirlMakes opened 3 years ago

aModernGirlMakes commented 3 years ago

I found this and am trying to work on a Brother Entrepenuer 6 needle embroidery machine.

It embroidery machine freezes each time I attempt to load a file from the RPi.

Just wondering if you are still using this solution and if you have updated it in anyway.

yaheath commented 3 years ago

Yes, we're still using it. If you connect a regular computer (i.e. a Windows machine) to the Brother does it appear as a drive that you can copy files to? If so, go to "This PC", right-click on the drive icon for the Brother, and select "Properties". Then let me know what it says next to "File System". You should also look at the used and free space and make sure it's not full.

yaheath commented 3 years ago

I should note that I haven't updated our RPi since I first posted this project. It's possible that updates to Raspbian may have introduced an incompatibility with the smb.conf. I may have some time in the coming couple of weeks to take a look.

aModernGirlMakes commented 3 years ago

I am so excited to hear back from you and that this is still working for you. I work on a Mac, but I think I can find whatever you are looking for along the way. Here is the most information I could gather when connected to the Brother PR655 I would love to get your help with this is if you can manage the time. I am learning more and more about RPi and I find new things to do with them. This will be my 4th!

PCI Revision ID
yaheath commented 3 years ago

Excellent, that's useful. So it looks like the volume actually has a partition, which is different from the embroidery machines we have. First thing you can try is to make a small change to the mount_machine script: change /dev/sda to /dev/sda1

So it looks like:


#!/bin/bash
/bin/mount | /bin/grep -q 'on /mnt/machine ' || /bin/mount -o umask=0 /dev/sda1 /mnt/machine
aModernGirlMakes commented 3 years ago

Additional Info:, when I plug in my bother to the pi and turn on the brother I get the following window.. Authentication

yaheath commented 3 years ago

Ok, that window is the RPi attempting to automatically mount the drive. But we don't want that, we want the mount_machine script to do that. So hit "Cancel" if you see that prompt. In fact, you should probably disable the automatic mount feature.

BTW, what "mount" means here is the process of connecting the drive so you can access its contents.