00:38:24 is using a freebsd desktop as a router as well as a desktop an option 00:38:33 or does the router have to be in a vm 01:17:32 If you use vimage to give a jail its own network interface, you can probably do routing there just fine. 01:19:30 I've often had the thought of combining router+switch+HTPC+network storage+workstation into one machine, but it's not really doable as the sort of machine that can do all of those things without one or more of them bogging down things would be the sort of machine that'd end up using quite a bit of power. 01:22:04 i tried putting opnsense in a vm but i couldnt get it working for the life of me 01:22:34 i hit a wall when i got to setting up a virtualized software wireless access point 01:29:09 thegman, Almost any general purpose computer can do a variety of general things. And depending upon what you are routing for that might be okay to combine for you for you desktop. But if you are routing for a house of twenty people then I would use a dedicated router and then not hack on it so that it remains running reliably. 01:45:36 its just a few computers and a phone 02:01:44 It's always up to you. But when it is a desktop people tend to like to reboot it when they want. And then someone else gets their ssh login dropped or their game disconnected and pops up and goes, "Hey! I was using the network!" 02:09:46 fortunately i dont reboot very often and im the only one within 100 feet that knows how to use ssh 02:12:41 I would want that separation of concerns, personally. the actual computer for a fairly low-traffic router presumably doesn't have to be very powerful 02:13:51 is there any information on software wireless access points in virtual machines 04:25:52 kevans: so I'm trying to investigate your hypothesis about gzdoom's fs_findfile.cpp implicitly including sys/time.h outside of the FileSys namespace, but I'm not finding any suspects 04:26:54 fs_findfile.h includes stdint.h along with C++ string and vector, which seem all clear, then the cpp file itself includes string.h which seems clear, along with vector.h again 04:33:18 er, wait, I guess I have to check all of the includes within those files, ugh 04:34:45 I wish I knew how to properly follow along with the output of clang's preprocessor, because like, I do see _timeval.h in the processed output, I just don't know how to trace back to where that's initially included 04:37:15 I can see that timeval is defined outside of the FileSys namespace though 05:00:28 kevans: lmao, just adding #undef _SYS__TIMEVAL_H_ inside of the FileSys namespace fixed the compilation errors. that's kinda disgusting, though 05:16:57 I see that a new version of GNU Make (4.4.1) went into the ports tree but there isn't yet a package, is that expected? 05:17:17 crb_: It takes a while for things to build, and longer if you're on quarterly. 05:17:36 I could see that but 2 weeks seem pretty long 05:20:47 crb_: Are you on quarterly? 05:21:02 mason: I'm not sure I'm trying to read on repos now 05:21:17 https://www.freshports.org/devel/gmake/ notes that 4.4.1 isn't in the current quarterly 05:21:19 Title: FreshPorts -- devel/gmake: GNU version of 'make' utility 07:15:18 <_xor> Hmm, is there a cmake module or something in ports that will allow a cmake project to build that specifies `dependency('pam')`? 07:15:47 <_xor> I'm trying to figure out if there's a pam.pc file for it or if I can/should manually specify the headers + lib(s). 11:38:11 In FreeBSD, is it possible to have multiple versions of a package/software installed at the same time as in Gentoo? 11:39:56 not that i'm familiar with through ports, but jails might do something like that. how does gentoo do it? 11:42:05 johnjaye: Gentoo lets me specify which version I want to use when I start a service or execute a command. There is also a tool to specify the default version. As I've understood, Gentoo's package management system is influenced by FreeBSD's ports system, so I supposed that it would work in a similar way. 11:43:05 in freebsd ports don't typically work that way unless a port is setup for each version 11:43:19 i think in freebsd you're supposed to use jails to do what you're saying: http://www.freebsd.org/doc/en/books/handbook/jails.html 11:43:20 Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal 11:46:52 My problem is that I need to upgrade Nextcloud from version 15 to 18 without skipping any major versions, so I need to install netxcloud15, nextcloud16, nextcloud17, nextcloud18. I guess I have to install them in serial instead of in parallel then. However, when I look at https://www.freshports.org/www/nextcloud/, it seems that only nextcloud18 is available from the ports tree. I'm running FreeBSD 11:46:54 14. Is there any way to install older packages? 11:49:40 Also, it seems that nextcloud15 requires php80, so I need to install php80 as a dependency, if though php80 is not supported on FreeBSD 14. 11:50:48 why do you need to do those steps? 11:50:52 If that's not possible, a last resort could be to move the nextcloud database and config files to Gentoo and upgrade nextcloud there and then move it back to FreeBSD. :-/ 11:51:39 nimaje: The nextcloud doc says that one should not skip major versions while upgrading, so I need to upgrade one step for each version from 15 to 18. 11:54:23 Any ideas how I can accomplish it? I'm thankful for all suggestions. :-] 13:25:22 how do i format a sandisk usb to then save mp3? 13:32:16 newfs_msdos 13:32:28 maybe :) 13:35:04 ketas just did it i think lol 13:35:25 to writte mp3 to usb just move it there? 13:35:50 depends why and what 13:36:00 how 13:36:15 is to play it in my car 13:36:23 yeah you could just move files, or perhaps copy 13:36:26 oh 13:36:45 fine then? 13:36:45 ok 13:36:49 thanks 13:37:52 ketas it says invalid file name 13:37:57 when i try to paste it 13:38:04 or moved it into usb stick 13:39:57 managed to make non-32 fat? 13:40:07 no idea 13:40:20 can you help me format since the beggining 13:40:23 to make sure 13:40:24 please 13:40:33 i used gpart destroy 13:41:18 oh well 13:42:02 might as well do dd now to see if it's ok :p 13:42:13 how i do that? 13:42:33 i usually do that once just in case 13:42:50 but it had fat before or...? 13:43:26 it was brand new 13:43:32 it had sandisk files 13:44:15 gpart add -t fat32 da0 13:44:23 newfs_msdos -F32 /dev/da0s1 13:44:26 i used this 13:45:17 so why errors? 13:45:20 http://www.codenicer.com/content/formatting-usb-drive-fat32-using-freebsd 13:45:21 Title: Formatting USB drive with FAT32 using FreeBSD | codenicer.com 13:45:27 same tho 13:45:41 gpart show da0 13:45:41 => 63 60125121 da0 MBR (29G) 13:45:41 63 60125121 1 fat32 (29G) 13:45:42 so it was already formated? why did you think you have to format it? 13:46:21 nimaje i wante to remove sandisk files that comes with the usb 13:46:53 wouldn't deleting the files have been enought? 13:48:17 nimaje when i try it said it cant be removed 13:48:23 or that does files dont exist 13:50:56 something weird is going on 13:51:00 try that again 13:51:11 now when i move files it says invalid name 13:51:18 skip skipall etc 13:51:35 but when i try again it shows like the file is all ready in usb if i want to remove it 13:51:40 or replace it 13:52:05 but when i open usb in file manager is empty cant see nothing there 13:58:24 how is that thing mounted 15:04:37 hello 15:04:53 is it main #freebsd or vestibule ? 15:58:05 /part 16:08:49 just to confirm, there's no option in pw useradd to give the password by hash right? 16:09:15 $6$... 16:10:16 alepzi: `man pw` should at least do it via `-H -` iirc 16:10:26 and there's probably an easier way 16:10:37 ya but that's with usermod no? 16:12:52 oh, both 16:14:54 echo '$6$...' | pw usermod $USER -H 0 16:14:56 works here 16:15:18 ya i wanted something for useradd tho but looks like that'll work. gonna test now 16:20:24 I think its deliberately intended *not* to allow setting it on the command line, so even hashed passwords and salts don't get logged 16:20:35 ok, openvpn routing, what am I doing wrong? 16:20:51 I want local traffic not to go via vpn 16:22:19 oh ya true. if i do pass the pw hash by command line to pw useradd, where will that line be logged? /var/log/messages or? 16:22:52 aaaaah im on teh wifi, gotta use a different gw 16:23:14 alepzi: my example above should not have something logged via e.g. sudo or whatever 16:27:41 worked for me except i had to change | pw to | sudo pw 16:27:56 still didn't see any logging to /var/log/messages 16:44:42 alepzi: i guess sudo/doas logs turn up in /var/log/auth.log ? 16:44:53 Mar 16 16:44:21 akai doas[75741]: dch ran command pw usermod testy -H 0 as root from /projects 16:44:56 thats what i see 16:44:59 no passwd :-) 16:45:41 niiice 17:06:03 if i lock an account, is there any security benefit to also disabling pass auth with usermod -w no? 17:50:29 has anyone experience making a mistake and upgrading to -CURRENT (or some other release) and then try to get back to a release like 14.0? 17:55:40 I do that by smearing a release tarfile over root (excluding etc) and then do a new `make world`. 18:00:33 cracauer: that is what iw as thinking.. pulling the source for releng/14.0 and just going to install over it :) 18:00:37 hopefully that fixes it.. 18:06:16 I mean a binary release tarball extract first. 18:08:12 In case `make world` doesn't like to go backwards. 18:09:14 i am pulling from git.freebsd.org the kernel and building 18:09:28 but maybe your option is "smarter" than my screw up.. 18:10:09 Only required if `make world` falls flat on its face. 18:10:24 right now doing a make -j8 buildworld kernel 18:10:29 it is chugging along 18:12:01 i need to update my tmux configuration to make the different hosts stand out more.. freaking crap 18:12:10 and i should NOT have had CURRENT in /usr/src but somewhere else 18:22:06 when i type lpq it says no daemon present. i am running lpd alright. what could be the problem? 18:24:42 check to see where it is running 18:24:57 like the exact path to where it is 18:30:37 it is interesting to see how much LESS cpu a 14.0 source build is verus a 15.0 current build 18:34:32 signalblue: ps -aux shows that root is running /usr/sbin/lpd 18:40:43 voy4g3r2: if you figure out a good way to do that let me know 18:41:37 so far my idea was something like have a different color for different OS. like red for linux and blue for freebsd 18:42:54 will do 18:43:00 well the buildworld kernel finished 18:43:03 time to see if a reboot works.. 18:43:06 then installworld 18:43:39 johnjaye: i have tried to put hostnames in my header/footer but that was clearly not looked at 19:01:01 voy4g3r2: i saw a neat trick on time. use the shading contrast so like you can write 112233 and you can see the contrast. only works with 256 colors though 19:09:49 i mainly use xterm256-color option 19:09:58 and it looks like we have harley down for the ocunt 19:10:04 reboot.. and network did not come back up 19:10:23 son of a gun.. time to move this thing again and diagnose 19:10:40 cracauer: your try on the tarball thing, is that basically "sucking" out the base from an iso image and overlaying in system? 19:14:06 intersting this mikrotik "shutdown" my network connection because of ping floods 19:14:11 pretty cool but annoying feature 19:27:11 oh yeah!!! no pam_xdg.so error 19:29:00 well that is odd.. i can login through ssh but not directly into the machine 20:02:47 anything wrong with locking root if noone needs to login as it? 20:02:56 my main user account's in wheel so i can do everything from it with sudo 20:20:40 voy4g3r2: no that's not 20:20:49 that's effectively a dos 20:20:53 your network is down 20:20:55 boo urns. i built OccamBSD and just tried to remake my rtorrent jail on top of it, but rtorrent uses crypto libraries in base, which i didn't build. so it won't run 20:21:16 someone's DOSing my network, better shut it down.... is the stupidest possible way to handle a dos attack 20:21:30 just implement icmp rate limiting 20:21:37 it's standard practice 20:23:12 "You can't DoS me, I won't serve anybody! I quit!" 20:24:21 sfox: yes there is a firewall rule that does thazt 20:24:24 i was not clear. 20:24:32 and why the heck is pam_xdg.so gone.. 20:26:50 voy4g3r2: it seems like that is provided by the pam_xdg package, not base 20:27:46 jaredj: what is odd.. if i try to login as any user direclty into machine.. it says can't find 20:27:50 but if i login through ssh no error 20:28:18 ah - yes - in /etc/pam.d there are separate PAM configs for different services 20:28:40 I have seen ''security appliances'' that brick the entire lan if somebody runs nmap 20:28:41 if you edit /etc/pam.d/login you should be able to comment out the line about pam_xdg, and then be able to log in 20:28:50 so nobody on it can even access the internet 20:29:27 voy4g3r2: or follow the "include" statements - it might be in /etc/pam.d/system 20:29:44 yeah it is.. in #session section 20:29:55 weird, i never touched this or even had pam_xdg installed till now 20:30:06 ?? yeah that's odd 20:30:08 i really need to get a serial / usb cable 20:30:18 :D 20:30:20 jaredj: well i DID by mistake upgrade to CURRENT and juust downgraded 20:30:40 yeaaahh, i read a little bit of the scrollback 20:30:41 so i was expecting some things to hiccup 20:30:55 that was the only thing, that i saw.. which is not bad.. maybe got in there some how 20:31:00 oh well.. fixed now, thank you! 20:31:06 hurrah! :) 20:31:09 time to hunt on amazon for a calbe 20:31:54 moving this beast of a machine around house is annoying 20:32:33 word 20:33:12 will be here tomorrow andf now amazon is doing this thing.. by being a prime member i just save 9.99 on shipping 20:33:20 they better NOT increase my membership price again 20:49:42 can you mount a filesystem in multiple places? 20:50:55 I have a zfs filesystem that I'd like to mount inside and outside of a chroot area 20:52:26 there is a way to do that in ufs but not sure about zfs 21:00:34 johnjaye, ok how do you do that using ifs 21:07:07 not sure. googling isn't showing a lot. 21:07:29 what happens if you just issue the mount command a second time? 21:08:42 https://dan.langille.org/2019/04/22/mount-your-zfs-datasets-anywhere-you-want/ 21:08:43 Title: Mount your ZFS datasets anywhere you want – Dan Langille's Other Diary 21:08:50 looks like there is some information on this you can set the canmount=on 21:19:36 crb_: you can use nullfs 21:19:50 thank you 21:19:52 mount the filesystem in one location, then nullfs mount from that location to a new one 21:26:01 my /compat/llinux doesn't have a password file, is that intentional? do I have to create that myself? 21:33:19 anything wrong with locking root if noone needs to login as it? my main user account's in wheel so i can do everything from it with sudo 21:44:13 alepzi, do you have physical access to that machine? I'm not sure what locking the root account would do to single-user login for repairs. 21:44:55 ya i do 21:50:33 * V_PauAmma_V nods. 22:14:05 so i guess single user mode won't let login to root if it's locked? 22:25:39 btw if i lock root, why can daemons, like sshd, still start running as root? when i tried to run caddy's rc.d with a user i made then locked, it said it couldn't start 23:34:45 if the freeports is showing "Package not present on quarterly" does it mean there are prebuilt binaries which we can somehow install (by adding repository)? building from source is taking hours..