8.1.2.2. PC 設定
WiFi Hotspot 熱點
1. 點擊系統匣右下角的 “Network” 圖標,然後選擇 “Edit Connections...”。
2. 在 “Network Connections” 窗口中,點擊 “Add” 按鈕。
3. 在 “Choose a Connection Type” 窗口中,從 “Hardware” 組中選擇 “Wi-Fi”。
4. 點擊 Create...按鈕。
5. 在新窗口中將連接名稱修改為 “OP3-Hotspot”。
6. 在 Wi-Fi 分頁中將 SSID 更改為 “ROBOTIS-OP3-share”。
7. 選擇 “Hotspot Mode”,然後點擊 “Save” 按鈕。
8. 關閉 “Network Connections”窗口。
9. 點擊系統匣右下角的 “Network” 圖標,然後選擇 “Connect to Hidden Wi-Fi Network...”。
10. 在 "Hidden Wi-Fi network" 中為連接選擇 "OP3-Hotspot",然後點擊 "Connect" 按鈕。
其他設定
1. 增加當前用戶群組的實時排程優先度(rtprio)
$ sudo bash -c 'echo "@robotis - rtprio 99" > /etc/security/limits.d/robotis-rtprio.conf'
2. 將用戶添加到適當的群組
$ sudo usermod -aG dialout robotis
伺服器設定
openssh 安裝
$ sudo apt install openssh-server
桌面分享
打開 terminal 終端視窗。
使用 $ sudo apt install dconf-editor 指令安裝 dconf-editor。
使用 $ dconf-editor 指令運行編輯器。
轉到 org - > gnome - > desktop - > remote-access 並取消勾選 require-encryption
執行 $ vino-preferences
在 “Desktop Sharing Preferences” 窗口的 “Sharing” 部分中,套用以下內容
勾選 Allow other users to view your desktop 選項。
勾選 Allow other users to control your desktop 選項。
在 “Security” 部分中,套用以下內容
取消勾選 You must confirm each access to this machine 權限。
勾選 Require the user to enter this password 選項,並輸入 111111。
點擊 Close 按鈕
重新啟動系統。
Samba
1. 安裝
$ sudo apt install samba samba-common python-glade2 system-config-samba
2. 設定
$ sudo touch /etc/libuser.conf
$ sudo system-config-samba
轉到 Preferences -> Samba Users…
點擊 Add User 按鈕
選擇 Unix 用戶名(例如:robotis)
輸入 Windows 用戶名(例如:robotis)
輸入密碼(例如:111111)
點擊 Add Share 按鈕
在 Basic 分頁
輸入 / 到目錄
勾選 Writable / Visible 選項為 on
在 Access 分頁
選擇 Only allow access to specific users
選擇 samba user
Apache (用於 web_setting_tool)
1. 安裝 web server(APACHE2)
$ sudo apt install apache2
2. 從 Web 瀏覽器中檢查預設頁面(http://10.42.0.1)
Last updated
Was this helpful?