想到了,就是這個:
vi /etc/samba/smb.conf也不知道要改哪裡,所以下指令:/192找看看有沒有跟網路位址有關的?果然有,就是在那個host allow加上一段EDIMAX的192.168.2.0/24
# ----------------------- Network Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
workgroup = WORKGROUP
server string = Samba Server Version %v
netbios name = andyeric
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
hosts allow = 192.168.1.0/255.255.255.0 127. 192.168.12. 192.168.13. 192.168.2.0/24
再重新啟動samba就好了,搞定!