-
glenny1ok...it's back to connecting to the wrong wifi at boot agian
-
jimc1827glenny1: I have no idea if this is your problem, but I once had a similar-sounding issue caused by the default wpa_supplicant.conf containing a rule to connect to unsecured networks
-
glenny1wpa_supplicant should be properly configured
-
jimc1827I see. Best of luck, then
-
glenny1i don't know what's happening. it's like it's not even reading wpa_supplicant.conf
-
bsdrobertwhen you don't know what's happening you're in a bad place, and should turn to logs or tools that could help you understand what's going on under the hood
-
hernan604if i have a bastille jail running a postgresdb, is it "safe" to bastille clone the jail using zfs ?
-
glenny1now dhcp just loops and the system refuses to boot. i'm in single user mode hoping to edit rc.conf but it won't let me
-
glenny1i'm just going to reinstall and try again. i have no idea why things are so broken
-
glenny1reinstall fixed whatever happened
-
sphex*something* is making the EFI-lua loader on a certain system set "boot_serial" to "YES" (according to the "show" command at the loader prompt when booting) and I can't figure out why. I've combed through the /boot config files and I don't see what could be setting it.
-
kevanssphex: we derive defaults from the ConIn/ConOut efi vars
-
kevans`efivar -d 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn` may be enlightening
-
sphexkevans: Ah. Ok. Hmm. I see the loader makes use of EFI variables like this, but not when "boot_serial" gets set somehow... Anyway, is there a way to disable this?
-
sphexI set "console=efi" (also tried "vidconsole" value) in loader.conf but this doesn't stop "boot_serial" from being set somehow.
-
kevanssphex: there's a lot magic involved, part of it is in sys/kern for parsing howto flags (RB_SERIAL) and converting them into boot_* vars
-
sphexBut I see "boot_serial" being set directly in the loader (with the "show" command). Hmm something is wrong...
-
kevansyes, by the magic
-
kevanswhat practical problem is this causing?
-
sphexohhh this sys/kern file is compiled in the loader too...
-
sphexkevans: I want it to stop using the serial console.
-
kevansdid you trry boot_serial="NO"?
-
sphexhuh no
-
sphexhehe. so it's going to be this simple? alright let's try.
-
kevansmy recollection (can't get too distractd from what i'm working on at the second, sorry) is that we rebuild howto flags from boot_* foo right before kernel exec, so it should override the earlier logic and do the right thing
-
sphexOk. So yeah it just worked. I just had to set to "NO". Huh I should have tried it before. I let the source code confuse me I think. Alright thanks kevans...
-
sphexBTW the loader menu is a little bit confused by this. The menu script only checks if boot_serial is set or unset, it doesn't understand "no".
-
kevanssphex: there are a few other problems with how the menu interacts with console/boot_* vars, haven't had the time to straighten it out
-
kevansfor instance, if you set a console= in loader.conf that doesn't match what we'd infer from ConIn, the menu won't take that into account (iirc)
-
glenny1i began to install a package using pkg but it is pulling from FreeBSD-ports for the package and its dependencies. the FreeBSD documentation says it is best to not use ports and binary packages by pkg on the same system. am i correct here or is the FreeBSD-ports packages different from what the handbook is refering to?
-
voy4g3r2glenny1: are you building packages on your local machine as well.. or just using pkg install <some package> for everything on this system?
-
voy4g3r2if the answer is you are NOT building packages, you should be okay.
-
glenny1i don't even know how. i just ran "pkg install librewolf" and it started pulling everything from FreeBSD-ports
-
voy4g3r2you are all good then :)
-
glenny1ok, thanks
a minute ago