View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 07, 2004 11:13 pm 
Offline
Joined: Sun Mar 07, 2004 3:13 pm
Posts: 18
Location: Campbell, CA
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 12:29 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
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.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
PostPosted: Mon Mar 08, 2004 1:11 pm 
Offline
Joined: Sun Mar 07, 2004 3:13 pm
Posts: 18
Location: Campbell, CA
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 1:24 pm 
Offline
Joined: Sun Mar 07, 2004 4:05 pm
Posts: 42
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.


Top
 Profile  
 
 Post subject: ummm. . .
PostPosted: Mon Mar 08, 2004 1:49 pm 
Offline
Joined: Sun Mar 07, 2004 3:13 pm
Posts: 18
Location: Campbell, CA
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 3:01 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
PostPosted: Tue Feb 22, 2005 2:45 pm 
Offline
Joined: Thu Jul 08, 2004 9:58 am
Posts: 78
Location: va
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 23, 2005 9:58 am 
Offline
Joined: Wed Feb 02, 2005 4:07 pm
Posts: 141
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 3:40 pm 
Offline
Joined: Sun Apr 10, 2005 8:01 am
Posts: 27
:?:

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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 21, 2005 4:33 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
search the wiki

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 82 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu