There is no default share (no /etc/smb.conf). However, running "samba_add_dir.sh" with its default parameters creates smb.conf and an entry within it.
Code:
[media]
path = /media
valid users = admin
browseable = yes
writable = yes
create mask = 0664
directory mask = 0775
I've tried killing and then restarting smbd, but I can't see the server on other devices.
Discovery is unimportant You can point directly at the IP address.
OK, we need to provide "storage" at /media
mount -t tmpfs tmpfs /media
then run
samba_add_dir.sh
then set the samba admin's login with smbpasswd
smbpasswd admin
then if samba is running, kill it. If it is not running, start it with the conf directive to point it to the generated conf file.
smbd -s /somepath/smb.conf
Then point whatever method you use for accessing a file share (windows, whatever) to the ip address of the device, at /media
On linux,
"connect to server" in your file manager
choose windows file share as the type
give the IP address as the server
use "admin" as the user
use whatever password you set with smbpasswd for the password
use "/media" for the share.
press connect.
On windows:
In explorer, on the address bar, type //<IP_Addr>/media
and press enter. When it prompts for user and pass, use "admin" and the password you set.