Skip to content
Snippets Groups Projects
Unverified Commit f107715c authored by anarcat's avatar anarcat
Browse files

more serial console config

parent e8ce0be9
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,39 @@ with:
See [howto/new-machine](howto/new-machine) for post-install configuration steps, then follow
[howto/new-machine-mandos](howto/new-machine-mandos) for setting up the mandos client on this host.
IMPORTANT: Do not forget the extra configuration steps, below.
### serial console
Add this to the grub config to get the serial console working, in
(say) `/etc/default/grub.d/serial.cfg`:
# enable kernel's serial console on port 1 (or 0, if you count from there)
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX console=tty0 console=ttyS0,115200n8"
# same with grub itself
GRUB_TERMINAL="serial console"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
Then enable the serial console login as well, for good measure:
systemctl enable serial-getty@ttyS0.service
systemctl start serial-getty@ttyS0.service
### initramfs boot config
TODO: figure out the best way to setup the initramfs. So far we've
dumped the IP address in `/etc/default/grub.d/local-ipaddress.cfg`
like so:
# for dropbear-initramfs because we don't have dhcp
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX ip=38.229.82.104::38.229.82.1:255.255.255.0::eth0:off"
... but it seems it's also possible to specify the IP by configuring
the initramfs itself, in `/etc/initramfs-tools/conf.d/ip`, for example
with:
echo 'IP="${ip_address}::${gateway_ip}:${netmask}:${optional_fqdn}:${interface_name}:none"'
## idrac consoles
"Consoles", in this context, are interfaces that allows you to connect
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment