You'll see from previous days (below), that I got off into the weeds trying to get fucking bullshit Debian Linux garbage fucking crap to work, so It's time to try my favorite, FreeBSD. FreeBSD does not at this time have native handling for rPi WiFi, but that can be solved easily with an external USB WiFi, so I'll do that for now, eventually hopefully will be able to remove that and use the rPi native WiFi.
On PC, FreeBSD.org, download latest image. Instructions say to use
'aarch64',
found FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img
(2-3 min
download)
Run balenaEtcher, flash micro sd card (32Gb) (about 10
mins).
Move flash card to rPi, with screen/mouse/keyboard and boot.
If it takes several mins to boot, you have a bad microSD card,
see: SD
Card system disk is super slow on Raspberry Pi 1 B+ (armv6l). Confirm with:
dmesg | grep mmcsd0
and see result:
mmcsd0: 16GB
-- note "0.4MHz", this should
be "50.0MHz".
Find another brand of MicroSD card, and start over.
Use default root:root to login and immediately:
bsdconfig
and set timezone.
passwd root
and change password.
adduser
, use your defaults, 6146.
Edit /etc/resolv.conf
:
Add search vintners.net
nameserver 205.171.3.65
Edit /etc/rc.conf
, add:
ntpdate_enable="YES"
sshd_flags="-o X11Forwarding=yes"
(Specifics at MikeL's FreeBSD howto - 14.0 Install, of course omitting Dell specific and upgrade specific stuff. Fix /etc/crontab freebsd-update; /etc/rc.conf sshd_flags X11Forwarding, ftpd_flags, ntpdate_enable; .forwards; Charlie root; /etc/group add my user to root gropup; console.info)
pkg
(do you wanna install? - yes)
pkg install xorg-minimal
(~ 4 mins)
pkg install xterm
(< 2 mins)
pkg install xload
(secs)
pkg install emacs
(~ 8 mins)
Ignore everything below, that's fucking bullshit Linux crap that won't get you there.
sudo passwd root
and set root pswdapt-get install traceroute
apt-get install emacs
apt-get install xterm
apt-get install tcsh
apt-get install csh
hostname
and dnsdomainname
are still
wrong.emacs /etc/resolvconf.conf
change to resolve_conf="NO"
.emacs /etc/resolv.conf
add:search vintners.net
nameserver 205.171.3.65 207.229.65.53
emacs /etc/hostname
and update host, do not include domain name.hostname -F /etc/hostname
emacs /etc/hosts
and add host with FQDN. There may already be a 192 prefix non-fqdn version - leave thisemacs /etc/network/interfaces.d/interfaces
(may not already exist).auto wlan0
iface wlan0 inet static
address 63.226.250.181
netmask 255.255.255.248
gateway 63.226.250.182
broadcast 63.226.250.182
dns-nameservers 205.171.3.65 207.229.65.53
emacs /etc/dhcpcd.conf
, add to end:interface wlan0
static ip_address=63.226.250.181/24
static routers=63.226.250.182
domain_name_servers=205.171.3.65 207.229.65.53
domain_search=vintners.net
ssh
- fuck it, let's try FreeBSD.