-
polarian
hmm maybe I should ask ML
-
CCFL_Man
scoobybejesus: linux users stick out like a sore thumb
-
mns
how do I switch my caps lock and ctrl keys on the console ? I don't run X11, just console login.
-
rwp
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.
-
rwp
See "man 5 keymap" for details.
-
johnjaye
-
johnjaye
you have to modify an existing keymap
-
mns
rwp and johnjaye, thanks I'll take a look
-
johnjaye
if it works let me know. i can't get kbdcontrol to do anything for me
-
rwp
Remapping capslock to lctrl with the keymap works for me. And it is exactly the 058 line from the reference you just posted.
-
johnjaye
what file did you use as a template
-
johnjaye
i see dozens in /usr tree
-
rwp
I combined us.acc.kbd and us.emacs.kbd together. Some things are still not quite right. I need to get back to it.
-
rwp
But definitely the lctrl for capslock part is working.
-
johnjaye
cool
-
mns
I'll have to see what I have as my existing keymap
-
mns
kbdcontrol -i tells me "inappropriate ioctl for device"
-
johnjaye
same
-
mns
and I get that even when I run it as root
-
rwp
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.)
-
mns
ahhh ok. I was doing that in my tmux session
-
rwp
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.
-
mns
ok that worked, it tells me what type of keyboard it is, now just need to figure out the map
-
johnjaye
right
-
mns
˜/42
-
mns
dang it
-
mns
no idea why the app on my ipad does that
-
mns
will randomly put in a ~ before I issue commands
-
rwp
Wow, an iPad. I see people who type on those but I would never get along with one. I need a real keyboard.
-
mns
I could never live without a real keyboard either, would get difficult to work in emacs :-)
-
rwp
Sticky control keys. It would be the only way.
-
mns
iPad plus the Magic Keyboard case
-
mns
I hardly use the trackpad
-
mns
switching between apps? just do cmd-tab
-
mns
control key and capslock switched? yup done in settings
-
mns
I didn't think I would like it, but so far its turning out real nice
-
mns
Its my gateway to my FreeBSD system :-)
-
jb1277976
hello
-
polarian
CCFL_Man: how do they stick out?
-
polarian
when they start talking about systemctl? :P
-
xxy
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
-
xxy
game
-
la_mettrie
pkg packets and ports contain games
-
la_mettrie
and you can always type: ssh nethack⊙ao
-
phryk
xxy: dhewm3 port of doom 3 runs natively for example. also gzdoom,which enables a hell of a lot of mods and games.
-
jb1277976
is freebsd awake at this hour?
-
jb1277976
i need to stsy awake then
-
psycorama
it's 10 in the morning around here :)
-
jb1277976
sheesh its 12:51am PST here
-
jb1277976
i need sleep
-
remiliascarlet
xxy: "are there any pure BSD games?" Check out /usr/games.
-
TommyC
Man...I miss xarchon (fwiw it builds just fine but it requires qt3 which isn't in ports).
-
duncan
I have a game called 'greed' in /usr/local/games
-
ivy
remiliascarlet: unfortunately freebsd removed /usr/games years ago. i think they're in ports now
-
la_mettrie
still listed in man 6 intro
-
ober
20 years ago Lokigames worked great under FreeBaSeD
-
jb1277976
-
Tenkawa
ober: hey.. you Ober from old days?
-
ober
Tenkawa: yes. #linpeople. and #sqlite I remember you. orac right?
-
Tenkawa
Yep...
-
Tenkawa
dont forget old soark.net lol
-
ober
yeah the dyndns clone crom wrote
-
ober
like 97
-
Tenkawa
yeah...
-
Tenkawa
soark was the ISP I ran lol
-
Tenkawa
That feels like forever ago
-
Tenkawa
Now I'm looking at FreeBSD/Linux on RISC-V
-
Tenkawa
(Already working on it a lot on Linux...)
-
ober
nice
-
CrtxReavr
ivy, I always have 'fortune -o' set to run on login.
-
ivy
yeah fortune and a couple of others moved to /usr/bin
-
ivy
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"
-
ivy
would rather just have separate options to create + configure each interface
-
kevans
yeesh
-
ivy
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
-
ivy
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
-
rtprio
ivy: the openbsd rc is nicer for that, for sure
-
ivy
download.freebsd.org/snapshots/ISO-IMAGES/15.0 - er, FreeBSD-15.0-CURRENT-amd64-20241017-b88df1e893c4-273001-disc1.iso.xz is only 102 bytes?
-
kevans
compression has come a long way
-
ivy
i was about to say this must be emaste@'s work on improving the installer experience
-
kevans
:-)
-
kevans
i'm surprised we don't have a better way to handle syncing new snapshots
-
Tenkawa
ivy: I don't see 1017 but on 4 files in that entire dir yet
-
kevans
with package sets we'll sync everything then cut a symlink over
-
Tenkawa
I don't think the sync/build is done yet
-
kevans
indeed
-
ek
xz compression is en route to be the next "Pied Piper"
-
kevans
snapshots would've started around 00:00 UTC overnight, we're on the tail end
-
ivy
ok i went with the 20241010 installer from a mirror and something is really broken with guided ufs partitioning
-
ivy
i can't type anything into the 'Type:' box when adding a partition, this worked fine in 20240201
-
kevans
wait until you try to resize something
-
kevans
it'll let you input something but it just won't actually adjust the size. it's grand
-
ivy
no i deleted the partitions it suggested and tried to create new ones
-
ivy
let's try with "ansi" as terminal type in case that's the problem
-
ivy
kevans: i did notice you can't resize them, that seems to have been broken for ages
-
ivy
(at least i assume it's broken, surely not intentional)
-
kevans
yeah, surely not
-
ivy
oh hang on i just realised i'm in tmux, i wonder if that confuses it somehow
-
ek
Almost certainly.
-
Tenkawa
tmux/screen is good at scrambling things nicely
-
Tenkawa
I can attest to that
-
ek
Yep. Gotta watch that ~/.tmux.conf setup.
-
Tenkawa
ek: yeah I have a special screenrc one too...
-
ek
I spent ages on trial and error to get proper terms and colors working within tmux. Can be quite the pickle.
-
ivy
nope still broken. oh well, i suppose i can just install directly into a UFS disk image with pkg or something
-
ek
Tenkawa: Same.
-
ek
ivy: This is in the bsdinstall'er for 15.0-C?
-
ivy
ek: yes
-
Tenkawa
I use tmux more ironicly for xmodem/zmodem transfers of spi data to soc spi data... Its handy though for my uart needs sometimes..
-
ek
ivy: Hrm. Interesting. Maybe I'll take a quick poke at it.
-
ek
Tenkawa: I haven't needed xmodem in a while, but it is definitely a handy feature.
-
Tenkawa
ek: yeah many of these new boards can be eeprom flashed using xmodem
-
ek
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.
-
Tenkawa
I just hope "one" of my sbcs lying around (arm or risc-v) I can get working with FBSD
-
ivy
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
-
Tenkawa
ivy: x86?
-
Tenkawa
I could try one here on my laptop test box
-
Tenkawa
It has 14 running on it atm
-
ek
ivy: I don't even see the AMD64 15-0-C.*\.iso.xz for 20241017 in the snapshots downloads area.
-
ek
Did you maybe just catch an upload/deletion at a bad time or something?
-
Tenkawa
ek: its not yet that i saw
-
ivy
ek: different mirror maybe? the 20241010 is broken in the same way
-
ek
Or, maybe I'm just drunk
-
ek
ivy: Ah. Okay.
-
Tenkawa
let me try the arm64 one first on a vm here... easiest to test (and my fastest box)
-
johnjaye
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.
-
ek
Tenkawa: That was exactly my thought. Just spin a VM somewhere and see what happns and go from there.
-
Tenkawa
Yeah this won't take long
-
Tenkawa
dloading it now
-
ivy
johnjaye: you can scroll in vt(4) console by pressing scroll lock
-
ek
johnjaye: No way to scroll back?
-
johnjaye
yeah linux or bash or something got rid of the ability to use the break key i think to scroll up the terminal
-
johnjaye
i *think* it was a linuxism but in defense I always use tmux with bash now
-
ivy
are you talking about the linux VGA console? bash has nothing to do with scrolling, that's a function of your terminal emulator
-
Tenkawa
No.. you just need the right termcap
-
ek
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.
-
Tenkawa
ivy: exactly
-
Tenkawa
as long as the emulator can interpret the terminal capabilities it can do it
-
johnjaye
ah ok it was a linux decision.
-
johnjaye
-
Tenkawa
(terminal emulator)
-
Tenkawa
johnjaye: no.. linux does it just fine
-
Tenkawa
I use it every day in linux too
-
johnjaye
what is your kernel version from uname
-
ivy
"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
-
Tenkawa
you have to have your term type set right
-
Tenkawa
ivy: where is that from?
-
ivy
termcap doesn't affect this fwiw, the console driver (on both freebsd and linux) is a much lower level than that
-
ivy
Tenkawa: the stackoverflow link from johnjaye
-
ek
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?
-
ivy
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
-
johnjaye
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.
-
ivy
(if i cared enough, i would read the linked commits, but i do not since i don't use linux :-)
-
johnjaye
ivy: what kind of security?
-
ek
ivy: Yeah. Same. :(
-
ivy
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
-
ivy
i am quite surprised no one uses this feature enough to maintain it though
-
ek
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.
-
ivy
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
-
ek
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!?
-
ivy
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
-
ivy
(is that wiring even standardised at all?)
-
ek
With IPMI/iLo/iDrac/etc... available on almost everything, I suppose I can see how it would slide through.
-
ek
I haven't used a physical console in quite some time unless, as ivy mentioned, something went *HORRIBLY* wrong.
-
ek
ivy: DB9? I would imagine so.
-
ek
I generally only use those for setting up switches and such.
-
ivy
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)
-
ivy
-
Tenkawa
I see why it works on my images in linux.. its in one of the few hundred patches we still maintain...
-
Tenkawa
(we build custom images)
-
Tenkawa
Ok.. lets see if this 15 current will install
-
ivy
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
-
johnjaye
ivy: i kinda want to learn how uart works. can you start a youtube channel and document the entire process?
-
ivy
it feels like it's redrawing the entire screen to print every individual character or something, but surely efi does not require that
-
ivy
(there is at least a 50% chance this is a bug in the UEFI firmware or the video card GOP driver, i suppose)
-
Tenkawa
ivy: what part of the 15 process starts going goofy?
-
yuripv
I guess tsoome would know
-
ivy
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
-
ivy
oh, guided UFS with GPT specifically, and use entire disk
-
Tenkawa
Ok let me restart.. I had used zfs
-
Tenkawa
wont take 3 min
-
ivy
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 :-)
-
Tenkawa
worked here... I deleted both.. created swap as first one.. .root as second (what ended up as p3)
-
Tenkawa
and they took correct types and formatted properly
-
ivy
hmm weird. wonder if it's something to do with bhyve, or my terminal emulator
-
ivy
oh this did not go well
-
ivy
root@:~ # kldload virtio_pci
-
ivy
virtio_pci0: <VirtIO PCI (legacy) Network adapter> port 0x2000-0x203f mem 0xc0000000-0xc0001fff irq 18 at device 5.0 on pci0
-
ivy
root@:~ # vtnet0: <VirtIO Networking Adapter> on virtio_pci0
-
ivy
Fatal trap 12: page fault while in kernel mode
-
ek
ivy: You were using Bhyve as the virtual host?
-
Tenkawa
ivy: same
-
Tenkawa
exclusive sleep mutex vtnet0-rx0 (vtnet0-rx0) r = 0 (0xffffa000c0890600) locked @ /usr/src/sys/dev/virtio/network/if_vtnet.c:2202
-
Tenkawa
stack backtrace:
-
ivy
ek: yes
-
Tenkawa
well similar
-
ivy
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
-
Tenkawa
mine faulted too on first boot
-
ek
Tenkawa: Also using Bhyve?
-
Tenkawa
no.. parallels
-
Tenkawa
I'm running on a Arm Mac
-
ivy
works fine in loader.conf... i will file a bug
-
ek
Gotcha. I have vbox, workstation, bhyve, ESXi and Proxmox to test on. I'll try another one.
-
ivy
Tenkawa: exclusive sleep mutex vtnet0-rx0 is normal fwiw, that's PR#253888 and is non-fatal
-
ivy
this panic is something else, i think
-
Tenkawa
ah ok.
-
Tenkawa
Hadn't seen it in 14
-
ivy
it only shows up with WITNESS enabled
-
ivy
(i mean, the bug is there either way, but you need WITNESS to detect it)
-
Tenkawa
Ahh .. Yeah... going to be trimming that down asap
-
Tenkawa
I spent around 20 years in kernel devel/debug.... Its where I feel most comfortable now that this is all a hobby now..
-
ivy
filed
bugs.freebsd.org/bugzilla/show_bug.cgi?id=282168 for this (in case anyone else wants to play with it :-)
-
daemon
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
-
ek
ivy: During the 15.0-C UFS setup issue, you said you were using guided, deleting swap and root, and re-creating, correct?
-
ek
... using UFS and not ZFS?
-
daemon
-
ek
And you couldn't enter a partition/slice type when manually creating?
-
ivy
ek: correct
-
ivy
over serial console (bhyve) which might be related
-
Tenkawa
Yeah I was using direct display (via parallels graphics console)
-
Tenkawa
that might be one variable difference
-
daemon
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
-
ek
Yep. I just deployed in both vbox and proxmox just to make sure and I wasn't able to duplicate that issue. :(
-
ivy
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
-
ek
Manually creating slice types, names and locations seem to work okay.
-
ek
Yeah. Very strange, though.
-
ek
You'd think that at the very least it would be tested in a standard Bhyve env.
-
daemon
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
-
ivy
it definitely did work in 20240201 so something has changed, but it must be fairly specific
-
ek
I saw you mention that. I'm curious what the change(s) may be.
-
ek
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?
-
ivy
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
-
daemon
ek, indeed stumbled onto it the moment after I aksed the question
-
ivy
it would be nice if the guest could pass through large buffers all the way to the host NIC
-
ober
gist.github.com/ober/52fb3e05813007b1915fe55ba0edb202 perl won't build rendering the release.sh -c arm64/ROCKPRO64.conf unable to complete on 14.1
-
kevans
ivy: the fuck is wrong with you? are you haunted? >_>
-
ivy
kevans: what, the vtnet thing?
-
kevans
yeah
-
ivy
bugs just like me
-
ek
Haha
-
ivy
configuring mosquitto, i have literally no idea what any of these options do so i hope the defaults are reasonable
-
kevans
bugs like you so I think mosquitto will just kind of work out
-
» kevans stares long at the extra 't'
-
ivy
kevans: MosQuiTTo! because it's an MQTT broker. geddit?
-
kevans
oh yeah, I get it, it just makes it slightly less buggy
-
ivy
random spelling variants are trendy in open source software
-
ivy
# On systems that support Unix Domain Sockets, it is also possible
-
ivy
# to create a # Unix socket rather than opening a TCP socket. In
-
ivy
vi 'J' user detected in sample config file
-
Tenkawa
starting to give me flashbacks....
-
Tenkawa
(Making me think of my X.25 and switch/service provisioning days though)
-
ivy
root@lily:~ # ifconfig lo0 inet 172.16.4.1/32 alias
-
ivy
ifconfig: can't set link-level netmask or broadcast
-
ivy
huh?
-
ivy
oh wait this kernel doesn't have INET in, heh
-
jb1277976
There a guide to get a bluetooth speaker to work on freebsd ? wirless bluetooth
-
jb1277976
anyone get bluetooth wirless working on freebsd ? ng_ut isn't working for me
-
jb1277976
ng_ubt*