From 6cc9d8c72a56563b6d1a12b8b441dfa9dde345e9 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 28 Apr 2020 17:29:52 +0200 Subject: Long overdue first commit with content --- content/en/blog/freebsd/_index.md | 5 +++++ content/en/blog/freebsd/activate-the-serial-console.md | 11 +++++++++++ .../freebsd/change-the-ip-address-of-a-running-jail.md | 13 +++++++++++++ content/en/blog/freebsd/clean-install-does-not-boot.md | 14 ++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 content/en/blog/freebsd/_index.md create mode 100755 content/en/blog/freebsd/activate-the-serial-console.md create mode 100755 content/en/blog/freebsd/change-the-ip-address-of-a-running-jail.md create mode 100755 content/en/blog/freebsd/clean-install-does-not-boot.md (limited to 'content/en/blog/freebsd') diff --git a/content/en/blog/freebsd/_index.md b/content/en/blog/freebsd/_index.md new file mode 100644 index 0000000..b93f302 --- /dev/null +++ b/content/en/blog/freebsd/_index.md @@ -0,0 +1,5 @@ +--- +title: "FreeBSD" +linkTitle: "FreeBSD" +weight: 40 +--- diff --git a/content/en/blog/freebsd/activate-the-serial-console.md b/content/en/blog/freebsd/activate-the-serial-console.md new file mode 100755 index 0000000..210bacc --- /dev/null +++ b/content/en/blog/freebsd/activate-the-serial-console.md @@ -0,0 +1,11 @@ +--- +title: "Activate the serial console" +linkTitle: "Activate the serial console" +date: 2018-01-03 +description: > + How to activate the serial console +--- + +Here is how to activate the serial console on a FreeBSD server : +- Append `console=“comconsole”` to `/boot/loader.conf` +- Append or update existing line with `ttyd0` in `/etc/ttys` to : `ttyd0 “/usr/libexec/getty std.9600” vt100 on secure` diff --git a/content/en/blog/freebsd/change-the-ip-address-of-a-running-jail.md b/content/en/blog/freebsd/change-the-ip-address-of-a-running-jail.md new file mode 100755 index 0000000..db1f6fe --- /dev/null +++ b/content/en/blog/freebsd/change-the-ip-address-of-a-running-jail.md @@ -0,0 +1,13 @@ +--- +title: "Change the ip address of a running jail" +linkTitle: "Change the ip address of a running jail" +date: 2018-09-25 +description: > + How to change the ip address of a running jail +--- + +Here is how to change the ip address of a running jail : + +{{< highlight sh >}} +jail -m ip4.addr=“192.168.1.87,192.168.1.88” jid=1 +{{< /highlight >}} diff --git a/content/en/blog/freebsd/clean-install-does-not-boot.md b/content/en/blog/freebsd/clean-install-does-not-boot.md new file mode 100755 index 0000000..1252a28 --- /dev/null +++ b/content/en/blog/freebsd/clean-install-does-not-boot.md @@ -0,0 +1,14 @@ +--- +title: "Clean install does not boot" +linkTitle: "Clean install does not boot" +date: 2018-01-02 +description: > + How to fix a clean install that refuses to boot +--- + +I installed a fresh FreeBSD server today, and to my surprise it refused to boot. I had to do the following from my liveUSB : + +{{< highlight yaml >}} +gpart set -a active /dev/ada0 +gpart set -a bootme -i 1 /dev/ada0 +{{< /highlight >}} -- cgit v1.2.3