FTP Browse to USB Drive?
-
- Posts: 121
- Joined: Mon May 25, 2020 3:22 pm
- Has thanked: 37 times
- Been thanked: 52 times
- Contact:
Re: FTP Browse to USB Drive?
I don't know if this will help as I don't use FTP, I just use samba.
I've made my own personal wiki to help me remember certain things.
He is the section I've got for creating a samba share :-
Enable Samba file sharing
Official wiki page
By default Samba service is not active.
You need to rename /media/fat/linux/_samba.sh to linux/samba.sh, then edit this file if you need specific user name and password
Default username = root | password = 1
Reboot the MiSTer.
You can access the MiSTer either by IP address or by name \MiSTer (or \mister - case insensitive).
If you need to add any additional folders to Samba (eg for additional drives) you will need to ssh into the MiSTer device
Using your ssh client, connect to the MiSTer device using the default username and password.
Type the following command :-
nano /etc/samba/smb.conf
At the bottom of the file, add the following lines :-
[usb]
path = /media/usb0
public = yes
writeable = yes
printable = no
Press Ctrl+X and then Y to save
At the command prompt, type 'reboot'
The MiSTer will now restart and the new share should be visible.
I've made my own personal wiki to help me remember certain things.
He is the section I've got for creating a samba share :-
Enable Samba file sharing
Official wiki page
By default Samba service is not active.
You need to rename /media/fat/linux/_samba.sh to linux/samba.sh, then edit this file if you need specific user name and password
Default username = root | password = 1
Reboot the MiSTer.
You can access the MiSTer either by IP address or by name \MiSTer (or \mister - case insensitive).
If you need to add any additional folders to Samba (eg for additional drives) you will need to ssh into the MiSTer device
Using your ssh client, connect to the MiSTer device using the default username and password.
Type the following command :-
nano /etc/samba/smb.conf
At the bottom of the file, add the following lines :-
[usb]
path = /media/usb0
public = yes
writeable = yes
printable = no
Press Ctrl+X and then Y to save
At the command prompt, type 'reboot'
The MiSTer will now restart and the new share should be visible.
- AmigoMexicano
- Posts: 14
- Joined: Mon May 25, 2020 3:06 am
Re: FTP Browse to USB Drive?
Hello, I'm trying to browse my external HDD over FTP too, I see some people on youtube that do it, and I can't, same problem as riblad_om, if I go to usb0, 1, 2, etc., they are just blank or non access. Also, I can't see the stuff I copied on the /games folder, directly on the MiSTer. My HDD is 4TB formatted as NTFS, GPT partition type.
Do I have to setup something on the INI file?
Do I have to setup something on the INI file?
--
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
Re: FTP Browse to USB Drive?
I think nothing is needed to browse USB? It is already mounted inside FAT?
For example, I copied a single folder to my USB Stick. The folder was "games/MegaCD", and removed the folder from SD card. So the USB stick had games/MegaCD, but the SD Card didn't have it.
If I now browse to the games folder via samba, all subfolders are shown, even the MegaCD one. If I go into the MegaCD folder, the USB stick is active, if I go into the others, the SD card is active.
So USB games folder is transparently merged with SD card games folder automatically, I think.
For example, I copied a single folder to my USB Stick. The folder was "games/MegaCD", and removed the folder from SD card. So the USB stick had games/MegaCD, but the SD Card didn't have it.
If I now browse to the games folder via samba, all subfolders are shown, even the MegaCD one. If I go into the MegaCD folder, the USB stick is active, if I go into the others, the SD card is active.
So USB games folder is transparently merged with SD card games folder automatically, I think.
Github: github.com/rsn8887
- AmigoMexicano
- Posts: 14
- Joined: Mon May 25, 2020 3:06 am
Re: FTP Browse to USB Drive?
Oh OK, I didn't removed the folder from the SD card. I'll try that.
Thanks!!
--
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
Re: FTP Browse to USB Drive?
Hmm I just tried to access my games directory again, via ftp, and now the games/megaCD folder from the USB stick does not appear anymore. Maybe I was wrong about this union of folders.
Github: github.com/rsn8887
- AmigoMexicano
- Posts: 14
- Joined: Mon May 25, 2020 3:06 am
Re: FTP Browse to USB Drive?
Removing the /games folder completely from the SD card, worked for me. Also, the external HDD takes some time to spin up, so I turn it on and wait a little, before turning on the MiSTer.
--
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
From Mexico City... AmigoMexicano!
(Yes, the same from all other retro forums)
*MiSTer FPGA Owner since April 2020*
Re: FTP Browse to USB Drive?
I was having this same problem with my external drive formatted NTFS. I changed over to exfat and can now access via FTP. I have a /games folder on both the sd card and the external HDD. It seems some of the computer cores do not like the /games folder to be on an external drive.