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.
Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu
Moved to New to Ubuntu sub-forum.
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:
Or worst case see if you still have a smb.conf file:
Code:
cat /etc/samba/smb.conf
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?
Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu
Quote:
Originally Posted by
markb60000
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.
Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu
Quote:
Originally Posted by
ipv2
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 ;)
Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu
Quote:
Originally Posted by
CelticWarrior
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.
Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu
Quote:
Originally Posted by
CelticWarrior
Please note it does need Samba and it'll be be installed on demand if not installed already.
gives me Command smb not found.
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.
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
Re: Problem with Samba related to moving WIndows desktop files to newly installed Ubu
Quote:
Originally Posted by
ActionParsnip
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?