Raspberry Pi - FreeBSD

Quelle: https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi


$ df -h
Filesystem      Size   Used  Avail Capacity iused               ifree %iused  Mounted on
/dev/disk1s1   932Gi  386Gi  542Gi    42% 1586424 9223372036853189383    0%   /
devfs          193Ki  193Ki    0Bi   100%     668                   0  100%   /dev
/dev/disk1s4   932Gi  2.0Gi  542Gi     1%       2 9223372036854775805    0%   /private/var/vm
map -hosts       0Bi    0Bi    0Bi   100%       0                   0  100%   /net
map auto_home    0Bi    0Bi    0Bi   100%       0                   0  100%   /home
/dev/disk2s1    42Mi   22Mi   21Mi    52%       0                   0  100%   /Volumes/boot
$ sudo diskutil unmount /dev/disk2s1
$ sudo dd bs=1m if=FreeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20180802-r337160.img of=/dev/disk2
1024+0 records in
1024+0 records out
1073741824 bytes transferred in 70.493435 secs (15231799 bytes/sec)
ssh freebsd@
Password for freebsd@generic: freebsd
FreeBSD 12.0-CURRENT (GENERIC) #0 r337160: Thu Aug  2 22:09:11 UTC 2018

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

Edit /etc/motd to change this login announcement.
To easily configure your installed FreeBSD use bsdconfig(8).

        -- Lars Engels <lme@FreeBSD.org>
freebsd@generic:~ %
% df -h
Filesystem                Size    Used   Avail Capacity  Mounted on
/dev/ufs/rootfs            29G    2.1G     24G     8%    /
devfs                     1.0K    1.0K      0B   100%    /dev
/dev/msdosfs/MSDOSBOOT     50M     13M     37M    26%    /boot/msdos
tmpfs                      50M    4.0K     50M     0%    /tmp

root passwort ändern (und das vom user gleich mit)

% su root
Password: root
root@generic:/home/freebsd # passwd
Changing local password for root
New Password:
Retype New Password:
root@generic:/home/freebsd # exit
freebsd@generic:~ % passwd
Changing local password for freebsd
Old Password:
New Password:
Retype New Password:
freebsd@generic:~ % 

Feste IP setzen: /etc/rc.conf

ifconfig_re0=" netmask"