X

Linux Samba 讓 Apple TV 能支援連線

Debian Linux 升級到 bullseye 後,Apple TV 就無法連到 SAMBA 了,要怎麼解決呢?

  • 註:我是在 Apple TV 使用「Elmedia Video Player」連 Linux 的 SAMBA Server

Linux Samba 讓 Apple TV 能支援連線

Linux Samba 能讓 Apple TV 能連線的作法,先講結論:

  • vim /etc/samba/smb.conf # 於下述區塊加入
    [global]
    min protocol = LANMAN2

Apple TV 使用「Elmedia Video Player」要連接 SAMBA 有問題,查到有各種解法,這邊先把全部嘗試過的都列出來:

  • vim /etc/samba/smb.conf # 下面這整排都是可以使用的設定,不過只有 LANMAN2 能用
    [global]
    ;client min protocol = SMB2
    ;client max protocol = SMB3
    ;client ipc max protocol = SMB2
    ;min protocol = SMB2
    ;max protocol = SMB2
    ;client min protocol = SMB2
    ;client max protocol = SMB2
    min protocol = LANMAN2
    ;max protocol = SMB3
  • 設定檔主要是於 [global] 區塊加入下述:
    • min protocol = LANMAN2
  • 再重新啟動 smbd 即可

至於 SMB2、SMB3、LANMAN2 這些是什麼意思?此列表有清楚的解釋:

  • CORE used by DOS
  • COREPLUS used by DOS
  • LANMAN1 used by Windows for Workgroups, OS/2, and Windows 9x
  • LANMAN2 used by Windows for Workgroups, OS/2, and Windows 9x
  • NT1 used by Windows NT
  • SMB2 used by Windows 7; same as SMB2_10
  • SMB2_02 used by Windows Vista
  • SMB2_10 used by Windows 7
  • SMB3 used by Windows 8
  • SMB3_00 used by Windows 8
  • SMB3_02 used by Windows 8.1 and Windows Server 2012
  • SMB3_11 used by Windows 10

相關網頁

Tsung: 對新奇的事物都很有興趣, 喜歡簡單的東西, 過簡單的生活.
Related Post