Anonymous
i prefer to use touchpad
i switched back to linux now. if some day i wanted to go back to FreeBSD i will open a forum topic.
Anonymous
Prakash
Hi, I'm new to FreeBSD, though, tired it long back. I've a new installation with Gnome-3 and display works just OK with drm-legacy-kmod. My doubt is, if 2nd gen IGP (Sandybridge graphics) is supported in any new drm drivers? I tried drm-kmod and no display!
Andriy
Andriy
Welcome 🙃
Prakash
Prakash
I read it. And, drm-legacy-kmod seems to be the intel driver available for old IGPs.
Martha
Hi. I've installed FreeBSD on a headless raspberry, and I'd like to install a bunch of programs from pkg, minimal way. For example, I'd like to install mutt, but I don't care of libgmp. Is it possible to install a minimal mutt?
Martha
Do I need to compile my own via ports, for that to happen?
Phil
It's preferable (and easy) to use ports :
- it will adapt to your environment
- you can access to installation options
Martha
In the manpage I don't see an explicit mention to different flavours. Do you mean that the repositories have all the combination of build-time configurations for all packages? It sounds weird: it is probably a huge number of packages with weird names! :)
ɴꙩᴍᴀᴅ
Martha
I see! Thanks for the hint, I'll check!
Anonymous
Helloo
ɴꙩᴍᴀᴅ
Hi there!
aldebaran 🇮🇹
Hello!
Phil
Hello
Anonymous
İ have question. İ use unbound for dns web filtering. Unbound restart when i write rule then internet connection is gone for 20 - 60 sec. i dont want that how can i change unbound cache without restart? Or how can i use internet when unbound restarting? Someone help me?
Andriy
Anonymous
Nice thank you
Anonymous
I read somewhere in bsd-related forums not to mix the package system with the ports system...
Phil
Hi I also read that and to be honest with you I really don't know..
Phil
I had a server where I only compile from ports and works perfectly
Phil
And on my personal computer I had mix between pkg and ports it works ... The last problem that I get was a mismatch version of qt .. but I fixed it
Phil
In the end pkg will import you the compiled port entity
./pascal.sh
Phil
I think if you compile from ports for a desktop with all libraries and some program aren't lightweight like Firefox .. or some of them ask you to install lib that are useless and you must install qt for vlc,telegram and you need gtk for gimp .. so if you compile all of them I don't know how long it will take
Anonymous
Thx. Your answers seem to strengthen the point NOT to mix pkg with ports. I'll go with that.
Phil
If it's for server you can use only ports cause programs are lightweight
Anonymous
I'm considering a RasPi 4 as a FreeBSD webserver.
Phil
Yes it's cool !! Go with ports
Phil
Tips use lighttpd is optimized
Anonymous
Aha. Last couple of weeks I found out through web research, that nginx is still fastest even on the smallest machine. But the configuration for php+mariadb is quite hard to accomplish, as ngnix comes with its 'proxy logic'. I tried to separate different file types within the webserver. Not easy...
Anonymous
Tips use lighttpd is optimized
Maybe useful for the one or other: check out this inspiring website. It explains how to setup a personal website with lighttpd on a RasPi (under RasPiOS, though): https://cheapskatesguide.org/
Andriy
does pine64 is an option for fbsd?
Andriy
Martha
I'm using a setup where the / filesystem is mounted read-only: /var/ is automatically mounted in RAM. Then I've got unionfs overlays mounting a usb thumb drive (expendable) over system directories:
Martha
#!/bin/sh
set -e
if [ -z "$1" ]; then
echo >&2 "Usage $(basename "$0") directory"
exit 1
fi
if ! target_dir=$(readlink -fn "$1"); then
echo >&2 "Does not exist: $1";
exit 1
fi
(
cd "$target_dir"
find . -type d -mindepth 1 -maxdepth 1 | grep -v var
find ./var -type d -mindepth 1 -maxdepth 1
) |
while read -r path; do
path=${path#./}
[ -e "$target_dir/$path/.rw_mounted" ] || touch "$target_dir/$path/.rw_mounted"
if [ -e "/$path/.rw_mounted" ]; then
echo >&2 "/$path already mounted, skip!"
elif ! mount_unionfs /mnt/$path /$path; then
echo >&2 "failed mount_unionfs $path /$path, skip!"
fi
done
# force time synchronization
ntpd -qg
service ntpd start
# create non-existing log files
newsyslog -vC
Martha
☝️ This one I can run after bootstrap to turn it from vanilla FreeBSD to the configured system
Anonymous
Subscribed, thanks 🤝
Your answer is YES: FreeBSD does support Pine64. See: https://www.freebsd.org/where.html
Martha
Yes, the regular arm image. I'd really like one day to have my own flavour of the image, but I'm not expert enough with FreeBSD (I'm native from Linux).
The regular image was installed, then I just changed /etc/fstab to have a read-only root. Then you reboot, and you're set to go.
Martha
The whole reason why I avoid having read-write root is that the SD cards thend to wear off fast, if for example you store log files on it
Martha
I own 9000 usb disks, while I don't want to buy more SD cards.
Martha
so I consider the USB disk expendable.
Martha
Obviously I've got a (tarsnap based) backup system that backs up the configuration files that live on the USB drive.
Martha
On a system like this I can basically fool around and explore. If I misconfigure I can reboot and it's back to normal. If the hardware fails, I can restore it in a second.
Martha
Martha
Anonymous
😂
Martha
I just say that my installation runs on *one* USB disk. If that dies, I can remove it, toss it in the trash bin, insert the next usb disk, restore.
Martha
Since I've got many USB disks, I dont' care
Anonymous
Understood. That makes much sense.
Phil
Anonymous
I've also been considering tying up a USB-HDD with this RasPi4. It is definitely a very good choice, but it makes the question of a proper housing solution for the SOC more difficult.
Anonymous
Jay
Anonymous
I was able to configure it running different static websites on the same raspi. But separating php-code from html-code is a bit trickier, as it seems.
Anonymous
Currently, I get either "No input file specified." or "404 Not Found", when I try to display /var/www/php/index.php in a browser from a remote host.
Martha
Martha
'cause in that case, no, you don't have a SOC. :D You've a SOC with a KNOB
Anonymous
Martha
…a literal knob, not an acronym
Martha
:D
Anonymous
😂
Martha
But hell yeah, I'd like to use my raspberry to stream stuff to $relatives.
Like that proverbial movie that I obtained very legally. <COFF COFF>
Or simply family photos, really
Anonymous
yes - bulky then.... I meanwhile have so much IT stuff here, that 'cabling' alone is hell... 😉
Anonymous
Anonymous
But TG freedombox is pretty much dead since it came into existence. I already considered establishing a group of my own for this.... but I have no clue how much time effort this might be...
Jay
Andriy