[LinkStation HG] 安裝 Samba

[安裝 Samba] aptitude update aptitude upgrade aptitude install samba [設定 Samba] nano /etc/samba/smb.conf [global] # NT-Domain-Name or ...

[安裝 Samba]

  1. aptitude update
  2. aptitude upgrade
  3. aptitude install samba

[設定 Samba]

  1. nano /etc/samba/smb.conf
  2. [global]
    # NT-Domain-Name or Workgroup-Name
       workgroup = WORKGROUP
  3. # NT Description field
       server string =

    # netbios name
       netbios name = NAS-01G
       display charset = UTF8
       dos charset = CP950
       unix charset = UTF8  

    # hide the system files
    #    hide dot files = yes

    # 04/17/2004 Hank Chu : added to tune the throughput of Samba
       log level = 0
       read raw = yes
       write raw = yes
       oplocks = yes
       max xmit = 65535
       getwd cache = yes
       stat cache = no
       deadtime = 3
       hosts allow =
       hosts deny =
       security = user
       guest account = nobody
       null passwords = yes
       guest only = no
       map to guest = Bad User
       max log size = 50
       encrypt passwords = yes
    #   socket options = TCP_NODELAY
       dns proxy = no
       max connections = 10
       dfree command = "/bin/df /mnt | grep mnt | cut -b21-31,42-50"
       printcap name = /etc/printcap
       load printers = yes  
       printing = lprng  
       show add printer wizard = no  
    # ====================

  4. [printers]
  5.    comment = All Printers
       path = /mnt/spool/samba
       browseable = yes
    # Set public = yes to allow user 'guest account' to print
       guest ok = yes
       writable = yes
       printable = yes
       printing = lprng
       public = yes

       print command = /mnt/lpr -P%p -r %s ; echo "/mnt/lpr -P%p -r %s" >> /tmp/print.log
       lpq command = /mnt/lpq -P%p ; echo "/mnt/lpq -P%p" >> /tmp/print.log
       lprm command = /mnt/lprm -P%p %j ; echo "/mnt/lprm -P%p %j" >> /tmp/print.log
       lppause command = /mnt/lpc hold %p %j ; echo "/mnt/lpc hold %p %j" >> /tmp/print.log
       lpresume command = /mnt/lpc release %p %j ; echo "/mnt/lpc release %p %j" >> /tmp/print.log
       queuepause command = /mnt/lpc -P%p stop ; echo "/mnt/lpc -P%p stop" >> /tmp/print.log
       queueresume command = /mnt/lpc -P%p start ; echo "/mnt/lpc -P%p start" >> /tmp/print.log

     

  6. [Share]
  7. comment = Share to All
    path = /mnt/Share
    browseable = yes
    public = no
    Invalid users = power,guest,
    readlist =
    writelist = fjufirefox,
    directory mode = 0777
    create mask = 0777

     

[使用 Samba]

  1. 透過 Windows 存取 LS, 檔案總管即可, \\LS-ip
  2. 透過 Linux 存取 LS, smbmount '//主機名稱/Share' /mnt/samba -o codepage=cp950,iocharset=big5
名稱

2330,1,27.5G,1,快速分享,1,李宗瑞,1,抽獎,1,省思,10,研討會,6,風水,2,旅遊,4,書摘,4,健康,3,教學,13,就要醬玩,1,無痛,1,愛美,4,愛情,11,網路資源,43,懶人包,1,Adobe,7,Apollo,5,CHANEL,1,Cisco,3,Coldfusion,13,Colud Storage,1,DD-WRT,8,Dropbox,2,Dropbox 18G,1,Flash,2,Flex,44,Fon,11,Game,1,Kuso,15,Linux,88,Microsoft,13,Movie,7,Nas Server,79,Other,25,Revolution,2,SQL,4,Tip,44,Web,13,
ltr
item
fjufirefox: [LinkStation HG] 安裝 Samba
[LinkStation HG] 安裝 Samba
fjufirefox
https://fjufirefox.blogspot.com/2007/09/linkstation-hg-samba.html
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/
https://fjufirefox.blogspot.com/2007/09/linkstation-hg-samba.html
true
37845053
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy