最後更新: 2021-09-27
目錄
- Set NIC IP
- Enable Ssh
Check Version
cat ~/version
Set NIC IP
# V9
systemctrl stop NetworkManager
ip link show
ip addr add x.x.x.x/24 dev eth0
ip route
ip route add default via x.x.x.1
echo "nameserver 8.8.8.8" > /etc/resolv.conf
Firewall
Since version 6.0.4 SystemRescueCd comes with the iptables firewall enabled to block incoming connections requests by default.
"nofirewall" boot option to stopp automatically.
# Disable Firewall
iptables -P INPUT ACCEPT
# 去除 dmesg 的 info
iptables -F LOGDROP
Enable Ssh
By default sshd is auto start.
# Allow incoming and outgoing ssh
iptables -I INPUT -p tcp --dport 22 -j ACCEPT
# Change root user password
passwd
Version
V9
V8
V7
V6
* System is now based on ArchLinux and built using archiso and its dependencies
V5
* 仍有 floppy img 的 Version