Erinevus lehekülje "CDMonSol" redaktsioonide vahel

Allikas: Kursused
Mine navigeerimisribale Mine otsikasti
 
(ei näidata sama kasutaja 16 vahepealset redaktsiooni)
1. rida: 1. rida:
= Cyber Defense Monitoring Solutions -- fall semester 2014 =
+
1) Changing keyboard layout for the console window
  
== Basic Information ==
+
Edit /etc/sysconfig/keyboard and set KEYTABLE and LAYOUT variables accordingly.
 +
For example, the following settings enable US keyboard:
  
All lectures and lab sessions will be held in room ICT-401 (Akadeemia tee 15A building), on every Friday from 17:45 to 21:00.
+
KEYTABLE=us
  
The lecture of October 10 will be moved to another timeframe (to be announced by the end of September).
+
LAYOUT=us
  
During the semester, two homework assignments are given to each student. Both assignments can yield up to 20 points, thus the maximum score from homework is 40 points. During the exam, three tasks are given to each student, with each task yielding up to 20 points and the whole exam up to 60 points. The final grade for a student is derived from his/her personal score:
+
As another example, the following settings enable Estonian keyboard:
  
* score > 90 -- grade 5 (excellent)
+
KEYTABLE=et
* 80 < score ≤ 90 -- grade 4 (very good)
 
* 70 < score ≤ 80 -- grade 3 (good)
 
* 60 < score ≤ 70 -- grade 2 (satisfactory)
 
* 50 < score ≤ 60 -- grade 1 (pass)
 
* score ≤ 50 -- a student has failed to pass
 
  
= Homework assignments =
+
LAYOUT=ee
  
* Task1 -- a group work for max 3 students (to be announced).
+
The possible values for KEYTABLE variable are keymaps located in
* Task2 -- a group work for max 3 students (to be announced).
+
/lib/kbd/keymaps/i386
  
Solutions to homework assignments should be sent to the e-mail address of the lecturer (given in the title page of each slide module). Together with the solution, full names and student codes of the authors must be listed. You should consider your solution submitted only after its reception has been confirmed by the lecturer.
+
As an alternative, change the layout with the loadkeys command, for example:
  
All submitted solutions should be carefully tested final versions. Please submit the solution only once, and do not send in partial and/or untested work. It is not allowed to submit a partial solution, and use comments from the lecturer for later resubmission of improved version(s).
+
loadkeys et
  
Please note that each student can be a (co)author of only one solution (i.e., participation in more than one student group is not allowed). Also note that the list of authors can not be changed after the deadline.
+
The parameter for the loadkeys is the keymap from /lib/kbd/keymaps/i386
  
The correct solution with your score will be announced after the deadline.
+
The 'loadkeys' command sets the keymap until the next reboot
 +
 
 +
 
 +
2) if you want to run the virtual machine in bridged mode, change the MAC address of
 +
the network card (if you haven't done this already) -- otherwise there will be MAC
 +
conflicts if several virtual machines are running simultaneously
 +
 
 +
a) set network adapter mode from NAT to Bridged Adapter
 +
 
 +
b) under Advanced -> MAC Address section, regenerate the MAC
 +
 
 +
c) in /etc/udev/rules.d/70-persistent-net.rules,
 +
delete the entry for the previous MAC address and replace 'eth1' with 'eth0'
 +
in the entry for the current MAC address
 +
 
 +
d) in /etc/sysconfig/network-scripts/ifcfg-eth0,
 +
change the HWADDR for eth0 to the new MAC address, or comment out HWADDR

Viimane redaktsioon: 4. september 2014, kell 11:06

1) Changing keyboard layout for the console window

Edit /etc/sysconfig/keyboard and set KEYTABLE and LAYOUT variables accordingly. For example, the following settings enable US keyboard:

KEYTABLE=us

LAYOUT=us

As another example, the following settings enable Estonian keyboard:

KEYTABLE=et

LAYOUT=ee

The possible values for KEYTABLE variable are keymaps located in /lib/kbd/keymaps/i386

As an alternative, change the layout with the loadkeys command, for example:

loadkeys et

The parameter for the loadkeys is the keymap from /lib/kbd/keymaps/i386

The 'loadkeys' command sets the keymap until the next reboot


2) if you want to run the virtual machine in bridged mode, change the MAC address of the network card (if you haven't done this already) -- otherwise there will be MAC conflicts if several virtual machines are running simultaneously

a) set network adapter mode from NAT to Bridged Adapter

b) under Advanced -> MAC Address section, regenerate the MAC

c) in /etc/udev/rules.d/70-persistent-net.rules, delete the entry for the previous MAC address and replace 'eth1' with 'eth0' in the entry for the current MAC address

d) in /etc/sysconfig/network-scripts/ifcfg-eth0, change the HWADDR for eth0 to the new MAC address, or comment out HWADDR