-
darwin
so with packages I can get monthly or weekly updates, but with ports I can get daily or hourly updates?
-
rwp
You can compile ports as often as you wish. I don't know how often updates to the ports git repository are pushed though.
-
tm512
so apparently FreeBSD supports newer Xbox controllers through webcamd? wish I had known this earlier
-
tm512
also, webcamd seems to be very poorly named, at least as a description of its current scope
-
cedb
quick question, ive setup apache to serve the html data and the packages but id like it to run in a jail (the why is a mix of "ive just been told its better to run webserver in jail" and education purposes"). that means stuff under the dataset /usr/local/poudriere/data should be mounted in the webserver jail, whats the sanest way to accomplish this?
-
cedb
zfs jail <jailid> <fs> doesnt seem to be an option
-
jauntyd
cedb: what are you using to for jail management, if anything?
-
cedb
jauntyd: nothing at the moment, planning on learning bastille at some point but dont want to bikeshed right now
-
jauntyd
if you just want the files you can use the mount parameter in your jail.conf file
-
jauntyd
mount=<source/dir /usr/jails/jail/dir>
-
cedb
oh that simple, ok thanks a lot!
-
jauntyd
you're welcome! enjoy freebsd :)
-
uskerine
V_PauAmma_V: seems a heck of work to maintain all packages for R (or for Python), so how does that normally work?
-
dandyn
/etc/make.conf - let's say I have multiple versions of TCL installed. I can specify here which version to use when make. right?
-
dandyn
and, is it ok to mix 'pkg install <appl.>' with '../ports/ && make install clean' ?
-
dandyn
I readI read that you should avoid it, it can ruin "dependencies"
-
dandyn
-I read
-
saeedgnu
Hi. I'm a long time Linux user and I recently installed FreeBSD on a laptop, setup wifi, xorg and desktop. But the external HDMI-connected monitor is not detected. the GPU is nvidia but not sure what driver is it using now. Any help would be appreciated
-
last1
will FreeBSD pkgs add Mysql 8.0 newer versions ? after 8.0.35
-
futune__
saeedgnu, you can use kldstat to see which drivers are loaded, maybe it will show you
-
saeedgnu
right, it lists i915kms.ko which I added to rc.conf to make xorg work, so it must be it
-
saeedgnu
-
futune__
if you run xrandr (without args), what does it show, when the monitor is connected?
-
saeedgnu
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
-
saeedgnu
DP-1 disconnected (normal left inverted right x axis y axis)
-
saeedgnu
HDMI-1 disconnected (normal left inverted right x axis y axis)
-
saeedgnu
HDMI-2 disconnected (normal left inverted right x axis y axis)
-
saeedgnu
DP-2 disconnected (normal left inverted right x axis y axis)
-
saeedgnu
HDMI-3 disconnected (normal left inverted right x axis y axis)
-
futune__
very strange
-
mtu
i have the damnedest problem on 14.1-RELEASE, which doesn't seem to behave like 13.3-RELEASE when it comes to ipv4 nameservers:
-
mtu
dhclient runs on both machines (13.3 and 14.1) and gets the same lease info (seens in /var/db/dhclient.leases.em0). BUT "domain-name" and "domain-name-servers" are not entered into /etc/resolv.conf on 14.1
-
mtu
i could hammer the necessary "nameserver" entries into /etc/resolv.conf in all sorts of ways (like with resolvconf.conf), but why are they not transferred in the first place?
-
futune__
saeedgnu, i915kms.ko sounds to me like an intel driver though... not nvidia
-
futune__
could it be that it's an iGPU driver which is not hooked up to the external ports?
-
saeedgnu
laptops generally have an on-board GPU chip, which is probably intel cince my cpu is
-
saeedgnu
what is the nvidia driver's name? should i add to rc.conf?
-
futune__
I'm afraid I don't know, never tried to use an NVIDIA card
-
saeedgnu
np thanks
-
dandyn
freshports.org/devel/tcltls Library dependencies: libtcl86.so : lang/tcl86
-
dandyn
how do one know if it supports tcl9 ?
-
TommyC
Documentation from the developers, testing it against tcl9 oneself and last but not least (albeit probably my last choice), checking the source code.
-
dandyn
TommyC: okok :)
-
dandyn
thnx
-
dandyn
does pkg come with fbsd as default?
-
dandyn
or do you need to download it first?
-
la_mettrie
it needs to be downloaded
-
dandyn
and pkg is working with ports's repository cata- logues.
-
dandyn
so in order to update this catalouge for pkg, you run what cmd?
-
dandyn
portsnap fetch extract and portsnap fetch update ?
-
rwp
dandyn, The pkg bootstrap command comes with a default install of FreeBSD.
-
rwp
The pkg is mostly entirely automatic at doing whatever cache updating is needed to be done. It will bootstrap the first time it is run without the pkg installed pkg command.
-
rwp
If the pkg command has been installed as a compiled binary pkg by pkg then it automatically updates the cache files as needed when run.
-
dandyn
so what benefit comes with portmaster that you can't riddle fast with pkg cmds?
-
rwp
One supports installing local compiles from source and the other supports installing pre-compiled binary pkgs from the repositories.
-
rwp
In the long history of FreeBSD the pkg system is the new thing. It hasn't been around forever. A newcomer today (like myself) might run FreeBSD for years using pre-compiled binary pkg installs and not need to compile ports from source.
-
dandyn
I have always used ports... and ignored the rest.
-
rwp
Using binary pkg packages makes things super easy. Simply search through the list of packages for what is wanted and then install them.
-
dandyn
yeah, but do I still need to keep the "ports" updated?
-
rwp
Note that I am not trying to convince you to do anything other than what you are doing. I am only trying to answer the question you asked about pkg.
-
dandyn
oris it enought with pkg update?
-
rwp
It's "pkg upgrade" to scan the installed packages and upgrade each of them from upgraded packages available in the repository.
-
rwp
Or do nothing when they are already up to date.
-
dandyn
let's say I want the pkg "list" of aplications to be up to date (updated)
-
dandyn
the "list" I guess is the repository
-
dandyn
how do I do that?
-
rwp
"pkg upgrade --dry-run" (I use -n but I use the self-documented --dry-run here.)
-
dandyn
that will check with repository if installed packages needed update?
-
dandyn
but how to update the list that cmd checks with? =)
-
dandyn
will I have to update the ports tree itself then?
-
rwp
There is also "pkg upgrade --fetch-only" (or -F) which will download the *.pkg files to /var/cache/pkg/*.pkg but not install them. Then they are available in the pool for install from anything using the pool.
-
rwp
When using pkg there is no ports tree locally installed. There is the pkg index database of packages in the remote repository and it will manage updating the cache itself.
-
dandyn
so I can skip installing ports at all?
-
dandyn
and only use pkg cmds?
-
rwp
Yes. Most newcomers this year will use FreeBSD using only pkg commands since they are so convenient.
-
rwp
And there is a big effort to move the base installation to using pkg too it's called pkg-base but that's still in the experimental stage.
-
dandyn
ok, I'll dissable it during the install next time I'll install fresh then
-
rwp
If you are happy compiling ports locally then there is no need to move away from it. And locally compiled software has advantages too.
-
rwp
Arguably the best configuration is using poudriere to locally compile local binary pkgs of the ports and then use the local pool to install from.
-
rwp
Then you get both the advantages of having locally compiled from source and also the advantages of managing systems using the easy install of pkgs.
-
dandyn
but one should never mix em they say
-
dandyn
only use one of the ways.
-
rwp
That is not mixed. It's all binary pkgs. It's just binary pkgs created locally rather than from the remote repositories.
-
rwp
Why would this be better maybe? You see it is the edges of the system which are not quite seamless. For example I use the radeonkms kernel driver for my graphics. When the API changes then it leads to a kernel panic.
-
dandyn
"Don't mix ports and binary packages."
-
rwp
That's probably best. Don't mix ports and binary packages. It's technically possible. But it is filled with sharp edges and snags.
-
rwp
The poudriere tool is what manages making pkgs of everything. But if that's confusing then just ignore it and only use the repository packages. That's a normal typical thing now.
-
rwp
As far as why a local compile might be useful. You see it is the edges of the system which are not quite seamless. For example I use the radeonkms kernel driver for my graphics. When the kernel ABI changes then this leads to a kernel panic if they are mismatched. One can locally compile the driver against the current kernel and avoid that problem. It's a very specific case.
-
rwp
Between 13.3 and 13.4 the kernel ABI changed. And I experienced kernel panics due to the radeonkms pkg being compiled against the "oldest supported kernel" which was the 13.0 kernel at that time.
-
rwp
The repository pkgs were not going to upgrade to the newer ABI until that specific kernel became the oldest supported kernel. Which creates a window of some months when there is no compatible version in the global repositories. But one can compile it locally.
-
rwp
Here we are in 14 currently 14.1-RELEASE-p5 and the oldest kernel is still the 14.0 kernel and all remains compatible. This problem is not seen in 14 at this time. Maybe it won't ever be seen in 14. It depends upon if the kernel ABI changes in an incompatible way through the lifecycle of it.
-
rwp
But anyway give binary pkgs a try and I think you will find them simple and easy and a great user experience on FreeBSD! :-)
-
dandyn
hey, thanks rwp for taking the time and explain! <3
-
rwp
One of the most confusing things about FreeBSD is that there are many different ways to run it. And a lot of people in the community have developed their own unique work flows which they love because it is a good work flow for them. Which is great!
-
rwp
But when learning about things the problem is how to decided what to do for yourself. I say start small and work up to it. Just because Netflix is running CURRENT with an self-compile work flow for example doesn't mean I can't simply run 14 RELEASE myself and install precompiled binary pkgs. That's two completely opposite ends of the spectrum but in the end we are both running FreeBSD.
-
dandyn
true :)
-
dandyn
rwp, feels like a modern step to take. it's like apt-get :D
-
dandyn
I like the idea of unchecking the box during the install [ ] Ports tree
-
rwp
It's facilitating moving from taking care of a single machine like it is a family pet to being able to manage a collection of systems that should be provisioned the same.
-
dandyn
yes
-
dandyn
cya!
-
hjf
-
hjf
-
hjf
gah
-
hjf
-
hjf
rwp: ^^
-
hjf
fixed the second one. it had a bad power supply capacitor
-
hjf
-
hjf
got one of these for my server
-
hjf
blast from the past
-
hjf
says it's based in Asix AX99100 . seems to be supported by freebsd since 2017
-
LXGHTNXNG
squimbles
-
oprs
hjf: were you able to test your ADDS terminal with this ? did it solve your remaining issues (CH34x only supporting 8N1) ?
-
oprs
I think I have one of these, I remember having some issues with it, but never really investigated
-
hjf
oprs: i gave up and ordered a 16550 compatible one
-
hjf
FT232 based dongles work great. but the one i have is a fake
-
oprs
oh, that's great
-
rwp
hjf, That one looks like it was de-yellowed. Did you retrobright it?
-
rwp
I hate that there are so many counterfeit parts now. (Re your FT232) It makes things more difficult! I have had problems where I bought something, worked great, let's buy another one, and a month later the second one arrives and it's counterfeit! Just can't do a repeat purchase of anything anymore.
-
hjf
rwp: no, second one wasn't as yellow as the one that was working
-
hjf
tbf this one is a "epoxy blob" ft232. extremely fake.
-
hjf
$2 for a full RS232-USB including connectors ? yeah fake
-
rwp
I have two RS232-USB with a DB-9 on the end and two with breadboard connectors good for connecting to BPi pins and lucky for me all have good chipsets in them.
-
hjf
honestly CH340 aren't that bad. they're a chinese design but they work great
-
hjf
except on freebsd where the driver isn't fully implemented
-
hjf
but i've never had a CH340 do weird things. all other "known" chips (FT232, PL2302, CP2102) do weird things when they're fakes
-
oprs
I've used CH340 based USB/serial adapters for years, and they're great, but the documentation is sparse
-
oprs
i.e. there is a succint datasheet, but I was never able to put my hands on a proper register map
-
oprs
I've looked at the fbsd driver (uchcom), and from what I was able to gather, adding proper support for line control looks trivial
-
oprs
but comments in the OpenBSD implementation suggests otherwise:
github.com/openbsd/src/blob/master/sys/dev/usb/uchcom.c#L784
-
oprs
the Linux implementation looks pretty straightforward, and there's also some arduino stuff floating around, each one implementing its own subtle variation
-
oprs
I guess it should be possible to put everything together, I may give it a go later this week
-
oprs
it's so easy to get distracted by an endless stream of micro projets though
-
jb1277976
Anyone know what #bsdcode on efnet is about ?
-
rwp