-
MelMalik
that question is so vague it doesn't even make sense Chip1972
-
Chip1972
I manually installed freebsd in ada0s1, but the vm dont boot
-
MelMalik
the VM uses what kind of early initialization, EFI or BIOS?
-
Chip1972
ada0 is mbr
-
MelMalik
that does not answer my question
-
MelMalik
the VM, uses an EFI, or a BIOS?
-
Chip1972
normal installation boot nornmally
-
Chip1972
never used efi
-
MelMalik
okay, I'll change tack
-
MelMalik
how did you start the VM on the computer that's hosting it? what program did you use?
-
Chip1972
virt-manager libvirt
-
MelMalik
and
-
MelMalik
what operating system were you running libvirt on
-
Chip1972
linux
-
MelMalik
qemu on linux supports both seabios (a BIOS) and tianocore (an EFI). when you start the VM, if it has a video console (I assume it does), do you see the word SeaBIOS or do you see a picture possibly containing the word TianoCore
-
Chip1972
where I find a mbr manual instalation tutorial?
-
Chip1972
seabios
-
Chip1972
how to make ada0 bootable with fdisk?
-
rtprio
> fdisk is deprecated and is not available in FreeBSD 15.0 or later.
-
Chip1972
how to fix this? BOOT: F1 ####......
-
rtprio
why can't you just use the installer
-
rtprio
rather than some weird manual install
-
rtprio
especially if you don't know what you're doing
-
Chip1972
I want to learn.... I want to move to FBSD, but I dont want to make the same mistakes when I moved to linux
-
rtprio
so use the installer, which does this for you
-
Chip1972
I want to know what I am doing, e do what I want
-
rtprio
`man gpart`, search for `bootcode`
-
Chip1972
I work with electronics, and studing biochemistry. I alredy have many books to read. I need a solution
-
Chip1972
OMG!!! I erased ada0....
-
Chip1972
I give up for today
-
MelMalik
alo `man boot0cfg`
-
MelMalik
also*
-
MelMalik
and yeah you're going to have to read manuals, that it adds to your reading load is not an excuse
-
MelMalik
and i suspect that part of the frustration here is, as well, a language barrier
-
Chip1972
yeah.... greetings from Brazil, in a new age of tirany....Thanks Mr SuperTrump...
-
amigan
Has anyone been able to upgrade 14.3 aarch64 to 15 using pkgbase? I've installed the pkgbase-15 keys and it still refuses to verify the FreeBSD:15:aarch64 repo fingerprint.
-
sotov1ch
lsblk
-
sotov1ch
bruh
-
amigan
Wrong OS bro
-
sotov1ch
it's like a OCD. i just do it everywhere
-
amigan
I suppose there are far worse habits
-
sotov1ch
Yeah i think so.
-
rtprio
amigan: you have to update the repo so it will work
-
rtprio
but i don't recall atm to what
-
rtprio
but you should be able to find it
-
sotov1ch
Quick question: What's the best way to mount ext4 drives? i used for that purpose the fuse-ext2 mod but it's very slow. Any others? Or i just format from ext4 to UFS/ZFS.
-
amigan
It's all the same as the 3 amd64 boxes I've already done
-
amigan
Obviously $ABI is set differently
-
amigan
sotov1ch: mount -t ext2fs
-
amigan
But you are better off using UFS if this is not for data interchange
-
amigan
rtprio: really seems like the aarch64 repo is signed with a different key
-
sotov1ch
amigan: Thank you. Yeah, i just have some files/ROM's on it. But it's not really important. Currently moving to own home, where is can run my 4x Rackserver and thinking about to just use FreeBSD as OS. To learn jails, pf more too.
-
amigan
Good luck. I have a pretty heterogenous environment at my house. FreeBSD and Linux excel at different things, but all mission critical infra (routing, DNS, voip, auth) is FreeBSD.
-
sotov1ch
i used FreeBSD for my Tor Relays Infra and it was very stable though. i thinking about to making own DNS at home. (i used Pi-Hole before).
-
amigan
sotov1ch:
github.com/0xERR0R/blocky > pihole, except in terms of RAM usage
-
cndghm
I tried asking for an mentor on freebsd-dev and discord, is this something that people do these days?
-
amigan
I use blocky as a DoH forwarder, splitting my own master zones to BIND
-
sotov1ch
amigan: Never heard of "BLOCKY" but it looks very interesting. i'll look more into it.
-
sotov1ch
i think the RAM Usage wouldn't be a big problem.
-
amigan
It's a hell of a lot lighter than pi-hole. No web interface though. I use prometheus and grafana to monitor it
-
amigan
Mostly because pi-hole is just a composition of dnsmasq and assorted php tooling.
-
sotov1ch
it's also a lot better without webUI tbh. since i prefer to stay in terminal.
-
sotov1ch
and thinking also about to make an OPNsense box behind the DOCSIS Modem. i hope everything works how i want it :P
-
rtprio
amigan: nah, it's 14vs 15 pkgbase key
-
rtprio
regardless of arch
-
sotov1ch
What is our opinion about the Helix Editor? i'm a vim user but i wanna switch to hx.
-
sotov1ch
Works great for the beginning.
-
sotov1ch
But the motions are kinda different to vim.
-
amigan
rtprio: but I copied the key from a 15 installation. I've also tried the key in FreeBSD-pkg-bootstrap-15
-
amigan
And the one in stable/15 sources
-
amigan
I diffed the packagesite.pkg pubkeys between the two arch repos, they are the same. Wtf is going on
-
nwe
good morning!
-
nwe
when I trying to start X now (with nvidia Geforce GTX 660 ) yes really old gfx-card ^^ but the problem is that X just trying to start and is black with a white cursor in left upper corner.
dpaste.com/57CJ6NHZU my guessing it that it´s something with the keyboard, but not 100% sure, maybe someone else can point me in right direction :)
-
nwe
found the problem needed to set kld_list="nvidia-modeset" in rc.conf and not kld_list="nvidia" :D
-
dango
Question. Backups aside, if I upgrade from 14.x to 15 and do the pkgbasify thingy, and something goes wrong, would I still be able to revert to a previous zpool checkpoint?
-
dango
(Assuming I make a zpool checkpoint before starting the 14->15 upgrade.)
-
mzar
dango: yes, it should work, but more natural will be testing new environment/update with new BE (boot environemnt)
-
dango
mzar: Thanks! That makes me a bit less scared to try the update. FreeBSD upgrades have been painless so far, but this seems like a bigger change than usual.
-
nwe
hmm looks like wine and wine-proton need 32bit package, but looks like with 15.X it´s not built anymore?
-
nwe
-
ant-x
Hello, all. If I want to keep using a old version of FreeBSD on an old x86 machine, shall I somehow download all the binary packages while they are still available? Will pkg let me do so in a portable manner, in order that later I may re-use those packages as a local repository?
-
nimaje1
yeah, support for both 64bit wine and 32bit wine together is a bit of a hack for a while now, not sure what the status of wow64 mode is, if you don't care about 32bit wine you can use the executables with 64 in the name directly, instead of the wrapper scripts
-
cyric
ant-x: the packages for older releases are unlikely to be deleted, but in any case you should have the packages you downloaded in /var/cache/pkg/
-
rwp
ant-x, I would download the *source* to everything and then compile everything from source and then you will have it forever. The base is trivial. The ports will be a little more effort.
-
nwe
nimaje1: yeah, I choose WINE=/usr/local/wine-proton/bin/wine64 winetricks but it still complained about you need to install 32bits :P I will wait and see
-
ant-x
cyric, thanks. You say the packages for older releases are not routinely deleted. Where are they stored? I had to upgrade from 14.1 to 14.3 in order to intall a package that was available in 14.1 as well.
-
ant-x
cyric, re: saving the sourcecode. Do I download it directly from the version-control?
-
rwp
I would git clone base. And ports. But I am not very knowledgeable about ports. I think one would set up poudiere and have it then download all of the source and build it.
-
nimaje1
hm, my shell history says I used wine64 winetricks at some point, setting WINE would still run the wrapper script (winetricks)
-
nwe
I will double check again then :)
-
zip
I'm starting to think this site isn't very reliable
freebsdwiki.net/index.php/Cu
-
zip
`cu(1) - Call up another system` uh huh
-
zip
ohhh it's not been updated in 15 years, that'll be part of ti
-
mzar
zip: what's wrong wit this ?
-
mzar
we still have cu(1) and tip(1), but tip onlty i nanial pages
-
mzar
s/nanial/manual
-
zip
oh, just that it suggests it's short for "connect unix"
-
zip
I was trying to work out what the practical differences between `cu` and `tip` are, and as far as I can tell `cu` is more designed for when you've got a definition for a system you'd like to dial with a modem so you'd go with `cu <system>` whereas `tip` seems more like it's for when you want to talk to a specific line and the properties are stored in a file so you don't have to input them
-
zip
in practical modern use you just wind up with `cu -l /dev/ttyU0 -s 115200` or whatever anyway
-
zip
generally I tend to install `tio` as it's quite nice
-
zip
funny how often the answer to "why does this have such a weird design" is "because it was implemented in 1992 when each computer had hundreds of users, you used a terminal, and connecting to other computers involved a dial-up modem and long-distance telephone calls cost money"
-
zip
I ran across a daft argument the other day about the secure attention key which was split between "if someone can subvert login you're already hacked" and "this can't stop hackers anyway", apparently all blissfully oblivious to the idea that a legitimate user on a multi-user system might leave a terminal running a script that pretended to be a login prompt
-
ximon
is it hard to install freebsd with sway?
-
ximon
:D
-
angry_vincent
No.
-
ximon
is freebsd secure?
-
Alver
Yes.
-
ximon
does it come with preinstalled firewall?
-
ximon
or no firewall in the iso?
-
Alver
Yes, it has a firewall
-
ximon
do I need to do much configs to install it
-
ximon
?
-
Alver
To install it, no
-
Alver
To configure it, you would do good to understand how it works
-
ximon
do I need to do much configs at all?
-
ximon
I dont want to deal with configs tbh
-
ximon
:d
-
Alver
What would you use the firewall for?
-
ximon
idk blocking people from attacking me? :D
-
ximon
whatever a firewall is good for
-
ximon
I am not a specialist
-
ximon
does sway work good on freebsd
-
Alver
On a desktop it's not all that important.
-
» Alver uses FreeBSD on server only, no idea about desktop
-
Alver
And my "main" server firewall config is 14 lines.
-
ximon
do some people use it as a desktop?
-
dh
Yes
-
Alver
Plenty
-
ximon
whats the reason for using freebsd as desktop?
-
ximon
why wouldnt someone use linux as desktop instead
-
dh
Same reasons as running Linux on desktop, except it's FreeBSD and not a clusterfuck
-
angry_vincent
sway works just the same as on linux.
-
Alver
If you prefer one or the other. Games have a higher chance of working acceptably with less effort on Linux, probably. Other than that, pick 'em.
-
ximon
can I somehow check on linux first if it would cause some troubles on my hw
-
ximon
I have i7 9700t processor for example
-
Alver
I don't think that would make much sense.
-
ximon
alver what?
-
Alver
Just try it out. Whatever Linux does is no guarantee for BSD and vice versa
-
ximon
how to install freebsd
-
ximon
I have it on usb stick
-
ximon
sudo dd if=~/Downloads/FreeBSD-15.0-RELEASE-amd64-dvd1.iso of=/dev/sdb bs=1M conv=sync
-
ximon
reboot
-
ximon
Ok I installed FreeBSD
-
ximon
I had to do some configs though
-
ximon
I'm not sure how secure it is to go into root
-
ximon
I did login as root
-
ximon
And I took the sample config from doas
-
ximon
In which it gave user bob and Elsa root
-
ximon
Lol
-
ximon
Fuck xd
-
Afterglow
And another happy user :-)
-
hodapp
they were in #linux earlier today asking about Guix
-
polarian
and picked freebsd?
-
hodapp
no clue
-
polarian
the "is freebsd secure" bit made me laugh
-
polarian
I would argue "more or less", but definitely more than Linux...
-
acu
Hello Everyone
-
polarian
hi acu
-
acu
I there a FreeBSD strategy and vision for generative AI infrastructure - e.g. vllm - especially - though ollama might be marginally OK - so we can run different open source LLMs such as DeepSeek 3.2 or Lama4 etc ? - of course a ecosystem - such as AnythingLLM or OpenWEbui - will complete such strategy ?
-
nwe
cant decide if I should re-install my old workstation with freebsd 14.X so the kid can play games via wine-proton..
-
nwe
maybe was a bad idea to jump on the 15.X train at the moment..
-
ant-x
nwe, since new v. 15 has no 32-bit libs, its WINE cannot run 32-bit Windows programs?
-
ant-x
I thoutht the problem was planned to be solved in 14...
-
polarian
acu: I am pretty sure the freebsd core and foundation are both rigidly against AI
-
polarian
lol
-
ant-x
I am glad they are, and nothing lolful about it.
-
nwe
ant-x: thats why I think i will still thinking to downgrade/reinstall and stick with 14.X
-
ant-x
nwe, Yikes. This is not a WINE problem, but a FreeBSD problem, right?
-
nwe
ant-x: it´s a FreeBSD problem because no 32-libs in 15 as you said.
-
ant-x
nwe, you could use an emulator (emu386, bochs, DOSBox) or a virtual machine.
-
ant-x
nwe, but does WINE itslef (e.g. on Linux) require 32-bit libs to run 32-bit Windows programs?
-
nwe
ant-x: yupp
-
acu
It makes a survival sense that a solid modern operating system to provide seamless Machine Learning and Generative AI framweork possible ---- ironically enough almost all ecosystems and open source models are MIT Apache even BSD license, yet they run on GPL3 OSes --- it is such an opportunity for FreeBSD to step in ---- this time the LEADERSHIP has to take some ownership on the vision... I do not know where to look - where is the leadership right now ? Who is de
-
acu
facto FreeBSD leadership ?
-
ant-x
So, if/when Linux stop supporting x86, WINE will be EOL?
-
ant-x
I hope to stay away from the Artificial Idiot, and am glad not everybody has jumped on this bandwagon.
-
f451
polarian: hi. dunno if you saw my last about ssh tunnels and mosh and vnc. i was misremembering. it's autossh.
-
ant-x
autossh requries an always-online machine. On a machine with intermittent internet availabilty, it does work out of the box, because ssh exits with code 255, causing autossh to give up and terminate.
-
f451
the context where i use it is where one end is effectively always up
-
f451
ill need to log onto the client machine to look at the script
-
nimaje1
ant-x: wine is working on wow64 mode, afaik arch linux switched already to use that; and wine can be build to support 64bit programs or 32bit programs, the problem with the current freebsd config is, that wine itself is installed as wine64 and a wrapper script is installed as wine that checks if you need 32bit or 64bit wine, but it only works if you have 32bit wine installed too
-
ant-x
f451, autossh fails for me if the machine on which it is running is not connected to the internet. The other end being down is not a problem.
-
nimaje1
acu: are you searching for
freshports.org/misc/llama-cpp ?
-
ant-x
nimaje1, on 14.1, I had to fix that script, and write my own simple script to enable the 32-bit mode.
-
moviuro
Hi all, I'm going to redeploy all of my jails at home but I'm stuck at the networking step. Home deployment:
try.popho.be/images/home.svg . ATM, I have 3 lo(4) interfaces and pf running. How should I deploy my jails now that I have some real networking gear at my place that is VLAN-aware (the switch)? If I attach jails to a vlan(4) interface, traffic from e.g. nextcloud to postgres (each
-
moviuro
their own jail, nextcloud is available externally, but postgres won't, I would put them on different vlan(4) interfaces) is going to go through the core router - how bad is perf going to be? If I keep my lo(4) interfaces, I need to manage multiple pf deployments (FreeBSD & OpenBSD)... thoughts? ideas?
-
acu
nimajel.... thanks.... I am using ollama right now (on Debian) it works good - but VLLM is absolutely genius - for multiple access of LLMs - so I need to setup few test servers.... I wanted to use FreeBSD - specially that 15 is released ---- but I think I need to forgo llama - because I want to setup as server for multiple LLMs and multiple users using them concomitantly ---- I will see if there is a way to run VLLM in freebsd - unfortunately I have no enough
-
acu
time and resource bandwith to do it right now ---- that is why I was looking if FREEBSD LEADERS have perhaps sponsored projects to optimize ecosystems...
-
f451
not at machine rn but I use it on client with an @reboot in crontab with something like this: -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" & also with ip of server and not dns name because if internet fails dns also fails
-
f451
ant-x: ^^^
-
ant-x
f451, Thanks. Can you test your commandline on an a mahicne after explicitly disabling all network? If ssh fails with 255, autossh stops for me. -M 0 ???
-
f451
-M 0 is monitoring channel for autossh iirc
-
f451
ill be able to try in a couple hrs
-
nimaje1
I don't see why the foundation or core should invest resources into that, but if anyone wrote a port for it, I'm sure it will be accepted into the ports tree
-
ant-x
f451, -M spefifies the additional port or ports. I didn't know you could specify port 0. Will be looking forward to your test of autossh with not network!
-
f451
apparently it's autossh's "built-in monitoring port"
-
f451
i guess hence port 0
-
f451
i'll test it from the laptop when i get access to it because there i have a readymade vnc tunnel
-
f451
ill just turn off wireless
-
ant-x
f451, ""
-
ant-x
f451, "ill just turn off wireless" > if its on an external router, might not be enought. Better to disable the network interfaces on the machine itself.
-
ant-x
f451, man: "Setting the monitor port to 0 turns the monitoring function off"
-
acu
nimajel: were you referring the rationale for foundation or core to look into AI and LLM ecosystem ? Because it is possible the most significant quantum leap in computing...it will be virtually nothing in computing, robotics, education and medicine that will not be deeply and transformed by AI - also, as mentioned -most open source LLMs and ecosystems are MIT, Apache or BSD license - which by itself opens and needs a clean platform - GPL3 licensed platforms -
-
acu
anyhow ... its pity - because nobody else other than Sony can really make a buck with FreeBSD - others (with probably more 6 exceptions for network devices) are just basement homelab fans :) that makes a bit of a challenge for viability and relevance...
-
f451
ant-x: confusing. I guess this is wrong, or at least not clear, or the man page isn't clear. first see
tecadmin.net/keep-the-ssh-tunnels-alive-with-autossh
-
f451
then see, in the manpage:
-
f451
"Setting the monitor port to 0 turns the monitoring function off, and autossh will only restart ssh upon ssh's exit."
-
f451
which is what we want
-
ant-x
It is what we want if taken literally and in isolatio to previous statments about exit code 1 and exit code 255. We shall see.
-
ant-x
Actually, we want both: restaring ssh if it exists with /any/ exitcode whatsoever, and using a monitoring channel for additional reliability.
-
ant-x
These behavior should not be mutually exclusive.
-
ant-x
or need not be...
-
ximon
hi
-
ximon
block out quick to $lan_net
-
ximon
scrub in all
-
ximon
block all
-
ximon
pass quick on lo0 all
-
ximon
pass out quick all keep state
-
ximon
can you help with firewall
-
nimaje1
which firewall? what do you currently have/expirience? what do you want?
-
ximon
nimaje1
-
ximon
I have /etc/pf.conf
-
ximon
should I take other firewall than that?
-
ximon
there is no other than that
-
ximon
brb
-
antranigv
this chat is much more active than expected, btw.
-
ant-x
Yeah, and other (like #svn) are less active than expected
-
ximon
hi I am back
-
ximon
:d
-
ximon
any idea about firewall?
-
ximon
brb
-
ximon
1 min
-
ximon
hi so back to firewall
-
ximon
:d
-
ximon
I want to shield people from my dangerous pc with a firewall
-
ximon
for me every pc is dangerous
-
ximon
:P
-
nimaje1
ximon: regarding the question which firewall you want to use, its just relevant information; all three (ipfw, pf, ipf) are fine to use and the diffrence is mostly syntax for the config file afaik
-
ximon
nimaje1 doo you know how to setup pf.conf? very basic? I send example code earlier
-
ximon
I already use that conf
-
thumbs
Instead of asking "do you know how to ...?", ask the actual question.
-
ant-x
thumbs, what if they really wonder whether we know how to do that. We can say yes or no.
-
ant-x
"Can you pass me the salt, please?" -- "Yes".
-
thumbs
Still a useless question.
-
ant-x
Answer "yes" or "no", and let the asker judge the usefulness.
-
ximon
I dont know anything . anything similiar to ufw default config would be great
-
thumbs
I know you're inexperienced, but I spoke to you in the past about asking (smart) questions.
-
ximon
pastebin.com/QaShNDud thumbs what does this /etc/pf.conf do? how to know it works?
-
ximon
better?
-
ant-x
ximon, perhaps start from <
manned.org/man/pf.conf> ?
-
ximon
ant-x unfortunately I am not a programmer
-
ximon
you have to talk with me like you would talk to a 2 years old
-
CrtxReavr
Um. . . programmers and firewall admins are a very different skillset.
-
ant-x
ximon, well, those utility man pages are written for users, not for programmers.
-
ximon
ant-x and still I dont understand _D
-
ximon
:D
-
ximon
it would be better if you show me with examples
-
ant-x
ximon, after reading $(man pf) and $(man pf.conf) ?
-
ximon
yup
-
thumbs
ximon: What part of the docs is unclear to you?
-
ant-x
ximon, man pages are notoriously stingy with examples, because people tend to extrapolate from them, instead of reading the actual docs.
-
ximon
I dont even know what a firewall good for :D
-
ximon
I tried
-
ximon
ping my ip from other pc
-
ant-x
ximon, look "firewall" in Wikipedia.
-
mzar
there are few /usr/share/examples/pf/
-
ximon
it did not work
-
CrtxReavr
"Firewalls are just broken routers."
-
ant-x
Thou shalt not joke with ximon.
-
ximon
is there a command to see if firewall is active
-
ximon
and what it does
-
CrtxReavr
-
ximon
for me it looks only like code
-
CrtxReavr
But yeah, if you have to ask what a firewall is, DO NOT attempt to manage one.
-
ximon
pastebin.com/QaShNDud but is this ai code good?
-
thumbs
Don't use a LLM unless you can verify what the LLM gives you.
-
ant-x
Thanks, but I'd rather not waste my time on reviewing AI code. It takes a millisecond to write it.
-
thumbs
It's *not* a substitute for the documentation.
-
ximon
I did everything
-
ximon
with ai
-
ximon
to get it running
-
ximon
lol
-
ant-x
By the way, you can theoretially ask an LLM whatever you are asking here.
-
thumbs
Still not a good idea, given your skill level.
-
ant-x
IMHO, it is a bad always a bad, unethical, idea...
-
» CrtxReavr has to wonder if we're being trolled.
-
ant-x
I think ximon is earnest.
-
ximon
so should I reinstall?
-
ximon
because there is ai slop code in it
-
thumbs
ximon: Of all the years I've known you, you always took the easy way out, and didn't really learn.
-
thumbs
I recommend taking a step back and taking your time to read docs.
-
ximon
-
ximon
I will reinstall
-
ximon
is there no easy firewall in freebsd
-
ximon
as linuxx
-
ant-x
-
cpet
CrtxReavr: troll policem, grammar nazi
-
nimaje1
hm, wasn't the easy firewall for freebsd just enabling the firewall service in rc.conf and setting the type to client or workstation?
-
CrtxReavr
That can work.
-
polarian
f451: yeah I saw your message about it
-
polarian
thx
-
ximon
I think I have a running firewall now
-
ximon
no idea
-
ximon
if tru
-
ximon
irewall_enable="YES"
-
ximon
firewall_type="client"
-
ximon
firewall_client_rules="add 00300 deny ip from any to myIpaddress/24 out"
-
ximon
firewall_logdeny="YES"
-
ximon
good?=)
-
ximon
firewall_client_rules does this even exit
-
ximon
I cant find it int
-
ximon
docs
-
ximon
pls help with firewall
-
ximon
-
s2r
ximon have you got problems connecting in/out?
-
ximon
nop
-
ximon
I mean I cant ping in my network devices
-
s2r
I didn't see previous messages but what is/was your problem?
-
thumbs
They are in a bit over their head, unfortunately.
-
thumbs
I still recommend using the example firewalls in the documentation as a starting point.
-
ximon
so client is good?
-
ximon
I mean I have that type of firewall already active
-
ximon
#firewall_client_rules="add 00300 deny ip from any to 192.168.178.0/24 out"
-
ximon
is this command totally hallucinated
-
ximon
?
-
ximon
it comes from chatgpt
-
thumbs
Stop using ChatGPT, first.
-
dkeav
^^
-
dkeav
remove that from your rc.conf and restart firewall
-
dkeav
-
ximon
I will eventually write it in my config lol because I need something like that
-
ximon
:D
-
ximon
but not sure how to do it
-
ximon
dkeav do you know how ?
-
dkeav
its all covered in the handbook I linked
-
ximon
There is too many bugs for me on sway FreeBSD
-
ximon
I mean the bugs only appear in console
-
cpet
bugs you say
-
cpet
stop trying to find bugs and just use the system
-
cpet
also that firewall line doesnt exist
-
ximon
Cpet
-
ximon
Where is networkmanager
-
ximon
:D
-
cpet
rc.conf
-
cpet
bsdconfig network
-
ximon
Cpet I tried hard
-
ximon
Didn't work
-
ximon
:/
-
ximon
Sad
-
polarian
ximon: well that is how you configure networking on freebsd
-
polarian
and I can assure you it works
-
polarian
dkeav: I would recommend using pf over ipfw
-
polarian
pf is just simpler
-
polarian
block inp; pass out (s/;/\n/)
-
ximon
I tried openvpn
-
polarian
ffs why did I have to typo a 'p'
-
ximon
Total not working
-
ximon
Xd
-
polarian
ximon: you tried using a vpn without working networking
-
ximon
Ye
-
polarian
shocker that it didn't work
-
ximon
🤣🤣
-
polarian
if you genuinely want help I would advice pastebin your rc.conf and the output of ifconfig -a
-
dkeav
polarian: i would recommend pf over ipfw too, but the user was using the ipfw rc.conf entries...so
-
polarian
dkeav: probably what LLMs spit out by default
-
dkeav
indeed
-
polarian
also best tip I can give someone new to BS: BSD is not Linux, and don't try to make it Linux
-
polarian
~because it won't work~
-
polarian
s/BS/BSD/
-
polarian
cant type today :/
-
polarian
oh and that sed expression wouldn't match but fuck it
-
polarian
no wait it would match, wtf am I talking about
-
ximon
Ok fine
-
rwp
Another advantage of pf is that it is mostly compatible across the entire *BSD family.
-
ximon
But I'm retard
-
ximon
I'm not able to use BSD
-
ximon
I can use arch though
-
ximon
Lol
-
mzar
good luck ximon
-
polarian
they couldn't have been older than 13 years old
-
polarian
or they are a troll
-
polarian
~or both~
-
isley
you overestimate the average person
-
polarian
hmm
-
polarian
their account was registered on libera a year ago
-
polarian
so they are no noobie
-
polarian
isley: maybe...
-
polarian
its more the fact they were getting help and were too busy explaining why BSD is broken
-
polarian
because look some LLM told them this
-
ximon
Why good luck mzar
-
ximon
Mzar
-
ximon
Saar
-
polarian
I cant speak for mzar but saying "I can use arch though" felt a lot like "fuck this imout
-
polarian
im out"
-
polarian
*
-
polarian
honestly I cant type today
-
ximon
You drunk?
-
polarian
no
-
mzar
same here, I can't type much, only a few words, so "good luck"
-
nwe
good evning!
-
skered
Vine?
-
ximon
Polarian only because I'm to stupid for FreeBSD doesn't mean that everyone is to stupid for FreeBSD I bet I only lacked a tiny bit of configuration
-
ximon
Don't be sad
-
polarian
ximon: I told you already what is needed for support
-
polarian
which leads me to believe you are just here to troll
-
f451
ant-x: re: autossh - proved it - it works. on the laptop, i hit f8 which is rf-kill. i was tunnelling a vnc through it. the vnc session crashed as expected. but when wifi was re-enabled i didnt have to restart the tunnel, only the vnc client
-
thumbs
polarian: The fellow in question has been a support vampire for years, for context.
-
polarian
thumbs: oh right
-
polarian
hmm
-
wavefunction
Frustrates me that Arch is seen as "the BSD of linuxes" when it has gone all-in on changes that make it... less manually configured.
-
eoli3n
wavefunction: the BSD of Linux is void linux
-
wavefunction
eoli3n: Sure. This was before Void was a thing.
-
wavefunction
So there's a lot out there that says "if you can use Arch, you shuold feel at home in *BSD"
-
cpet
nothing sadens me more than to read the msot BSD of the Linux is x
-
cpet
:(
-
wavefunction
"Why not BSD"
-
cpet
why not?
-
mns
the msot BSD of the linux?
-
ant-x
f451, many thanks for the test. Probably -M 0 is key. I will try the same on my FreeBSD.
-
cpet
mns: yeap I know :(
-
ant-x
mns, mstot->most.
-
mns
ahh ok
-
ant-x
f451, with an unreachable host, autossh fails for me, e.g.: ``autossh -M 0 trololo'' fails with exit code 1, because ``ssh trololo'' fails with exit code 255.
-
ant-x
^ I have no idea why and how your autossh keeps retrying.
-
ant-x
...autossh does not fail immediately and stays in the processes if I pass the -f flag, which is documented to move autossh to the background and set AUTOSSH_GATETIME to zero. I am at a loss there.
-
ant-x
``autossh -M 0 -f trololo'' succeeds, whereas ``autossh -M 0 trololo'' does not!
-
cpet
wtf is a trololololololo
-
scoobybejesus_tl
ant-x and f451, are y'all using a custom rc script to launch autossh on boot? i'm surprised to be failing to find example scripts people are using for this.
-
ant-x
So, I am guilty of not reading the docs. The staring gate time > 0 causes the initiaal termination.
-
ant-x
cpet, it is what it is: a fake hostname.
-
cpet
normally commands are in ``
-
cpet
ant-x: thats not the answer
-
cpet
it is an answer but not the right one
-
ant-x
scoobybejesus_tl, I am just experimenting with autossh itself. I hope to be running it form a @reboot cronjob.
-
ant-x
cpet, then I don't know the right answer!
-
cpet
ant-x: wrong again
-
ant-x
OK. I know the right answer but don't know which one it is.
-
cpet
then how come autossh fails for you ?
-
cpet
mr i know the right answer
-
ant-x
cpet, I cited my invocations.
-
ant-x
And I provided an explanation, re: the -f options and the staring gate time.
-
cpet
ok
-
cpet
im guessing the ``'' is just some IRC thing you arent putting that in a script ?
-
ant-x
cpet, I first said that I don't know the answer, to which you said I was wrong. I had to conclude that I knew the answer. Then you switched the quesiton from "wtf is trololo" to "how come autoss is failing for me". That's a double confusion!
-
ant-x
cpet, no! those are quotation to "markup" my commands.
-
ant-x
May be confusing, because some shells use them as $(...).
-
cpet
so what exactly is the problem ?
-
ant-x
The problem is not solved. Shall I tell you about it?
-
» cpet waits to be called a jackass or handicapped
-
ant-x
Not from me.
-
cpet
ant-x: sure why not im trying to update firmwares
-
cpet
my card needs to 70.49 firmware
-
cpet
and im trying to figure out the easiest way to hack it
-
ant-x
Well, autossh is intedned to keep an SSH connection alive, and I did not understant why it did not retry connection when invoked without the -f option, but failed immediately.
-
cpet
why dont you use mosh
-
cpet
or run it in tmux
-
ant-x
The answer is that the -f option sets the autossh starting gateway to zero seconds. When it is greater than zero, the first failure of ssh within that window is interpreted as a non-repairable error.
-
ant-x
cpet, don't throw other software at me, I am not so fast at learing it. I have solved my autossh problem and am glad of it and want to enjoy it a bit.
-
ant-x
autossh+ssh=reliable SSH connection with automatic recovery and reconnection.
-
ant-x
tmux is somehing else -- a terminal multiplexer. I use GNU screen for that, and mush I have never heard about.
-
ant-x
Goodluck with firmware installation, cpet.
-
ant-x
cpet, re: mosh> it works with "intermittent connectivity" -- good. But I need a reverse SSH tunnel on the target machine in order to connect to in the first place. I will use autossh to keep that tunnel open whenever possible.
-
ant-x
f451, thanks for linking that article. It gave me the hing about the -f option. Shall I start autossh from cron in the foreground and in the background?
-
f451
Up to you, I use it in crontab with @reboot
-
f451
also that test reminded me to look see if i could extend my vnc timeout because if i could make that minutes then it'll stay up instead of crashing and reuse the autossh session
-
f451
this is what i do
-
f451
ant-x: autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -q -f -N -L 5900:localhost:5900 f451@server
-
f451
on client
-
f451
then on client tigervnc localhost:5900
-
f451
*prompts for passwd* - connected
-
f451
then rfkill (hit f8 on laptop disables wifi) about 30s later vnc errors out and drops
-
f451
re-enable wifi
-
f451
start vnc again, it logs in
-
f451
i have ssh keys set up btw
-
cpet
i upgraded the port and im now using 70.36.0
-
cpet
see if that works better
-
Matt|home
hi.
-
cpet
hi
-
cpet
what adventures do you bring today
-
Matt|home
trying to motivate myself to get some work done.
-
specialbomb
work is good
-
Matt|home
proving harder than i wanted.
-
cpet
work is bad give you wrinkles and makes you old
-
Matt|home
theoretically.. supposedly worked out some family gripe i had, and it's still a bit hard trying to get myself out of a negative mindset. but i want to get some writing and coding done tonight at the very least
-
specialbomb
working for your own benefit is good
-
Matt|home
aint gonna happen
-
Matt|home
so i've just been shoving a metric fuckton of caffeine and nicotine into my body.
-
rwp
ant-x, f451, scoobybejesus_tl, Who is trying to get autossh working and having problems? I use autossh all of the time. I wrote up a blog article on it some years ago.
proulx.com/~bob/doc/autossh/autossh.html
-
rwp
It's ten years later and I should update that article. And update it for FreeBSD too. But generally I think it will still be applicable.
-
rwp
On server systems that I *only* want to set up a tunnel for SMTP email transfer then these days I set up
tarsnap.com/spiped.html as depicted there for tunneling mail notifications and status off the server and to my mailbox. It's simpler for that specific task.
-
Chip1972
how to add more packages, and reconfigure fbsd. with bsdinstalll?
-
polarian
Chip1972: wdym?
-
rwp
After installing with bsdinstall, boot, then install whatever you want.
-
Chip1972
with bsdinstalll?
-
rwp
It is also possible to jump to a shell in the installer and then install whatever you want in the chroot target. But that's just more tedious and more work.
-
polarian
bsdinstall can be executed on an installed system Chip1972
-
polarian
however "packages"?
-
polarian
you talking about distribution sets?
-
Chip1972
yes... and reconfigure metwork
-
polarian
you can reconfigure networking in rc.conf
-
polarian
but sure bsdinstall makes it easier
-
rwp
The only thing I ever use bsdinstall for is to install the base system. I don't want anything more ever to be installed there. Boot the system. Then install the binary pkgs that I want to install using pkg.
-
rwp
And if I am installing a jail container then I don't even use bsdinstall then. In that case I untar the base.xz file and then start the jail.