Linux Newbie: How to access shared folder?


Forum: Networking
Topic: Linux Newbie: How to access shared folder?
started by: Marcux

Posted by Marcux on Nov. 25 2006,19:34
Hi!
I am a Linux newbie and a DSL newbie.
I have Mac in my network as well and I wonder how I get in to the shared folder on my Mac.
Is network managed through the terminal on DSL or are there any app for network management?
Second of all how do I make a shared folder on DSL, to share over my network?

Many thanks in advance!

Marcux

Posted by Winter Knight on Nov. 26 2006,07:24
I haven't used a mac in a long time, but macs and windows network together, so I assume they use the same protocol.

The program you want is samba. There are both a server and a client. To connect to your mac, you need the client, which is already included with DSL. To share a folder, you need the server. There is an extension for the samba server in the myDSL extension repository. samba.dsl or samba.unc.

To connect to mac:

1) boot up DSL.
2) open xterm
3)
Code Sample
$smbclient  //192.168.0.101/Shared  -U  username%password


Replace 192.168.0.101 with the ip address of your mac. Replace Shared with the name of your network share. Replace username and password with username and password of your account on the mac. This might not be necessary, depending on how your shared folder is set up.

Hopefully that worked.

If you're not sure about the share name on your mac, try this:
Code Sample
$smbclient  -L  192.168.0.101


Setting up a server is slightly more complicated. The first step is installing samba from extension. Setup is explained at www.samba.org.

Posted by Marcux on Nov. 26 2006,12:42
... I tried both:
$smbclient  -L  192.168.0.101
and
$smbclient  //192.168.0.101/Shared  -U  username%password

but it ends up with:
creating lame upcase table
creating lame lowcase table
timeout connecting to 192.168.1.2:445
session setup failed: NT_STATUS_LOGON_FAILURE

I have set the Windows sharing active on my Mac.

Any suggestions?

Marcux

Posted by Juanito on Nov. 26 2006,13:08
It might be easier to load samba.dsl and then use the graphical interface to connect to shared folders - this works for me with a variety of Windows machines and a network HD
Posted by Marcux on Nov. 26 2006,15:16
Thanks for all the help!
A aplied ftp-access on my Mac and used axyFTP and it worked like a dream.

Marcux

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.