From 53e0cdb2e93e8036c52c2a099907fe1d6678b5cb Mon Sep 17 00:00:00 2001 From: "dr6784@student.uni-lj.si" Date: Thu, 24 Sep 2015 15:55:13 +0000 Subject: =?UTF-8?q?Popravljena=20angle=C5=A1ka=20in=20slovenska=20navodila?= =?UTF-8?q?,=20dodana=20navodila=20za=20uporabo=20kpov=5Fjudge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@331 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/set_motd/howtos/en/index.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'kpov_judge/tasks/set_motd/howtos/en') diff --git a/kpov_judge/tasks/set_motd/howtos/en/index.html b/kpov_judge/tasks/set_motd/howtos/en/index.html index 0b2b971..41c8b19 100644 --- a/kpov_judge/tasks/set_motd/howtos/en/index.html +++ b/kpov_judge/tasks/set_motd/howtos/en/index.html @@ -5,12 +5,16 @@
  • Change the network settings to both virtual machines. SimpleArbiterDhcpGw: Adapter 1 set it to NAT, for internet access and Adapter 2 to internal network for local network. Student: Adapter1 set it to "internal-network" so it is in the same domestic network as SimpleArbiterDhcpGw.


  • Login into Student
  • -
  • In Student(student-console) create a new user, marjankoral19, with a custom password.
  • -
  • Set the IP address to Student, - you can also do this manualy (ip: 172.23.192.3)
  • -
  • Then edit the /etc/motd, file with the specified string. "Not for Human consumption"
  • +
  • In Student(student-console) create a new user,as the task demands of you ( eg. marjankoral19 ), with a custom password.
  • +
  • In Student(student-console) open interfaces file ( nano /etc/network/interfaces ) and set the IP
  • +
  • We can check which interface belongs to which adapter in Virtual-box with MAC address. Run ifconfig command and compare the HWaddr value with the value in the Virtual-box ( settings => network => adapter => Mac address )
  • +
  • Then edit the /etc/motd, file with the specified string. (eg. "Not for Human consumption" )
  • For testing login with the test user into Test(SimpleArbiterDhcpGw)
  • Then connect to Student with ssh using the user marjankoral19 - ssh marjankoral@ip.
  • -
  • If login successful the Message of the day should apear.
  • +
  • If the login was successful, the Message of the day should apear.
  • +
  • +
  • To run Kpov_judge, login onto SimpleArbiterDhcpGw, find and run the file test_task.py ( with ./test_task.py as all other scripts )
  • +
  • A window appears as we can see on the image above, then press Enter, enter your username ( eg. dr6784@student.uni-lj.si ), password, task name (eg. 01-preparation-set_motd), enter the string we should get in motd, enter the username and password of a user on Student(student-console)(eg. marjankoral19), the IP of Student(student-console), and after a brief moment we should get the result.
  • ======= -- cgit v1.2.1