1. laboratorijska naloga: zagon preko omrežja / Lab assignment #1: booting over the network
Laboratorijska naloga je sestavljena iz več delov. Vsak del je vreden nekaj točk. Za maksimalno oceno morate nabrati vsaj 10 točk. Številka pred vsakim delom predstavlja število točk, ki jih lahko dobite, če del opravite.
Obvezni deli naloge so (4 točke, obvezno morate doseči vsaj 2 točki):
- 1 -
dhcp.txt- Postavite strežnik DHCP. Dodeljuje naj naslove na lokalnem omrežju. Omrežje in območje naslovov dobite tako, da poženete skripto za generiranje parametrov. - 1 -
tftp.txt- Postavite strežnik TFTP. Poskrbite, da bo stregel zagonski nalagalnik. Ime datoteke z nalagalnikom naj bo enako vašemu priimku; nadomestite črke č, ž, š, đ, ñ, i.t.d.. s c, z, s, dz, n, i.t.d. - 1 -
pxelinux.txt- Prenesite sistemski nalagalnik preko mreže in ga uspešno poženite. Nastavite zagonski nalagalnik tako, da bo prikazal neko sliko, ki si jo izberete sami. Kot dokaz fotografirajte zaslon računalnika, ki se zaganja. - 1 -
linux.txt- Nastavite Linux, da se zažene prek mreže. Operacijski sistem se mora uspešno zagnati tudi če zaganjajoči računalnik nima nobenega diska.
Dodatni deli naloge so (26 točk):
- 2 -
http.txt- Nastavite zagonski nalagalnik tako, da jedro in začetni RAM disk naloži prek HTTP. - 2 -
physical_host.txt- Preko omrežja poženite fizični računalnik. Kot dokaz fotografirajte zaslon računalnika, ki se zaganja. - 2 -
special_host.txt- Za en poseben računalnik naj zagonski nalagalnik pokaže poseben meni (lahko tudi s posebno sliko za ozadje). Naslov MAC tega posebnega računalnika vam izpiše skripta za generiranje parametrov. - 2 -
uefi.txt- Preko omrežja poženite računalnik v načinu UEFI. - 2 -
secure_boot.txt- Preko omrežja poženite računalnik v načinu UEFI, ki uporablja Secure Boot. - Za naslednjih nekaj delov mora zaganjajoči se računalnik delovati tudi, če nima nobenega diska. Z zaganjanjem različnih operacijskih sistemov lahko dobite poljubno število točk:
- 1 -
bsd.txt- Nastavite BSD, da se zažene prek mreže. - 1 -
otheros.txt- Nastavite kateri koli drug OS, da se zažene prek omrežja. - 4 -
windows.txt- Nastavi Windows XP ali novejši, da se zažene prek omrežja in da ne teče iz navideznega diska v delovnem pomnilniku (RAM disk).
- 1 -
- 1 -
image.txt- Nastavite operacijski sistem tako, da med zagonom prikaže neko sliko. - 1 -
linuxstart.txt- Nastavite operacijski sistem tako, da bo ob zagonu zagnal poljuben grafični program. - 2 -
DOSgame.txt- Nastavite računalnik tako, da zažene DOS in v DOS katero koli igrico za ta operacijski sistem. - 3 -
share.txt- Nastavite računalnik tako, da bodo datoteke uporabnikov spravljene na strežniku nekje na mreži. - 3 -
unpacked.txt- Nastavite računalnik tako, da bodo datoteke spravljene na navadnem datotečnem sistemu, ne zapakirane vsquashfsali kaj podobnega.
Vsak del opišite v ločeni datoteki. Datoteke morajo biti navadne tekstovne datoteke v kodni tabeli UTF-8:
- Če boste oddali datoteke v drugi kodni tabeli, boste izgubili 1 točko.
- Če ne boste datotek poimenovali v skladu z navodili, boste izgubili 1 točko.
- Če boste oddali datoteke, ki niso tekstovne datoteke (naprimer
.docali.pdf), boste izgubili 2 točki.
Dokazne slike spravite v majhen .jpg (manj kot 200k), in se imenujejo snapX.jpg, kjer X predstavlja zaporedno številko slike.
Datoteke z opisom svojega dela spravite v imenik report. V imenik report spravite tudi dokazne fotografije.
Nato ustvarite imenik files in vanj spravite vse nastavitvene datoteke, ki ste jih pri svojem delu spremenili.
Na koncu oba imenika zapakirajte v eno .tgz datoteko z ukazom:
tar -czf 63120145.tgz report files
kjer je 63120145 vaša vpisna številka.
Oddajte ustvarjeno .tgz datoteko.
Srečno!
The lab assignment consists of several parts. Each part is worth a few points. To get the maximum grade you must score at least 10 points. The number in front of each part represents the number of points you can get if you complete the part.
The mandatory parts of the assignment are (4 points, you must score at least 2 points):
- 1 -
dhcp.txt- Set up a DHCP server. It should assign addresses on the local network. You can get the network and address range by running the parameter generation script. - 1 -
tftp.txt- Set up a TFTP server. Make sure it serves the bootloader. The name of the bootloader file should be the same as your last name; replace the letters č, ž, š, đ, ñ, etc. with c, z, s, dz, n, etc. - 1 -
pxelinux.txt- Transfer the bootloader over the network and boot it successfully. Set the bootloader to display an image of your choice. Take a screenshot of the booting computer as proof. - 1 -
linux.txt- Set Linux to boot over the network. The operating system must boot successfully even if the booting computer has no disk.
Additional parts of the assignment are (26 points):
- 2 -
http.txt- Set the bootloader to load the kernel and initial RAM disk over HTTP. - 2 -
physical_host.txt- Boot a physical computer over the network. Take a screenshot of the booting computer as proof. - 2 -
special_host.txt- For one specific computer, the bootloader should display a special menu (possibly with a special background image). The MAC address of this particular computer is given to you by the parameter generation script. - 2 -
uefi.txt- Boot the computer in UEFI mode over the network. - 2 -
secure_boot.txt- Boot the computer in UEFI mode over the network using Secure Boot. - For the next few sections, the booting computer must work even if it has no disk. You can get any number of points by booting different operating systems:
- 1 -
bsd.txt- Set up BSD to boot over the network. - 1 -
otheros.txt- Set up any other OS to boot over the network. - 4 -
windows.txt- Set up Windows XP or later to boot over the network and not run from a virtual disk in working memory (RAM disk). - 1 -
image.txt- Set the operating system to display an image during startup. - 1 -
linuxstart.txt- Set the operating system to start any graphics program at startup. - 2 -
DOSgame.txt- Set the computer to start DOS and in DOS any game for this operating system. - 3 -
share.txt- Set the computer to store user files on a server somewhere on the network. - 3 -
unpacked.txt- Set the computer to store files on a regular file system, not packed insquashfsor something similar.
Describe each part in a separate file. The files must be plain text files in the UTF-8 code table:
- If you submit files in a different code table, you will lose 1 point.
- If you do not name the files according to the instructions, you will lose 1 point.
- If you submit files that are not text files (such as
.docor.pdf), you will lose 2 points.
Put the proof images in a small .jpg (less than 200k), and name them snapX.jpg, where X represents the consecutive number of the image.
Put the files with the description of your work in the report directory. Put the proof images in the report directory as well.
Then create a files directory and put all the configuration files that you changed in your work in it.
Finally, pack both directories into one .tgz file with the command:
tar -czf 63120145.tgz report files
where 63120145 is your registration number.
Submit the created .tgz file.
Good luck!