¼¹ö´Â ƯÁ¤ °¹¼ö ¸¸ÅÀÇ Å¬¶óÀ̾ðÆ®¿¡ ´ëÇØ ÁغñµÈ »óÅ·Π¼³Á¤µÇ¾î¾ß ÇÑ´Ù.
/sbin/ifconfig
¸í·ÉÀ» ½ÇÇàÇÏ¿© ¾Æ·¡¿Í ºñ½ÁÇÑ °á°ú°¡ º¸Àδٸé
´ç½ÅÀÇ ·çÇÁ¹é°ú ÀÌ´õ³Ý Ä«µå´Â ¿Ã¹Ù¸£°Ô ¼³Á¤µÈ °ÍÀÌ´Ù.
[cassie@snoball cassie]$ /sbin/ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:854 errors:0 dropped:0 overruns:0 frame:0 TX packets:854 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 eth0 Link encap:Ethernet HWaddr 00:AA:00:BB:BD:09 inet addr:192.168.53.1 Bcast:192.168.53.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:190369 errors:0 dropped:0 overruns:0 frame:0 TX packets:249267 errors:0 dropped:0 overruns:0 carrier:1 collisions:4793 Interrupt:5 Base address:0x320
¸¸¾à ¾Æ´Ï¶ó¸é...
¼¹ö´Â IP ÁÖ¼Ò¸¦ ¿ä±¸Çϴ Ŭ¶óÀ̾ðÆ®µé¿¡°Ô IP ÁÖ¼Ò¸¦ ³Ñ°ÜÁØ´Ù.
/etc/dhcpd.conf
ÆÄÀÏÀº ¸ÅÄ¡µÇ´Â MAC ÁÖ¼Ò¸¦ °®°í ÀÖÀ»
°æ¿ì¿¡ IP ÁÖ¼Ò¸¦ ÇÒ´çÇØ ÁÖµµ·Ï ÇÑ´Ù. MAC ÁÖ¼Ò´Â NIC¿¡°Ô ÁÖ¾îÁö´Â À¯ÀÏÇÑ
'¼ýÀÚ'ÀÌ´Ù. ±× '¼ýÀÚ'ÀÇ ½ÃÀÛÀº Á¦Á¶¾÷ü¿¡ ±Ù°ÅÇÑ´Ù. ¸¸¾à ´ç½ÅÀÌ °¡Áø
Ä«µå¿¡ ½ºÆ¼Ä¿°¡ ºÙ¾îÀÖÁö ¾Ê´Ù¸é, epromÀ̳ª Ç÷ÎÇǷκÎÅÍ ·Ò À̹ÌÁö¸¦
Àоîµé¿©¼ ¾î¶² °á°ú°¡ ³ª¿À´ÂÁö º¸¶ó. (Ŭ¶óÀ̾ðÆ® ¼Â¾÷À» º¸¶ó.)
#/etc/dhcpd.conf subnet 192.168.35.0 netmask 255.255.255.0 { option domain-name "gundog.net"; range dynamic-bootp 192.168.35.128 192.168.35.255; default-lease-time 21600; max-lease-time 43200; } host 286 { filename "/tftpboot/kermit.nb"; hardware ethernet 00:80:c8:22:ae:de; fixed-address 192.168.35.70; } host elite { filename "/tftpboot/vmlinuz.xterm"; hardware ethernet 00:00:79:80:34:c9; fixed-address 192.168.35.23; option host-name "elite";
/etc/hosts
ÆÄÀÏÀº IP ÁÖ¼Ò¸¦ ºÐÇØÇÏ¿© È£½ºÆ®³×ÀÓÀ¸·Î
¹Ù²ãÁØ´Ù.
#etc/hosts 127.0.0.1 localhost localhost.localdomain 192.168.53.1 snoball snoball.gundog.net 192.168.53.23 elite elite.gundog.net
tftp - IP ÁÖ¼Ò¸¦ ¾òÀº ÈÄ¿¡ ´ç½ÅÀÇ Å¬¶óÀ̾ðÆ®´Â Ä¿³ÎÀ» ¿ä±¸ÇÑ´Ù. ¿©±â¼ tftp°¡ ÀÌ´õ³ÝÀ» ÅëÇØ Ä¿³ÎÀ» ¹è´ÞÇØ ÁØ´Ù.
/etc/inetd.conf
ÆÄÀÏ ¾È¿¡ ¾Æ·¡¿Í °°Àº
ÀüÇüÀûÀÎ ¶óÀÎÀÌ È°¼ºÈµÇ¾î ÀÖ´ÂÁö È®ÀÎÇ϶ó.
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot
kill -HUP "inetdÀÇ ÇÁ·Î¼¼½ºID" ¸í·ÉÀ¸·Î inetd¸¦ Àç½ÃÀÛÇ϶ó.
´ç½ÅÀº Ŭ¶óÀ̾ðÆ®¸¦ À§ÇØ NFS Áö¿ø°ú NIC µå¶óÀ̹ö°¡ Æ÷ÇÔÇÏ¿© Ä¿³ÎÀ» ÄÄÆÄÀÏ ÇؾßÇÑ´Ù. (¸ðµâ·Î ÄÄÆÄÀÏ Çؼ± ¾ÈµÈ´Ù) Root file system on NFS? ¹°À½°ú BOOTP support? ¹°À½¿¡ Yes·Î ´ë´äÇ϶ó.
Ä¿³ÎÀ» ¸¸µç ÈÄ¿¡, the Etherboot distribution ¿¡ µé¾îÀÖ´Â mknbi-linux¸¦ ½ÇÇàÇ϶ó. (mknbi ÇÁ·Î±×·¥Àº netboot/linux µð·ºÅ丮¿¡ µé¾îÀÖ´Ù) /tftpdir/"vmlinuz.xterm" À̶ó´Â À̸§À¸·Î ¸¸µç Ä¿³ÎÀ» ¼³Ä¡ÇÑ´Ù.
etherboot-4.2/doc/html/README-3.html ÆäÀÌÁö¸¦ »ìÆ캸¶ó.
´©±¸µçÁö ´ç½ÅÀÇ ÄÄÇ»ÅÍ¿¡¼ ¾Æ¹« ¼ºñ½º³ª ÇÁ·Î¼¼½ºµéÀ» ½ÇÇà½ÃÅ°µµ·Ï ÇÏ´Â °ÍÀº ¸Å¿ì ½¬¿î ÀÏÀÏÁö ¸ð¸£³ª, ¾î´À³¯ ´ç½ÅÀº ÈÄȸÇÏ°Ô µÉ °ÍÀÌ´Ù. /etc/hosts.deny¸¦ ÀÌ¿ëÇؼ Á¦ÇÑÀ» °É°í, /etc/hosts.allow¸¦ ÀÌ¿ëÇؼ ±ÇÇÑÀ» º¹±¸½Ãų ¼ö ÀÖ´Ù. ¿¹Á¦¸¦ Âü°íÇ϶ó.
#hosts.deny #hosts.allowÀÇ ¿¹¿Ü»çÇ× ÀÌ¿Ü¿¡´Â ¸ðµÎ °ÅºÎ ALL:ALL #hosts.allow #³» µµ¸ÞÀÎ ³»ÀÇ È£½ºÆ®µé°ú Áý¿¡ Àִ ȣ½ºÆ®µé¸¸ Çã¿ë ALL:LOCAL, 192.168.53. #<-- ":" µÚ¿¡ °ø¹éÀÌ ¾øÀ½À» ÁÖ¸ñ
º¸´Ù ³ôÀº ¼öÁØÀÇ º¸¾È - ´õ ¸¹Àº Á¤º¸´Â LDP-HOWTO¿¡¼ ã¾Æº¸°í etherboot¸¦ »ç¿ëÇÑ´Ù¸é ±×°ÍÀº security howto¿¡ µé¾îÀÖ´Ù.