-
meena
-
VimDiesel
Title: 250681 – certctl(8) blacklisting certificates still shown as trusted
-
V_PauAmma_V
Schrödinger certificates!
-
colectora
howdy
-
dch
oh we have finally a tor browser in ports now? nice
-
pertho
wow it finally happened
-
debdrup
I know it might not be intended, but I can't help but read a sentence like the above one, where it's entirely without capitalization or punctuation, as if it's in a monotone. :D
-
rtprio
no man it's irc. it is amazing
-
rtprio
it only took 15 years
-
rtprio
much tor; many wow. very onion
-
plasma
:D
-
debdrup
I've had a custom port with it building in poudriere, but it had some pretty annoying bugs that I couldn't figure out, which is why I never really thought of publishing it.
-
debdrup
By annoying bugs I mean it'd crash pretty often
-
debdrup
A hackjob of a port with most of the lines in Makefiles et al stolen from the matching ESR
-
phryk
i recently got myself a headset that acts as usb soundcard. when plugging it in, dmesg shows a new uaudio device appearing, but when trying to use its mic in firefox, it doesn't show up.
-
phryk
i already set hw.snd.default_unit to the right device and playback works fine, for mpv as well as firefox…
-
phryk
from sndstat: pcm10: <USB audio> (play/rec) default
-
debdrup
are you starting firefox before or after plugging the device in?
-
phryk
both. i also explicitly killed pulseaudio before restarting firefox (ff implicitly starts up a new pulseaudio instance if there is none)
-
parv
Hmm. "sysrc(8)" does not allow to add a comment to the value being changed. I mean ... if I am going to add a comment to the file via an editor, why futz around with "sysrc" to do in multiple steps
-
phryk
audacity can record from the mic just fine. also i just learned about pacmd and it indeed doesn't show up in 'pacmd list-sources', so I at least know for sure it's a pulseaudio thing.
-
debdrup
If you've set hw.snd.default_unit, there's no reason to have pulseaudio running.
-
debdrup
I don't even have it installed and audio works fine.
-
V_PauAmma_V
parv, interesting suggestion. *ponder*
-
debdrup
parv: so far as I remember, sysrc is meant to be used with configuration management systems and/or to be able to set values that've been checked
-
V_PauAmma_V
(Deleting or editing comments is error-prone, though.)
-
debdrup
Custom string handling (ie. for (multi-)line comments) seems like it could add many thousands of lines of code.
-
parv
debdrup, Yeah, I understand that. For me that would be fine for some variables which are use often with same values everywhere, but not for others
-
debdrup
As an example, a thing I use sysrc for is adding modules to kld_list, ie.: sysrc kld_list+=<module>
-
parv
s/use/&d/
-
debdrup
I'm still not sure about comment handling - I don't imagine it's the sort of thing a simple shell script is good at.
-
debdrup
It's about a thousand lines of Bourne shell scripting; not exactly complex ;)
-
V_PauAmma_V
I was thinking along the lines of piping commands to ed(1), but maybe even that is too commplex.
-
debdrup
Seems like scope-creep to me, but I'm not gonna stop anyone if they want to spend time on it.
-
parv
Hey there is Lua in base
-
debdrup
True enough.
-
debdrup
..but it's private ;)
-
» V_PauAmma_V nods debdrupward.
-
debdrup
-
VimDiesel
Title: src - FreeBSD source tree
-
yuripv
is it what's spamming my dmesg now? :)
-
idwer
spam makes the world go round
-
Kit_Leopold
Hello. I would like to install a second FreeBSD system on my computer, I currently have Windows 10 operating system installed in UEFI GPT mode. I have two separate hard drives. Tell me please, where can I read about setting up two systems on one computer? Will I need to install and configure the bootloader?
-
yuripv
install freebsd on second drive, and use the builtin "select boot device" (usually f12?) menu in bios?
-
yuripv
the only problem i see is if you have secure boot enabled, freebsd does not support that (yet)
-
Kit_Leopold
yuripv: Does the FreeBSD OS bootloader support the GRUB2 bootloader functionality that allows you to boot other operating systems using the OS-Prober program?
-
yuripv
no idea about that, sorry
-
Kit_Leopold
yuripv: Thank you for your reply.
-
tsoome_
Kit_Leopold no, we only support chainloading - that is, your other OS should have its boot loader ready and configured.
-
Kit_Leopold
tsoome_: As far as I know, the Windows 10 system has its own bootloader, which does not support other operating systems. I want to understand the operating system FreeBSD loader can pass control down the chain to the Windows 10 bootloader?
-
tsoome_
I have not tested myself (I have no windows;), but chain disk0s1:/efi/.../xxx.efi should get you somewhere
-
tsoome_
from loader prompt, that is
-
tsoome_
but I do not know the file name/path on ESP from head, would need to google around a bit:D
-
Kit_Leopold
tsoome_: Is the FreeBSD bootloader configuration a simple text file? Probably then the ESP partition of Windows 10 will probably be added by yourself ...
-
tsoome_
of course, microsoft bits are in efi/microsoft tree
-
tsoome_
yes, it is text file, but freebsd version does not allow easily to add "menu" item for alternate OS, thats a bit more complicated.
-
tsoome_
anyhow, I'd suggest to test with ls and chain command first, it may be the chain command is missing something to get windows bootloader starting.
-
Kit_Leopold
tsoome_: Okay, thank you very much for your help. At the moment I'm not installing the FreeBSD operating system yet, I'm just reading and collecting all available information.
-
tsoome_
also there are other options, like use firmware boot manager, or some third party boot manager like refind
-
Kit_Leopold
tsoome_: Thank you.
-
tsoome_
yw
-
bch`
hello: I am seeing `99.93% [rand_harvestq]' constantly. I am using a Hetzner VM (AMD CPU Type). Is there some way to solve this? I tried blacklisting virtio_random.ko but this changed nothing :/
-
bch`
Hmm. looks like mv'ing virtio_random.ko away solves the issue.
-
bch`
-
VimDiesel
Title: 254513 – virtio_random: random_harvestq spinning on a CPU with Q35 virtio random device
-
dvl
Does mergemaster keep backups for stuff during merging? I ask because I messed up a merge.
-
dkeav
"It is HIGHLY recommended that you back up your /etc directory
-
dkeav
before beginning this process
-
dkeav
which mergemaster is deprecated iirc
-
dkeav
etcupdate is the preferred tool
-
tsoome_
bectl is your friend...
-
dkeav
yea, boot environments to the rescue
-
dkeav
yea looks like etcupdate keeps copies at least, and allows for dry runs
-
dvl
dkeav: Thanks, but that's not answering my question. :)
-
dvl
dkeav: And I'm doing 12.3 -> 12.4, we're using etcupdate for other stuff.
-
dvl
I wanted to check before I started looking at backups.
-
dvl
tsoome: and I use bectl often, but this is an older host, and no ZFS there.
-
dkeav
i don't recall mergemaster making backups, and perusing the man page, i don't see anything standing out about making backups other than to do it yourself before mergemaster
-
dkeav
ooh no zfs, eep
-
dvl
There is also /var/backups
-
idwer
so what in /etc/ is now tainted? are you still logged in as root somewhere?
-
tsoome
fortunately, etc is not something you can not fix....
-
tsoome
user accounts can be re-created etc...
-
dvl
I am logged in via the remote console. From what I can tell, it's only /etc/master.passwd - in the process of restoring
-
dvl
fixed. Thank you.
-
debdrup
/var/backups/ is the saviour of many a system of mine.
-
meena
I think i had a bug open for adding more stuff to backups, i should've written a patch, too, maybe
-
meena
-
VimDiesel
Title: 254051 – backup: please include /etc/rc.conf and /etc/sysctl.conf in the backup
-
dch
tsoome: refind is a great early UEFI boot loader for windows people who want a menu before their OS all load
-
idwer
hmm
-
idwer
can the freebsd lua code (that builds the boot menu) probe and present efi loaders found on every fat32(?) partition?
-
idwer
it does detect and present entries for /boot/kernel*/kernel
-
idwer
(I don't have an EFI machine to tinker with)
-
dch
idwer: IIRC you can boot freebsd off a fat32 partition like that
-
dch
not sure how far you get towards userland but I think at least kernel worked in the past
-
idwer
was more of a late response to ...kit_leopold
-
idwer
and thinking aloud
-
dch
mmmm
-
dch
so I am experimenting with sockets today, mkfifo in particular
-
dch
I'd assumed it was some sort of buffered thing
-
dch
where I can write stuff into the fifo, in advance of connecting a reader
-
dch
that appears not to be the case
-
» CrtxReavr just had a really strange experience in #linux
-
CrtxReavr
Serves me right for hanging out in there.
-
debdrup
idwer: there's no lua code that builds the boot menu; lua is used for the interpretive prompt that you drop to. The EFI loader is built using C.
-
debdrup
-
VimDiesel
Title: main.c « loader « efi « stand - src - FreeBSD source tree
-
meena
debdrup: where is that lua code?
-
debdrup
UEFI loads \EFI\BOOT\BOOTX64.EFI from a FAT(12|16|32) partition called the EFI System Partition, and from there has very little to do.
-
debdrup
-
VimDiesel
Title: lua « stand - src - FreeBSD source tree
-
debdrup
idwer: the FreeBSD standard loader can chainload any loader that it understands the filesystem of.
-
debdrup
What you're looking for, though, I think, is rEFInd.
-
CrtxReavr
When I used to build multi-boot images, I woudl always rely on the FreeBSD boot manager in the MBR, as it has one magic feature that no other boot managers seemed to have.
-
meena
CrtxReavr: you can talk about your experience in #freebsd-social, or in therapy. But #freebsd-social might be cheaper.
-
debdrup
It's the loader-of-loaders du-jour and does it properly.
-
meena
CrtxReavr: what's that magic feature?
-
debdrup
I've done a variety of things when doing multi-boot, up to and including relying on NTLDR52.
-
CrtxReavr
meena, sorry. . . cant' risk telling you. . . might be offtopic.
-
meena
can't risk that.
-
dch
just figured out why (after a couple of years of running with this config) why syslog-ng always gets grumpy about buffered messages when I'm doing maintenance
-
dch
... I'd set the mem & disk cache for 1MiB & 10MiB respectively, instead of 1GiB & 10GiB
-
dch
ffs
-
dch
maths, it bites me again
-
pertho
only a few decimal points :D
-
debdrup
What's a few orders of magnitude between friends?
-
V_PauAmma_V
What have orders of magnitude ever done for us?
-
meena
dropped lots of messages, apparently.
-
rwp
V_PauAmma_V, (me laughs) Log tables? Slide rules? Pre-digital computer calculators. :-)
-
debdrup
rwp: I think you missed a long-running joke.
-
rwp
debdrup, I saw it. I just couldn't resist adding to it!
-
lucenera
I have two 8GB Raspberry Pi4Bs. On one I currently have OpenWrt installed and it works great. I would like to use the other one to try FreeBSD as a router/firewall.
-
lucenera
I use FreeBSD on a laptop. Is there a simple guide to get started with routing over PPPoE interface?
-
lucenera
I don't need WiFi because I use powerful WiFi 6 access points and for ports I use a managed switch.
-
CrtxReavr
Um. . .
-
CrtxReavr
I associate PPPoE with DSL providers that think broadband internet is a fad.
-
CrtxReavr
So. . . your ask doesn't really compute.
-
V_PauAmma_V
lucenera, man ppp covers PPPoE. I'm not sure it counts as "simple", though. There's also
docs.freebsd.org/en/books/handbook/ppp-and-slip/#pppoe .
-
VimDiesel
Title: Chapter 29. PPP | FreeBSD Documentation Portal
-
lucenera
Thanks.
-
Kit_Leopold
Hello. I recently read Chapter 4 Installing Applications: Packages and Ports from the FreeBSD Handbook. Can you please tell me if there are any conflicts if one package is installed from Packages and another package is installed from ports? For example, install the KDE Plasma5 graphical environment from Packages, and the emacs text editor from Ports.
-
V_PauAmma_V
If you never use non-default options for ports, I think you'd get something that works. But if you do that, why use ports at all?
-
glats
hello! how can i provide support for git to clone through https. whe i run a clone shows me this error: git: 'remote-https' is not a git command. See 'git --help'.
-
Kit_Leopold
V_PauAmma_V: Thanks for the answer. I agree with you that ports should not be used for everything.
-
V_PauAmma_V
glats, are you trying to clone from a FreeBSD repository?
-
dch
Kit_Leopold: once you're comfortable with FreeBSD, you can use poudriere to build your own packages (with whatever options you desire) and let it pull in the main default packages you use without options
-
dch
but mixing ports + packages always gets people in trouble eventually
-
glats
V_PauAmma_V: no. something totally arbritary
-
glats
-
VimDiesel
Title: GitHub - sorin-ionescu/prezto: The configuration framework for Zsh
-
rwp
glats, That error message says that when you installed git that /usr/local/libexec/git-core/git-remote-https was not installed too. Which tells me this was not a FreeBSD client?
-
glats
i can't achieve this step git clone --recursive
github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
-
VimDiesel
Title: GitHub - sorin-ionescu/prezto: The configuration framework for Zsh
-
glats
rwp: i see. you got me. i'm trying hellosystem
-
rwp
Look to see if there is a package called git-http or git-https or something separately packaged.
-
glats
/usr/local/libexec/git-core is empty
-
Kit_Leopold
dch: Thanks for the answer. I will read about it.
-
glats
rwp: perfect. let me see
-
dch
lucenera: for pppoe I recommend mpd5
freshports.org/net/mpd5 |
mpd.sourceforge.net/doc5/mpd.html I use it here its faster than the one in ports
-
VimDiesel
Title: FreshPorts -- net/mpd5: Multi-link PPP daemon based on netgraph(4)
-
rwp
glats, That path would be for FreeBSD. I have never heard of helloSystem before but that will be the problem. Missing git client side components.
-
dch
Kit_Leopold: also for your dual booting question from earlier, look into refind. I use it here, very nice way to manage multiple EFI boot systems without trouble
-
glats
rwp: i see. thank for your help. i'll try to find those packges
-
dch
lucenera: also see
mmacleod.ca/2010/01/freebsd-and-multilink-ppp its old but extensive explanation
-
VimDiesel
Title: FreeBSD and Multilink PPP – mmacleod.ca
-
rwp
On GNU/Linux systems the location is more typically /usr/lib/git-core/* for those components.
-
dch
lucenera: feel free to ping me when you get further into it
-
daemon
-
VimDiesel
Title: dpaste/rsgbo (Python)
-
daemon
^ pppoe using bt fiber in the uk
-
daemon
should be a good start
-
daemon
that is mpd.conf
-
Kit_Leopold
dch: Good, I'll see what refind is. Previously, to use two operating systems on one computer, I used GRUB2.
-
dch
Kit_Leopold: its this
rodsbooks.com/refind the docs are a bit weird but it basically looks like this:
-
VimDiesel
Title: The rEFInd Boot Manager
-
lucenera
I need to configure PPPoE with VLAN tag on FTTH.
-
rwp
glats, Please don't take this as me trying to run you off but I see there is a #helloSystem channel that seems apropos. Good luck!
-
dch
- install refind to the IEFU partition
-
dch
- "bless" the new files to add it as a boot loader
-
dch
- fiddle with its relatively intuitive config file
-
dch
-
VimDiesel
Title: Snippet | IRCCloud
-
lucenera
Then I need a DHCP server for the LAN and DNS.
-
dch
^^ Kit_Leopold thats my refind config, see the grub at the bottom, and numerous freebsds
-
dch
lucenera: kea from ports is good
-
rwp
Re: refind: My HP workstation has buggy UEFI firmware and needs refind to multiboot and it works where the factory firmware does not.
-
Kit_Leopold
dch: Not a very large text file for refind settings. Thanks, I think I can figure out the setup.
-
dch
Kit_Leopold: yeah honestly the hardest part is getting your UEFI firmware to bless the the damn thing
-
debdrup
rwp: this is #freebsd, there's plenty of channels where people can get help with linux.
-
meena
Anyone here got infiniband hardware on FreeBSD?
-
meena
I'd love to see an ifconfig -a over that stuff
-
rtprio
lucenera: what do you have so far?
-
rtprio
i thought kea was a dhcp server?