I found another forum where it explained that DD-WRT has a Samba server but no GUI to configure it.
They supplied commands to setup a an anonumous SAMBA share in terminal.
But I found no Terminal in the Buffalo interface of DD-WRT.
so with Telnet, I did this, but got some non-existent path messages.
( I guess this router was not intended to by a network storage device for an average user like me)
---------------------------------------------------------------------------------------------------------------------------------
DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 08/19/10 (SVN revision: 14998)
DD-WRT login: root
Password:
==========================================================
____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|
DD-WRT v24-sp2
http://www.dd-wrt.com
==========================================================
BusyBox v1.13.4 (2010-08-19 15:28:04 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@DD-WRT:~# # Stop samba service
root@DD-WRT:~# killall smbd
killall nmbd
sleep 2
killall: smbd: no process killed
root@DD-WRT:~# killall nmbd
# Configure samba
mkdir -p /tmp/etc/samba
echo "
[global]
netbios killall: nmbd: no process killed
root@DD-WRT:~# sleep 2
name = DD-WRT
workgroup = WORKGROUP
server string = DD-WRT
syslog = 10
obey pam restrictions = yes
socket options = TCP_NODELAY
preferred master = no
os level = 20
security = share
guest account = nobody
invalid users = root, mail, deamon, reboot
null passwords = yes
guest only = yes
map to guest = Bad User
private dir = /tmp/etc/samba/
lock directory = /var/lock/
pid directory = /var/run/
unix charset = UTF-8
dos charset = UTF-8
map archive = No
map hidden = No
map system = No
[Share]
path = /mnt/
read only = no
create mask = 0700
directory mask = 0700
" > /tmp/etc/samba/smb.conf
# Add user for samba
# guest user
grep -q nobody /etc/passwd || echo 'nobody:x:65534:65534:nobody:/mnt:/bin/false' >> /etc/passwd
# Start samba service
SMBOPTIONS="-s /tmp/etc/samba/smb.conf"
/usr/sbin/smbd $SMBOPTIONS
/usr/sbin/nmbd $SMBOPTIONS
root@DD-WRT:~#
root@DD-WRT:~# # Configure samba
root@DD-WRT:~# mkdir -p /tmp/etc/samba
root@DD-WRT:~# echo "
> [global]
> netbios name = DD-WRT
> workgroup = WORKGROUP
> server string = DD-WRT
> syslog = 10
> obey pam restrictions = yes
> socket options = TCP_NODELAY
> preferred master = no
> os level = 20
>
> security = share
> guest account = nobody
> invalid users = root, mail, deamon, reboot
> null passwords = yes
> guest only = yes
> map to guest = Bad User
>
> private dir = /tmp/etc/samba/
> lock directory = /var/lock/
> pid directory = /var/run/
>
> unix charset = UTF-8
> dos charset = UTF-8
> map archive = No
> map hidden = No
> map system = No
>
> [Share]
> path = /mnt/
> read only = no
> create mask = 0700
> directory mask = 0700
> " > /tmp/etc/samba/smb.conf
root@DD-WRT:~#
root@DD-WRT:~# # Add user for samba
root@DD-WRT:~# # guest user
root@DD-WRT:~# grep -q nobody /etc/passwd || echo 'nobody:x:65534:65534:nobody:/mnt:/bin/false' >> /etc/passwd
root@DD-WRT:~#
root@DD-WRT:~# # Start samba service
root@DD-WRT:~# SMBOPTIONS="-s /tmp/etc/samba/smb.conf"
root@DD-WRT:~# /usr/sbin/smbd $SMBOPTIONS
-sh: /usr/sbin/smbd: not found
root@DD-WRT:~# /usr/sbin/nmbd $SMBOPTIONS
-sh: /usr/sbin/nmbd: not found
root@DD-WRT:~#