View previous topic :: View next topic |
Author |
Message |
toskala Advocate
Joined: 14 Dec 2002 Posts: 2080 Location: hamburg, germany
|
Posted: Sun Nov 07, 2004 10:58 am Post subject: [SOLVED] 1und1 rootserver - serielle console via ssh |
|
|
hi,
ich habe mal wieder einen rootserver gebastelt und festgestellt, dass es die möglichkeit gibt die konsole auf seriell umzuleiten welcher dann bei 1und1 auch via ssh erreichbar ist.
was muss ich denn alles einstellen, damit das unter gentoo klappt?
cheerios,
toskala _________________ adopt an unanswered post
erst denken, dann posten
Last edited by toskala on Sun Nov 07, 2004 2:17 pm; edited 1 time in total |
|
Back to top |
|
|
Gekko l33t
Joined: 29 Oct 2002 Posts: 773
|
Posted: Sun Nov 07, 2004 11:33 am Post subject: |
|
|
/sbin/agetty -L -h 19200 ttyS0 vt220 in /etc/inittab
-h = Baudrate
ttyS0 = Schnittstelle
vt220 = Terminalvariable für Loginshell
Ich habs so ähnlich für meinen Palm über usb. Hab da eine Terminalemulation für meinen Clie gefunden. Ist recht witzig. |
|
Back to top |
|
|
toskala Advocate
Joined: 14 Dec 2002 Posts: 2080 Location: hamburg, germany
|
Posted: Sun Nov 07, 2004 11:38 am Post subject: |
|
|
cool, danks
werd ich nachher gleich mal probieren wenn das viech tut _________________ adopt an unanswered post
erst denken, dann posten |
|
Back to top |
|
|
toskala Advocate
Joined: 14 Dec 2002 Posts: 2080 Location: hamburg, germany
|
Posted: Sun Nov 07, 2004 2:03 pm Post subject: |
|
|
hmm, also das scheint noch nicht zu funktionieren. aber so wichtig isses auch nicht.
laut 1und1 doku soll man das ganze so appenden:
lilo.conf:
Code: | boot=/dev/hda
root=/dev/hda1
install=/boot/boot.b
vga=normal
timeout=60
prompt
read-only
default=lxser
serial=0,57600n8
append="console=ttyS0,57600 console=tty0 panic=30"
image=/boot/vmlinuz
label=lxser
append="console=tty0 console=ttyS0,57600 panic=30"
image=/boot/vmlinuz
label=lx
image=/boot/vmlinuz.old
label=lxserold
append="console=tty0 console=ttyS0,57600 panic=30"
optional
image=/boot/vmlinuz.old
label=lxold
optional
#
EOF |
ich hab unter character devices noch den "serial console support" angeschaltet und die zeile so wie du sie beschrieben hast in die inittab gesteckt.
aber so ganz isses noch nich der wahre jakob
noch ne idee?
EDIT:
diese fehlermeldung kommt:
Code: |
Escape character is '^]'.
INIT: /etc/inittab[49]: id field too long (max 4 characters) |
_________________ adopt an unanswered post
erst denken, dann posten |
|
Back to top |
|
|
toskala Advocate
Joined: 14 Dec 2002 Posts: 2080 Location: hamburg, germany
|
Posted: Sun Nov 07, 2004 2:17 pm Post subject: |
|
|
ah, heute ist tag der nervigen typos, auch das tut jetze _________________ adopt an unanswered post
erst denken, dann posten |
|
Back to top |
|
|
Gekko l33t
Joined: 29 Oct 2002 Posts: 773
|
Posted: Mon Nov 08, 2004 9:11 am Post subject: |
|
|
Upsala, die Kernelübergabeparameter hab ich da vergessen. Ich nenne meinen aktiven kernel immer gleich und heb mir nur die configs aus. Deshalb muss ich auch nie die menu.lst vom Grub anpassen - bleibt eh immer gleich. Sorry. |
|
Back to top |
|
|
|