I have a microSD card and it was originally VFAT. I was able to browse windows network
neighborhood and see files on /media/usb0. I reformatted the microSD so that a user
account can download podcasts according to a cron job (didn't want root to do this).
Now I am unable to figure out samba settings to allow read access to the drive. My desktop
linux box can't access LOCALDOMAIN so it is definitely a plug issue. I don't want to log in
to the share just to read files.
[global]
workgroup = localdomain
server string = Samba Server Version
netbios name = mywifiplug
hosts allow = 192.168.1 127.
log file = /var/log/samba/%m.log
max log size = 50
security = share
passdb backend = tdbsam
guest account = nobody
# map to guest = bad user
encrypt passwords = true
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65
536
load printers = no
printing = bsd
printcap name = /dev/null
show add printer wizard = no
disable spoolss = yes
local master = yes
os level = 65
domain master = yes
deadtime = 1
keepalive = 0
log level = 3
username map = /etc/samba/smbusers
[plug-storage]
comment = The Wifi-Sheevaplug Storage
path = /media
public = yes
writable = yes
guest ok = yes
create mask = 0777
directory mask = 0777
Permissions on plug are:
guruplug:~# ls -l /media/
total 4
lrwxrwxrwx 1 root root 4 2010-04-06 06:55 usb -> usb0
drwxr-xr-x 4 root root 4096 2010-11-22 20:23 usb0
guruplug:~# ls -l /media/usb0/
total 20
drwx------ 2 root root 16384 2010-11-22 20:22 lost+found
drwxr-xr-x 2 darkstar root 4096 2010-11-22 20:23 podcast
I have modified the original smb.conf based on web info so now it is a mess. I'm also trying to share a
usb printer on the plug that is configured with cups. There are many conflicting smb.conf tutorials on
the web. Can someone share a working file? Plug wiki is hacked and is useless right now.