Hot answers tagged

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 //...
fcm's user avatar
  • 1,839
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 ...
Martin Jones's user avatar
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 ...
Edward's user avatar
  • 951
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:...
Seamus's user avatar
  • 20.7k
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 ...
Charlie's user avatar
  • 61
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 ...
Bex's user avatar
  • 2,919
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....
Cattivello's user avatar
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/...
Buckhorn's user avatar
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 ...
Dmitry Grigoryev's user avatar
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 ...
Seamus's user avatar
  • 20.7k
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/...
Hydraxan14's user avatar
  • 1,796
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 ...
James Kent's user avatar
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 ...
flakeshake's user avatar
  • 6,195
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: ...
Ingo's user avatar
  • 41.7k
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 ...
Milliways's user avatar
  • 58.2k
2 votes

Use ethernet instead of wifi for Samba

You have several questions above. Firstly, just plugging an ethernet cable into the Macbook won't work. The ethernet won't have an IP address (as can be verified by ifconfig on the Mac). There are ...
Milliways's user avatar
  • 58.2k
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 ...
Mat000111's user avatar
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 ...
Havnar's user avatar
  • 1,617
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
vadik_lyutiy's user avatar
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!
JayEye's user avatar
  • 1,878
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 ...
Piotr Kula's user avatar
  • 17.3k
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 ...
goobering's user avatar
  • 10.7k
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 ...
Anthony Cregan's user avatar
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 ...
bobstro's user avatar
  • 3,978
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 ...
Enno's user avatar
  • 153
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 ...
Brian Cahill's user avatar
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 ...
Seamus's user avatar
  • 20.7k
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 ...
Firsh - justifiedgrid.com's user avatar
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 ...
Federico's user avatar
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.
evildemonic's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible