Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How do I setup tow computer on a a lan to share files?

  1. #11
    Join Date
    Jul 2007
    Beans
    86

    Re: How do I setup tow computer on a a lan to share files?

    Quote Originally Posted by eddietours View Post
    can you ping the other computer
    Yep.

    From both machines.

  2. #12
    Join Date
    Dec 2009
    Beans
    6,771

    Re: How do I setup tow computer on a a lan to share files?

    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.


  3. #13
    Join Date
    Jul 2007
    Beans
    86

    Re: How do I setup tow computer on a a lan to share files?

    Quote Originally Posted by Morbius1 View Post
    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.

    Code:
    smbtree
    Returned

    Code:
    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

    Code:
    findsmb
    Returned

    Code:
                                    *=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

    Code:
    nmap -sT 192.168.2.2/22
    Returned

    Code:
    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
    Last edited by Scott O'Nanski; January 2nd, 2010 at 01:36 AM.

  4. #14
    Join Date
    Oct 2007
    Location
    Port Colborne Ont Canada
    Beans
    86
    Distro
    Xubuntu 13.04 Raring Ringtail

    Re: How do I setup tow computer on a a lan to share files?

    from the out put \\SYSTEM-LAPTOP-X has nothing shared if it shared not accessable by the workgroup

  5. #15
    Join Date
    Dec 2009
    Beans
    6,771

    Re: How do I setup tow computer on a a lan to share files?

    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:
    Code:
    netbios name = DESKTOP-X
    It 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.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •