Noob friendly file sharing?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

Noob friendly file sharing?

Postby Nick_Djinn on Fri Jun 10, 2011 8:29 am

What is the easiest and most noob friendly way of accessing files from a different computer in your house, assuming you know the username and password since its your own computer BUT you have not set up any special user permissions yet?

If not, what is the easiest and fastest way to set up those permissions so I can browse my desktop from my laptop over wifi router?

I want to be able to watch movies on my tv, using my laptop and HDMI cable, streaming from my desktop in the other room....but I want to do it all from the laptop, not from the desktop.
Nick_Djinn
Level 5
Level 5
 
Posts: 646
Joined: Sat May 15, 2010 7:12 am

Linux Mint is funded by ads and donations.
 

Re: Noob friendly file sharing?

Postby ivan_rookie on Fri Jun 10, 2011 8:51 am

I'd also like to know how this could work. My laptop is with mac osx 10 and my desktop is with mint 10, desktop is wired with the rooter and the macbook uses the wi-fi.
"Running Windows on a Core i7 is like having a brand new Porsche,
but only be able to drive backwards with the handbrake on."
User avatar
ivan_rookie
Level 2
Level 2
 
Posts: 92
Joined: Wed Dec 08, 2010 2:51 pm
Location: Berlin

Re: Noob friendly file sharing?

Postby altair4 on Fri Jun 10, 2011 9:44 am

There are a number of options but let's try the easiest one first and see if it works for you. It's called Samba and it works fairly well although it does require a willing network configuration. The easiest way to create a samba share is as follows:

Open Nautilus
Right click a folder you own say ... Documents
Select "Sharing Options"
At this point if you don't have Samba installed it will ask you if you want to install it ( it may call it "Windows Networking") - you do.
Select "Share this folder", "Allow others to create and delete..", "Guest Access".
Select "Create Share"
It will ask you if you want it to modify permissions - you do.

You just created a Samba share - a "Samba Usershare" to be exact.

After a day of heavy binge drinking our Ubuntu overlords decided that along with the samba package itself it would be funny if another package called libpam-smbpass would also be installed when samba is installed. After a reboot ( yep a reboot - stay away from alcohol kids ) , libpam-smbpass automatically creates a samba password for every login user on your Mint box that matches their login password. So If you create a share in nautilus that does not allow guest access you can access it remotely by using the Mint users' login name and password.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5832
Joined: Tue Feb 03, 2009 10:27 am

Re: Noob friendly file sharing?

Postby ivan_rookie on Fri Jun 10, 2011 4:06 pm

Ok, so I think I shared my Music folder on my Mint desktop. How can I access it from my macbook?
"Running Windows on a Core i7 is like having a brand new Porsche,
but only be able to drive backwards with the handbrake on."
User avatar
ivan_rookie
Level 2
Level 2
 
Posts: 92
Joined: Wed Dec 08, 2010 2:51 pm
Location: Berlin

Re: Noob friendly file sharing?

Postby altair4 on Fri Jun 10, 2011 5:26 pm

Ok, so I think I shared my Music folder

Run the following command to make sure:
Code: Select all
net usershare info --long

How can I access it from my macbook?

The share will show up in Finder automatically under "Network". If not use "Connect to Server" and either browse to the share or enter it's address directly:
Code: Select all
smb://hostname

OR
Code: Select all
smb://192.168.0.100

Using the actual hostname or ip address of the Mint server in place of "hostname" or "192.168.0.100"

You do realize you've hijacked this topic, right? If you have further difficulties please start your own topic
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5832
Joined: Tue Feb 03, 2009 10:27 am

Re: Noob friendly file sharing?

Postby Nick_Djinn on Mon Jun 13, 2011 8:29 pm

What if I get an error like this?

This machine has Pinguy, the other has mint. I am noticing problems with file pathways. Does anyone know why?
Nick_Djinn
Level 5
Level 5
 
Posts: 646
Joined: Sat May 15, 2010 7:12 am

Re: Noob friendly file sharing?

Postby altair4 on Tue Jun 14, 2011 6:52 am

What is the actual error message.
I am noticing problems with file pathways

That doesn't tell me much.

If you are trying to connect to a Mint machine from Pinguy then:

From Pinguy post the output of the following command:
Code: Select all
smbtree

From Mint post the output of this command:
Code: Select all
net usershare info --long
testparm -s


If you absolutely positively need to connect to these machines and you don't care about users or who has write access and who doesn't then use SSH:

On Mint:
Code: Select all
sudo apt-get install openssh-server

On Pinguy:
Nautilus > File > Connect to Server:

Service type: ssh
Server: ip address of server
Folder: exact path to folder ( like /home/username/Documents )
If you want access to the whole machine don't enter any path
User Name: user name on the server

When you get an error message Select: "Log In Anyway"
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5832
Joined: Tue Feb 03, 2009 10:27 am

Re: Noob friendly file sharing?

Postby Nick_Djinn on Tue Jun 14, 2011 5:09 pm

Sorry, I thought I copied and pasted the error. I only copied.

Yeah, on THIS drive its only media. I dont care if strangers watch my movies even. My work is elsewhere. Im not worried about security, at least through local LAN, as long as the other drives are not at considerable risk. I want it to be easy as possible to access from any computer.

Anyway, it said that there was a pathway error or something like that. I lost the error.

Ill try this.


The overheating problem is a problem. My Toshiba was fine, the acer shuts down from heat, and my desktop fans are working overtime. Performance is great though :/
Nick_Djinn
Level 5
Level 5
 
Posts: 646
Joined: Sat May 15, 2010 7:12 am

Re: Noob friendly file sharing?

Postby momist on Sat Dec 29, 2012 6:25 pm

Thanks altair4, this helped me as well. The thing most confusing me was the lack of sharing options in the default nemo file manager. I had to sudo nautilus from the terminal. :o
User avatar
momist
Level 2
Level 2
 
Posts: 73
Joined: Mon May 21, 2012 3:30 pm
Location: Lancashire, Northwest England

Linux Mint is funded by ads and donations.
 

Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 4 guests