View Full Version : [ubuntu] How do I setup tow computer on a a lan to share files?
Scott O'Nanski
January 1st, 2010, 11:43 PM
Hi, I'm trying to set up my Desktop (wired) and Laptop (wireless) so I can share files between the two. In windows, I normally just run the network wizrd and it sets everything up on both machines.
Ubuntu, not so easy...
I can't find a 'how to'. I'm looking for an easy GUI solution.
Anyone?
eddietours
January 2nd, 2010, 12:02 AM
look under network
Scott O'Nanski
January 2nd, 2010, 12:14 AM
look under network
I did.
Anyone else?
VastOne
January 2nd, 2010, 12:16 AM
Hi, I'm trying to set up my Desktop (wired) and Laptop (wireless) so I can share files between the two. In windows, I normally just run the network wizrd and it sets everything up on both machines.
Ubuntu, not so easy...
I can't find a 'how to'. I'm looking for an easy GUI solution.
Anyone?
Are they both Ubuntu?
Scott O'Nanski
January 2nd, 2010, 12:19 AM
Are they both Ubuntu?
Yep, both machines are running 9.10. I just installed Karmic on both in the past couple days.
Should I start over from fresh installs to make it easy to trouble shoot? Or, is that just added effort?
eddietours
January 2nd, 2010, 12:23 AM
can you ping the other computer
VastOne
January 2nd, 2010, 12:24 AM
Yep, both machines are running 9.10. I just installed Karmic on both in the past couple days.
Should I start over from fresh installs to make it easy to trouble shoot? Or, is that just added effort?
I would not think so if both are loaded OK.
I am assuming you are using both machines connected to the same router? Can you ping one machine from the other?
Morbius1
January 2nd, 2010, 12:24 AM
I don't understand the question. Are you trying to share folders between two ubuntu computers?
Open Nautilus > Right click on a folder in your /home folder > Select "Sharing Options" > check all the boxes > Select "Create share"
It's exactly like it is in windows.
Go to the other Ubuntu machine , open nautilus , and select Network
VastOne
January 2nd, 2010, 12:29 AM
SSH is also an option and does not require a full blown samba install and I find it (SSH) faster
https://help.ubuntu.com/community/SSH
Scott O'Nanski
January 2nd, 2010, 12:30 AM
I don't understand the question. Are you trying to share folders between two ubuntu computers?
Open Nautilus > Right click on a folder in your /home folder > Select "Sharing Options" > check all the boxes > Select "Create share"
It's exactly like it is in windows.
Go to the other Ubuntu machine , open nautilus , and select Network
I'm trying to setup both computer so I can access each from the other. They show up in the Network folder, but I can't browse their contents.
I keep getting this message from either machine;
Unable to mount location: Failed to receive the share list from the server.
I set the folders I want to share on both machines.
Scott O'Nanski
January 2nd, 2010, 12:37 AM
can you ping the other computer
Yep.
From both machines.
Morbius1
January 2nd, 2010, 12:39 AM
Please post the output of the following commands from the desktop PC:
Open Terminal
Type smbtree
Type findsmb
Type nmap -sT 192.168.0.100/22
Change 192.168.0.100 to the ip address of the desktop.
EDIT: you may not have nmap installed but by issuing the command it will ask you if you want to install it - you do.
Scott O'Nanski
January 2nd, 2010, 01:29 AM
Please post the output of the following commands from the desktop PC:
Open Terminal
Type smbtree
Type findsmb
Type nmap -sT 192.168.0.100/22
Change 192.168.0.100 to the ip address of the desktop.
EDIT: you may not have nmap installed but by issuing the command it will ask you if you want to install it - you do.
smbtree
Returned
WORKGROUP
\\SYSTEM-LAPTOP-X system-laptop-x server (Samba, Ubuntu)
cli_start_connection: failed to connect to SYSTEM-LAPTOP-X<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
\\SYSTEM-DESKTOP-X system-desktop-x server (Samba, Ubuntu)
\\SYSTEM-DESKTOP-X\scott desktop
\\SYSTEM-DESKTOP-X\IPC$ IPC Service (system-desktop-x server (Samba, Ubuntu))
\\SYSTEM-DESKTOP-X\Videos
\\SYSTEM-DESKTOP-X\print$ Printer Drivers
And
findsmb
Returned
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.2.2 SYSTEM-DESKTOP-+[WORKGROUP] [Unix] [Samba 3.4.0]
192.168.2.3 SYSTEM-LAPTOP-X [ WORKGROUP ]
And
nmap -sT 192.168.2.2/22
Returned
Starting Nmap 5.00 ( http://nmap.org ) at 2010-01-01 19:32 EST
Interesting ports on 192.168.2.1:
Not shown: 999 filtered ports
PORT STATE SERVICE
80/tcp open http
Interesting ports on 192.168.2.2:
Not shown: 994 closed ports
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
5900/tcp open vnc
9091/tcp open unknown
Interesting ports on 192.168.2.3:
Not shown: 998 closed ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
Nmap done: 1024 IP addresses (3 hosts up) scanned in 93.33 seconds
s
confusedstingray
January 2nd, 2010, 03:14 AM
from the out put \\SYSTEM-LAPTOP-X has nothing shared if it shared not accessable by the workgroup
Morbius1
January 2nd, 2010, 02:15 PM
Your machine names in one case is at the legal length limit and in the other is beyond the limit. It must be 15 characters or less. The easiest way to fix this is like this:
Open Terminal
Type gksu gedit /etc/samba/smb.conf
And all the following line to the [global] section of smb.conf:
netbios name = DESKTOP-XIt doesn't have to be DESKTOP-X, but it must have 15 characters or less with no spaces please.
Save the file, exit gedit, and back in the Terminal type: sudo service samba restart
Wait a few minutes and see if sharing works.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.