Installationsanleitung für T-Online Vision Box S100

Aus Zenega Wiki

Wechseln zu: Navigation, Suche

Installationsanleitung

Im Zenegauser-Forum hat dejuh diese Anleitung verfasst: http://forum.zenega-user.de/index.php?showtopic=4590&view=findpost&p=33471


Hallo zusammen,

oki dann wollen wir mal:

Ich mach das folgende grundsätzlich auf nem anderen PC!!!!!

Booten mit einer LiveCD wie Knoppix (mit 2.6er Kernel) oder SlackwareCD-1 (oder besser noch mit der Slackware 12, dann am Promt "boot: " test26.s eingeben)

Also Festplatte mit fdisk einrichten:

fdisk /dev/hda

(Das Programm fdisk erwartet hier die zu partitionierende Festplatte als Masterplatte am ersten IDE)

Partitionen laut giga_san:

/dev/hda1 boot : 64MB
/dev/hda2 swap : 256MB
/dev/hda3 /root : der Rest


Siehe auch Giga_sans Erläuterungen


Bootfähig machen!!!!! (das geht mit der Taste "a" und der Auswahl der entsprechenden Partition, die gebootet werden soll. Drückt man anschließend "p" um sich die Plattenpartitionen anzeigen zu lassen, muss ein * an der Bootpartition stehen)

fdisk wird dann mit "w" beendet, damit die Änderungen auch gespeichert werden.

Formatieren:

mkswap /dev/hda2 

und

mke2fs -j /dev/hda1 

und

mke2fs -j /dev/hda3 

Nun mounten wir:

mount /dev/hda3 /mnt 
mkdir /mnt/boot 
mount /dev/hda1 /mnt/boot 


Ich habe die Files auf einem USB-Stick Also erstellen eines Verzeichnisses für den Stick und anschließend mounten.

mkdir /usb 
mount /dev/sda1 /usb 
cd /usb 
tar xvpzf zenslack-1.0-rc35-core-0.tar.gz -C /mnt 
tar xvpzf zenslack-1.0-rc35-etc-0.tar.gz -C /mnt 
tar xvpzf zenslack-1.0-rc35-local-0.tar.gz -C /mnt 
tar xvpzf zenslack-1.0-rc35-kernel-0.tar.gz -C /mnt 

Falls gewünscht mit Teletext, Vdradmin und Noad:

tar xvpzf zenslack-1.0-rc35-patch-0.tar.gz -C /mnt 

Wenn ich Plugins selber bauen möchte dann noch: (Für diejenigen, die Zenslack auf einer S100 installieren ist dieses Paket PFLICHT um später die build.sh auszuführen.)

tar xvpzf zenslack-1.0-rc35-src-0.tar.gz -C /mnt 

Und die ganzen Manpages (Hilfeseiten)

tar xvpzf zenslack-1.0-rc35-doc-0.tar.gz -C /mnt 


Zum Schluss wichtig, den Bootloader installieren!!!!:

Folgender Weg geht nur, mit einem Kernel 2.6.x gebootet wurde:

chroot /mnt
/sbin/lilo -r / 
exit

Ansonsten sollte

/mnt/sbin/lilo -r /mnt

auch gehen.

(Wenn die Festplatte nach "/mnt" gemountet ist) (Dank an zedthefreak für den Hinnweis)



Root-Passwort ist: smt

Samba-User ist: 'zen' Passwort: 'zen'


Wenn nicht alles geht:

Es fehlt zum Beispiel die schließende geschfeifte Klammer In der /etc/rc.d/rc.local steht in zeile 38:

if [ ${ZS_S100_BLINK == yes ]; then

und es sollte sein:

if [ ${ZS_S100_BLINK} == yes ]; then 

Nach einem Neustart loggt man sich als Benutzer: root mit dem Passwort: smt ein.

Anschließend die /etc/zenslack/zen-config editieren und mit

/etc/zenslack/setconfig.sh 

die Änderungen übernehmen.

Man kann dazu den Midnightcommander starten mit dem Befehl:

mc

Als ersten Eintrag in der Verzeichnisliste steht ".." wenn Du darauf gehst und Enter drückst, kommst Du ein Verzeichnis zurück. Wenn Du kein ".." mehr findest, auch wenn Du mit den Pfeiltasten gaaaaaaanz nach oben gegangen bist, befindest Du Dich an der sogenanten Wurzel. Man schreibt das auch / also "Schräger rechts" Öffne nun die Datei /etc/zenslack/zen-config (gehe mit der Markierung auf die Datei und drücke F4 zum Bearbeiten)

Hier kannst Du Dich entscheiden, welche Box Du hast. Ersetze SMT mit S100. Du findest auch noch viele weitere Punkte, die Du für Dein Netzwerk ändern kannst. Wenn Du alles passend eingestellt hast, Speichere Deine Änderungen mit F2 ab und verlasse den Editor mit F10. Verlasse den Midnightcommander mit F10 führe die Datei setconfig.sh aus. Das geht so:

root@SMT-7020S:/etc/zenslack# /etc/zenslack/setconfig.sh

Soll die Box auch ins Internet können und nicht per DHCP konfiguriert werden, muss auch in der Datei /etc/resolv.conf ein DNS-Server eingetragen werden.

100 und S101CI (Zenega) müssen noch in /usr/src/zslack-dev/X11 die build.sh starten.

cd /usr/src/zslack-dev/X11 
./build.sh

SMT-USER:

Hinnweis!!! (Dank an Ronja) Wenn kein TV-Bild,kann sein das du noch ne config datei ändern mußt

vi /etc/rc.d/rc.modules 

in der allerletzten zeile steht: /sbin/modprobe cx88-dvb fuege mal vor die letzte moch eine ein:

modprobe cx88xx card=57 



Son nun Festplatte in SMT rein und dann sollte es tun Grüße Dejuh



English version:

MMS starts via /etc/zenslack/runmms.sh you can edit the file to run mms in english (just delete the locale in front of mms).

You can install Zenslack on either your destination system (S100 or Zenega) or on a different system. In both ways you need a running linux system. You can start your favorite linux live cd (knoppix or even slackware >=10.2).

Ensure that the harddisk/USB-Stick is NOT mountet, befor creating the partitions. All data on your harddrive will get lost when you proceed as follows as user root: if your installation destination is a harddrive connectet as primary - master:

[code]fdisk /dev/hda[/code]

Partitions as giga_san recommends:

/dev/hda1 boot : 64MB Type: linux /dev/hda2 swap : 256MB Type: linux swap /dev/hda3 /root : the rest

Don't forget to make the boot-partition (hda1) bootable. Use key "a" to toggle bootflag.

Quit fdisk with key "w". this will write the changes to the harddisk.

Now you'll have to format the partitions. Depending on the filesystems entered in the file /etc/fstab . For example: [code]mkswap /dev/hda2 [/code] for the swap partition.

[code]mkreiserfs /dev/hda1[/code] for your boot partition to be formattet as reiser file system (reiserfs).

[code]mke2fs /dev/hda3[/code] to format the rest of the harddrive as extended 2 file system (ext2).

My fstab has entries like this: [code]root@zenslack:~# cat /etc/fstab /dev/hda2 / reiserfs defaults,noatime 1 1 /dev/hda1 swap swap pri=42 0 0 [/code] So you'll better have a look at the /etc/fstab of the system you want to install and maybe chang it to the filesystems you've choosen to format your partitions with.

Then you can mount the root partition: [code]mount /dev/hda3 /mnt [/code] and make a boot directory: [code]mkdir /mnt/boot [/code] then mount the boot partition to the boot directory: [code]mount /dev/hda1 /mnt/boot [/code]

Depending on where you've got your zenslack-tarfiles you have to mount it as well. I have a USB-Harddrive and do it like this: first I make a directory, where I can mount the USB-Harddrive: [code]mkdir /usb [/code] Then I mount it: [code]mount /dev/sda1 /usb[/code] cd into the directory: [code]cd /usb[/code]

Now you can extract the Zenslack-tarfiles to your Harddrive: [code]tar xvpzf zenslack-1.0-rc35-core-0.tar.gz -C /mnt tar xvpzf zenslack-1.0-rc35-etc-0.tar.gz -C /mnt tar xvpzf zenslack-1.0-rc35-local-0.tar.gz -C /mnt tar xvpzf zenslack-1.0-rc35-kernel-0.tar.gz -C /mnt [/code] and so on.

Don't forget to edit the /mnt/etc/fstab. Your Livecd should have vi, nano or mc or whatever to edit it.

Then you should bring the bootloader on your harddrive: [code]/mnt/sbin/lilo -r /mnt[/code] this will user the lilo bootloader included in zenslack.

(I prefer booting with a kernel 2.6.x and "chroot /mnt" followed by "/sbin/lilo -r /" and "exit" to bring the bootloader on the harddrive. With slackware 10.2 CD you can enter test2.6 at the boot-promt to boot a 2.6.17.6-kernel)

Root password is smt. For samba use user:zen, password:zen.

In the file /mnt/etc/rc.d/rc.local in line 38: change from:

if [ ${ZS_S100_BLINK == yes ]; then


to

if [ ${ZS_S100_BLINK} == yes ]; then


Then you can try to boot it in you S100/Zenega.

Log into zenslack as root and edit the file /etc/zenslack/zen-config to your needs. Don't forget the gateway at the end of the file, this should be your router IP. Also have a look at the /etc/resolv.conf and enter your nameserver there if you want the box to connect to the internet.

nameserver 194.25.2.129
search localdomain


All changes are applied by issuing

/etc/zenslack/setconfig.sh 

at the console. Reboot and have fun!

Sorry for my poor english ... :oops: hope you understand what try to say/translate

Persönliche Werkzeuge