LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba sharing with Playstation 2? (https://www.linuxquestions.org/questions/linux-newbie-8/samba-sharing-with-playstation-2-a-920780/)

stratotak 12-27-2011 04:36 PM

Samba sharing with Playstation 2?
 
Im having a bit of trouble getting Samba setup.On windows Xp I have PS2 perfectly streaming movies an music and want to get It up and running on Xubuntu.On pc side my hostname is Cobolt and static IP is 192.168.1.115 and workgroup is PS2.I add user and password with..

sudo smbpasswd -L -e stratotak
sudo smbpasswd -L -a stratotak

My samba config looks like this.I only want the PS2 to connect so in interface I put in PS2's IP.

Quote:

[global]
netbios name = Cobolt
workgroup = PS2
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
interfaces = 192.168.1.117

[printers]
comment = COMMENT
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[SHARE_NAME]
path = /home/stratotak/Public
comment = COMMENT
create mode = 0770
read only = no
available = no
browseable = no
writable = no
guest ok = yes
public = yes
printable = no
locking = yes
strict locking = no

On PS2 side you create a file called SMS.smb and enter info of PC IP,name and give your PS2 a name.User and password are optional.
Example..

Quote:

192.168.1.115
Cobolt
PS2
I thought maybe it needed a User and password so I added the one I created in Samba.So SMS.smg looks like
[QUOTE]
192.168.1.115
Cobolt
PS2
stratotak
password
[QUOTE]

Does my Samab config look right.I know It has to be on Linux side as it works fine on windows Xp.I even disabled firewall with firestarter.

stratotak 12-27-2011 04:55 PM

I ran testparm /etc/samba/smb.conf

Quote:

stratotak@Cobolt:~$ sudo testparm /etc/samba/smb.conf
[sudo] password for stratotak:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[SHARE_NAME]"
NOTE: Service SHARE_NAME is flagged unavailable.
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = PS2
interfaces = 192.168.1.117

[printers]
comment = COMMENT
path = /var/spool/samba
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No

[SHARE_NAME]
comment = COMMENT
path = /home/stratotak/Public
create mask = 0770
guest ok = Yes
browseable = No
strict locking = No
available = No
stratotak@Cobolt:~$

stratotak 12-27-2011 06:33 PM

OK..After messing around with this for awhile I finally got the PS2 to see the Public folder.It shows the movie file and mp3 I placed in the folder but it wont play.Dont know If it is some sort of permission setting in Linux or what.

Edit:Success...I right clicked the folder and changed the permissions on the Public folder and the files to all read and it plays now.Took me awhile to get it.


All times are GMT -5. The time now is 08:18 AM.