Loading…
None
String updated in the repository |
Things to check
Source string description
Tag: paraFlags
ignore-newline-count, ignore-same, ignore-translated, no-c-format
Loading…
None
String updated in the repository |
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120
</screen></informalexample> Now, you must create an <filename>/etc/bootptab</filename> file. This has the same sort of familiar and cryptic format as the good old BSD <filename>printcap</filename>, <filename>termcap</filename>, and <filename>disktab</filename> files. See the <filename>bootptab</filename> manual page for more information. For CMU <command>bootpd</command>, you will need to know the hardware (MAC) address of the client. Here is an example <filename>/etc/bootptab</filename>: <informalexample><screen>
client:\
hd=/tftpboot:\
bf=tftpboot.img:\
ip=192.168.1.90:\
sm=255.255.255.0:\
sa=192.168.1.1:\
ha=0123456789AB:
</screen></informalexample> You will need to change at least the <quote>ha</quote> option, which specifies the hardware address of the client. The <quote>bf</quote> option specifies the file a client should retrieve via TFTP; see <xref linkend="tftp-images"/> for more details.
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120
</screen></informalexample> 現在,您必須建立一個 <filename>/etc/bootptab</filename> 檔案。它具有和一些老 BSD 檔案相似並使用相同的加密格式。這些檔案包括 <filename>printcap</filename>、<filename>termcap</filename>,和 <filename>disktab</filename>。請參閱 <filename>bootptab</filename> 的手冊以獲得更多的資訊。對於 CMU <command>bootpd</command>,您將需要知道客戶端硬的體 (MAC) 位址。這裡有一個範例 <filename>/etc/bootptab</filename>: <informalexample><screen>
client:\\n hd=/tftpboot:\\n bf=tftpboot.img:\\n ip=192.168.1.90:\\n sm=255.255.255.0:\\n sa=192.168.1.1:\\n ha=0123456789AB:
</screen></informalexample> 您至少需要修改 <quote>ha</quote> 選項,它指定了客戶端的硬體地址。<quote>bf</quote> 選項則指定了一個客戶端應該透過 TFTP 取得的檔案名稱。請從 <xref linkend="tftp-images"/> 處取得更多的資訊。 <phrase arch="mips"> 在 SGI Indys 上,您可以僅僅只是進入指令監視器然後輸入 <userinput>printenv</userinput>。 <userinput>eaddr</userinput> 的值就是機器的 MAC 位址。 </phrase>