aboutsummaryrefslogtreecommitdiff
path: root/content/blog/freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'content/blog/freebsd')
-rw-r--r--content/blog/freebsd/_index.md5
-rw-r--r--content/blog/freebsd/activate-the-serial-console.md11
-rw-r--r--content/blog/freebsd/change-the-ip-address-of-a-running-jail.md13
-rw-r--r--content/blog/freebsd/clean-install-does-not-boot.md14
4 files changed, 43 insertions, 0 deletions
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 >}}