ラズベリーパイ初期構築~NAS化のメモ

1.OSイメージが書き込まれたSDカードの準備

以下サイトから書き込みソフトをダウンロードできる。ソフトのナビに従えば準備完了。

https://www.raspberrypi.com/software/

昔はメディアの入手、フォーマットや書き込みを自分で行う必要があった。便利になった。

2.Wifi通信用インタフェースの固定IP設定

初期設定ではDHCPでのIP設定がなされるため、外部からの通信を容易にするために固定IPを設定する。dhcpcd設定ファイル上で、Wifiインターフェース(wlan0)をスタティックに設定する。

/etc/dhcpd.conf に以下を3行を追行

interface wlan0

static ip_address=192.168.1.129/24

statc routers=192.168.1.1

3.SSH許可

コンフィグツールを起動する。

sudo raspi-config

ツールが起動するので、

「Interfacing Options」→「SSH」

とすすみ、設定をEnableにする。

4.sambaをインストールしてNAS化する。

以下コマンドでsabmaをインストール

sudo apt install samba samba-common-bin

以下ファイルを修正して設定

/etc/samba/smb.conf

[ShareFolder]
comment = ShareFolder
path = /var/samba
public = yes
read only = no
browsable = yes
guest ok = yes
create mode = 0777
directory mode = 0777
force user = rpuser

sambaサービスを再起動して設定を反映。

sudo systemctl restart smbd


投稿日

カテゴリー:

投稿者:

タグ:

コメント

“ラズベリーパイ初期構築~NAS化のメモ” への9件のフィードバック

  1. is it bad to buy tiktok followersのアバター

    I’d like to find out more? I’d want to find out some additional information.

  2. twicsy reviewsのアバター

    Nice post. I learn something new and challenging on websites
    I stumbleupon on a daily basis. It will always
    be interesting to read through articles from other authors
    and practice a little something from other websites.

  3. buy instagram followers free no surveyのアバター

    I do trust all of the ideas you’ve introduced for your post.
    They are really convincing and can certainly work. Still, the posts are
    very short for starters. May you please lengthen them a little from subsequent time?
    Thank you for the post.

  4. buy an instagram account with real followersのアバター

    I think the admin of this website is really working hard for his website, as here every
    material is quality based stuff.

  5. Twicsyのアバター

    Bel article, je l’ai partagé avec mes amis.

  6. buy instagram followers that like your photosのアバター

    Helpful information. Fortunate me I found your web site unintentionally, and I
    am stunned why this accident didn’t came about earlier! I bookmarked
    it.

  7. where can i buy instagram likesのアバター

    We’re a group of volunteers and starting a new scheme in our community.

    Your web site provided us with valuable information to work on.
    You have done an impressive job and our entire community will
    be thankful to you.

  8. buy instagram followers ukのアバター

    I was suggested this web site by my cousin.
    I’m not sure whether this post is written by him
    as no one else know such detailed about my trouble. You’re wonderful!
    Thanks!

  9. https://wwd.com/business-news/business-features/how-to-get-more-instagram-followers-1235787837のアバター

    I am in fact thankful to the owner of this website who has
    shared this great paragraph at at this time.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です