LoginSignup
0
3

More than 5 years have passed since last update.

【Raspberry Pi 3B/3B+】ラズパイをネットワーク接続ストレージ(NAS)として使う

Last updated at Posted at 2018-09-01

Overview

ラズパイをNASにします。

Sambaをインストール

$ sudo apt-get install samba
$ sudo apt-get install samba-common-bin

Sambaユーザを追加

$ sudo smbpasswd -a pi

smb.conf編集

$ sudo nano /etc/samba/smb.conf

・末尾に追記
[Pi]
comment = Raspberry Pi
path = /home/pi
guest ok = yes
read only = no
public = yes
browsable = yes
force user = pi

・Windowsからも接続する場合下記の通り書き換え
 workgroup = WORKGROUP → workgroup = HOME

Sambaを再起動

$ sudo /etc/init.d/samba restart

Macから接続してみる

サーバへ接続 → smb://raspberrypi

0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3