Hacking How to setup SMB to run on MPlayer

  • Thread starter Thread starter KushiRules
  • Start date Start date
  • Views Views 18,871
  • Replies Replies 13

KushiRules

Member
Newcomer
Joined
Oct 28, 2008
Messages
16
Reaction score
0
Trophies
1
XP
56
Country
United States
What you need:

Wii
Homebrew Channel
SD Card
MPlayer CE (via Homebrew Browser)
An SD Card Reader
Computer
Some knowledge of Usernames and Password and IP Addresses

Directions:

1: Plug SD Card to the Computer and make sure MPlayer is installed on the SD.

2: In the SD Card go to apps. Then go to MPlayerCE(or something like that)

3: Open smb.conf with notepad by double-clicking, select Choose a program from my computer(the bottom option) and select Notepad. NOTE: Before step 4, make sure you have an SMB server on. For Mac Users just use Text-Edit and for the SMB server, Go to System Preferences, Sharing, Enable file-sharing, Go to options and check off SMB! Also if you want to add an account you want to connect to, Then click the plus and add it.

4: In the SMB1:/ slot fill in your stats. IP Address, Folder you want to connect to and this includes sub-folders, The username of the user, NOTE: The username must not have a space in it. If it does change it, Then enter password if you have one.

5: Save and take out the SD Card and insert into Wii. Load up Homebrew Channel

6: Open MPlayer and click on Open. Then select File.. and then select SMB. Next click SMB Server 1 and watch magic happen
biggrin.gif
!! Select your movie!

FIN. HOPE THIS HELPED
 
NOTE: The username must not have a space in it. If it does change it, ...

lol? why we have to change it? look at the google code site or the readme... you dont have to change

if the username have space in it (or the folder name) than just put " in front and the end --> "Musik Video"
 
I know this is an old post but I would just like to add to the Mac OS X part. You can use your guest account to access the files so there's no need to put your main account information. By default this guest option should be on but follow my steps to make sure that they are. I'll start after step 3.

3a : Go to System Preference and select Accounts.

3b : Under Other Accounts you should see Guest Account. Click the lock on the bottom right and put your password.

3c: Click the Guest Account and now make sure you have "Allow guests to connect to shared folders" checked off.

When putting the information into smb.conf, the username is "guest" (without the parenthesis) and there is no password. Leave it blank.
 
Would be cool if someone could do this for linux... I've been trying for a while now, can't get it going... mostly because i'm new to linux. But what I could find on the googlecode page was a little all over the place, and none of it has gotten things working for me yet.
 
jonas18z said:
How do you play DVD-ISOs from SMB? My menus dos't work
I have yet to try a DVD-ISO. I don't even know if it can load it via SMB.

QUOTE(lonegreyride @ Oct 27 2009, 11:49 AM) Would be cool if someone could do this for linux... I've been trying for a while now, can't get it going... mostly because i'm new to linux. But what I could find on the googlecode page was a little all over the place, and none of it has gotten things working for me yet.
It should work pretty much the same way. I'm not familiar with linux but the main points are the following:
1. Have SMB file sharing turned on.
2. Select the folder(s) you want to share with SMB to the Wii.
3. Edit the smb.config file in the Mplayer CE apps folder with your IP address, folder name, username, and password (If there is one).

Remember to enclose the folder name and/or username in parenthesis if there is a space. For example, folder name is "My Movies".
 
you have to make sure your firewall doesn't block the connection cause had a problem with it not working cause Eset smart security was blocking connection to pc
 
EeZeEpEe said:
lonegreyride said:
Would be cool if someone could do this for linux... I've been trying for a while now, can't get it going... mostly because i'm new to linux. But what I could find on the googlecode page was a little all over the place, and none of it has gotten things working for me yet.
It should work pretty much the same way. I'm not familiar with linux but the main points are the following:
1. Have SMB file sharing turned on.
2. Select the folder(s) you want to share with SMB to the Wii.
3. Edit the smb.config file in the Mplayer CE apps folder with your IP address, folder name, username, and password (If there is one).

Remember to enclose the folder name and/or username in parenthesis if there is a space. For example, folder name is "My Movies".
Yeah, I guess my problem would mostly be with setting up SMB on the PC. It is on though, and the folder is shared. I know how to set up the MPlayer smb config... I actually share another folder from Windows on the same computer. There's a page floating around somewhere on the googlecode page where a bunch of guys with the same problem tried different things, which mostly had to do with editing a couple of different files in linux. I tried all that I read, but still didn't get it working. i was just hoping that someone who had gotten it working could post exactly what needs to be done. Thanks for the reply.
 
lonegreyride said:
EeZeEpEe said:
lonegreyride said:
Would be cool if someone could do this for linux... I've been trying for a while now, can't get it going... mostly because i'm new to linux. But what I could find on the googlecode page was a little all over the place, and none of it has gotten things working for me yet.
It should work pretty much the same way. I'm not familiar with linux but the main points are the following:
1. Have SMB file sharing turned on.
2. Select the folder(s) you want to share with SMB to the Wii.
3. Edit the smb.config file in the Mplayer CE apps folder with your IP address, folder name, username, and password (If there is one).

Remember to enclose the folder name and/or username in parenthesis if there is a space. For example, folder name is "My Movies".

Yeah, I guess my problem would mostly be with setting up SMB on the PC. It is on though, and the folder is shared. I know how to set up the MPlayer smb config... I actually share another folder from Windows on the same computer. There's a page floating around somewhere on the googlecode page where a bunch of guys with the same problem tried different things, which mostly had to do with editing a couple of different files in linux. I tried all that I read, but still didn't get it working. i was just hoping that someone who had gotten it working could post exactly what needs to be done. Thanks for the reply.

Here is a copy of my smb.conf
CODE
#Fix for MPlayerCE dropping
#keepalive = 0
encrypt passwords = yes

#Wins Server Section
#wins support = yes
#name resolve order = wins hosts bcast
os level = 64
local master = yes
preferred master = yes
dns proxy = yes
disable netbios = yes

#Speed settings - Attempting to speed up the server
read size = 65536
read prediction = true
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#Naming Section
server string=Elohim
workgroup=Zion

#Network settings
interfaces=10.0.0.30/24 127.0.0.1/8
smb ports = 445

#General Server Settings
security=user
smb passwd file=/var/private/smbpasswd
private dir=/var/private
guest account=guest
lock directory=/var/locks
pid directory=/var/locks
use sendfile=yes
map to guest = Bad User
create mask = 755
map hidden = Yes
veto files = /shares/internal/.senvidData/ /shares/internal/lost+found/
max log size = 1

[Public]
comment = Public Storage
path=/shares/internal/public
guest ok=no
create mode = 0666
directory mode = 0777
valid users = %U
write list = %U

[Media]
comment = Media
path=/shares/internal/media
guest ok=no
force group = domainadmins
force user = root
create mode = 0666
directory mode = 0777
valid users=@domainadmins @domainusers
write list=@domainadmins
read list=@domainusers

You will see @SOMENAME in there, those are unix groups, set them up like that and it will make your life simpler. I do not use a guest setup other than the public folder, so you will need a user for the wii.

This is from a heavily modded NAS so it is very light and works all the time for me. The key is to make sure you have the needed folders, users, rights, and for god's sake make sure you have passwords on the users.
 
Thanks very much... I'll compare that to mine when I get a chance, and see what I can do. The comments in there help too, thanks.
 
I setup mplayer last night.
There is a very good readme.txt with the download.
Explains everything you need to know in there.
Guess people don't read the readme and then wonder why they can't get it to work or it bricks their Wii.

BTW, great app.......... Will come in handy when taking the kids away over xmas to have a DVDplayer/AVI/Music player all-in-one.... Oh yeah, it plays games too.


QUOTE said:
In the "MPlayer_ce" folder you copied over to your SD card you will find some
.conf files which can alter the way MPlayer operates and is also used to
setup your SMB shares. MPlayer CE has the ability to use five different SMB
shares, but they must be configured manually by editing the "smb.conf" file.
Inside of it you'll find five different entries. You can fill in as many
shares as you like. The format is as follows:

#Samba share1 (smb1:/)
ip1=192.168.0.1
share1=Movies
user1=Test
pass1=fr0g

The "ip1" is your computer's IP address, the "share1" is the name of your
shared folder, "user1" is the username you use to login to your computer and
lastly "pass1" is your password you use to login to your computer. If you do
not use a username and password, leave user1 and pass1 blank, "user1=",
"pass1=" so MPlayer CE knows not to use a password to login to your SMB share.

If your share folder has a space in it, you must surround it with quotation
marks: share1="My Movies".
 
Yes, reading that readme is a great help is you're sharing from windows. For linux, there's a bit more to it (see linux's smb.conf edited above, for example).
 
Just found this thread after discovering SMB even existed on MPlayer. Had it up and running in just a couple minutes - thanks so much!
 

Site & Scene News

Popular threads in this forum