Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Samba ->win10 share -> Debian 10
Samba ->win10 share -> Debian 10
Hi
I have two computers on a local network,
comp1 runs win10 latest, has smb enabled ...
comp2 runs Debian 10, has samba installed ...
I would like comp2(Debian) to be able to browse a folder on a drive on comp1(win), this folder has many sub folders.
I have browsed the debian wiki on samba and tried to follow the steps in it however (kde)dolphin can see smb->workgroup->comp1
but not the folder, it don't exist as far as Debian is concerned.
My question how to set this up so comp2 can see folder-&-copy-files on comp1?
In win10 we have map-network-drive I would like to do the same in Debian? But haven't a clue how to start, comp1/win10 will not be running all the time.
I have two computers on a local network,
comp1 runs win10 latest, has smb enabled ...
comp2 runs Debian 10, has samba installed ...
I would like comp2(Debian) to be able to browse a folder on a drive on comp1(win), this folder has many sub folders.
I have browsed the debian wiki on samba and tried to follow the steps in it however (kde)dolphin can see smb->workgroup->comp1
but not the folder, it don't exist as far as Debian is concerned.
My question how to set this up so comp2 can see folder-&-copy-files on comp1?
In win10 we have map-network-drive I would like to do the same in Debian? But haven't a clue how to start, comp1/win10 will not be running all the time.
Re: Samba ->win10 share -> Debian 10
I have gained access,however it is not sticky.
I added a line to fstab which adds a drive under network in remote(dolphin) this does not work.
I then went and under network->add network folder, and then filled in the details in the dialogue box that comes up, this works... However I must fill in the details each time I want to connect.
This is a wired conection if that helps, I am left with my two original questions, from post one.
My question how to set this up so comp2 can see folder-&-copy-files on comp1? <partial answer above>
In win10 we have map-network-drive I would like to do the same in Debian? But haven't a clue how to start, comp1/win10 will not be running all the time.
I added a line to fstab which adds a drive under network in remote(dolphin) this does not work.
I then went and under network->add network folder, and then filled in the details in the dialogue box that comes up, this works... However I must fill in the details each time I want to connect.
This is a wired conection if that helps, I am left with my two original questions, from post one.
My question how to set this up so comp2 can see folder-&-copy-files on comp1? <partial answer above>
In win10 we have map-network-drive I would like to do the same in Debian? But haven't a clue how to start, comp1/win10 will not be running all the time.
-
- Posts: 398
- Joined: 2011-10-02 08:00
Re: Samba ->win10 share -> Debian 10
Just enabling is not enough under Win 10, you also have to really share all the relevant folders.
Like this:
https://www.howtogeek.com/176471/how-to ... and-linux/
Like this:
https://www.howtogeek.com/176471/how-to ... and-linux/
Re: Samba ->win10 share -> Debian 10
Thanks for the prompt to an excellent article.andre@home wrote:Just enabling is not enough under Win 10, you also have to really share all the relevant folders.
Like this:
https://www.howtogeek.com/176471/how-to ... and-linux/
When I run the command,
Code: Select all
mkdir ~/Desktop/Windows-Share sudo mount.cifs //WindowsPC/Share /home/geek/Desktop/Windows-Share -o user=geek
Code: Select all
mkdir: invalid option -- 'o'
Re: Samba ->win10 share -> Debian 10
i believe that is meant to be either
or
that is, there are two commands in that instruction.
Code: Select all
mkdir ~/Desktop/Windows-Share && sudo mount.cifs //WindowsPC/Share /home/geek/Desktop/Windows-Share -o user=geek
Code: Select all
mkdir ~/Desktop/Windows-Share
sudo mount.cifs //WindowsPC/Share /home/geek/Desktop/Windows-Share -o user=geek
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Re: Samba ->win10 share -> Debian 10
I get now... that they are two commands. Firstly I am having trouble making myself sudo so Iam doing everything as root via su command.milomak wrote:i believe that is meant to be either
orCode: Select all
mkdir ~/Desktop/Windows-Share && sudo mount.cifs //WindowsPC/Share /home/geek/Desktop/Windows-Share -o user=geek
that is, there are two commands in that instruction.Code: Select all
mkdir ~/Desktop/Windows-Share sudo mount.cifs //WindowsPC/Share /home/geek/Desktop/Windows-Share -o user=geek
The shell looks like this...... Iam deliberately altering my user here to xxx
Code: Select all
root@debian-10:/home/xxx/Videos# mount.cifs /desktop-s61m5ia/Video ~/home/xxx/videos/Windows-Share -o user=Xxx
bash: mount.cifs: command not found
root@debian-10:/home/xxx/Videos# ls
2watch Windows-Share
root@debian-10:/home/xxx/Videos#
Re: Samba ->win10 share -> Debian 10
I tried adding the following line to fstab
I get
Code: Select all
//ip_address/video/ /home/xxx/Videos/2watch cifs ver="2.1",rw,soft,uid=ele,gid=ele,file_mode=0770,dir_mode=0770,credentials=/home/.smbcredentials 0 0
Code: Select all
An error occurred while accessing 'Home', the system responded: mount: /home/xxx/Videos/2watch: operation permitted for root only.
Re: Samba ->win10 share -> Debian 10
what do you see from apt-cache policy cifs-utilsData007 wrote:milomak wrote: Yes I did install cifs-utils
maybe reinstall it
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
-
- Posts: 398
- Joined: 2011-10-02 08:00
Re: Samba ->win10 share -> Debian 10
Got my tech magazine this weekend and there they also talked about SMB failures, which bring me to:
https://askubuntu.com/questions/922682/ ... -etc-fstab
https://askubuntu.com/questions/922682/ ... -etc-fstab
had the same problem which was also due to an upgrade to one of my institute’s servers. I managed to mount the share by adding the vers=3.0 option to fstab without the -o argument.
Code: Select all
sudo mount -t cifs //192.168.1.100/Movies /mnt/Media vers=3.0,user=plex,uid=111,gid=1000,pass=PASSWORD
Re: Samba ->win10 share -> Debian 10
"I have gained access but it is not sticky." You cannot bookmark this in the normal way from file manager, however you can manually add the bookmark and file manager will remember the connection for you, and it will mount correctly every time afterwards. Add to ~/.gtk3.0/bookmarks: smb://IPv4address. Type it into the text file.
TC
TC
You can't believe your eyes if your imagination is out of focus.
Re: Samba ->win10 share -> Debian 10
root@debian-10:/home/xxx# apt-cache policy cifs-utilsmilomak wrote:what do you see from apt-cache policy cifs-utilsData007 wrote:milomak wrote: Yes I did install cifs-utils
maybe reinstall it
cifs-utils:
Installed: 2:6.8-2
Candidate: 2:6.8-2
Version table:
*** 2:6.8-2 500
500 http://debian-archive.trafficmanager.net/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
root@debian-10:/home/xxx#
Re: Samba ->win10 share -> Debian 10
root@debian-10:/home/xxx# sudo mount -t cifs //192.168.1.100/Videos /mnt/Media vers=3.0,user=xxx,uid=111,gid=1000,pass=secretandre@home wrote:Got my tech magazine this weekend and there they also talked about SMB failures, which bring me to:
https://askubuntu.com/questions/922682/ ... -etc-fstabhad the same problem which was also due to an upgrade to one of my institute’s servers. I managed to mount the share by adding the vers=3.0 option to fstab without the -o argument.Code: Select all
sudo mount -t cifs //192.168.1.100/Movies /mnt/Media vers=3.0,user=plex,uid=111,gid=1000,pass=PASSWORD
mount: bad usage
Try 'mount --help' for more information.
root@debian-10:/home/xxx#
-
- Posts: 398
- Joined: 2011-10-02 08:00
Re: Samba ->win10 share -> Debian 10
Go back where it works but not permanent and then look at this article how to make it permanent.
http://jensd.be/229/linux/mount-windows ... secure-way
And... your fstab says user .... should it not be username?
I do not know how strict this is handled by the system under all conditions?
http://jensd.be/229/linux/mount-windows ... secure-way
And... your fstab says user .... should it not be username?
I do not know how strict this is handled by the system under all conditions?