From 60d3abc6ecdc21b4ab921d34a55b4af48690f55a Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 11 Mar 2021 18:53:14 +0100 Subject: Rewrote the whole website to get rid on a heavy theme --- content/blog/freebsd/_index.md | 5 +++++ content/blog/freebsd/activate-the-serial-console.md | 11 +++++++++++ .../freebsd/change-the-ip-address-of-a-running-jail.md | 13 +++++++++++++ content/blog/freebsd/clean-install-does-not-boot.md | 14 ++++++++++++++ 4 files changed, 43 insertions(+) create mode 100644 content/blog/freebsd/_index.md create mode 100644 content/blog/freebsd/activate-the-serial-console.md create mode 100644 content/blog/freebsd/change-the-ip-address-of-a-running-jail.md create mode 100644 content/blog/freebsd/clean-install-does-not-boot.md (limited to 'content/blog/freebsd') diff --git a/content/blog/freebsd/_index.md b/content/blog/freebsd/_index.md new file mode 100644 index 0000000..b93f302 --- /dev/null +++ b/content/blog/freebsd/_index.md @@ -0,0 +1,5 @@ +--- +title: "FreeBSD" +linkTitle: "FreeBSD" +weight: 40 +--- diff --git a/content/blog/freebsd/activate-the-serial-console.md b/content/blog/freebsd/activate-the-serial-console.md new file mode 100644 index 0000000..210bacc --- /dev/null +++ b/content/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/blog/freebsd/change-the-ip-address-of-a-running-jail.md b/content/blog/freebsd/change-the-ip-address-of-a-running-jail.md new file mode 100644 index 0000000..db1f6fe --- /dev/null +++ b/content/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/blog/freebsd/clean-install-does-not-boot.md b/content/blog/freebsd/clean-install-does-not-boot.md new file mode 100644 index 0000000..1252a28 --- /dev/null +++ b/content/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