10.2.2 底层网络设置 – ip
ip 和先前的 ifconfig 和 route 有相同功能的命令如下:
ip link show
ip route list
ip link set eth0 down
ip addr del dev eth0 local 192.168.0.3
ip addr add dev eth0 local 192.168.0.111/24 broadcast 192.168.0.255
ip link set eth0 up
ip route add dev eth0 to 10.0.0.0/8 src 192.168.0.111 via 192.168.0.1
运行的时候使用 help 参数,能让 ip 打印出命令的语法。例如,ip link help 打印出:
Usage: ip link set DEVICE { up | down | arp { on | off } |
ACPI似乎不支持,一开始BIOS版本是A13,可以看到内核信息中有“Dell Inspiron with broken BIOS
detected. Refusing to enable the local
APIC”。升级到A14后,好像是不抱错了,可poweroff还是不能自动关闭电源。
Fn Key还没设置,debian下面可以直接安装一个包来支持,可能还需要设置一下。
可以参考这几篇文章:
http://zhouzheng.8u8.com/dell300m/linuxon300m-cs.htm
http://www.softlab.ece.ntua.gr/~amanous/Inspiron-Linux/
http://www.users.fast.net/~eclectic/debian-8600.html