[LINUX] Mount Windows shared folder on Raspberry Pi

1. Contents of this article

Here are the steps to mount a Windows shared folder from a Raspberry Pi. The procedure is from Raspberry Pi, but I think that it can be mounted from a Linux PC by the same procedure.

1-1. Usage environment

2. Windows shared folder mount procedure

Create a Windows shared folder

Right-click the folder to be shared and click the "Share" button on the property sharing tab to set it.

01_Windowsプロパティ(共有前).png

02_Windowsプロパティ(共有設定画面).png

Click the share button to complete the sharing settings. If a screen for specifying the range to be shared is displayed at the time of sharing, it is recommended to set the sharing within the private network.

04_Windowsプロパティ(共有完了).png

Mount shared folder on Raspberry Pi

You can access the shared folder by following the procedure described in Making Windows shared folder available on Raspberry Pi.

$ sudo apt-get update
$ sudo apt-get install samba
$ sudo apt-get install smbclient
$ sudo apt-get install winbind
$ sudo apt-get install libnss-winbind
 $ sudo mount -t cifs -o user = abc, password = xxx // (computer name)/(shared folder name)/(mount destination)

Remarks: Release Windows shared folder

If you no longer need to share the folder, you can cancel the access from the right-click menu.

05_Windowsプロパティ(解除).png

06_Windowsプロパティ(解除実行).png

3. In the end

As a countermeasure for Problem that COCO dataset cannot be handled on Raspberry Pi, we decided to take a means to access the shared folder of Windows.

I hope this will be helpful when transferring data from a Linux environment to a Windows environment.

4. Related links

Recommended Posts

Mount Windows shared folder on Raspberry Pi
pigpio on Raspberry pi
Cython on Raspberry Pi
Introduced pyenv on Raspberry Pi
Use NeoPixel on Raspberry Pi
Install OpenCV4 on Raspberry Pi 3
Install TensorFlow 1.15.0 on Raspberry Pi
Cross-compiling for Raspberry Pi Zero on Debian-Try using shared libraries
Testing uart communication on Raspberry Pi
MQTT on Raspberry Pi and Mac
raspberry pi 4 centos7 install on docker
Install ghoto2 on Raspberry Pi (memo)
Try using ArUco on Raspberry Pi
Power on / off Raspberry pi on Arduino
Detect switch status on Raspberry Pi 3
Install OpenMedia Vault 5 on Raspberry Pi 4
L Chika on Raspberry Pi C #
Build wxPython on Ubuntu 20.04 on raspberry pi 4
"Honwaka Notification Lamp" on Raspberry Pi Part 2
Detect "brightness" using python on Raspberry Pi 3!
USB boot on Raspberry Pi 4 Model B
"Honwaka Notification Lamp" on Raspberry Pi Part 1
Enable UART + serial communication on Raspberry Pi
Adafruit Python BluefruitLE works on Raspberry Pi.
Accelerate Deep Learning on Raspberry Pi 4 CPU
Set swap space on Ubuntu on Raspberry Pi
Programming normally with Node-RED programming on Raspberry Pi 3
Use the Grove sensor on the Raspberry Pi
Install 64-bit OS (bate) on Raspberry Pi
Install docker-compose on 64-bit Raspberry Pi OS
Run servomotor on Raspberry Pi 3 using python
"Honwaka Notification Lamp" on Raspberry Pi Part 3
Working with sensors on Mathematica on Raspberry Pi
Build OpenCV-Python environment on Raspberry Pi B +
Detect temperature using python on Raspberry Pi 3!
Matrix multiplication on Raspberry Pi GPU (Part 2)
How to install NumPy on Raspberry Pi
I installed OpenCV-Python on my Raspberry Pi
Working with GPS on Raspberry Pi 3 Python
Why detectMultiScale () is slow on Raspberry Pi B +
Python on Windows
Detect slide switches using python on Raspberry Pi 3!
Build a Django environment on Raspberry Pi (MySQL)
Detect magnet switches using python on Raspberry Pi 3!
Raspberry Pi backup
Enjoy electronic work with GPIO on Raspberry Pi
Use Grove-Temperature & Humidity Sensor (DHT11) on Raspberry Pi
Make DHT11 available on Raspberry Pi + python (memo)
Beginning cross-compilation for Raspberry Pi Zero on Ubuntu
Sound the buzzer using python on Raspberry Pi 3!
Play with your Ubuntu desktop on your Raspberry Pi 4
Display CPU temperature every 5 seconds on Raspberry Pi 4
Introduced Ceph on Kubernetes on Raspberry Pi 4B (ARM64)
Connect to MySQL with Python on Raspberry Pi
Build a Python development environment on Raspberry Pi
Build an Arch Linux environment on Raspberry Pi
When a file is placed in the shared folder of Raspberry Pi, the process is executed.
Record temperature and humidity with systemd on Raspberry Pi
Run LEDmatrix interactively with Raspberry Pi 3B + on Slackbot
Try debugging Python on Raspberry Pi with Visual Studio.
Try using the temperature sensor (LM75B) on the Raspberry Pi.