# NAS 使用手冊 > https://hackmd.io/@lab409/BJyib7XJo [TOC] ## DS920+ > - 帳號為各位的英文姓名 > - solomon > - edger > - henry > - angela > - phoebe > - branko > - chofinn > - jerry > - toby > - ashley > - august > - jennifer > - lawrence > - 密碼為實驗室預設密碼: > - A********3 (第一位為大寫) ## web access goto [DS920+](https://10.22.149.6:5001/#/signin) 1. 常用的應該是 file station,也歡迎使用 synology 的其他功能 ![](https://i.imgur.com/WoHuBOg.jpg) ## SMB(cifs) access ### login with windows 1. 在 file explorer 輸入 `\\10.22.149.130` ![](https://i.imgur.com/5GzGbNP.png) 2. 輸入帳號密碼 ![](https://i.imgur.com/Gytefv4.png) 3. 進入 NAS share folder ![](https://i.imgur.com/CGzD6jo.png) ### login with ubuntu #### Pre-request 1. install cifs library `sudo apt-get install cifs-utils` #### 臨時掛載 1. `sudo mount -t cifs -o username=<YOUR NAS USERNAME>,uid=1000,gid=1000 //10.22.149.6/home <YOUR MOUNT DIR(maybe /mnt)>` #### 開機自動掛載 2. add credential: `sudo vim /etc/.smbcredentials` ``` user=<YOUR USERNAME> password=<YOUR PASSWORD> ``` 3. 設定開機自動掛載: `sudo vim /etc/fstab` ``` ## samba for campus //10.22.149.6/home <YOUR MOUNT DIR(maybe /mnt)> cifs credentials=/etc/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000 ``` 4. 測試開機自動掛載組態檔是否設定完成(若是指令沒有出錯,就代表成功): `sudo mount -a` ## rsync Access 1. 安裝 rsync `apt install rsync` 2. 備份資料夾到目的 NAS 的 home 目錄 `rsync -avzx a.cpp <YOUR NAME>@10.22.149.6:<YOUR HOME ABSOLUTE PATH>` :::info 使用 Async 時請使用 absolute path 1. 進到 file service 後,點選 properity ![](https://i.imgur.com/EoSH4gD.png) 2. location 的值為 absolute path ![](https://i.imgur.com/wE201bS.png) :::
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up