Open GoogleCodeExporter opened 8 years ago
Ok so after 4 hours of trial and error I have learnt a few lessons. I realised
that
the wii was never even hitting the NAS so i tried for a while to make sure port
445
was configured, eventually I found the netstat tool and this clearly shows which
ports are being listened for I used netstat -an or netstat -ln. it turns out
there
has to be more configured than just the smb.conf file.
basically there are a few files which needed some editing.
sevices file in /etc
I added these lines below the existing 139 ports
microsoft-ds 445/tcp # NETBIOS session service
microsoft-ds 445/udp
I also added these lines in inetd.conf file
microsoft-ds stream tcp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb$
microsoft-ds stream udp nowait root /usr/local/samba/sbin/smbd smbd -s/etc/smb$
and my smb.conf file now looks like this
[global]
server string=MyBookWorld
workgroup=workgroup
interfaces=192.168.1.3/24 127.0.0.1/8
smb ports=445
security=user
smb passwd file=/var/private/smbpasswd
private dir=/var/private
log file=/var/log/wii.%m
debug level = 3
guest account=www-data
guest ok = Yes
dns proxy=No
lock directory=/var/locks
pid directory=/var/locks
use sendfile=Yes
create mask = 755
[PUBLIC]
path=/shares/internal/PUBLIC
valid users=STUART TEST1 ADMIN
write list=STUART TEST1 ADMIN
admin users = STUART
map to guest = Bad Password
[dummy-2]
include=/var/oxsemi/shares.inc
[dummy-3]
include=/var/oxsemi/senvid.inc
map hidden = Yes
veto files = /shares/internal/.senvidData/ /shares/internal/lost+found/
max log size = 1
[PUBLIC]
path=/shares/internal/PUBLIC
valid users=STUART TEST1 ADMIN
write list=STUART TEST1 ADMIN
admin users = STUART
map to guest = Bad Password
[dummy-2]
include=/var/oxsemi/shares.inc
[dummy-3]
include=/var/oxsemi/senvid.inc
Original comment by stu.tr...@gmail.com
on 4 Jun 2009 at 3:42
Original issue reported on code.google.com by
stu.tr...@gmail.com
on 4 Jun 2009 at 11:25