Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
f107715c
Unverified
Commit
f107715c
authored
4 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
more serial console config
parent
e8ce0be9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/new-machine-cymru.md
+33
-0
33 additions, 0 deletions
howto/new-machine-cymru.md
with
33 additions
and
0 deletions
howto/new-machine-cymru.md
+
33
−
0
View file @
f107715c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment