ユーザ用ツール

サイト用ツール


openwrt:install-samba

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
openwrt:install-samba [2013/11/20 23:49] – [Samba のインストール] adminopenwrt:install-samba [2013/11/21 15:04] (現在) – [起動] admin
行 15: 行 15:
 # opkg update # opkg update
 # opkg list | grep samba # opkg list | grep samba
-luci-app-samba - 0.11+svn9425-1 - Network Shares - Samba SMB/CIFS module +luci-app-samba - 0.11.1-1 - Network Shares - Samba SMB/CIFS module 
-samba36-client - 3.6.5-- Samba 3.6 SMB/CIFS client +samba36-client - 3.6.5-- Samba 3.6 SMB/CIFS client 
-samba36-server - 3.6.5-- The Samba software suite is a collection of programs that implements the+samba36-server - 3.6.5-- The Samba software suite is a collection of programs that implements the SMB protocol for UNIX systems, allowing you to serve files and printers to Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred to as the LanManager or Netbios protocol.
 </code> </code>
  
行 24: 行 24:
 <code> <code>
 # opkg install samba36-server luci-app-samba # opkg install samba36-server luci-app-samba
-Installing samba36-server (3.6.5-2) to root... +Installing samba36-server (3.6.5-3) to root... 
-Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/packages/samba36-server_3.6.5-2_ar71xx.ipk. +Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/samba36-server_3.6.5-3_ar71xx.ipk. 
-Installing luci-app-samba (0.11+svn9425-1) to root... +Installing luci-app-samba (0.11.1-1) to root... 
-Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/packages/luci-app-samba_0.11+svn9425-1_ar71xx.ipk.+Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/luci-app-samba_0.11.1-1_ar71xx.ipk.
 Configuring samba36-server. Configuring samba36-server.
 Configuring luci-app-samba. Configuring luci-app-samba.
 +</code>
 +
 +Samba を起動時に自動起動するように設定。
 +
 +<code>
 +# /etc/init.d/samba enable
 +</code>
 +
 +Samba を起動。
 +
 +<code>
 +# /etc/init.d/samba start
 </code> </code>
  
行 80: 行 92:
 <code> <code>
 # smbpasswd -a username # smbpasswd -a username
-Failed to open /etc/samba/smbpasswd+New SMB password: 
 +Retype SMB password:
 </code> </code>
  
-あれ〜?エラーが出る。パスワードファイルが無いみたいだけど、一回も起動したことがないから? 
- 
-ではとりあえず一回起動してみるか。 
  
-とりえあず /etc/config/samba に設定をして+次は /etc/config/samba に設定を記述する
  
 <code> <code>
行 110: 行 120:
  
  
-Samba 起動+Samba に設定ファイルを再読み込みさせる
  
 <code> <code>
-# /etc/init.d/samba start+# /etc/init.d/samba restart
 </code> </code>
- 
-<code> 
-# smbpasswd -a username 
-New SMB password: 
-Retype SMB password: 
-</code> 
- 
-今度はパスワードの設定ができた。 
  
  
行 196: 行 198:
 </code> </code>
  
-ブート時に自動起動する。 
  
-<code> 
-# /etc/init.d/samba enable 
-</code> 
openwrt/install-samba.1384958942.txt.gz · 最終更新: 2013/11/20 23:49 by admin