5
isc-dhcp-server安装和运行问题
我试图按照Adafruit的指示将pi设置为访问点。但是,由于某种原因,sudo apt-get install isc-dhcp-server总是会失败。我看过此链接,但是在dhcpd.conf中定义了一个子网(来自Adafruit): /etc/dhcp/dhcpd.conf . . . # range 10.0.29.10 10.0.29.230; # } #} subnet 192.168.42.0 netmask 255.255.255.0 { range 192.168.42.10 192.168.42.50; option broadcast-address 192.168.42.255; option routers 192.168.42.1; default-lease-time 600; max-lease-time 7200; option domain-name "local"; option domain-name-servers 8.8.8.8, 8.8.4.4; } 当我这样做时sudo apt-get install isc-dhcp-server,我得到: Generating /etc/default/isc-dhcp-server... [FAIL] Starting ISC …