檢查服務、元件及目前載入的核心模組
lsmod
檢查網路
iwconfig
檢查藍芽
hciconfig
藍芽驅動
apt-cache show pi-bluetooth
設定系統自動校時
sudo timedatectl set-ntp yes
檢查時間設定
timedatectl
檢查服務、元件及目前載入的核心模組
lsmod
檢查網路
iwconfig
檢查藍芽
hciconfig
藍芽驅動
apt-cache show pi-bluetooth
設定系統自動校時
sudo timedatectl set-ntp yes
檢查時間設定
timedatectl
轉貼的rtorrent教學
常用熱鍵
- 方向鍵 : ↑,↓,←,→
- Torrent 開始下載 : Ctrl + S (Screen下用法為: Ctrl+ a + s)
- Torrent 暫停下載 : Ctrl + D
- Torrent 停止下載 : Ctrl + K
- 清除Torrent下載列表 : [法1] 在停止狀態使用Ctrl + D [法2] 在下載完成連續執行 Ctrl+D 二次
- 限定最大上傳速度 : [增加]a / s / d [減少] z / x /c
- check file hash : Ctrl + R
- 離開rtorrent程式 : Ctrl+ q (Screen下用法為 : Ctrl+ a + q)
List Samba Users : # sudo pdbedit -L (-v)
Add Samba User : # sudo smbpasswd -a username
Delete Samba User : # sudo smbpasswd -x username
Set Samba User Password : # sudo smbpasswd username
Samba Database : /var/lib/samba/*.tdb
依序編輯/etc/sysconfig/network-scripts/ifcfg-eth0、ifcfg-eth1….檔案
內容依照各網卡的網段填寫,例如:
/etc/sysconfig/network-scripts/ifcfg-eth0內容:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.0.0.11
NETMASK=255.255.255.0
GATEWAY=10.0.0.254
/etc/sysconfig/network-scripts/ifcfg-eth1內容:
DEVICE=eth1
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.0.100.11
NETMASK=255.255.255.0
GATEWAY=10.0.100.254
重新啟動網路或重開機後,觀察route table:
# route