28
votes
Accepted
Access network Samba share from Pi client
First install some packages:
apt-get install samba-common smbclient samba-common-bin smbclient cifs-utils
Then, create a local directory and mount the remote share:
mkdir /mnt/abc
mount -t cifs //...
9
votes
Accepted
How to change permissions on external hard-drive connected to Raspberry?
You are probably not doing anything wrong. It seems to me that the real issue is that the instructions, as written, don't work generically. The point at which you are apparently stuck is the chown ...
9
votes
Access network Samba share from Pi client
if the samba share does not need any credentials to login and you want to mount the share when you start your raspberry pi then edit the fstab file as root
sudo nano /etc/fstab
and add the following ...
8
votes
Accepted
Samba: How to Disable LAN Samba Server Discovery
I hope this helps:
The Short Answer:
Add the following line in the Global section of /etc/samba/smb.conf:
disable netbios = yes
Prevent nmbd from starting at boot time with the following command:...
6
votes
What vulnerabilities, if any, are inherit to an open samba share on a home LAN?
You are still vulnerable to:
Cryptolocker-style viruses running on any other computers in your
network (including on any guest machines you might let on to your home network)
Malicious or careless ...
5
votes
Accepted
What vulnerabilities, if any, are inherit to an open samba share on a home LAN?
Well, this is quite a hard question to answer in a way that will be acceptable to security buffs, but I'll go ahead and try anyway:
As long as you don't have any port forwards and your router remains ...
4
votes
Access network Samba share from Pi client
My issue was similar.
My target was dd-wrt samba share.
My problem: unable to mount it in anyway (also fstab from RPi3).
I had errors from "not being able to pass the password to reference to mount....
4
votes
Increase transfer rate with Samba using Raspberry Pi 3
SMB transfer speeds can be quite disappointing, especially when handling lots of small files. Then again, an RPi might not be the best choice as a NAS/file server in the first place. Still, just 1 MB/...
4
votes
Accepted
Mounting /var from a CIFS
Solution #1 would be to buy a big SD card. Decent flash memory withstands at least 300-500 cycles before it starts dying, so with a 64GB card you can write a total of 20TB to your /var. That's 50 ...
4
votes
Delete and modify not supported smb external drive (exfat)
It seems you have an answer that addresses your question. I'm posting this as potentially "another answer" to augment @Ephemeral's answer, and because it's something that may be overlooked ...
3
votes
Accessing Windows 10 shares from Raspberry Pi 3
mount.cifs
This is more of a Linux question (I love those!)
You can mount Windows CIFS shares in a folder on your Pi using the mount command.
You can mount the shares at boot time by modifying /etc/...
3
votes
Accepted
Increase transfer rate with Samba using Raspberry Pi 3
there are several things here, although the physical ethernet connection is 100Mbits/s the ethernet chip is hung off of a usb bus that is shared with other devices, so as quoted above the maximum ...
3
votes
How can I add shared drives to Raspberry PI 3?
Create a mountpoint for your share:
sudo mkdir /media/winshare
sudo chown pi:pi /media/winshare
Create a smbcred file:
nano /home/pi/.smbcred
Write the following into it (replace username and ...
3
votes
Accepted
~ $ sudo apt-get install samba samba-common-bin --------> Spits out dependency error
There is something messed with your package manager. You may try to "reset" it. Just follow this answer to Raspberry Pi sudo apt-get update not working. Then remove partially installed samba with:
...
3
votes
Accepted
Cannot reach Internet after assigning fixed IP address in dhcpcd.conf
When you changed /etc/dhcpcd.conf to make it a static IP, it's likely you broke your Raspberry Pi's connectivity. dhcpcd is your DHCP client. Its job is to communicate with your DHCP server (usually ...
3
votes
Raspberry Pi Samba Share Suddenly Unreachable on MacOS
I don't know exactly your problem BUT /media/pi/ is a poor choice.
It is used for automount and can change as storage is mounted - in particular the mount point can change.
I suggest you create a ...
2
votes
Accepted
Connect Raspberry Pi2 to Windows 10 Shared folder
I believe you need to specify the option
-o username=your_username on windows
I believe it will prompt you for a password or you can specify it with the password=your_password
smclient is looking at ...
2
votes
Accepted
Mounting larger roms using smb/nfs performance
Ok so I got home and tried this for myself.
results:
Subdirs work and are recognised
smb mount works and is recognised
games start from mount
Slight lags and choppyness from time to time
this was ...
2
votes
How to access a Samba shared folder from a Pi
You can use mount command
sudo mount -t cifs //192.168.x.x/<your-share> /home/pi/my-share username=pi, password=mypass
You may need to install cifs-utils
2
votes
Finding workgroups on a network
This is not a pi-specific question.
The easiest way is to use nbtscan:
nbtscan -v -h 192.0.2.0/24
Or just search for "samba find all netgroups" on Google!
2
votes
Share files betweens two raspberry pis
If you just want to read the files, you can install nginx on your Pi and share the directory that has the files you want everybody else to read. This is read only, is pretty simple and very light ...
2
votes
Accepted
Change openelec settings via ssh?
From Kodi's docs on the web interface:
Method 1 / guisettings.xml
Edit the guisettings.xml file in the userdata folder and look for the
following settings under <services>, and make sure ...
2
votes
Accessing Windows 10 shares from Raspberry Pi 3
Having wrestled with this and windows 10 I feel the OP's pain. Most problems stem from the fact that windows 10 forces SMB3 by default. Working with that configuration the following will work:
sudo ...
2
votes
Cannot edit files on RPi through smb
Are you sharing files on an external disk? If so, what filesystem is it formatted with? NTFS volumes can only be mounted with a single "owner". If the volume is mounted by root, connecting users will ...
2
votes
Accepted
Samba crashes after upgrade to Stretch
After a lot more googling, it seems that this was caused by a combination of two issues. First, my Samba package was being held back by apt at the version from Jessie. Second, that version has a bug ...
2
votes
Accepted
Mounted external drive not accessible via windows
Possible solution to your (b) ...
After a specific Windows Update, MS systems (esp Win10) will not allow the use of the SMBv1 protocol - security issues. They now "require" SMBv2. Therefore, Windows ...
2
votes
Accessing the samba shared files from the raspi
[EDITED RESPONSE II]
I will guess that the inode/x-corrpted message may be due to some permissions issues between your RPi and your Windoze machine. If that's the case, your files are not actually ...
2
votes
Cannot Connect to Samba Share With Windows 10
The problem is likely on Windows, regarding security policies. Try this:
Run: gpedit.msc
Computer Configuration > Administrative Templates > Network > Lanman Workstation
- open "Enable insecure ...
2
votes
Unable to connect to samba via hostname from Windows 10
Seems I've found an answer myself after months of searching.
If I use raspberrypi.local instead of just raspberrypi as the host name, the Windows machine has no problems with authentication.
I ...
2
votes
Accepted
SSH connection from Raspberry Pi to windows not working
The problem is that Windows doesn't automatically host an SSH or Telnet server. You will have to set one up on the Windows machine.
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
samba × 178raspbian × 47
networking × 36
windows × 18
share × 15
mount × 13
file-server × 11
permissions × 10
file-sharing × 10
pi-2 × 7
pi-3 × 6
raspbian-jessie × 6
fstab × 6
usb × 5
ssh × 5
hard-drive × 5
openelec × 5
wifi × 4
pi-3b+ × 4
ethernet × 4
raspbian-buster × 4
server × 4
raspbmc × 4
storage × 4
media-server × 4