stuff/os/FreeBSD/FreeBSD_on_RPI.md
Moni Ghaoui 47aa1a3484 FC
2025-04-14 19:51:40 +02:00

94 lines
1,019 B
Markdown

# General
Default username passwords are:
```
freebsd
freebsd
```
and
```
root
root
```
```sh
ssh freebsd@192.168.1.108
```
Setup ntpd
You need to make sure that your date is close to the real time
```sh
date 202406211441
```
Set the timezone
```sh
tzsetup
```
```sh
sysrc ntpd_enable=YES
```
Set the time:
```sh
ntpdate -v -b in.pool.ntp.org
```
Start the service
```sh
service ntpd start
```
Update the system
```sh
pkg update
```
Install my favorite packages
```sh
pkg install bash sudo tmux htop neovim git bastille
```
Add "wheel" to the suoers file:
```sh
visudo
```
Change shell
```sh
chsh -s /usr/local/bin/bash
```
Add a user
```sh
adduser
```
Change the hostname
```sh
sysrc hostname="rp4-8"
```
Delete the freebsd user that comes with the standard installation:
```sh
rmuser freebsd
```
* [SSH instructions](FreeBSD_on_Lenovo_Thinkcentre.md#ssh)
* [PF instructions](FreeBSD_on_Lenovo_Thinkcentre.md#pf). Be careful, the network interface on the PI is called `genet0` not `em0`.