-
bsdbandit01_
good morning everyone
-
angry_vincent
Hi.
-
rtprio
EHLO
-
kenrap
Man, how the heck I'm supposed to use emulators/wine:amd64 if I can't build my own emulators/wine:i386 since the latter is borked?
-
kenrap
Ah, `wine64` itself runs fine. Stupid me with my rubber duck debugging.
-
RhodiumToad
you're never alone with a rubber duck
-
kenrap
I'm just glad I can run the 64 bit wine separately
-
spine-o-saurus
hay what is the util to setup the tty console font again?
-
RhodiumToad
vidcontrol
-
yuripv
vidfont if you want the "ui"
-
RhodiumToad
allscreens_flags in /etc/rc.conf if you want it set on multiuser boot
-
spine-o-saurus
RhodiumToad: is that for the name of the font under /usr/share/vt/fonts ?
-
RhodiumToad
allscreens_flags="-f blah blah"
-
RhodiumToad
i.e. it invokes vidcontrol $allscreens_flags on each ttyvN device
-
spine-o-saurus
what does it mean when i try to chsh -s /usr/local/bin/someshell but it says non-standard shell
-
RhodiumToad
it's not listed in /etc/shells
-
RhodiumToad
non-root users can't set a non-standard shell
-
bsdbandit01_
good morning im trying to change the console colors during freebsd boot when running version 12 i could recompile the kernel by add the following: options options SC_PIXEL_MODE options VESA options SC_NORM_ATTR=(FG_WHITE|BG_BLACK)
-
bsdbandit01_
options SC_KERNEL_CONS_ATTR=(FG_WHITE|BG_RED) i have since upgraded to Freebsd 13.2 my question is how can i change the console colors in freebsd 13.2
-
spine-o-saurus
tmux
-
spine-o-saurus
lots of colourful customisation available
-
angry_vincent
vt colors can be set in /boot/loader.conf
-
bsdbandit01_
Hey angry_vincent does that change the color of text when FreeBSD boots up ?
-
Knogle
Hey guys, how are you doing? I am currently runing FreeBSD 13.1 as i want to build OPNsense for the same FreeBSD version as required. Unfortunately, when i install 'pkg' i can only install the newer version for 13.2 (11.9), not the older one (11.8). Is there a way to get the matching packages for FreeBSD 13.1 instead of fetching the newer ones?
-
Knogle
Or maybe some kind of downgrade to pkg 11.8? Thanks in advance!
-
dstolfa
13.1 is EOL
-
dstolfa
you should upgrade
-
Knogle
Yeah i know, unfortunately for some legacy systems i have to build using FreeBSD 13.1, is there maybe some kind of archive for old package versions?
-
dstolfa
Knogle: i'm not sure. you can always use poudriere to build the packages for you, though that might require a lot of compute power depending on what you're building
-
dstolfa
but if you plan on running this system for a while longer, then it might be the right approach as i don't anticipate 13.1-RELEASE packages to ever reappear or be updated
-
meena
don't we tag the ports tree on every release?
-
dstolfa
meena: i think ports tree is tagged, but i'm not sure if pre-built packages are available
-
meena
the DVDs contain a load of packages, from when the release was cut (so, full of CVEs by now)
-
angry_vincent
bsdbandit01_: yes
-
Knogle
Ahhh thanks a lot to both of you! I'm currently building it from the ports tree for 22.7
-
Knogle
The operation will free 34 MiB.
-
Knogle
[1/1] Deinstalling pkg-1.19.2...
-
Knogle
[1/1] Deleting files for pkg-1.19.2: 100%
-
Knogle
===> Installing for pkg-1.18.4
-
Knogle
===> Checking if pkg is already installed
-
Knogle
===> Registering installation for pkg-1.18.4
-
Knogle
Installing pkg-1.18.4...
-
Knogle
it worked, thansk guys!
-
V-T60
Hello. mount -t msdosfs /dev/da0s1 /mnt
-
V-T60
mount_msdosfs: /dev/da0s1: Invalid argument
-
V-T60
why is that so?
-
V-T60
i tried /sbin/gpart create -s MBR da0
-
V-T60
/sbin/gpart add -t fat32 da0
-
V-T60
isn't that correct?
-
isley
you would still have to format it, that only creates the partition
-
CmdLnKid
fstype /dev/da0s1
-
CmdLnKid
without the e
-
V-T60
# fstyp /dev/da0s1
-
V-T60
fstyp: /dev/da0s1: filesystem not recognized
-
V-T60
i only see mkfs.ext{2,3,4}
-
V-T60
do i need newfs_msdos?
-
CmdLnKid
i believe so
-
CmdLnKid
if thats the absolute correct disk
-
CmdLnKid
gpart show/list would reveal that for you
-
CmdLnKid
been a while since ive been down this route
-
V-T60
CmdLnKid: but what is your route?
-
CmdLnKid
I use GPT disks now for the longest time and havent created a MBR for the longest time
-
CmdLnKid
well besides usb sticks anyway but most of those are other system images that you just dd
-
spine-o-saurus
hey i cant login anymore with user account. it was set for another shell but that was uninstalled, now when I try to login it drops back out to login prompt becase the shell is not installed. then when I tried to set the shell via chsh it reports an error: entry inconsistent, pw_copy invalid argument
-
CmdLnKid
id have to manually break out a disk and run back through it with my fingers to make the brain remember
-
CmdLnKid
spine-o-saurus, pwd_mkdb /etc/master.passwd
-
CmdLnKid
then retry
-
CmdLnKid
there may be another file you will have to do that for if that doesn't procees
-
spine-o-saurus
CmdLnKid: ok thx
-
CmdLnKid
that will allow you to edit /etc/master.passwd then run that command to bring the db up-to-date and allow you to login with the changes applied which i feel is your case
-
CmdLnKid
after a chsh you will not have to run pwd_mkdb again
-
CmdLnKid
-rw------- 1 root wheel 2527 Sep 1 10:34 /etc/master.passwd
-
CmdLnKid
-rw-r--r-- 1 root wheel 40960 Sep 1 10:35 /etc/pwd.db
-
CmdLnKid
-rw------- 1 root wheel 40960 Sep 1 10:35 /etc/spwd.db
-
CmdLnKid
those (ls -l /etc/master.passwd /etc/*.db) should most of the time show similiar times that are close
-
V-T60
if i want to backup my synapse, postgresql and nginx installation, what is the best filesystem for that?
-
V-T60
is msdosfs good enough?
-
CmdLnKid
using a dd for the maybe is your best option
-
CmdLnKid
s/the/that/
-
V-T60
how is that, when i need to copy folder inside /var/lib and the target is an SD card?
-
CmdLnKid
zfs is my goto using snapshots
-
CmdLnKid
zip,rsync,dd may be your msdosfs goto
-
CmdLnKid
gzip,bzip2,xz,tar
-
V-T60
oh, good idea
-
CmdLnKid
i wouldn't put zfs on a sdcard
-
CmdLnKid
simple script to run through cron and create a archive that has a datestamp on it is at least referencable
-
V-T60
i'd check hashsums of gzip/bzip2/xz... processed archive and be sure that filesystem type choice didn't spoil anything
-
CmdLnKid
DATESTAMP="$(date "+%y%m%d.log.%H")" for instance
-
V-T60
all these msdosfs differences between fat12/16/32 and so on really blow mind
-
CmdLnKid
yeah yeah i agree
-
V-T60
with maximum file size, name
-
V-T60
amount of files
-
CmdLnKid
yeah and all that ~ stuff
-
CmdLnKid
EDIT /EDT SYS$COMMON:[SYSMGR]SYSTARTUP_VMS.COM
-
CmdLnKid
oops ignore that. bad paste ... working with opevms on x86 at the moment
-
CmdLnKid
recent newb there
-
kenrap
fat32 might be good enough. You could also use exfat for the sdcard since that bypasses the max filesize and partition size of fat32. You will need to install sysutils/fusefs-exfat and sysutils/exfat-utils though
-
tercaL
I've a FreeBSD box, nginx running as a proxy, forwarding HTTP/HTTPS requests to the nginx instance in the Jail, running on 10.0.0.3 within the OS. So, that means two nginx instances running on the server. I wonder if I could forward the 80/443 port requests DIRECTLY to the nginx in Jail, by using PF.. Any clue?
-
V_PauAmma_V
I haven't done it, but a look at pf.conf(5) hints that it may be possible, using a rdr rule for inbound packets and a nat rule for outbound packets.
-
mmlj4
tercaL: I don't see why you can't do that. Redirects are trivial with Linux, I'm sure PF ought to be able to handle it
-
scoobybejesus
definitely can. i have caddy as a reverse proxy in a jail
-
scoobybejesus
rdr pass inet proto tcp from any to any port {80, 443} -> $caddy_ip
-
siix_office
if anyone is familiar with microsoft azure desktop clients (onedrive, teams, etc.) i'm having an issue with them... when passing traffic through my freebsd router i cannot sign in to any services. here's my pf ruleset:
pastie.org/p/2TBsz2kFIf9fzX6MJzMNV2
-
VimDiesel
Title: Pastie
-
signalblue
siix_office: but other traffic works?
-
siix_office
web-based services work fine, all other web traffic seems to be flowing correctly. it's just the sign-in screens that error out when routing traffic through fbsd
-
signalblue
interesting
-
signalblue
because why would it discriminate traffic like that
-
siix_office
right
-
siix_office
oddly enough if i skip over the fbsd router straight to the CE router, then sign in, then put the fbsd router back in everything is great until the apps decide they need me to reauth
-
signalblue
i'm having the same traffic discrimination problems like this
-
siix_office
with azure desktop apps?
-
signalblue
no, my issue involves traffic not routing correctly through wireguard.
-
siix_office
local traffic or routed traffic?
-
signalblue
when my freebsd wireguard server has to communicate with devices that are local to the server, think on the same subnet, the performance is complete garbage.
-
siix_office
yeah wg is a pain sometimes to get configured
-
signalblue
so if I'm outside the network and use my laptop to connect to the wireguard server, and then start a VNC connection to another workstation, that is at 120-150Kbit/s max
-
signalblue
which makes the VNC connection completely unusable as you can imagine.
-
signalblue
-
VimDiesel
Title: Pastie
-
siix_office
try #wireguard
-
signalblue
yes or #networking
-
signalblue
will ask when I have more free time