1. 配置网络
1.1 配置IP地址和子网掩码
ifconfig ethh0 192.168.1.6 netmast 255.255.0.0
1.2 启动和关闭网卡
ifconfig eth0 up
ifconfig eth0 down
注意:以上两种命令行的配置在系统重启后会失效,不能持久保存,想要持久保存采用下面的配置方法
1.3 通过修改配置文件来配置网络
编辑 /etc/network/interfaces 文件
编辑完成以后重启网络:
执行命令 service networking restart
或
/etc/init.d/networking restart
2. ssh
查看ssh服务是否启动:
sudo service sshstatus// ubuntu14.04sudo systemctl status ssh3. 防火墙
查询防火墙状态
sudo ufw status
4 查看系统/芯片信息
# 内核版本、架构、主机名uname-aLinux ATK-DLT527B5.15.147#8 SMP PREEMPT Wed Feb 11 09:12:36 CST 2026 aarch64 GNU/Linux# 仅内核版本号uname-r# 内核编译详情cat/proc/version# 登录前显示的发行版信息cat/etc/issue# CPU 型号、架构、核心数、频率、厂商cat/proc/cpuinfo# 结构化 CPU/SoC 信息lscpu# 启动日志中的 SoC 信息dmesg|grep-i"cpu|soc|machine"5 查找
# 找到所有路径里包含 bluez-alsa,且文件名为 Config.in 的文件find.-path"*/bluez-alsa/*"-name"Config.in"# 在 /etc 下找名为 passwd 的文件find/etc-name"passwd"find/etc-typef-name"*.conf"# 普通文件find.-typed-name"build*"# 目录