tailieunhanh - Linux Server Hacks Volume Two phần 5
Nếu bạn may mắn, bạn đang tìm kiếm tại Hình 2-7 và suy nghĩ vấn đề gì vấn đề? "Tuy nhiên, nếu vncview của bạn chỉ đơn giản là bị treo hoặc chấm dứt với thông tin đóng gói các thông điệp như "vncviewer: ConnectToTcpAddr: kết nối: kết nối từ chối" hoặc "Không thể để kết nối với máy chủ VNC," không thất vọng. Những vấn đề này có thể dễ dàng giải quyết. | 163 . Configuring DHCP. When you know for sure that your machines support PXE you can move on to configuring your DHCP BOOTP server. This service will respond to the PXE broadcast coming from the target node by delivering an IP address along with the name of a boot file and the address of a host from which the boot file can be retrieved. Here s a typical entry for a target host host pxetest hardware ethernet 0 b db 95 84 d8 fixed-address next-server filename tftpboot linux-install option ntp-servers All the lines above are perfectly predictable in many environments. Only the lines in bold type are specific to what we re trying to accomplish. Once this information is delivered to the client it knows what filename to ask for and which server to ask for that file. At this point you should be able to boot the client tell it to PXE boot and see it get an IP address and report to you what that address is. In the event that you have a PXE implementation that tells you nothing you can check the DHCP server logs for confirmation. A successful DHCP request and response will look something like this in the logs Aug 9 06 05 55 livid dhcpd ID 702911 DHCPDISCOVER from 00 40 96 35 22 ff jonesy-thinkpad via Aug 9 06 05 55 livid dhcpd ID 702911 DHCPOFFER on . to 00 40 96 35 22 ff jonesy-thinkpad via . Configuring a TFTP server. Once the machine is able to get an IP address the next thing it will try to do is get its grubby RJ45 connectors on a boot file. This will be housed on a TFTP server. On many distributions a TFTP server is either included or readily available. Depending on your distribution it may or may not run out of inetd or xinetd. If it is run from xinetd you should be able to enable the service by editing etc and changing the disable option s value to no. Once that s done restarting xinetd will enable
đang nạp các trang xem trước