LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2011, 04:36 PM   #1
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Rep: Reputation: 39
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.
 
Old 12-27-2011, 04:55 PM   #2
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Original Poster
Rep: Reputation: 39
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:~$
 
Old 12-27-2011, 06:33 PM   #3
stratotak
Member
 
Registered: Sep 2005
Distribution: Today Debian . Tomorrow ..??
Posts: 386

Original Poster
Rep: Reputation: 39
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.

Last edited by stratotak; 12-27-2011 at 06:40 PM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
sharing internet but samba doesnt work, turn filewall off samba works but net isnt Jungle_King Linux - Networking 2 05-08-2009 07:00 AM
Samba Sharing Die Woud Linux - Networking 14 05-06-2005 03:54 PM
sharing in samba ertmann|CPH Linux - Networking 1 05-31-2004 08:01 PM
Samba Sharing rstmn957 Mandriva 1 12-06-2003 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration