smb.conf に "min protocol = SMB2" を書いたら smbclient が NT_STATUS_CONNECTION_RESET エラーで失敗した
$ smbclient -L 192.168.0.1 Enter user's password: protocol negotiation failed: NT_STATUS_CONNECTION_RESET
原因
- "min protocol" と書いていたため
- "min protocol" は "server min protocol" と同義のため、クライアントの動作には効かない
対処
"client min protocol" と書く
client min protocol = SMB2
smtp.gmail.com から gmail-smtp-msa.l.google.com を調べる方法
host コマンド使えばいいらしい。
$ host smtp.gmail.com smtp.gmail.com is an alias for gmail-smtp-msa.l.google.com. gmail-smtp-msa.l.google.com has address 74.125.204.108 gmail-smtp-msa.l.google.com has address 74.125.204.109 gmail-smtp-msa.l.google.com has IPv6 address 2404:6800:4008:c00::6c
参考
Raspberry Pi の見分け方
次のコマンドを実行する
$ cat /proc/cpuinfo | grep "^Revision"
表示された Revision の値をメモる
Revision : 000e
ブラウザーで https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md を開いて、メモった値を探す
INSANE_SKIP
Specifies the QA checks to skip for a specific package within a recipe. For example, to skip the check for symbolic link .so files in the main package of a recipe, add the following to the recipe. The package name override must be used, which in this example is ${PN}:
レシピ内の指定したパッケージの QA のチェックをスキップします。たとえば、レシピのメインパッケージ内のシンボリックリンク .so ファイルのチェックをスキップするには、レシピに次の行を追加します。 パッケージ名のオーバーライドを使う必要があります。この例では ${PN} です。
INSANE_SKIP_${PN} += "dev-so"
See the "insane.bbclass" section for a list of the valid QA checks you can specify using this variable.
この変数で指定できる QA のチェック項目は、"insane.bbclass" セクションを参照してください。