View previous topic :: View next topic |
Author |
Message |
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Mon Jan 01, 2007 3:07 pm Post subject: Gentoo and iMac data sharing |
|
|
Hi,
I now have a new imac and wisht o migrate some files from my gentoo desktop to my imac over my local netwrk.
How to allow so considering that I wish to work from my imac and have a windows opened (hopefully in GUI)?
Thank you,
Spiro
PS: Please if possible explain in important steps what to do. |
|
Back to top |
|
|
01mf02 Veteran
Joined: 21 Nov 2004 Posts: 1070 Location: Innsbruck, Austria
|
Posted: Mon Jan 01, 2007 3:21 pm Post subject: |
|
|
You could use Samba:
Then you have to edit /etc/samba/smb.conf - for example I have something like this:
Code: |
[global]
workgroup = WORKGROUP
netbios name = INSERTYOURNAMEHERE
server string = Files from the Linux box
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the HOWTO Collection for details.
security = share
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
local master = no
[public]
comment = shared
path = /var/samba
guest ok = yes
browseable = yes
|
After that, start the daemon:
Code: | /etc/init.d/samba start |
Then you should be able to access your Linux box from the Mac by entering an address like this in a browser window:
\\ipfromthelinuxbox\public |
|
Back to top |
|
|
Tlaloc Guru
Joined: 21 Feb 2005 Posts: 451 Location: Europe - Alps - Tyrol
|
Posted: Mon Jan 01, 2007 6:44 pm Post subject: |
|
|
ssh server (emerge openssh && /etc/init.d/sshd start) on gentoo box and ssh gui client on imac. Easy and secure.
Samba setup is overkill in your case probably (and the setup is a pain in the ass IMO).
Bye, Val. |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 536 Location: Cambridge, UK
|
Posted: Wed Jan 03, 2007 8:48 pm Post subject: |
|
|
Tlaloc wrote: | ssh server (emerge openssh && /etc/init.d/sshd start) on gentoo box and ssh gui client on imac. Easy and secure.
Samba setup is overkill in your case probably (and the setup is a pain in the ass IMO).
Bye, Val. |
Hi Val,
What SSH gui client do you recommend for OSX? I've looked for one and never been able to find one.
(Ok I've setup passwordless key authentication between my Mac and Gentoo box, so it's not that hard, but a GUI client would be nice.)
Cheers
ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
Tlaloc Guru
Joined: 21 Feb 2005 Posts: 451 Location: Europe - Alps - Tyrol
|
Posted: Wed Jan 03, 2007 9:37 pm Post subject: |
|
|
I do not own a mac, but because of a previous thread here on the forums I have encountered cyberduck. Don't know how it is like, though.
http://cyberduck.ch/
Bye, Val. |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 536 Location: Cambridge, UK
|
Posted: Wed Jan 03, 2007 10:14 pm Post subject: |
|
|
Thanks. I'll give that a go.
Cheers
Ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Thu Jan 04, 2007 6:14 pm Post subject: |
|
|
I have a follow-up question:
I have an external hd, LaCie where I have partitioned it into 3 partitions, two of which are with hfs+ journaled filesystem
When I will connect it via USB or FireWire to a gentoo PC and will mount it:
1) what would I mount it as?
2) does journaling from hfs+ interfeers with linux? Will linux try to do anything on it? Is it fine/safe to have it partitioned with journaling or should I format it again without journaling?
thank you,
Spiro |
|
Back to top |
|
|
ferg Guru
Joined: 15 Nov 2002 Posts: 536 Location: Cambridge, UK
|
Posted: Thu Jan 04, 2007 6:23 pm Post subject: |
|
|
SAngeli wrote: | I have a follow-up question:
I have an external hd, LaCie where I have partitioned it into 3 partitions, two of which are with hfs+ journaled filesystem |
Hi Spiro,
Im not sure at all whether Linux can read or write an HFS+ filesystem. I would check this out carefully.
As for the third partition, you'll probabyl be able to easily format this as a Linux readabe filesystem (e.g. ext3 or ext2). However, I'm not sure whether OSX can read these!
If data exchange is your main aim, then you might be better NFS mounting the drive from OSX, (or Linux) and using the data that way. I use a Linux mounted filesystem from my Macbook without any problems.
Cheers
ferg _________________ Climb up it, kayak down it + make sure it runs on GNU/Linux
"cease to exist, giving my goodbye, drive my car into the ocean,
you think I'm dead, but i sail away, on a wave of mutilation!" |
|
Back to top |
|
|
SAngeli l33t
Joined: 16 Apr 2004 Posts: 904 Location: Italy
|
Posted: Thu Jan 04, 2007 7:07 pm Post subject: |
|
|
Here is what I found:
Quote: | Filesystems supported by mount
* adfs
* affs
* autofs
* coda
* devpts - Linux swap
* ext2 - Linux native partition
* hfs
* hpfs
* iso9660 - Filesystem used on CDROM disks.
* msdos - DOS based filesystem, Also called FAT or FAT16.
* nfs - Network file sharing
* ntfs - Filesystem for Windows NT and Windows 2000
* proc - The virtual filesystem Linux uses to store parameters in memory.
* qnx4
* romfs
* smbfs
* sysv - UNIX filesystem
* ufs
* umsdos
* vfat - Enhanced 32 bit filesystem used for Windows 95 and Windows 98. Sometimes called FAT32. |
Now the question is wheather journaling is an issue to Linux when I mount it and if linux can/could create any kind of issues to my hfs partitions.
Thanks,
Spiro |
|
Back to top |
|
|
|