-
zerotime
good day #freebsd
-
zerotime
upgraded up 14.4-RELEASE yesterday but after a day of running, my wifi card seems to be resetting more often than usual
-
SponiX
zerotime: what chipset is the wifi card ?
-
zerotime
Atheros AR9285
-
mjp
-
mjp
I wouldnt be using freebsd at all on desktop, if i did i would use the latest (15.0)
-
SponiX
zerotime: I'm not 100% sure on FreeBSD. But for Linux the Intel AX210 chipset is what I always recommend right now. It is a 100% working well "out of the box" experience
-
SponiX
mjp: what is the command to list PCIE devices on FreeBSD? zerotime you should probably boot the 15 USB Stick and see if it detects your wifi there
-
snappy
hi, i know this is not strictly freebsd, but has 'netstat 1' recently changed? on macos I think it was using the freebsd version because it would give counters/stats on network interfaces every second, but now 'netstat 1' lists sockets and their status
-
snappy
its driving me nuts
-
zerotime
I'm never on the latest
-
rtprio
1 as in 'one' ?
-
zerotime
FreeBSD works well for both server and desktop.
-
rtprio
are you sure you don't mean '-na' ?
-
snappy
rtprio: as in one, that'd be it'll output bytes or packets/sec etc. every 1 second
-
rtprio
so why would it show the the sockets and status if it's showing packets/second?
-
zerotime
My issue isn't a detection problem. It is a continuous resetting problem.
-
snappy
rtprio: that's what has changed on macos, i was wondering if it was an import from freebsd; but i think i found the git repo that shows what changed in netstat
-
zerotime
Given the era my card is from, I don't see how it would be an option that this box would be assumed to be a desktop.
-
snappy
ahh, even though it was hidden in the manpage and now its all changed, netstat -w 1 restores the functionality of what was once 'netstat 1'
-
zerotime
try "systat -ifstat 1"
-
snappy
talking about macos which was using freebsd netstat, but i think now they've significantly butchered it
-
welcome
HELO I need firmware for a wifi card (MediaTek) and I can't get freebsd online to get it.... where do I go to download it to install it with fwget?
-
rtprio
i'm not sure it works like that boss
-
welcome
OK, sunshine
-
welcome
How do it werk thenz?
-
welcome
It must come from somewhere....
-
rtprio
the firmware is already present, you can't just download arbitrary firmware and make a card just work
-
welcome
Where are the packages kept?
-
welcome
I usually run openbsd
-
welcome
It is the firmware for the card I have
-
rtprio
looks like /boot/firmware
-
welcome
the kernel recognises it
-
welcome
the card I mean
-
welcome
I just can't do it automatically because....
-
welcome
I can't get online (catch 22)
-
welcome
like, I also need drm-kmod
-
welcome
which I can survive without for now
-
welcome
I understand this is ina package
-
welcome
in a
-
welcome
Where do I go to find the package?
-
rtprio
i might be wrong, someone could correct me, but there's nothing additional to install
-
rtprio
oh, it looks like there are some firmwares in /usr/ports/net/*-firmware-*
-
welcome
Well I only installed the usb image, which is abut 1.5GB
-
rtprio
hopefully you have a 2002 usb nic to download it with
-
welcome
ok
-
welcome
thanks for that
-
rtprio
i didn't wire the firmware, no need to be snarky
-
welcome
A man once told me, "You're too smart for your own good"
-
welcome
I didn't agree at the time
-
welcome
...
-
welcome
But now I know what he was saying
-
rtprio
if that were true perhaps you'd buy a supported card
-
welcome
he he
-
welcome
It *IS* supported
-
welcome
I just can't install the firmware becasue I haven't got the card online... becasue I need it's firmware, which exists in the packages, but I don't have all those
-
welcome
perhaps I'll try downloading the whole dvd, but I'm not sure
-
welcome
seems a bit of excess
-
rtprio
i suspect that will not help you
-
welcome
does it not have the package collection?
-
rtprio
i don't think it has all of them
-
welcome
o
-
welcome
k....
-
welcome
hanks anyway
-
welcome
thanks
-
luxanna
Hi I have a question about ports, I have a repository which is from sr.ht but it has submodules how do I add the submodules in that case? Ive only found example where Github was being used
-
luxanna
Any idea? :)
-
ente
hi, I have a problem with my combination of pkg/ports
-
ente
I install/upgrade everything using pkg except for two packages which have custom options
-
ente
is it possible to disable installing those two packages via pkg, either by pinning them on the options or by telling pkg to ignore them?
-
ente
by pinning I mean that pkg already tells me "reinstalling ... (options changed)", but could it just tell me without upgrading those packages?
-
vkarlsen
ente: You can lock pkgs; man pkg-lock
-
ente
thanks
-
ente
doesn't seem to be 100% what I wan (since I do want to upgrade this package from ports, which would mean pkg unlock, make reinstall, pkg lock I guess?)
-
ente
but I'll roll with that for now
-
vkarlsen
Correct, there's no nuance. Locked is locked.
-
nimaje
you could also switching to build your own pkg repo with poudriere with fetching but as there is currently no way to know from which ports commit the upstream repo was build you could reuild stuff because your tree is newer instead of just because you changed options
-
ente
yeah I might look into poudriere in the future, but it seems like overkill to me
-
luxanna
Can I use any git repo when porting a programm and not just github/lab? Because I need to initialize its submodules
-
nimaje
I don't think the ports framework has support for fetching with git; for some git hosts there is support for fetching the autogenerated tarball to a commit/tag, but those usually don't have stability gurantees, so you should try to get official release tarballs which have stability gurantees from upstream
-
luxanna
sr.ht doesnt seem to fetch the submodules when downloading a release tarball :/
-
luxanna
So I'm a bit unsure on how to do that
-
nimaje
are you sure it is a release tarball and not just another autogenerated tarball for a tag? but maybe upstream didn't include the submodules because they are dependencies and should be installed seperately normaly and are just included as submodules for convinience when working on the repo directly as you have no idea how old the dependencies in the package manager of the developers are
-
luxanna
Im pretty sure its an automated tarball and so far couldnt find any other release tarball since its a smaller project
-
luxanna
I just noticed they also have that project on github but its not properly mirrored
-
nimaje
well, the helpers that are provided for github/lab just set DISTFILES, not sure if there is a similar helper for sr.ht but you can set it manually too
-
luxanna
nimaje: Oh the GH/GL helpers dont just clone the repo but also download an automated release?
-
nimaje
they download some autogenerated tarball (well, set DISTFILES in a way that those get downloaded via fetch )
-
luxanna
But instead I could just manually specify the submodules in DISTFILES so that the build system will download them manually and extract them inside the repo? As I have seen that in the examples in the docs with GH
-
luxanna
Ok seems like that worked, can I specify a different build target for make? Because the spelling is slightly off
-
nimaje
set ALL_TARGET
-
seti
anyone here use anki package? i dont get any sound, and i dont see anki showing up in pavucontrol either
-
spork_css
Was looking at release notes for 15.0 after installing, and noticed the "pkgbase" option, which is neat, but not seeing anything in the Handbook about it.
-
spork_css
Is there any kind of official docs on this that sort of explains what's going on there and how it works and what the various foot-shooting risks are?
-
spork_css
"The base system is installed as a set of packages from the "FreeBSD-base" repository. Systems installed this way are managed entirely using the pkg(8) tool. This method is used by default for all VM images and images published in public clouds."
-
spork_css
I feel like I could use a few more paragraphs.
-
ek
spork_css: pkgbase has a manpage. There is also a wiki page about it that helps explain quite a few things:
wiki.freebsd.org/pkgbase
-
spork_css
ek: yeah, aware of both of those. the wiki page seems quite dated and the manpage is best suited for someone already deep into it.
-
spork_css
I'm trying to find more guidance as far as when to move to it, how you're supposed to use it alongside normal pkgs, best practices, etc.
-
ek
spork_css: Well, as of 15.0, you're already set up for it. See /etc/pkg/FreeBSD.conf and /usr/local/etc/pkg/repos/*.conf
-
ek
You can specify whether or not to update base packages by specifying the repo to use via update/upgrade.
-
ek
pkg up{date,grade} -r FreeBSD-{base,ports}
-
ek
It's pretty much as simple as that. Obviously, a standard "pkg update/upgrade" will upgrade everything.
-
ek
I wish I had more detailed documentation to point you to, but I do not. :(
-
rtprio
spork_css: best practices: don't run pkg delete -a anymore
-
spork_css
I did see that mailing list thread...
-
heston76
No more boot after that I take it?
-
rtprio
heston76: yes, things like /bin/sh and the kernel are in packages so they would be gone
-
ek
rtprio: That's very true. Good point. Make sure to keep any "^FreeBSD\*" packages.
-
ek
spork_css: Just a quick note, the FreeBSD Handbook accepts all kinds of contributions. As you learn more about pkgbase, perhaps keep notes of what you found important and informative and submit it to be included in a pkgbase Handbook page for others in your same situation in the future. :)
-
spork_css
I did my time/penance on -questions in the late 90's early 00's but I definitely never learned most of the doc tools the project uses.