-
markmcb
sometimes if i restart a jail with an iov network device, e.g., iavf0, the network device never becomes available and it's not possible for the jail to start. it used to be slow, e.g., might take 5-10 seconds for the device to become available. but now it's never. sound familiar? i'm not seeing any reported bugs so hoping there's something simple that might cause this.
-
markmcb
and out of curiousity, is there a way to force the device to reappear in the host? like send some command to the pci device?
-
SpaceBass
Ok... is there really a 5.38.0_1? This seems odd: pkg: perl5.38-5.38.0 conflicts with perl5-5.38.0_1
-
vishwin
yes, it was bumped
-
vishwin
but that also looks like inconsistent DEFAULT_VERSIONS
-
markmcb
learned a new trick: devctl reset -d iavf0
-
markmcb
that resolved my issue
-
vxwarlock
Altq vs dummynet which provides a more efficient qos usage ? [ Can anyone share any document or information on this subject?]
-
polyex
any way to take a thumb drive freebsd installer is on and find out what version of fbsd it installs?
-
polyex
i can reboot into it and see i think but what about from another freebsd without rebooting and just mounting it
-
parv
There is "/etc/os-release" which could be checked
-
parv
... may need to be extracted from "base.*"
-
polyex
how can i check? i put thumb drive in, gpart show sees it, i try to mount it but mount says invalid fstype: invalid argument
-
parv
Have you tried mounting with the file system type listed by "gpart"?
-
polyex
nah, don't know how. that in a man page?
-
parv
Paste the "gpart list" output for the USB disk
-
parv
Sorry, not "list" but "show": gpart show
-
parv
mount has "-t" option to specify the file system type
-
polyex
-
parv
Manual pages: mount(8), gpart(8)
-
parv
Try: mount -t ufs /dev/da0s2 /mount/point
-
polyex
same error
-
polyex
is it not allowed to mount a thumb drive with the fbsd installer already written to it?
-
parv
What are the exact error message & the command used?
-
polyex
there was 1 more dev that worked. mount /dev/da0s2a ~/mount/point worked
-
polyex
da0s2a wasn't shown in gpart show. wtf?
-
polyex
why it hide that from me?
-
Rue
hello. anyone using the kitty terminal emulator by any chance?
-
rtprio
Rue: yes, but not much on freebsd
-
CmdLnKid
starting to believe iTerm2 should be ported to all platforms
-
turtle
it's pretty great
-
CmdLnKid
closest ive come to that on windows is securecrt & putty but those in themself are just meh
-
CmdLnKid
im not one for pretty shit besides my wife but honestly functionality lacks hard for terms on other platforms that are not using iTerm2
-
CmdLnKid
kitty... just another rxvt
-
rtprio
kitty supports images, for whatever that's worth
-
rtprio
there were too many whistles and bells in iterm2. in a lot of them, really
-
CmdLnKid
yeah its basic at most
-
SpaceBass
Just me over here on my 2nd day of going through port options screens :/
-
CmdLnKid
lol
-
yuripv
CmdLnKid: tried new windows terminal yet? :D
-
CmdLnKid
haha powerhell ?
-
yuripv
terminal, not shell, you can just `ssh` from it
-
CmdLnKid
not much for terminals on windows unless its specific to windows, otherwise install sshd on windows and use iterm from mac
-
CmdLnKid
;)
-
CmdLnKid
helps also having macOS installed on a VM just incase you are not on a mac
-
» CmdLnKid still wondering if i can do this on bhyve
-
CmdLnKid
ill get there eventually
-
rtprio
hackintoshing a bhyve vm sounds exceedingly difficult
-
CmdLnKid
yeah i don't think all the mechs are there for that
-
SpaceBass
I can't imagine a good experience running a hack in bhyve
-
rtprio
and now even more complicated as its no longer arch amd64
-
CmdLnKid
agreed
-
SpaceBass
Even running a hack in proxmox is fairly miserable... I have one just for running some AppleScript services and I'm constantly thinking about how to retire it.
-
CmdLnKid
debian >>> vbox >>> macOS, but that in itself is still iffy now
-
SpaceBass
Sorry... I don't have one.. but if I did, I'd be thinking about how to retire it :)
-
CmdLnKid
lol
-
SpaceBass
I'd never virtualize MacOS on non-apple hardware
-
CmdLnKid
ffft
-
markmcb
OS aside, my favorite thing about Mac is the keyboard. haven't taken the time to figure this out on freebsd yet, but the first thing i do on a linux install is map the keys with udev:
markmcb.com/linux/mac-like-keyboard-in-linux
-
VimDiesel
Title: Mac-like Keyboard in Linux - Mark McBride
-
CmdLnKid
markmcb, heck yeah!
-
CmdLnKid
dunno why but thats just so natural to me its uncanny
-
markmcb
yeah, it just seems much more ergo by default.
-
CmdLnKid
i wasn't into mac before around 2015'ish. took me a week to get a grasp vs pc
-
CmdLnKid
maybe its how im wired but its just right
-
markmcb
Other tip on Mac ergo: get Karabiner and map your capslock to a meta/macro key. then you can do things like capslock-h/j/k/l and have global vim-style arrows
-
markmcb
if anyone knows how to do this sort of stuff in FreeBSD i'd be interested to know
-
markmcb
most of what i find assumes you're in X
-
CmdLnKid
thats funny, spilled beer on this macbook pro 13'ish... have to use karibeener to do this
capture.dropbox.com/1y27Z6AVWUyUPGEH
-
VimDiesel
Title: Dropbox Capture
-
markmcb
lol
-
CmdLnKid
it eventually dried out and need k to disable the left shift
-
CmdLnKid
cause it seems to activate randomly
-
CmdLnKid
passwords become a real bitch
-
» unixman_home looks for the #freebsd channel, since he is apparently in the #macbook channel by mistake :P
-
markmcb
unixman_home: i tried to tie it back to freebsd :)
-
CmdLnKid
unixman, has been on lsd
-
CmdLnKid
;)
-
rtprio
i'm noticing a lot of extra plumbing required for jails to be useful, like creating epairs and so forth
-
rtprio
no wonder a lot of folks use jail frameworks
-
mason
It's pretty simple to have epairs set up automatically.
-
rtprio
cloned_interfaces in rc.conf, right?
-
mason
-
VimDiesel
Title: MasonLoringBliss/JailsEpair - FreeBSD Wiki
-
mason
Yeah, a bridge, and then something that spins them up per jail.
-
rtprio
oh even better
-
rtprio
i already have bridges since this host runs bhyve
-
rtprio
does ${ep} in that example need to be incremended manually for each jail or will that autonumber?
-
rtprio
oh nm, i see how it is now
-
rtprio
derp
-
CmdLnKid
same way vnconfig used to hand assigning interfaces through a script ... VN="$([vn,md]config -c)", then then $VN to define the interface that is available for that ?
-
CmdLnKid
sorry i know ... disks vs network
-
CmdLnKid
same philosify
-
rtprio
no, i didn't read the whole snippet before asking
-
CmdLnKid
fuck... and spelling
-
rtprio
speaking of command line kid, i worked with a dude who typed the command line so fast it was quicker for him to ^A ^K and retype the whole thing rather than backspace a few times to correct his typo
-
rtprio
why he didn't use ^r and fix his mistakes i have no idea
-
CmdLnKid
habbits my friend
-
CmdLnKid
not the same guy tho
-
CmdLnKid
my nick was created somewhere around 2014 after 29 years of linux command line usage after typing a 1 line perl live in front of a friend that was well involved with the command line and compared it to billy the kid
-
» CmdLnKid used to be that good... but its like a country song now
-
CmdLnKid
-
VimDiesel
Title: As Good As I Once Was by Toby Keith on Apple Music
-
rtprio
mason: ok i like this so far, but packets are going out but not coming back in
-
CmdLnKid
firewall
-
rtprio
no firewalls
-
rtprio
the jail has the right arp table
-
CmdLnKid
nat ?
-
rtprio
not even trying to escape the network, yet
-
CmdLnKid
k
-
rtprio
i see the packets pass through epair to the bridge to the vlan to the lagg outbound
-
rtprio
i wonder if i should set this up with a different interface
-
CmdLnKid
hmmm
-
chriswells0
i'm running freebsd 13.2. i have a network interface set up with 2 vlans. i'd like to use dhcp to obtain static ip addresses and have different hostnames for the ip on each vlan. it seems like it's sending the hostnames (?), but the macs are all the same. this is an example of my config reduced to 1 vlan:
bsd.to/A77Z/raw
-
VimDiesel
Title: A77Z
-
chriswells0
the effect is that i only see 1 instance of this pc in my router's client list.
-
rtprio
and does the vlan create ok?
-
chriswells0
yes. i thought later that i should've included the ifconfig output.
-
RhodiumToad
do you control the dhcp server?
-
chriswells0
-
VimDiesel
Title: crNr
-
chriswells0
yes, it's a ubiquiti dream router at home.
-
RhodiumToad
how are the vlans configured on the router?
-
RhodiumToad
because to do this you need the dhcp server to distinguish between the same mac on different broadcast domains
-
RhodiumToad
(the mac addresses being the same is how vlans are supposed to work)
-
chriswells0
i do get different ips within the range of each vlan. that part seems to be working.
-
chriswells0
but for example, right now i can perform a lookup for foo-lan and get the ip of the physical adapter, but i can't lookup foo-office to get the vlan ip.
-
RhodiumToad
what kind of lookup?
-
chriswells0
host foo-office
-
RhodiumToad
is your dhcp server configured to do dynamic dns updates, or are you manually adding dns entries?
-
chriswells0
they're currently dynamic.
-
chriswells0
i was planning to make them static for the physical + 2 vlans after i get all 3 to show up.
-
RhodiumToad
how are the vlans configured on the router?
-
chriswells0
is that dhclient.conf correct for the vlan interface? should i use something else like interface "re0.20"?
-
rtprio
chriswells0: i prefer that method over yours but they both should work
-
chriswells0
it has a web ui for creating networks. each vlan has a vlan id assigned along with a different /24 cidr and dhcp enabled using a range on that cidr.
-
chriswells0
i'm not sure (and may not know) the specific info you're asking about how it's configured since i created it through the web ui.
-
RhodiumToad
does the web ui have a way to show the current dhcp leases?
-
chriswells0
it shows me all the clients, but it's not showing this host 3 times. i believe that's because of the mac overlap.
-
CmdLnKid
mac overlap ?
-
RhodiumToad
I suspect that's not the issue
-
chriswells0
physical + 2 vlans with the same mac.
-
CmdLnKid
one could only expect a problem with a mac overlap
-
RhodiumToad
having the same mac address on all vlans is HOW VLANS WORK
-
chriswells0
it could just as easily be a bug in their ui for the same reason.
-
RhodiumToad
if you're using dhcp on multiple vlans it's up to the dhcp server to keep them separate
-
chriswells0
it doesn't mean it's "wrong."
-
CmdLnKid
aware of that. but... why would you do that.... its not scalable
-
RhodiumToad
what's not scalable?
-
CmdLnKid
convergence
-
CmdLnKid
consider converting from one vlan and converging into another to expand
-
CmdLnKid
do not ever duplicate anything
-
CmdLnKid
if you ever have that then go in a diff direction
-
CmdLnKid
there is no reason to have the same mac on a diff interface vlan or otherwise
-
chriswells0
maybe the problem is that each vlan is configured to have a dhcp server?
-
CmdLnKid
not likely
-
chriswells0
if it's running a different dhcp server instance for each vlan, it might now track them well across vlans.
-
RhodiumToad
it's not supposed to track them across vlans?
-
CmdLnKid
why would you
-
CmdLnKid
id redetermine why you are doing it the way you do
-
chriswells0
"(12:39:38) RhodiumToad: if you're using dhcp on multiple vlans it's up to the dhcp server to keep them separate" -> it has to know about them to keep them separate, right?
-
CmdLnKid
this coming from someone that has migrated clients from one vlan to another
-
CmdLnKid
try not to predict where you are coming from, but where you unpreddicatedly are going to
-
RhodiumToad
chriswells0: if there are separate dhcp servers on each vlan then they are automatically kept separate, no?
-
chriswells0
ok, i was only asking to be sure it shouldn't be managed at a single dhcp server.
-
CmdLnKid
if you go out and buy a linksys AP that offers up DHCP which one is prioritized over the other. this is a very admin overhead cost you do not want to afford
-
chriswells0
whichever one of the interfaces gets an ip last is the hostname that resolves.
-
CmdLnKid
wish that was true
-
chriswells0
i'm telling you what i'm seeing--not what you might expect.
-
CmdLnKid
ah
-
CmdLnKid
see thats what happens
-
chriswells0
let's assume that's a bug in the router. what would i need to change in order to send a different mac for the dhcp request?
-
CmdLnKid
the hardware config
-
chriswells0
is it dhcp-client-identifier in dhclient.conf?
-
RhodiumToad
worth a try
-
chriswells0
still only 1 shows up in the clients list, but all 3 hostnames resolve now. that's good enough.
-
CmdLnKid
don't settlle with good enough
-
chriswells0
i need to get some work done today. :)
-
CmdLnKid
makes sense
-
chriswells0
i'm off tomorrow. maybe i'll care more then.
-
chriswells0
thanks to both of you.
-
ngortheone
so a stupid question: I have a uefi linux vm running in bhyve using the vm package
-
ngortheone
I connected to the conole with "vm console myvm"
-
ngortheone
but I can't disconnect from it
-
ngortheone
the documented key squence does not work for me: ~+Ctrl+D
-
ngortheone
help
-
SymbioticFemale
i recently got a microSD card that advertised as "U3" "Class 10" "V30" "SDXC". anyway, dmesg says "[1] mmc0: <MMC/SD bus> on sdhci_pci0" "[2] mmcsd0: 126GB <SDHC SDABC 1.0 SN AA000113 MFG 06/2023 by 111 0x0303> at mmc0 50.0MHz/4bit/65535-block"
-
SymbioticFemale
my issue is that transfer speeds are like 10x slower in freebsd than in linux, causing it to overheat(?) and cause i/o errors after transferring like 1-3GB, whereas on linux it can transfer 50+gb
-
rtprio
ngortheone: iirc it needs to follow an enter key
-
rtprio
SymbioticFemale: is it the same filesystem?
-
SymbioticFemale
no filesystem involved i'm talking about straight writes with 'dd'
-
SymbioticFemale
writes to the block device
-
rtprio
iirc linux has some assumed options with dd. are you sure it might not be ignoring io errors?
-
SymbioticFemale
good question. i'll retry the operation with ddrescue and that might solve the non-speed related issue
-
ccx
Any read/write errors ought to show up in dmesg in Linux btw
-
ccx
Can I / how do I create loopback block device (from plain file)?
-
SymbioticFemale
for the record, usage of ddrescue instead of dd not only resolved my issues with read errors but it also somehow resolved the speed issues
-
TommyC
magic
-
SymbioticFemale
indeed
-
pstef
I blame FreeBSD
-
SpaceBass
For the life of me, I cannot build lang/rust in poudererie... 13.2-release
-
mason
SpaceBass: ENORAM?
-
SpaceBass
mason, what's ENORAM?
-
mason
Error, insufficient RAM? It's big.
-
mason
SpaceBass: Here, look at this too:
freebsd/poudriere #888
-
VimDiesel
Title: Rust + tmpfs - need a way to selectively not use tmpfs for some packages · Issue #888 · freebsd/poudriere · GitHub
-
VimDiesel
888 – kernel doesn't compile with options DEVFS enabled
bugs.freebsd.org/bugzilla/show_bug.cgi?id=888
-
SpaceBass
Could be... I'll try again and watch
-
mason
Check that out before trying again. Might be useful. TL;DR disable tmpfs maybe.
-
SpaceBass
It's only building as a dependency for something else... can I just pkg install it inside the jail? I dont need to build it from source, per se
-
mason
I think there's a way to do that but I don't know what it is.
-
mason
There's #poudriere, perhaps both here and on efnet, that would likely know.
-
mason
In fact, I should join those.
-
mason
If you ask and someone answers, then I learn too. :)
-
meka
SpaceBass, you can use poudriere-devel and "-b latest" where "latest" can also be "quarterly"
-
mason
meka: Does that support binary build deps?
-
SpaceBass
To pull a newer version of the port?
-
meka
For example, this is the command I used today "poudriere testport -j 13amd64 -p local -b latest devel/py-factory-boy"
-
mason
meka: It's likely an issue running out of resources more than a bug in the version of the port he's got.
-
meka
the way it works is that if it can, it will use pkg to install binary, otherwise it will build it
-
SpaceBass
I'll watch top and try again
-
mason
aha
-
SpaceBass
It's a vm, I can throw more ram at it if I need to
-
mason
meka: This is new in poudriere-devel then?
-
meka
mason, correct
-
mason
Nice.
-
meka
I'm using it for few months, not sure if it got to stable version
-
SpaceBass
Ive got 500gb of disk space available, assuming the jail isn't constrained
-
SpaceBass
So far, compile is using 5G out of 12G of ram
-
SpaceBass
Is there a better way to monitor this than top?
-
meka
SpaceBass, poudriere has web UI
-
meka
Maybe it's sufficient for what you want to monitor?
-
SpaceBass
I've got it
-
meka
I wouldn't really count on it, but maybe ...
-
rtprio
hrm, i can't get my jails to talk with epair
-
rtprio
it seems the packets go out, but not back, it seems
-
rtprio
anythings i can check?
-
mason
rtprio: probably worth grabbing a pcap
-
SpaceBass
Ive fallen so far down this rabbit hole and broken a server (thank goodness for a backup) ... I built freeradius3 with pouderie using heimdal, but whenever I try and install it, pkg insists on installing MIT kerberos which will really break things
-
rtprio
SpaceBass: if you built the ports on the system, i suspect you won't have a problem
-
rtprio
mason: i'll try that
-
SpaceBass
rtprio, im trying to move away from ports and use pouderie
-
rtprio
then maybe make config to force no mit kerberos
-
SpaceBass
Did that too :/
-
SpaceBass
And cleaned the configs for all the dependencies... I cannot find MIT anywhere... and anything with an option is set to heimdal
-
rtprio
well something has to be doing it
-
rtprio
mason: i can see the outgoing packets hit the wire, it appears but nothing comes back and i'm not sure where to locate that
-
ccx
How can I list valid root device specifications for loader/fstab?
-
rtprio
ccx: what are you trying to do?
-
ccx
rtprio: set boot device in a way it doesn't get renumbered. Either by physical bus ID or some metadata. I know loader shown me a list on prompt, but I'm not sure how to get it from running system.
-
ccx
I've set label via tunefs -L but I'm not sure how to specify that as device name exactly
-
ccx
And mount/fstab/loader.conf manpages weren't of much help.
-
mason
rtprio: I'd grab a pcap further down the line - see if they make it off the box.
-
mason
brb
-
SpaceBass
I just dont get it... if I install something from /usr/ports eg lang/perl5.38 and then try and use pkg add to pull a pouderie package (eg net/freeradius3) it tries to re-install perl5.38 and fails
-
SpaceBass
They are the exact same minor version number
-
SpaceBass
Its like pkg has no awareness of ports?
-
yuripv
ports are just used to build packages, pkg only needs to know about packages
-
yuripv
does it try to reinstall perl saying something about changed options?
-
SpaceBass
It says it conflicts and then fails
-
rtprio
ccx: i think you need glabel