Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Problem with Samba related to moving WIndows desktop files to newly installed Ubuntu

  1. #1
    Join Date
    Apr 2021
    Beans
    6

    Problem with Samba related to moving WIndows desktop files to newly installed Ubuntu

    I am trying to set up the transfer of my Windows 10 desktop files to Ubuntu 0.04, which I just installed.


    In doing so, I installed Samba, but did so incorrectly. I tried to uninstall the program, but, as shown below, the delete was aborted.
    Is there a way to delete Samba, or should I forget about the remnants of the installation, and use a program that does what Samba does? Or should I use another method to move my Windows desktop documents to Ubuntu? If so, what is the easiest way to do so?

    Thanks,
    Mark


    Code:
    mark@mark-HP-Notebook:~$ sudo apt-get remove --purge samba
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      attr ibverbs-providers libcephfs2 libibverbs1 librados2 librdmacm1
      samba-vfs-modules tdb-tools
    Use 'sudo apt autoremove' to remove them.
    The following packages will be REMOVED:
      samba*
    0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded.
    After this operation, 16.6 MB disk space will be freed.
    Do you want to continue? [Y/n] Y
    Abort.
    mark@mark-HP-Notebook:~$ sudo apt-get autoremove --purge samba
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following packages will be REMOVED:
      attr* ibverbs-providers* libcephfs2* libibverbs1* librados2*
      librdmacm1* samba* samba-vfs-modules* tdb-tools*
    0 upgraded, 0 newly installed, 9 to remove and 6 not upgraded.
    After this operation, 35.8 MB disk space will be freed.
    Do you want to continue? [Y/n] Y
    Abort.
    Last edited by DuckHook; April 18th, 2021 at 11:00 PM. Reason: Added *CODE* tags, removed interfering formatting.

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,807
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Moved to New to Ubuntu sub-forum.

  3. #3
    Join Date
    Dec 2009
    Beans
    6,771

    Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    It's not clear how one installs samba "incorrectly". You may have configured it incorrectly but there is a way to restore the default settings without removing or purging everything samba.

    Is it running? Run the following command to determine it's state:
    Code:
    sudo service smbd status
    If it is running run this command to see how it is set up:
    Code:
    testparm -s
    Or worst case see if you still have a smb.conf file:
    Code:
     cat /etc/samba/smb.conf

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Are Windows and Ubuntu in different machines in the same network or is it a dual-boot?

  5. #5
    Join Date
    Apr 2021
    Beans
    40

    Lightbulb Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Quote Originally Posted by markb60000 View Post
    another method to move my Windows desktop documents to Ubuntu
    1. on the windows machine share a folder / folders & grant read / write access.

    2. on the ubuntu machine : files > other locations > in the enter server address box = smb://ipaddressofwindowsmachine > connect > pop-up window for authorization > shared folders from windows.

    note : you do not need samba for this method.

  6. #6
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Quote Originally Posted by ipv2 View Post
    1. on the windows machine share a folder / folders & grant read / write access.

    2. on the ubuntu machine : files > other locations > in the enter server address box = smb://ipaddressofwindowsmachine > connect > pop-up window for authorization > shared folders from windows.

    note : you do not need samba for this method.
    Please note it does need Samba and it'll be be installed on demand if not installed already.

    And I don't know about you and the others but I'm still not convinced this has anything to do with networking. Please check my post above

  7. #7
    Join Date
    Apr 2021
    Beans
    40

    Exclamation Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Quote Originally Posted by CelticWarrior View Post
    Please note it does need Samba and it'll be be installed on demand if not installed already.
    no it will not.

    i am using this method & there is absolutely no samba on my machine.

  8. #8
    Join Date
    Apr 2021
    Beans
    40

    Thumbs down Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Quote Originally Posted by CelticWarrior View Post
    Please note it does need Samba and it'll be be installed on demand if not installed already.
    Code:
    smb status
    gives me Command smb not found.

    Code:
    smbstatus --shares
    gives me Command 'smbstatus' not found, but can be installed with:

    sudo apt install samba

    Code:
    sudo nano /etc/samba/smb.conf
    gives me [ Directory '/etc/samba' does not exist ]

    Code:
    sudo apt install samba
    asks me for permission to install samba.

    if you know any other way to check if samba is installed let me know.

  9. #9
    Join Date
    May 2010
    Beans
    3,242

    Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    If you have openssh-server running then use. SFTP, no need for Samba. Dead easy

  10. #10
    Join Date
    Apr 2021
    Beans
    40

    Question Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu

    Quote Originally Posted by ActionParsnip View Post
    If you have openssh-server running then use. SFTP, no need for Samba. Dead easy
    can this be used for file sharing over a lan network between ubuntu 20.04.2 & windows 10 pro?

    or does it require ubuntu server & windows server?

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •