使用道具 举报
eth0 Link encap:Ethernet HWaddr 00:10:5C:C8:61:31 inet addr:192.168.0.144 Bcast:192.168.0.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:179 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:13645 (13.3 Kb) TX bytes:0 (0.0 b) Interrupt:11 Base address:0xec00 lo Link encapocal Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
# # /etc/resolv.conf # #search <yourdomain.tld> nameserver 192.168.0.1 # End of file
Post by 周周 [color="Red"]ifconfig [color="Red"]route -n [color="Red"]resolv.conf
Post by LaoLang_cool 在rc.conf中设置dhcp,是不是相当于开机读取conf.d中的dhcpcd的参数,然后dhcpcd以之为参数自动运行。如果不是,那我怎么才能做到这样呢?
本版积分规则 发表回复 回帖后跳转到最后一页