我的 /etc/hosts
127.0.0.1 localhost
192.168.0.5 cow
192.168.0.2 home
/etc/lmhosts
127.0.0.1 localhost
192.168.0.5 cow
192.168.0.2 home
#find |grep netbios* /etc/services
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp
/etc/samba/smb.conf
[global]
client code page = 950
workgroup = HO
security = share
[shar]
comment = Temporary file space
path = /home/(username)
read only = no
public = yes
以上是我的設定
#/etc/init.d/samba start
windows裡的設定
電腦名稱:home
工作群組:HO
這樣後應該在windows裡的網路芳鄰中可以看到另一台linux吧
可是看不到ㄟ...
還有如果要 mount windows那邊的話.....
是下 smbmount //home/d /mnt 嗎
在windows那邊,d槽已新增共用成d了,權限裡面有一個everyone
# smbmount //home/d /mnt
Password:
Anonymous login successful
621: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
password,我沒有玎.....
是我漏了什麼嗎?
忘了說~~
我實際上的接線是把數據接在hub上,而windows和linux都是接在hub上的...
而且也都ping的到.....