Monday, October 02, 2006

xbox samba shares

Installation:
part1
part2
part3

Here is the thread..Trying to follow the xbox xebian installation.



problems:
1. after changing from static to dhcp, my host name was wrong.
vi /etc/hosts
and fix IP address

2.samba share doesn't work.
basically my sharenames and usersnames are not set up.
fix:
smbpasswd -a [username]
and setup each and every username

goto http://your_ip:901 then goto shares/homes/ read only = no

hmm, still can't write to samba shares.... I have to do:
chown -R username:group /samba_share


3. remove locate and add slocate instead
apt-get install slocate

4. not sure why we need to copy .py script to /usr/local. chmod 000 for now..
security reason?

5. harden by removing some packages:
dpkg --list
dpkg --purge telnet
apt-get remove lpr

6. don't forget to fix the clock:
tzconfig



7. remember that samba will become a master browser automatically if you leave it running. When trying to browse the network neighborhood if you get the error: "workgroup is not accessible. You might not have permission to use this network resource. blah blah.
7a. check who is the master browser by typing in nbtstat -a [computername] for each of the computers on the network. Once you find
C:\temp>nbtstat -a xbox

Internet Connection:
Node IpAddress: [192.168.x.x] Scope Id: []

NetBIOS Remote Machine Name Table

Name Type Status
---------------------------------------------
..__MSBROWSE__.<01> GROUP Registered

then xbox is the master browser.

7b. FIX:
edit /etc/samba/smb.conf
add os level = 0 to the [global] section.

No comments: