Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
wartung20152016 [2015/10/08 09:37] admin |
wartung20152016 [2015/12/03 15:47] admin [USB] |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Wartung 2015/2016 ====== | ====== Wartung 2015/2016 ====== | ||
- | | ||
*[[http://peer.st/dw/doku.php?id=wartungsarbeiten_zu_schulbeginn|Wartung 2015/2016]] | *[[http://peer.st/dw/doku.php?id=wartungsarbeiten_zu_schulbeginn|Wartung 2015/2016]] | ||
- | *[[http://peer.st/dw/doku.php?id=wartungsarbeiten_zu_schulbeginn|Externer Link]] | + | * [[http://bgweiz.at/hw/doku.php?id=netzwerk|Neues Verwaltungnetz + IP-Telefonie]] |
- | + | ||
- | * Neues Verwaltungnetz + IP-Telefonie | + | |
* Providerwechsel: UPC 8/8 -> A1 16/16 | * Providerwechsel: UPC 8/8 -> A1 16/16 | ||
Zeile 14: | Zeile 11: | ||
* Scannen via Lehrerkopierer -> Kozi1 und Kozi2 | * Scannen via Lehrerkopierer -> Kozi1 und Kozi2 | ||
- | * | + | * Neuer PC für Frau Paier |
- | + | * Umstellung von lokalem [[http://www.intercom.at/iso.htm|ISO]] auf ISO via Citrix - erledigt | |
+ | * timeCard -offen | ||
+ | * Scanner installieren - offen | ||
+ | |||
+ | * Beamerwartung? | ||
+ | |||
+ | * 40 gebrauchte PCs - geschenkt | ||
+ | |||
+ | * Neue Notebooks, PCs und Bildschirme von [[http://www.afbshop.at/|AfBshop]] für die Klassen | ||
+ | |||
+ | * Littera | ||
+ | |||
+ | * support@bgweiz.at | ||
+ | |||
+ | * ECDL | ||
+ | |||
+ | * Zusammenarbeit | ||
+ | |||
+ | ==== vlizedlab und DVD Laufwerk ==== | ||
+ | |||
+ | <code ini /etc/apt/sources.list> | ||
+ | deb http://ftp.at.debian.org/debian/ squeeze main contrib non-free | ||
+ | deb http://ftp.at.debian.org/debian/ wheezy main contrib non-free | ||
+ | deb http://ftp.at.debian.org/debian/ sid main contrib non-free | ||
+ | |||
+ | deb http://security.debian.org/ squeeze/updates main contrib non-free | ||
+ | deb http://ftp.at.debian.org/debian/ squeeze-proposed-updates main contrib non-free | ||
+ | deb http://ftp.at.debian.org/debian/ squeeze-updates main contrib non-free | ||
+ | deb http://ftp.at.debian.org/debian/ wheezy-proposed-updates main contrib non-free | ||
+ | |||
+ | # Backports repository | ||
+ | deb http://ftp.debian.org/debian wheezy-backports main contrib non-free | ||
+ | |||
+ | ####### Roberts Repo | ||
+ | deb http://debutil.the-m.at/ unstable main | ||
+ | |||
+ | ### Multimedia | ||
+ | deb http://www.deb-multimedia.org stable main non-free | ||
+ | |||
+ | ####### VirtualBox | ||
+ | deb http://download.virtualbox.org/virtualbox/debian wheezy contrib | ||
+ | deb http://download.virtualbox.org/virtualbox/debian squeeze contrib | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | gpg --keyserver pgp.mit.edu --recv-keys 7638D0442B90D010 | ||
+ | gpg --armor --export 7638D0442B90D010 | apt-key add - | ||
+ | gpg --keyserver pgp.mit.edu --recv-keys 5C808C2B65558117 | ||
+ | gpg --armor --export 5C808C2B65558117 | apt-key add - | ||
+ | apt-get update | ||
+ | |||
+ | apt-get install firmware-ralink firmware-realtek libdvdread4 libdvdcss2 multipath-tools locales lsb-release | ||
+ | </code> | ||
+ | |||
+ | <code ini /etc/group> | ||
+ | ... | ||
+ | cdrom:x:24:student | ||
+ | audio:x:29:student | ||
+ | vboxusers:x:106:student | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | <code ini /vm/vb/Windows7/init.add.sh> | ||
+ | ... | ||
+ | VBoxManage --nologo storageattach $MACHINE --storagectl C$MACHINE --port 2 --device 0 \ | ||
+ | --type dvddrive --medium host:/dev/sr0 --passthrough on | ||
+ | |||
+ | # Nach jeder Änderung: | ||
+ | # killall VirtualBox; vlinitvbox | ||
+ | </code> | ||
+ | |||
+ | wget http://download.virtualbox.org/virtualbox/4.2.18/Oracle_VM_VirtualBox_Extension_Pack-4.2.18.vbox-extpack | ||
+ | VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.2.18.vbox-extpack | ||
+ | |||
+ | |||
+ | |||
+ | ==== USB ==== | ||
+ | |||
+ | *Dienst deaktivieren | ||
+ | <code bash /home/student/.xinitrc> | ||
+ | ... | ||
+ | # ( sleep 4 && ( devmon --no-gui --sync --mount-options "noexec,nosuid,noatime,uid=1000,gid=1000,umask=002" 2>&1 | logger -t devmon ) ) & | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | *Sektion mit USB einbauen | ||
+ | *Beamer oder nur Notebook (LVDS kann auch anders heißen!) | ||
+ | *Suche als "student" Benutzer via DISPLAY=:0 xrandr -q | ||
+ | |||
+ | <code bash /usr/share/vlizedlab/scripts/startmenustudent> | ||
+ | ... | ||
+ | MENU="$MENU u USB b Beamer kb nur_Notebook x xterm t Beenden" | ||
+ | |||
+ | # u) | ||
+ | # clear | ||
+ | # devmon --unmount-all | ||
+ | # sleep 2 | ||
+ | # ;; | ||
+ | u) | ||
+ | clear | ||
+ | /usr/local/bin/getusb.sh | ||
+ | sleep 2 | ||
+ | ;; | ||
+ | b) | ||
+ | clear | ||
+ | killall ion3 | ||
+ | DISPLAY=:0 xrandr --output LVDS1 --mode 1024x768 --output VGA1 --mode 1024x768 | ||
+ | DISPLAY=:0 ion3 & | ||
+ | sleep 2 | ||
+ | ;; | ||
+ | kb) | ||
+ | clear | ||
+ | killall ion3 | ||
+ | DISPLAY=:0 xrandr --output LVDS1 --auto --output VGA1 --off | ||
+ | DISPLAY=:0 ion3 & | ||
+ | sleep 2 | ||
+ | ;; | ||
+ | ... | ||
+ | </code> | ||
+ | |||
+ | <code bash /usr/local/bin/getusb.sh> | ||
+ | |||
+ | #!/bin/bash | ||
+ | |||
+ | test -d /tmp/vbusb && rm -rf /tmp/vbusb | ||
+ | mkdir /tmp/vbusb | ||
+ | VBoxManage list usbhost | awk -v RS="" '{print $0 > "/tmp/vbusb/"$2".txt"}' | ||
+ | test -f /tmp/vbusb/USB.txt && rm /tmp/vbusb/USB.txt | ||
+ | |||
+ | grep -l -R -I -Z -i mouse /tmp/vbusb/*.txt | xargs -0 rm -f -- | ||
+ | grep -l -R -I -Z -i "hp webcam" /tmp/vbusb/*.txt | xargs -0 rm -f -- | ||
+ | |||
+ | for usb in $(ls -m1 /tmp/vbusb/); do | ||
+ | usbdevice=$(echo $usb | cut -d"." -f1) | ||
+ | VBoxManage controlvm Windows7 usbattach "$usbdevice" | ||
+ | done | ||
+ | |||
+ | test -d /tmp/vbusb && rm -rf /tmp/vbusb | ||
+ | </code> | ||
+ | |||
+ | chmod 755 /usr/local/bin/getusb.sh | ||
+ | |||
+ | *Zeile mit usbehci ergänzen: | ||
+ | <code ini /vm/vb/Windows7/init.add.sh> | ||
+ | |||
+ | VBoxManage --nologo modifyvm $MACHINE --ostype "Windows7" | ||
+ | VBoxManage --nologo modifyvm $MACHINE --nictype1 "82540EM" --audiocontroller hda | ||
+ | VBoxManage --nologo storagectl $MACHINE --name C$MACHINE --add sata --controller IntelAHCI --hostiocache on | ||
+ | #VBoxManage --nologo sharedfolder add $MACHINE --name media --hostpath /media --automount | ||
+ | |||
+ | VBoxManage modifyvm $MACHINE --usb on --usbehci on | ||
+ | |||
+ | # Standard-Modus | ||
+ | mtyp="immutable" | ||
+ | # Administrator-Modus | ||
+ | #mtyp="normal" | ||
+ | |||
+ | VBoxManage --nologo storageattach $MACHINE --storagectl C$MACHINE --port 1 --device 0 \ | ||
+ | --type hdd --medium $MACHINEDIR/$MACHINE.vdi --mtype $mtyp | ||
+ | |||
+ | #VBoxManage --nologo storageattach $MACHINE --storagectl C$MACHINE --port 1 --device 0 \ | ||
+ | # --type dvddrive --medium $MACHINEDIR/Windows7_AIO.iso | ||
+ | |||
+ | VBoxManage --nologo storageattach $MACHINE --storagectl C$MACHINE --port 2 --device 0 \ | ||
+ | --type dvddrive --medium host:/dev/sr0 --passthrough on | ||
+ | |||
+ | # Nach jeder Änderung: | ||
+ | # killall VirtualBox; vlinitvbox | ||
+ | </code> | ||
+ | |||
+ | *reboot |