LinHES Forums
http://forum.linhes.org/

trading files between my MythPC and my OSX box
http://forum.linhes.org/viewtopic.php?f=5&t=933
Page 1 of 1

Author:  spdorsey [ Sun Mar 07, 2004 11:13 pm ]
Post subject:  trading files between my MythPC and my OSX box

Hello

How do I go about placing files on my OSX box? I'd like to be able to copy files (like MP3s and MAME ROMs) back and forth.

Is there a good tutorial anywhere for SMB networking through the command line?

Thanks,

----------------------S

Author:  nigelpearson [ Mon Mar 08, 2004 12:29 am ]
Post subject: 

You may be better off using the "scp" command. e.g. on your Mac:

scp 143.238.2.186:/usr/src/linux/README ~/Desktop

will ask for your password on the mythpc, and then copy a kernel source README file to your OS X desktop. (note that this assumes you gave the same short username on both your mythpc and OS X machine)

You can probably copy the other way around, too, but I haven't tested that.

Author:  spdorsey [ Mon Mar 08, 2004 1:11 pm ]
Post subject:  Now, how do I do it using "Connect to Server" in O

I got the command line to work and, in a pinch, I can copy files. thanks for that.

Now, I'd like to find out how to do it using Mac OSX's "Connect to Server" window. This way, I can mount the directory on the desktop and drag files to and from it. This will be nice when I start swapping a LOT of files of many types.

Any idea how to do this?

Thanks,

----------------S

Author:  SWC [ Mon Mar 08, 2004 1:24 pm ]
Post subject: 

Go->Connect to Server

Address:
smb://127.0.0.1/Share

Replace IP address w/ the samba server address (your myth box?), and Share w/ your share name.

You can modify it if you need to log in using special user/password, but I don't have the format handy.

Author:  spdorsey [ Mon Mar 08, 2004 1:49 pm ]
Post subject:  ummm. . .

That's supposed to work, right?

When I do it, I get a window saying

"Could not connect to server because the name or password is not correct"

I'm sure my username and password are correct. I've tried them as lowercase and as case sensitive. It also tells me that my workgroup is "KNOPPMYTH".

Any ideas?

thanks,

--------------S

Author:  Xsecrets [ Mon Mar 08, 2004 3:01 pm ]
Post subject: 

I'm assuming you have read the samba setup howto located in the forums right? It is geared towards sharing with winXP, but should be easy enough to figure out the differences for OSX.

Author:  xtopher [ Tue Feb 22, 2005 2:45 pm ]
Post subject:  old post but heres how i did it.

for those of you who are still working this out i will post a walk through:

start here:

http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=422

You only need to do part one:

clarifaction from that--^
remove the "=" from the allow commands
Change allow=127.0.0.1 to allow 127.0.0.1
setup the computers you want to get access
allow 192.168.0.1 <- include your gateway (router's) address
allow 192.168.0.x <- addie of each machine you want to have acces to
----------------------------------------------------------------------
log into webmin. (https:your.Myth.ip.address/10000)

under the systems tab choose bootup / shutdown

search down the list for

samba and webmin

check both of these boxes

at the bottom you will see a button about starting selected on boot ... click it.

now webmin and samba will start up every time you reboot.
back to the Webmin index

click on servers tab ->windows smb

There will be a Myth folder already created for you at the top of the page along with "all homes"

Choose myth



choose the first button "Security and Access Control".
you will see that mythtv is the only "valid" user listed.
click on the "...." button at the end of that field.
find your user name in the list. add it and save.
this should take you back to the myth directory set up screen.
choose the second button "File Permissions".
Here you set the permissions for the files you add or create.

I set the top two boxes to "775" because the "755" that was the default wouldn’t let me run the files after they were added.

save that

save the" myth" directory screen

this should take you back to the smb setup screen.

at the bottom of this window you should see a restart samba. do that .

from osx:
Go->Connect to server
type in
smb://{name of your box};{the user name from step one}@{myth-ip-addi}/Name of share

for me it was :

smb://Mythbox;topher@192.168.0.222/myth

it will prompt you for your password(the one you set up in step one)
and you are in



************************************************************
Notes:

with webmin you can set up FTP as well as Samba
(if anyone is intersted in this message me and i will post a walk though.)

i found setting up a root level ( / ) share was helpful when looking for files. i can mount that and use the OS's find feature to look for file locations or paths to files. ie.. find nvidia drivers, or the location of ivtv because they seem to change with each distro.

my speeds dont seem to be great here maybe some one could post some tweeks that might optimze the setup.

Author:  rteichman [ Wed Feb 23, 2005 9:58 am ]
Post subject: 

If you want a quick and dirty way of doing this from OS X:
1) use Terminal and SSH into your box as the user you setup during install

2a) give your password [return]
2b) type in: su root [return]
2c) give the root password [return]

3a) type in: samba start [return]
3b) now if you want samba to start up every time, edit bootmisc.sh and add a line saying: samba start

4) On your Mac use connect to server and then
smb://address/myth
where address is either your MythTV box's IP address or machine name

5) Use the userid/password of: mythtv/mythtv
you will be connected to the default share

Author:  kverde [ Thu Apr 21, 2005 3:40 pm ]
Post subject: 

:?:

How can I share files the other way around?

If I try to mount a smb share from my mythbox to XP, I get the error:

fs type smb not supported by kernel.


Thanks for the help

Author:  Xsecrets [ Thu Apr 21, 2005 4:33 pm ]
Post subject: 

search the wiki

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/