Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [samba]

a free software implementation of the SMB/CIFS networking protocol, providing file and print services for Microsoft Windows clients.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

save file on local host in windows visual studio code

I have opened a python code from a Linux based Raspberry Pi (with samba and windows explorer). But when I try to save the file, there is an error message; Failed to save 'home.py': Insufficient ...
Laurin Theisen's user avatar
0 votes
1 answer
68 views

Can someone please help me get samba setup on my raspberry pi so I can connect it to my computer and Haas Machine Center?

I am loosing my patience with this and I just need it to work! I would even be willing to pay someone to help me get this going. Ok, here is the back story. I have a Haas VF2 Machine center that only ...
Ryan Vine's user avatar
0 votes
0 answers
57 views

Structure needs cleaning problem

I have a samba server on my raspberry with external SSD. I created ext3 filesystem on the SSD and it worls fine. But every time if I umount the SSD and mount it again I get the error Structure needs ...
Andrey RF's user avatar
  • 109
0 votes
0 answers
21 views

Unable to delete files from Samba folder

I am using Samba as the file share system from a Raspberry Pi to my windows computer. The Raspberry pi is running a Flask Web Server that intakes 3d print files that people upload and saves them in ...
Noah's user avatar
  • 1
0 votes
0 answers
81 views

Pi4 Slow performance in local network over wi-fi

I'm running Pi4 4Gb as my Time Machine and Media Storage via smb server + PiHole. Speeds were always inferior, but I suspected problem was WD My Passport with HFS+ (for time machine) and exfat ...
user11686813's user avatar
0 votes
0 answers
41 views

Using a RPi Zero W as a WiFi enabled USB stick

I have an older industrial instrument running Windows CE that I would like to access data from remotely over WiFi. The instrument saves data (10-20 kB for each test) to a USB stick, so leveraging ...
Stark's user avatar
  • 1
1 vote
1 answer
204 views

Network drive sharing when RPi is file server

I'm using a Pi4 as a file server. Everything was fine - USB drives are mounted, Samba shares makes them available to the network. No issues until I reformatted the drives as ext4. I moved the data, ...
TMSpack's user avatar
  • 13
1 vote
1 answer
342 views

Raspberry Pi Samba time machine backup bottleneck

The Problem I've setup my Raspberry Pi 1B+ running DietPi as a Time Machine backup destination as per this tutorial. I have attached a 2TB Western Digital USB 3.0 disk. Obviously this is an old Pi so ...
Floris-Jan Willemsen's user avatar
1 vote
0 answers
162 views

Set up Wireguard AP and SMB Server on the same Pi

I have a Raspberry Pi that I'm using as a SMB server for a few months now. I'm using raspbian without graphical interface on it. I wanted it to be able to have a Wi-Fi Access Point that sends traffic ...
Miguel Vieira's user avatar
1 vote
0 answers
324 views

Windows 10 -> Raspberry PI 4 Samba Share Speed extremely slow unless pause and resume

I've been trying to set up my Raspberry PI 4 as a home media server and was planning to use Samba to transfer files from my Windows 10 PC to the Raspberry PI. Currently, I get speeds of <5 MB/s ...
schu's user avatar
  • 11
1 vote
0 answers
189 views

How do I alter write permissions from root to specific user on a Samba raspberry pi nas using an exfat drive?

I've set up a nas with a raspberry pi and an exfat drive. Unfortunately I can only read from my computer and not write since only root has write permissions on the drive and I cannot alter them using '...
ComradeClifford's user avatar
1 vote
2 answers
179 views

Cannot Mount Window Share Folder On Raspberry Pi

sudo mount -t cifs -o username=[Username],password=[Password],uid=1000,gid=1000 //192.168.100.90/TempFolder/MyFiles /mnt/NetworkBackup error(112): Host is down sudo smbclient -N -L //192.168.100....
MyatKaung's user avatar
1 vote
3 answers
1k views

Raspberry Pi Samba Share Suddenly Unreachable on MacOS

System: macOS Monterey (12.4) 2021 Macbook Pro w/ M1 Pro I have been using my Raspberry Pi as a Network Access Share (NAS) with Samba for around a year now without any issues. Today, however, I ...
Drew Daniels's user avatar
0 votes
2 answers
2k views

Can't use mkdir unless sudo is used

I lost my ssd on my pi and had to buy a new one, when installing the lite version of the OS I used the imager tool to create a "pi" user, since it does not do it automatically anymore. But ...
Rafael Carvalho's user avatar
1 vote
1 answer
717 views

Raspberry pi 4B 8 GB: Slow network performance with shared samba directory

I've set up an Raspberry pi in a network with Gigabit NICs. On an SSD I have set up an shared SMB directory. The SSD itself writes with more than 400 Mbyte/s. Due to an encryption this drops to 160-...
northcom's user avatar
0 votes
0 answers
79 views

Samba compressed transfer over network under Raspbian?

I am currently using a Raspberry Pi 3 A+ as a NAS, and the bottleneck is the 100Mb ethernet adapter I am using. Is it possible to configure Samba to automatically and transparently compress/decompress ...
Alexander M's user avatar
0 votes
0 answers
1k views

Error starting smbd.service

I am using my headless raspberri pi 4 running raspbian as a samba fileserver. It resides on my desktop (furniture). Unfortunately, while I left my office, somebody by mistake pulled the plug. After ...
Bruni's user avatar
  • 101
1 vote
0 answers
545 views

How can I fix a broken SMB share of a printer with Windows 10

I have a printer connected and configured to my Raspberry Pi. It is installed through CUPS and shared through SMB. For about half a year this worked flawless in printing from my Windows 10 laptop. All ...
TobiBS's user avatar
  • 111
0 votes
1 answer
206 views

Samba - two users with different permissions same folder

I have HDD connected to Raspberry, mounted to /media/pi/shared. Also i have configured Samba share: [raspShare] comment = Pi shared folder path = /media/pi/shared ready only = no browseable = yes only ...
Encore's user avatar
  • 1
0 votes
0 answers
409 views

Convert network folder to USB drive

I know that the question sound creasy, but I will explain the purpose in a while. I have a NAS at home with many storage space, shared as SMB/NFS folders in my network. My idea would be to connect 1 ...
GrizzlyBear's user avatar
0 votes
0 answers
994 views

Pi OMV NAS server: Access over internet

I am using OpenMediaVault for NAS management installed on Raspberry Pi. I am able to access my shared drive on my network using File Manager. I would like to access it from the internet (Different ...
Darshil's user avatar
1 vote
2 answers
2k views

How can I mount a directory from one Raspberry Pi to another

I have the following problem: I have 2 Raspberry Pi in my network and want to mount a directory from my Raspberry Pi 2, running Samba version 4.2.14-Debian to my new Raspberry Pi 4 running Samba ...
Detlev's user avatar
  • 21
-1 votes
1 answer
173 views

Cant access external SSD directory

I am running my Raspberry Pi with raspbian via ssh. I installed samba in order to run a photo server that everyone at home could access. At first I could find the SSD in /media/pi and run samba fine. ...
Víctor De la Rosa Sano's user avatar
1 vote
0 answers
211 views

Can't connect to Samba from windows 10 via hostname (IP address works)

I'm trying to set up an old Raspberry Pi to be a simple file server on a home network. I've mounted a couple of USB sticks to use as storage; The first will appear as storage that's visible on Samba ...
Stormcloud's user avatar
0 votes
2 answers
2k views

Samba - Map Network Drive - Raspberry Pi

I am stuck on Samba and Mapping a Network Drive from Windows to a Raspberry Pi. Windows Map Network Drive I have successfully done it on the / directory... But can't seem to do it on the root ...
Merle_the_Pearl's user avatar
0 votes
0 answers
145 views

MDADM RAID 1 and Samba on gigabit ethernet only using 500mbps

I am using mdadm, samba and RPi4 to create a local nas for my house. It seems to work fine but when I transfer a file from the nas to my local machine, it doesn't use the full 1gbps and only uses ...
user488476's user avatar
0 votes
0 answers
196 views

Deleted file still takes up space?

I was using my SMB server and I uploaded 3GB worth of files. Turns out some things were wrong and I ended up deleting it. Before 60% of my 16 GB SD card was free, now it is more like 16% (2.2 GB ish). ...
theknightD2's user avatar
0 votes
0 answers
117 views

Raspberry Pi 4 8GB not showing up on network and isn't able to transfer files

I recently bought a Raspberry Pi 4 8gb that I am using as a local nas. When I got it I connected it to wifi, installed samba and got it configured - it worked perfectly (was accessible/discoverable/...
Lone Muffin's user avatar
0 votes
1 answer
2k views

Why is a mount of a remote samba share read only?

I have successfully mounted a samba share (from a Centos server) on my Raspberry Pi, but the share is read-only: sudo mount -t cifs //ip.address/sharename /mnt/test -o user=username,vers=1.0 I have ...
PeteC's user avatar
  • 341
0 votes
2 answers
2k views

Sub-optimal Samba speeds (for external NTFS HDD)

So, I'm trying to setup a Samba share on my R Pi 4 for my home network. I'd really like it it be Samba because at lease 1 Win10 machine is involved. The setup is as follows: External USB 3 HDD is ...
FlasH from Ru's user avatar
0 votes
0 answers
2k views

Changing password for Samba on RPi4

i succesfully installed and started samba with password as user1. Lets call it password1. But i have more raspberries running and i chose to put all passwords same to all of them, so i changed this ...
dingo27mobile's user avatar
0 votes
1 answer
2k views

Slow NTFS write speeds, on external USB drive?

I have my 4GB Pi4 set up with automount and have an NTFS formatted USB3 hard drive, connected via the USB 3 port. Looking at the driver via the mount command: /dev/sda1 on /media/Seagate_sda1 type ...
Andre M's user avatar
  • 129
0 votes
0 answers
179 views

RPI zero g_mass_storage using a directory

I am trying to use ad rpi zero to access a samba share present on my network so that I can access it to the tv. I'll try to make it more clear: SMB server --> wifi --> rpi zero --> tv I have ...
user3161330's user avatar
2 votes
2 answers
1k views

Cannot access Samba USB share but can access folder share

Why can I access a Samba folder share on Windows 10 but not a USB drive share? I have a samba share to a folder on my pi. I can access it from Windows. But when I try to connect to a USB device (...
ccalvert's user avatar
  • 121
3 votes
0 answers
363 views

PI Zero W Mass storage device mode

I need some help regarding the mass storage mode with Raspberry PI Zero W. This is my first time configuring this mode and I've found a lot of guides about it that only explain how to use the PI as ...
EvilFury's user avatar
0 votes
4 answers
2k views

Migrating From 3B+ to 4B. Easy Solution than reinstalling everything

I am using a lent 3B+ and now I will buy my own 4B. I have PMS, Pi-Hole, and Samba Server. I don't want to reinstall and re-configure everything again, is there an easy alternative?
Abbas Merchant's user avatar
0 votes
0 answers
318 views

pi samba share permissions

So my current project is to have a full node bitcoin core on my pi4 currently following this guide: Bitcoin node guide In this guide they reference an external hdd for the blockchain as currently the ...
Technology Researcher's user avatar
1 vote
2 answers
2k views

mount samba drives as a guest

I'm trying to mount a windows network drive as a guest. (on an rPi3+) $ sudo mount -v -t cifs //WinMachine/tv /home/pi/SHARED/TV -o guest and the response: mount.cifs kernel mount options: ip=fd83:...
milpataki's user avatar
  • 111
1 vote
0 answers
275 views

Permission Denied error trying to access MacOS shared folder on my raspberrypi

I have an HD plugged on my mac mini shared over my local network through SMB. I want to mount this folder on my raspberrypi using: sudo mount -t cifs //SERVER_IP/FOLDER ~/macshare/ -o user=USER but ...
Paolo Squadrito's user avatar
0 votes
0 answers
46 views

Rpi freezes when I want to look at my cam pics or even when I want to copy the folder to my local pc

I have a rpi that gets the snapshots of my 2 ip cams over FTP. All devices are cable connected (rj45). In between a simple unmanaged gigabit switch. The pictures are saved on a usb HDD of 500Gig (...
maxim's user avatar
  • 31
4 votes
3 answers
4k views

Cannot reach Internet after assigning fixed IP address in dhcpcd.conf

Hardware: Pi 2 OS: Raspberry Pi OS 32-bit No firewall. Running over ethernet (no WiFi card) I am following a tutorial to set up a Pi as a file server for home. For this, I need to install Samba. ...
Daniel F's user avatar
1 vote
1 answer
516 views

Issue with 'sudo dpkg --configure -a' and samba installation

I've been trying to install Samba on my Raspberry Pi, but seem to have created a broader issue in the process. The steps to the issue were the following: I ran the install code: sudo apt-get install ...
Anta's user avatar
  • 21
-1 votes
1 answer
187 views

How to delete SMB shortcuts/links from the desktop?

I used File Manager to browse some files on my NAS: //BACKUP/Files When I did so, a shortcut (or symlink) was automatically placed on my desktop. Now I cannot delete this item. When I attempt to do so,...
InteXX's user avatar
  • 145
0 votes
1 answer
755 views

RPI samba stopped working

Allo I had some power shortages recently that (most likely) caused samba to stop working. samba --version shows version 4.9.5-debian I am connecting from Win10. When I try "Add network drive"...
Poody's user avatar
  • 101
1 vote
1 answer
599 views

Samba: Windows 10 connects to one Pi, but not another

I've had a Samba share for a while on a general-purpose Pi running Raspbian with a desktop. Now I want to migrate that function to its own dedicated Pi running Raspbian Lite. (headless) So I started ...
AaronD's user avatar
  • 189
0 votes
0 answers
832 views

Raspberry PI SMB User from Windows 10

I'm at my wit's end. I have an external drive connected to a raspberry pi 4 which I am ultimately trying to connect to from a Windows 10 computer via samba. Using this script I was finally able to get ...
BobtheMagicMoose's user avatar
2 votes
1 answer
146 views

When uploading from WinSCP: How to mount an external samba drive to give all users write and file rename permissions? [closed]

I have a raspberry pi behind a Fritzbox router that also doubles as a nas with a drive connected via USB. I have mounted the nas to the pi's "/media/fritzbox-usb" directory and would like ...
576i's user avatar
  • 229
1 vote
0 answers
4k views

SMB performance incredibly slow

I've recently hooked up an ext4 formatted external USB3.0 harddrive to my Raspberri PI 4 (USB3.0 slot) and shared it in my network using Samba. The first upload to the drive went smoothly, but every ...
Pieter Helsen's user avatar
0 votes
3 answers
484 views

Configure Pi4 to create files in root of mounted Samba share

I cannot create files and directories of the root folder of a mounted Samba share on my Pi4. I am 98% certain that this is a client-side issue with the Pi4 and not a server configuration problem for ...
cjm's user avatar
  • 101
1 vote
1 answer
2k views

How to record to NAS from TVHeadend running on Raspberry Pi 4

Sorry if I unintentionally transgress any forum etiquette - in all my time looking for answers to questions I have been able to get there through searching and have never actually had to post a ...
David Chatterton's user avatar