01:18:34 hmm maybe I should ask ML 02:45:36 scoobybejesus: linux users stick out like a sore thumb 03:03:23 how do I switch my caps lock and ctrl keys on the console ? I don't run X11, just console login. 03:26:09 mns, Create a custom keymap and load it. Start by looking at /usr/share/vt/keymaps/* and then hack a keymap into doing what you want. 03:26:52 See "man 5 keymap" for details. 03:27:36 mns you might find these instructios helpful: https://ake.in.th/posts/remap-capslock-to-ctrl-on-freebsd/ 03:27:55 you have to modify an existing keymap 03:28:12 rwp and johnjaye, thanks I'll take a look 03:28:29 if it works let me know. i can't get kbdcontrol to do anything for me 03:31:53 Remapping capslock to lctrl with the keymap works for me. And it is exactly the 058 line from the reference you just posted. 03:32:19 what file did you use as a template 03:32:28 i see dozens in /usr tree 03:33:14 I combined us.acc.kbd and us.emacs.kbd together. Some things are still not quite right. I need to get back to it. 03:33:27 But definitely the lctrl for capslock part is working. 03:34:37 cool 03:35:49 I'll have to see what I have as my existing keymap 03:40:57 kbdcontrol -i tells me "inappropriate ioctl for device" 03:41:14 same 03:42:43 and I get that even when I run it as root 03:46:35 Just checking... Running it from the vt console, right? (I get that if I try to run it from an xterm in X. Must be on the vt console.) 03:47:03 ahhh ok. I was doing that in my tmux session 03:48:17 We have all done it. :-) I don't think kbdcontrol -i is interesting. At least not here. But of course we have to peek at it. 03:48:29 ok that worked, it tells me what type of keyboard it is, now just need to figure out the map 03:48:56 right 04:08:49 ˜/42 04:08:52 dang it 04:09:16 no idea why the app on my ipad does that 04:09:31 will randomly put in a ~ before I issue commands 04:13:35 Wow, an iPad. I see people who type on those but I would never get along with one. I need a real keyboard. 04:14:20 I could never live without a real keyboard either, would get difficult to work in emacs :-) 04:14:39 Sticky control keys. It would be the only way. 04:14:43 iPad plus the Magic Keyboard case 04:15:09 I hardly use the trackpad 04:15:29 switching between apps? just do cmd-tab 04:15:46 control key and capslock switched? yup done in settings 04:16:36 I didn't think I would like it, but so far its turning out real nice 04:17:28 Its my gateway to my FreeBSD system :-) 04:31:44 hello 06:56:04 CCFL_Man: how do they stick out? 06:56:14 when they start talking about systemctl? :P 07:05:15 Do i have to install Wine when playing name under FreeBSD? are there any pure BSD games? which don't require wine or linux steam 07:05:25 game 07:06:35 pkg packets and ports contain games 07:07:30 and you can always type: ssh nethack⊙ao 07:07:56 xxy: dhewm3 port of doom 3 runs natively for example. also gzdoom,which enables a hell of a lot of mods and games. 07:35:42 is freebsd awake at this hour? 07:36:02 i need to stsy awake then 07:43:25 it's 10 in the morning around here :) 07:51:27 sheesh its 12:51am PST here 07:51:30 i need sleep 10:03:21 xxy: "are there any pure BSD games?" Check out /usr/games. 10:04:44 Man...I miss xarchon (fwiw it builds just fine but it requires qt3 which isn't in ports). 14:02:38 I have a game called 'greed' in /usr/local/games 14:56:31 remiliascarlet: unfortunately freebsd removed /usr/games years ago. i think they're in ports now 14:58:46 still listed in man 6 intro 17:23:19 20 years ago Lokigames worked great under FreeBaSeD 17:25:48 17:34:20 ober: hey.. you Ober from old days? 17:41:51 Tenkawa: yes. #linpeople. and #sqlite I remember you. orac right? 17:43:51 Yep... 17:44:09 dont forget old soark.net lol 17:44:48 yeah the dyndns clone crom wrote 17:44:53 like 97 17:44:59 yeah... 17:45:10 soark was the ISP I ran lol 17:45:34 That feels like forever ago 17:45:58 Now I'm looking at FreeBSD/Linux on RISC-V 17:46:43 (Already working on it a lot on Linux...) 17:46:50 nice 18:36:42 ivy, I always have 'fortune -o' set to run on login. 18:59:39 yeah fortune and a couple of others moved to /usr/bin 19:03:23 is there a way to avoid using $cloned_interfaces in rc.conf? this is starting to get unwieldy: cloned_interfaces="bridge0 bridge2 bridge3 tap0 vmnet0 vmnet1 vmnet2 vmnet3 vmnet4 vmnet5 vmnet6 vmnet7 epair0" 19:03:36 would rather just have separate options to create + configure each interface 19:05:24 yeesh 19:06:52 it's annoying because with ifconfig you can create+configure an interface with a single command: # ifconfig vmnet7 create inet6 mtu 9000 -ifdisabled -auto_linklocal fe80::1/64 up 19:07:17 but i can't find an rc.conf hook to make this work... i guess i could do a bunch of cloned_interfaces="$cloned_interfaces vmnet7" before each ifconfig_ line 19:10:09 ivy: the openbsd rc is nicer for that, for sure 19:14:55 https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/ - er, FreeBSD-15.0-CURRENT-amd64-20241017-b88df1e893c4-273001-disc1.iso.xz is only 102 bytes? 19:17:01 compression has come a long way 19:17:27 i was about to say this must be emaste@'s work on improving the installer experience 19:17:32 :-) 19:17:50 i'm surprised we don't have a better way to handle syncing new snapshots 19:18:02 ivy: I don't see 1017 but on 4 files in that entire dir yet 19:18:10 with package sets we'll sync everything then cut a symlink over 19:18:30 I don't think the sync/build is done yet 19:18:36 indeed 19:18:56 xz compression is en route to be the next "Pied Piper" 19:18:59 snapshots would've started around 00:00 UTC overnight, we're on the tail end 19:19:24 ok i went with the 20241010 installer from a mirror and something is really broken with guided ufs partitioning 19:19:48 i can't type anything into the 'Type:' box when adding a partition, this worked fine in 20240201 19:20:05 wait until you try to resize something 19:20:17 it'll let you input something but it just won't actually adjust the size. it's grand 19:20:25 no i deleted the partitions it suggested and tried to create new ones 19:20:38 let's try with "ansi" as terminal type in case that's the problem 19:20:51 kevans: i did notice you can't resize them, that seems to have been broken for ages 19:20:59 (at least i assume it's broken, surely not intentional) 19:21:20 yeah, surely not 19:21:39 oh hang on i just realised i'm in tmux, i wonder if that confuses it somehow 19:21:55 Almost certainly. 19:22:01 tmux/screen is good at scrambling things nicely 19:22:11 I can attest to that 19:22:19 Yep. Gotta watch that ~/.tmux.conf setup. 19:22:52 ek: yeah I have a special screenrc one too... 19:22:58 I spent ages on trial and error to get proper terms and colors working within tmux. Can be quite the pickle. 19:23:03 nope still broken. oh well, i suppose i can just install directly into a UFS disk image with pkg or something 19:23:06 Tenkawa: Same. 19:23:53 ivy: This is in the bsdinstall'er for 15.0-C? 19:24:10 ek: yes 19:24:55 I use tmux more ironicly for xmodem/zmodem transfers of spi data to soc spi data... Its handy though for my uart needs sometimes.. 19:29:04 ivy: Hrm. Interesting. Maybe I'll take a quick poke at it. 19:29:24 Tenkawa: I haven't needed xmodem in a while, but it is definitely a handy feature. 19:30:06 ek: yeah many of these new boards can be eeprom flashed using xmodem 19:30:25 I use tmux for just about everything. SSH sessions with background builds, tons of separate windows, multiple split windows, etc... It's a good tool. 19:31:42 I just hope "one" of my sbcs lying around (arm or risc-v) I can get working with FBSD 19:32:49 i seem to have really bad luck with the 15.0 installer snapshots in general, i'm not sure i've ever managed to actually install a system with one 19:33:43 ivy: x86? 19:34:01 I could try one here on my laptop test box 19:34:19 It has 14 running on it atm 19:37:44 ivy: I don't even see the AMD64 15-0-C.*\.iso.xz for 20241017 in the snapshots downloads area. 19:38:04 Did you maybe just catch an upload/deletion at a bad time or something? 19:38:06 ek: its not yet that i saw 19:38:14 ek: different mirror maybe? the 20241010 is broken in the same way 19:38:16 Or, maybe I'm just drunk 19:38:28 ivy: Ah. Okay. 19:40:07 let me try the arm64 one first on a vm here... easiest to test (and my fastest box) 19:42:05 ek: i use tmux because there's no way to scrollback without it. it's literally necessary to use the terminal. maybe only in bash though. 19:42:07 Tenkawa: That was exactly my thought. Just spin a VM somewhere and see what happns and go from there. 19:42:22 Yeah this won't take long 19:42:29 dloading it now 19:42:35 johnjaye: you can scroll in vt(4) console by pressing scroll lock 19:42:47 johnjaye: No way to scroll back? 19:43:10 yeah linux or bash or something got rid of the ability to use the break key i think to scroll up the terminal 19:43:24 i *think* it was a linuxism but in defense I always use tmux with bash now 19:43:49 are you talking about the linux VGA console? bash has nothing to do with scrolling, that's a function of your terminal emulator 19:43:56 No.. you just need the right termcap 19:44:14 Hrm. I don't use much linux or bash, so I'm not privy. But, as ivy mentioned, with FBSD you can use scroll lock to page up/down in console. 19:44:18 ivy: exactly 19:44:52 as long as the emulator can interpret the terminal capabilities it can do it 19:45:04 ah ok it was a linux decision. 19:45:08 https://unix.stackexchange.com/questions/714692/how-to-scroll-back-in-linux-virtual-consoles-2022 19:45:09 (terminal emulator) 19:45:18 johnjaye: no.. linux does it just fine 19:45:32 I use it every day in linux too 19:45:42 what is your kernel version from uname 19:45:50 "Scroll back was removed in version 5.9 of the kernel." well sure, now all computers are cloud VMs SaaS services why would anyone use a console 19:45:53 you have to have your term type set right 19:46:13 ivy: where is that from? 19:46:21 termcap doesn't affect this fwiw, the console driver (on both freebsd and linux) is a much lower level than that 19:46:29 Tenkawa: the stackoverflow link from johnjaye 19:46:57 Haha. I was just reading that. I wonder what would lead to such a decision? Seems like a poor decision, IMO. Who wouldn't want the ability to scroll in console? 19:47:38 strange decision but i wonder if it's something to do with simplifying the tty/vt layer, linux has had some security issues there in the past 19:48:03 ek: the link says that nobody was maintaining the code and linus offered to let it stay if someone maintains it. nobody did. so the boot came down. 19:48:04 (if i cared enough, i would read the linked commits, but i do not since i don't use linux :-) 19:48:21 ivy: what kind of security? 19:48:40 ivy: Yeah. Same. :( 19:49:13 johnjaye: i don't remember the details and i think it was in tty(4) rather than the VGA/EFI console layer.. but still, if they think no one uses the feature, that could be a justification to remove it 19:49:25 i am quite surprised no one uses this feature enough to maintain it though 19:49:36 Although, if I ever find myself wanting to scroll back in a linux console, I'll be kicking my own a*s for not caring. 19:50:10 tbh i feel like if i log into the video console at all i've done something horribly wrong, but it is useful on my desktop that boots to getty, and i log in to start wayland 19:50:16 ivy: Exactly. How could that just go so under the radar. I would think many people would notice this missing feature and be like WTF!? 19:50:57 this reminds me i need to get the uart console on our fileserver working, i think i bought the wrong type of DB9 header for the motherboard 19:51:04 (is that wiring even standardised at all?) 19:51:19 With IPMI/iLo/iDrac/etc... available on almost everything, I suppose I can see how it would slide through. 19:51:44 I haven't used a physical console in quite some time unless, as ivy mentioned, something went *HORRIBLY* wrong. 19:53:05 ivy: DB9? I would imagine so. 19:53:59 I generally only use those for setting up switches and such. 19:54:09 ek: i mean the DB-9 end is standardised but the other end is a 10-pin motherboard header (block connector, can't remember the proper name) 19:55:38 this thing https://eshop.edgemo.com/image.php?mwidth=458&mheight=458&filename=/upload/cnet/STARTECH.COM/PLATE9M16/1220dc54-3a37-4939-a9bf-6452c22ecaa9.jpg 19:57:18 I see why it works on my images in linux.. its in one of the few hundred patches we still maintain... 19:57:29 (we build custom images) 19:57:54 Ok.. lets see if this 15 current will install 19:58:53 speaking of freebsd and video consoles, one day i am going to sit down and work out why loader.efi is *so slow* to update text when running in 4k 19:59:01 ivy: i kinda want to learn how uart works. can you start a youtube channel and document the entire process? 19:59:08 it feels like it's redrawing the entire screen to print every individual character or something, but surely efi does not require that 19:59:34 (there is at least a 50% chance this is a bug in the UEFI firmware or the video card GOP driver, i suppose) 20:00:09 ivy: what part of the 15 process starts going goofy? 20:00:12 I guess tsoome would know 20:03:09 Tenkawa: proceed as normal until you get to disk partitioning, select 'Guided UFS', delete the / and swap slices it auto-creates, try to create a new slice of type 'freebsd-swap'. the bug appears when trying to change 'Type' from 'freebsd-ufs' to 'freebsd-swap', it simply does not accept any input properly 20:03:31 oh, guided UFS with GPT specifically, and use entire disk 20:03:38 Ok let me restart.. I had used zfs 20:03:45 wont take 3 min 20:04:08 i will be quite interested if it either does or doesn't work for you... if it doesn't work i guess no one uses UFS anymore (?), if it does work then wtf :-) 20:07:16 worked here... I deleted both.. created swap as first one.. .root as second (what ended up as p3) 20:07:35 and they took correct types and formatted properly 20:07:45 hmm weird. wonder if it's something to do with bhyve, or my terminal emulator 20:09:19 oh this did not go well 20:09:21 root@:~ # kldload virtio_pci 20:09:21 virtio_pci0: port 0x2000-0x203f mem 0xc0000000-0xc0001fff irq 18 at device 5.0 on pci0 20:09:21 root@:~ # vtnet0: on virtio_pci0 20:09:22 Fatal trap 12: page fault while in kernel mode 20:11:22 ivy: You were using Bhyve as the virtual host? 20:11:29 ivy: same 20:11:30 exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r = 0 (0xffffa000c0890600) locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2202 20:11:30 stack backtrace: 20:11:37 ek: yes 20:11:40 well similar 20:11:58 i have another vm running the exact same build on the same bhyve host and it works fine though, i wonder if the problem is specifically related to kldloading it 20:12:01 mine faulted too on first boot 20:12:04 Tenkawa: Also using Bhyve? 20:12:10 no.. parallels 20:12:41 I'm running on a Arm Mac 20:13:19 works fine in loader.conf... i will file a bug 20:13:26 Gotcha. I have vbox, workstation, bhyve, ESXi and Proxmox to test on. I'll try another one. 20:13:59 Tenkawa: exclusive sleep mutex vtnet0-rx0 is normal fwiw, that's PR#253888 and is non-fatal 20:14:08 this panic is something else, i think 20:14:11 ah ok. 20:14:22 Hadn't seen it in 14 20:14:31 it only shows up with WITNESS enabled 20:14:47 (i mean, the bug is there either way, but you need WITNESS to detect it) 20:15:00 Ahh .. Yeah... going to be trimming that down asap 20:16:31 I spent around 20 years in kernel devel/debug.... Its where I feel most comfortable now that this is all a hobby now.. 20:23:22 filed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282168 for this (in case anyone else wants to play with it :-) 20:35:05 hey all somewhere there is site that explains how to run multiple openvpn's via symlinking I believe just the base /usr/local/etc/rc.d/openvpn to -> /usr/local/etc/rc.d/openvpn2, /usr/local/etc/rc.d/openvpn3 or w/e you would like ... does that sound correct or are there additional steps I cannot for the life of me find the web page 20:35:47 ivy: During the 15.0-C UFS setup issue, you said you were using guided, deleting swap and root, and re-creating, correct? 20:35:54 ... using UFS and not ZFS? 20:36:09 for anyone curious: https://forums.freebsd.org/threads/running-two-vpn-connections-at-startup.46389/ 20:36:23 And you couldn't enter a partition/slice type when manually creating? 20:36:31 ek: correct 20:36:59 over serial console (bhyve) which might be related 20:38:05 Yeah I was using direct display (via parallels graphics console) 20:38:23 that might be one variable difference 20:38:38 must be the season I had freebsd 14.1-p2 (well the realtek drivers) crash out on me a couple of days ago as well, could not remember the last time I seen a proper kernel panic 20:40:15 Yep. I just deployed in both vbox and proxmox just to make sure and I wasn't able to duplicate that issue. :( 20:40:33 oh well, i will fiddle a bit more when i have some spare time and see if i can work out what's causing it 20:40:40 Manually creating slice types, names and locations seem to work okay. 20:40:50 Yeah. Very strange, though. 20:41:11 You'd think that at the very least it would be tested in a standard Bhyve env. 20:41:32 unlikely though you might want to have vimage loaded as well, except for geom_mirror was the only thing I had loaded as well as the realtek drivers 20:41:35 it definitely did work in 20240201 so something has changed, but it must be fairly specific 20:42:07 I saw you mention that. I'm curious what the change(s) may be. 20:42:53 daemon: Regarding your question about multiple OVPN server configs at startup, are you saying you'd found the solution you were looking for or are unable to get the solution you'd pasted to work? 20:46:05 unrelated, i notice vtnet(4) doesn't provide TSO/LRO, this might explain some of the performance issues i had which were fixed by jumbo mtu 20:46:14 ek, indeed stumbled onto it the moment after I aksed the question 20:46:26 it would be nice if the guest could pass through large buffers all the way to the host NIC 21:13:12 https://gist.github.com/ober/52fb3e05813007b1915fe55ba0edb202 perl won't build rendering the release.sh -c arm64/ROCKPRO64.conf unable to complete on 14.1 21:18:08 ivy: the fuck is wrong with you? are you haunted? >_> 21:18:30 kevans: what, the vtnet thing? 21:18:34 yeah 21:18:35 bugs just like me 21:19:43 Haha 21:29:29 configuring mosquitto, i have literally no idea what any of these options do so i hope the defaults are reasonable 21:30:58 bugs like you so I think mosquitto will just kind of work out 21:31:20 * kevans stares long at the extra 't' 21:31:48 kevans: MosQuiTTo! because it's an MQTT broker. geddit? 21:32:03 oh yeah, I get it, it just makes it slightly less buggy 21:32:06 random spelling variants are trendy in open source software 21:33:26 # On systems that support Unix Domain Sockets, it is also possible 21:33:27 # to create a # Unix socket rather than opening a TCP socket. In 21:33:36 vi 'J' user detected in sample config file 21:42:22 starting to give me flashbacks.... 21:43:27 (Making me think of my X.25 and switch/service provisioning days though) 22:29:10 root@lily:~ # ifconfig lo0 inet 172.16.4.1/32 alias 22:29:11 ifconfig: can't set link-level netmask or broadcast 22:29:14 huh? 22:29:55 oh wait this kernel doesn't have INET in, heh 22:56:47 There a guide to get a bluetooth speaker to work on freebsd ? wirless bluetooth 23:20:46 anyone get bluetooth wirless working on freebsd ? ng_ut isn't working for me 23:21:09 ng_ubt*