00:04:23 ola 00:51:21 How do i keep up to date with freebsd news? my driver ax201 isnt supported via stable current etc. would like to have freebsd on my laptop one of these days. i have no ethernet port so i'm out of luck 00:58:01 jb1277976: what level of detail would you be after? 00:59:09 jb1277976: each wiki page has its own rss feed, you could subscribe to changes to pages you were interested in 00:59:16 view-source:https://wiki.freebsd.org/WiFi/Iwlwifi 00:59:17 Title: WiFi/Iwlwifi - FreeBSD Wiki 00:59:20 for example 00:59:29 https://wiki.freebsd.org/WiFi/Iwlwifi rather 00:59:30 Title: WiFi/Iwlwifi - FreeBSD Wiki 00:59:58 re iwlwifi itself, i dont think theres an open/public repo bz@ is working out of, which would be nice 01:00:35 in the absence of that, you can 'grep' git logs like so: https://cgit.freebsd.org/src/log/?qt=grep&q=iwlwifi 01:00:41 Title: src - FreeBSD source tree 01:00:54 but it realies on commit message logs including 'iwlwifi' or whatever term you want 01:00:59 gets most of it, but may not be perfect 01:01:28 jb1277976: there's also https://twitter.com/FreeBSDHelp 01:01:33 Title: FreeBSD Help (@FreeBSDHelp) / Twitter 01:01:46 big or important to user changes are almost always shared there 01:01:59 Ok stable i get a bad checksum when i use iwlwifi i tried 3 mirrors and all have bad checksum i don't know how to fix that. current and release crash when connected to my wifi driver. any ideas? i can't even finish the install. it just wipes it on current soi'm left without an OS 01:02:50 jb1277976: also, vermaden posts a weekly roundup: https://vermaden.wordpress.com/posts/ 01:02:51 Title: Posts | πšŸπšŽπš›πš–πšŠπšπšŽπš— | Another ${RANDOM} sysadmin sharing his experiences of work at IT industry. 01:03:53 jb1277976: if youve otherwise isolated local issues, next step is to provide feedback. id recommend doing so publicly on say freebsd-wireless mailing list cc bz@ with iwlwifi: crash on current ( or similar) 01:04:31 jb1277976: there's also the option, and this is a good option, of getting the crash info and reporting it on our bugzilla 01:04:39 ok 01:04:43 jb1277976: if its already not a known issue 01:04:50 jb1277976: can you get a screenshot of the crash? 01:04:56 there's usually a panic message, and a backtrace 01:05:24 koobs: I installed linux already since i was stuck without an os for like 5 hours of trying to install freebsd 0_o 01:05:34 roger that 01:06:02 koobs: Any ideas of what a checksum error is? 01:06:05 jb1277976: for example and reference, this month on freebsd-wireless: https://lists.freebsd.org/archives/freebsd-wireless/2022-October/ 01:06:06 Title: freebsd-wirelessβŠ™Fo 01:06:11 "[Bug 266887] iwlwifi crashes after 'ifconfig up':" 01:06:21 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266887 01:06:23 Title: 266887 – iwlwifi crashes after 'ifconfig up' 01:07:05 [Bug 267029] iwlwifi: Panic on initial network startup: 01:07:12 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267029 01:07:14 Title: 267029 – iwlwifi: Panic on initial network startup 01:07:22 so, point being, things are getting reported 01:07:36 jb1277976: need more info to provide an answer on checksum. exact command, exact error etc 01:07:43 where the error is seen... 01:08:38 something about a checksum error with base.txz mismatch or corrupted. tried two diffreent usb drivers 01:09:15 when doing what though? 01:09:27 koobs: During the install proccess using stable 01:09:53 so the error is seen in the install process? during which stage? 01:09:55 it wipese the drive downloads base.txs kernel.txs etc.. then at the end at about 99% i get the checksum error 01:10:04 what stable image are you using? 01:10:07 bootonly ? 01:10:12 or .. 01:10:15 yea boot only 01:10:19 use mini memstick 01:10:29 what is boot only? 01:10:30 actually one moment 01:10:44 literally boot only, everything fetched from repo's 01:10:51 not sure if and why stable snapshots would checksum error 01:10:58 but it wouldnt surprise me if snapshots arent lined up 01:11:24 jb1277976: for iwlwifi, id just stick with CURRENT, or wait for release 01:11:40 problem with the latter is, any issues for your card may not be tested/receive feedback for them 01:11:54 ok 01:12:04 just checking mini memstick for you hang on 01:12:29 I'm gonna install freebsd in a vm later or tomorrow to test it out so i can get to know how to install and set stuff up 01:12:45 yeh id do that 01:12:54 you can pci passthrough the wireless card (as an experiment) 01:14:03 jb1277976: yeh so you want memstick (not mini memstick) 01:14:07 it contains the install distributions 01:14:26 you dont need to select ports (just use git to grab it if you want ports (as opposed to packages) 01:14:58 you can get away with no src too (during install), use git for that too when you need it 01:15:28 only thing to mention with current (and stable), is that you dont get freebsd-update binary updates, and need to build from source, which is not hard, but one needs to actually build it 01:15:32 so to test in a vm use memstick and then try pci passthrough. to install on bare metal keep an eye on the bugszilla/mailing list to see if there are any updates? 01:16:51 if you want to isolate/report crash info for them to be fixed, then yeh having a reproducible freebsd env is useful, vm may provide it, may not (perhaps only bare metal) 01:17:10 i think its important for you to first decide 'yep i wanna deal with the bleeding edge' 01:17:28 which will set you up for all the next steps if you decide to go that way 01:17:50 not hard (email crash information to mailing list), check if your crash has been reported, report it if it hasnt, update when iwlwifi code is fixed 01:18:00 but, non-zero effort, and youll need to drive that forward 01:18:05 you have our help/support/advice of course 01:18:24 ok 01:18:57 koobs: What iso do you recommend i try on bare metal. im using the first boot only iso. maybe i'm using the wrong one? 01:20:00 boot only fetches everything remotely, which if there are issues with checksum sync for -stable versions, might have that problem 01:20:19 with memstick (not mini memstick), you can install from the image, no remote stuff needed 01:21:24 so rather than spending time with someone to track down the checksum issue, im just recommending to use an image that doesnt need remote files 01:21:45 https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/14.0/FreeBSD-14.0-CURRENT-amd64-20221020-24cf7a8d628-258691-memstick.img.xz 01:21:54 latest compressed memstick image of CURRENT (20221020) 01:22:21 it would be nice to have mini memstick be more than bootonly, but not as big 01:22:23 | 01:22:25 :| 01:24:58 ~300mb just for kernel/lib32/base 01:25:16 koobs: Sweet if this works I'm on FreeBSD quick :P 01:25:22 jb1277976: technically :) 01:25:31 you have the option too of buying a supported usb wireless device 01:25:35 atheros/intel or whatever 01:25:38 koobs: Is there a. Guide on how to get the meme stick onto a usb? 01:25:40 ~20-30 bucks maybe 01:26:12 jb1277976: same way you get any img -> usb 01:26:20 depending on the OS you currently have 01:26:21 Sweet 01:26:28 I light do it tonight 01:26:33 Might* 01:26:44 no rush, but youve got options 01:26:56 take it easy and let us know what you decide and how it goes 01:28:35 koobs: Somebody answered here the other day about wibox or wifibox for Wi-Fi 01:29:42 sure, you could do that too 01:29:52 freebsd -> full linux -> wifi driver feels a bit weird to me 01:30:08 but if that sounds appealing/interesting to you go nuts 01:30:16 only other thought is 01:30:21 the current blocker for your hardware is a crash 01:30:25 given good crash info feedback 01:30:32 stuff like that is fixable relatively quickly 01:30:56 https://wiki.freebsd.org/WiFi/Iwlwifi#Testing 01:30:57 Title: WiFi/Iwlwifi - FreeBSD Wiki 01:31:29 check your device against: https://wiki.freebsd.org/WiFi/Iwlwifi#Supported_Hardware 01:31:30 Title: WiFi/Iwlwifi - FreeBSD Wiki 01:31:36 that will answer is it 'expected' to work or not 01:31:45 if not, it would be good to get it explicitly added, so others can known 01:31:59 and then once you have your crash info : https://wiki.freebsd.org/WiFi/Iwlwifi#Contact 01:32:01 Title: WiFi/Iwlwifi - FreeBSD Wiki 01:33:23 koobs: Thanks will keep you guys up to date 01:33:28 roger, take care 01:57:59 koobs: Besr thing just happened. I installed FreeBSD with the memstick 01:58:25 Let me read up on how to get Wi-Fi up 01:58:38 Gotta give kid a shower brb 04:07:19 Guys i installed cinnamon but when trying to startx or what not I get no screens. I put my bus id but still nothing . Any ideas? 04:07:37 koobs: Freebsd is installed 😎 04:07:49 And I got an ip 04:09:18 first place to look is /var/log/Xorg.0.log 04:16:10 arielmt: What N I looking for ? 04:16:15 am* 04:17:23 any errors, warnings, or info lines that would hint at why startx doesn't give you a screen 04:21:12 Ok 04:53:14 jb1277976: wooooooooooooooooooo! 04:55:23 koobs: I'm on 14 current 04:55:41 This no screens and i915km is driving me insane lol 04:56:13 It's not loading for some reason. I get an error. Error loading i915kms with kldload 05:25:32 Hello all 05:25:56 Hi. 05:27:02 jb1277976: i use wifibox. it is way more stable and faster. Yes, i know it is sort of hack, but a decent one. great, that you can do such thing by power of bhyve 06:17:42 jb1277976: try ihd. 08:41:15 I don't find how to list installed package with pkg 08:41:42 pkg info 08:42:01 ok, i was wondering why it only output pkg itself 08:42:05 but it seems normal 08:42:09 thanks 10:47:09 hi what would would be the easiest and fastest way (an correct freebsd way of doing things) to allow a port only from localhost and prevent it from anywhere else? 10:47:55 i suppose pf would be the way forward 10:56:56 since pf is from openbsd, surely ipfw is the correctest way? :D 10:57:36 in all seriousness, any firewall would be the way to do that - so use whichever one you prefer 11:13:38 so... 11:14:29 keiserr: the question is ambiguous: what do you mean by allowing a port from localhost? You mean that someone who ssh-s into your system isn't allowed? Or do you mean that particular port listens on the network, and you want it to listen to localhost only? 11:14:58 thin jails. Can jid0 be constituted as one? I have to assume it would be thicker than the others as it has to run the kernel, and has to mount all other filesystems. 11:15:04 keiserr: X-Y problem. 11:15:06 In case of the former: I don't think that is possible, from a FreeBSD perspective a user ssh-ing into the machine is local 11:15:17 Sjottelsplak, nevermind, i just wanted to allow traffic from localhost. I followed the pf manuals, seems like it works now 11:16:34 * Sjottelsplak took port as 'ported application'... time for weekend :) 11:17:30 :D 11:38:22 Reinhilde: I think the correct kernel-level nomenclature is prison0. 11:39:08 oh. 11:39:37 Anyway, that's not what I'm asking. I'm asking about a filesystem layout commonly known as "thin jails". 11:40:51 Sjottelsplak: you can use pam_jail to automatically jail users who log into the host ssh. 11:42:03 security/pam_jail I mean. 11:43:16 There's quite a nice little collection of pam modules in ports, that're easiest to locate by this search on freshports.org: https://www.freshports.org/search.php?stype=name&method=prefix&query=pam_&num=50&orderby=category&orderbyupdown=asc&search=Search&format=html&branch=head 11:43:32 You can probably also do it with find(1), but that's a bit harder to link. ;) 11:44:19 Err, I forgot to escape the underscore in that query, so here's the correct one: https://www.freshports.org/search.php?stype=name&method=prefix&query=pam%5C_&num=50&orderby=category&orderbyupdown=asc&search=Search&format=html&branch=head 12:05:29 hello, i just installed kea(dhcp server) but I can find no rc.conf stuff 12:05:37 anyone knows how to autostart it correctly? 12:06:49 Not all ports have files in /usr/local/etc/rc.d, so you might need to write your own based on https://docs.freebsd.org/en/articles/rc-scripting/ 12:06:50 Title: Practical rc.d scripting in BSD | FreeBSD Documentation Portal 12:07:34 Seems like it should though, based on https://cgit.freebsd.org/ports/tree/net/kea/files/kea.in 12:07:35 Title: kea.in Β« files Β« kea Β« net - ports - FreeBSD ports tree 12:07:51 Does it show up in `service -l` 12:09:37 yes it does 12:09:55 ill just service enable it then?:) 12:10:16 perfect, thanks 12:11:48 Unless you want some flags, yes 14:43:03 Guys I'm getting no screens when trying to start x I've installed xfce xorg enabled dbus hald etc.. at first I was getting errors about framebuffer mode fixed that. Then no Bus is fixed that now just no screens. Any ideas? 14:43:33 I don't know how to get logs 14:46:47 check /var/log/Xorg.0.log for EE lines 14:50:10 Ok 14:52:02 Vesa v_bios address 0x9 out of range 14:52:02 screens found but none have a usable configuration 14:52:02 No screens found 14:53:08 0x0 14:55:27 I installed xf86-video-intel also and added intel as a driver to /etc/X11/xorg.conf since that didn't work I deleted it and added it to /usr/local/etc/X11/xorg.conf.d/driverintel.conf 14:55:30 Same issue 14:56:47 try with no X configuration at all, and without xf86-video-intel at all and use kms instead 14:57:01 sopparus: note that Kea's DHCP6 server exhibits inconsistent behaviour on system start-up; it occasionally won't send any advertisements and won't reply to requests despite the log file showing everything is fine, the solution is to reload or restart it 14:57:16 Xorg would find it automatically ( supposedly it should ) 14:57:20 jb1277976: I hit that the other day with a questionable cable/adapter combo where FreeBSD couldn't get a valid set of modes from the monitor. Linux has 'nomodeset' for this situation but FreeBSD struggles a bit more. 15:02:27 Hmm 15:09:53 jb1277976: There's #freebsd-xorg on EFnet where some subject matter experts hang out. 15:11:39 Sweet 15:30:00 hey, what would be the easiest way to install a headless browser and which one would it be? I see that when trying to install firefox/chrome, lots of deps are pulled in, even X... on a server jail. 15:31:25 chromium does have headless configure option, but i am not sure whether it is in port for it 15:31:50 so far I've installed firefox only, didn't even try chrome 15:32:59 firefox ( upstream ) has an option to build without X, assuming you woul use wayland ... speaking of headless, not sure it has one. 15:33:43 a way to use it in some sort of headless way is through selenium framework 15:33:54 that would be my goal 15:34:18 then, maybe invest time to learn selenium 15:34:49 there is a gmail abuse report form which contains loads of javascript and it scrambles the data before submitting so it can't be automated via pure python. so I figured I'd need a headless browser 15:34:51 https://pythonbasics.org/selenium-firefox-headless/ 15:34:52 Title: Selenium firefox headless - Python Tutorial 15:35:31 (way to go, google) 15:37:42 hm, there is jsdom with nodejs, might give it a try 16:03:31 mason: This resolved my issue https://forums.freebsd.org/threads/xorg-doesnt-detect-devices-wont-load-to-screen.71134/ I guess I just had to keep searching 😎 16:03:32 Title: Solved - Xorg doesn't detect devices, won't load to screen | The FreeBSD Forums 16:05:04 i need to learn how to write freebsd kernel modules 16:05:19 i have never written a kernel module before, not even for linux 16:05:39 does anyone know how to read interrupts in freebsd? 16:06:44 "read interrupts?" 16:06:47 Elaborate. 16:07:31 keyboard interrupts, to be precise 16:08:19 i saw https://medium.com/rossdotpink/writing-a-simple-freebsd-kernel-module-9302bd4cfae1, that was helpful 16:08:21 Title: Medium 16:08:40 but i still don't know about how to count interrupts 16:31:30 jb1277976: Ah, you weren't loading drm-kmod? 17:20:25 mason: Yep 17:21:03 Can anyone help me get sound working and my microphone to work to test or what not? i have snd_hda loaded and i can play sound in firefox but i would like to test my mic 18:19:56 jb1277976: Maybe try https://www.onlinemictest.com/ ? 18:19:57 Title: Microphone Test - Check Your Mic With Our Online Tool | OnlineMicTest 18:24:53 kodcode: Thanks. Trying to get sound up was writing earlier until I installed oss 18:25:06 Working * 19:46:47 Hi! Somebody have a tutorial how to make a package ports? 19:46:56 my tool have 1 shell script only 19:47:01 Hi 19:47:46 I'm having trouble with the ports book. Is there a tutorial that is simpler or more direct? 19:48:26 mbnunes: is there something in porters-handbook specifically that you don't follow? 19:49:41 rtprio: I already created the makefile, but I didn't find the part where I point my script to be executed 19:49:48 sorry for my english, using google translate 19:50:46 you run `make` to run the makefile, unless you're asking about how to run something else 19:52:54 humm 19:53:04 19:53:10 "The first entry in CATEGORIES should be the directory where the port lives" 19:55:13 mbnunes: The "physical" category, as opposed to any of the virtual categories it might also belong to 19:55:51 my CATEGORIES= x11 19:56:24 ok 19:57:17 i can pastebin my makefile here? 19:57:26 Yes 19:58:17 https://pastebin.com/dTCn07iz 19:58:18 Title: PORTNAME= freebsd_desktopDISTVERSION= 1.0CATEGORIES= x11MASTE - Pastebin.com 19:58:57 it's my firts try to make a ports package 20:02:52 mbnunes: You're off to a good start, but the distfile fetching doesn't quite work like that 20:04:24 looks like thre's a shortcut for github 20:04:36 https://wiki.freebsd.org/Ports/SimpleGithub 20:04:38 Title: Ports/SimpleGithub - FreeBSD Wiki 20:05:21 for that you probably want to use USE_GITHUB (distfile fetching) use NO_BUILD (you don't have anything to build) and a custom do-install (there isn't a makefile or similar with an install target in the source) 20:05:24 mbnunes: Something like this works: https://termbin.com/pkab 20:06:10 Next will be the do-install part as nimaje mentioned 20:16:16 kodcode not working at least not on two browsers. I changed the default mixer to pcm0 and mixer says there is a mic and everything there just can't verify with any other software or don't know any software that can record your voice with built in mic 21:19:38 thanks rtprio and vkarlsen 21:41:17 I'm realizing that FreeBSD isn't for the faint of heart 😬 22:13:54 i'm faint with worry using other things 22:23:32 Question i manually loaded cuse when i reboot it gets unloaded. how can i get it to start at boot ? kldload cuse works then i can run service virtual_oss start fine. it just needs to be persitant 22:31:23 jb1277976: kld_list in rc.conf 22:31:29 jb1277976: update your /boot/loader.conf with the line cuse_load="YES" 22:32:01 Oh, or that. 22:46:02 mason: which is preferred? i'm new ;] 22:46:56 Demosthenex: Some things want to load early, and some things choke if they load early. The package install message will likely say which this wants. 22:47:19 ah 22:47:27 Oh, is this not a port? Hrm. 22:47:42 Demosthenex: Ah, cuse(3) suggests your method. 22:53:37 np, just curious =] 22:53:46 i threw it in puppet and promptly forgot about it 23:23:50 My FreeBSD journey just begun last night but I can tell you that you learn about your system fast 😎 23:24:56 jb1277976: exciting :) 23:25:05 so verythings generally working, and youre on CURRENT now ?