Z manager plików mogę się do niego dostać poprzez
Kod: Zaznacz cały
smb://nazwa_serwera/zasób/
Kod: Zaznacz cały
smbclient --list 192.168.1.1 --no-pass
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.37]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (TomatoUSB)
sda2 Disk sda2
sda1 Disk sda1
Kod: Zaznacz cały
mount -t //192.168.1.1/sda1 -o user=,password= /NAS
Kod: Zaznacz cały
root@tomato:/tmp/mnt# ls -l
drwxrwxrwx 15 root root 4096 Apr 15 12:31 sda1
drwxr-xr-x 4 root root 4096 Jan 10 2012 sda2
Kod: Zaznacz cały
root@tomato:/tmp/etc# cat smb.conf
[global]
interfaces = br0
bind interfaces only = yes
workgroup = WORKGROUP
netbios name = tomato
server string = TomatoUSB
guest account = nobody
security = user
map to guest = Bad User
guest ok = yes
guest only = no
browseable = yes
syslog only = yes
timestamp logs = no
syslog = 1
encrypt passwords = yes
preserve case = yes
short preserve case = yes
wins support = yes
domain master = yes
local master = yes
preferred master = yes
os level = 65
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
[sda1]
path = /mnt/sda1/
writable = yes
delete readonly = yes
force user = root
comment =
[sda2]
path = /tmp/mnt/sda2
comment = sda2
writable = yes
delete readonly = yes
force user = root
[sda1]
path = /tmp/mnt/sda1
comment = sda1
writable = yes
delete readonly = yes
force user = root