-
arkanoid
if I'm seeing the boot log, but not the login prompt, can I guess what's the baudrate the kernel boot is using?
-
RhodiumToad
if you're reading the boot output, then whatever baud rate you're using on your terminal end is obviously correct
-
RhodiumToad
can you log in another way (e.g. via ssh) ?
-
arkanoid
RhodiumToad: that's what I'm trying to achieve. Making login with serial is needed to change rules and allow access via wan interface (freebsd box is a firewall)
-
RhodiumToad
ok. so go to the single-user shell and do stty -a and note the baud rate
-
RhodiumToad
if it's not 115200, then edit /etc/ttys appropriately
-
RhodiumToad
next question, is there an /etc/rc.local ?
-
RhodiumToad
and what's the last startup message that you see, before not getting a login prompt?
-
arkanoid
stty -a from single user mode: speed 115200 baud; 59 rows; 269 columns;
-
arkanoid
/etc/rc.local missing
-
RhodiumToad
and...?
-
arkanoid
and I might have just found a way to disable all the firewall rules and connect straight to web page without enabling console
-
arkanoid
steps: enter single mode, disable firewall, login via web, make ssh access and stuff permanent, never fix console
-
arkanoid
RhodiumToad: success, situation unlocked and I now can make everything easier
-
arkanoid
the first impression is that this specific freebsd version was resetting /etc/ttys each boot, but I can confirm your hints after upgrade
-
arkanoid
RhodiumToad: I can confirm that your suggestions about /etc/ttys were correct. Much gratitude
-
_xor
Heh, I was just thinking about rc and how I prefer it to systemd, but that dependency ordering and a single service stopping boot is kind of annoying.
-
_xor
Started to think about hypothetical ways to potential solve both of those and then realized it's same train of thought that started the process which resulted in systemd heh.
-
CKatri
how are the misc/compatXXx packages made? Are they just manually extracted from the base.txz?
-
CKatri
Also, what's the time frame for a misc/compat13x package to be available?
-
wikan
hi :)
-
wikan
i am preparing to install FreeBSD on my moms laptop
-
wikan
how do you think, will Wifi work?
-
wikan
I use cable on all my machines so I am not sure if Wifi will work
-
la_mettrie
changes are good that there's no wifi driver at all
-
wikan
so, better to wait for 14.0?
-
wikan
i have read that FreeBSD developers had Wifi support as task number one for next release
-
wikan
but I am not sure what release it was about
-
wikan
temporary I can use Devuan for this laptop. But first I will check FreeBSD.
-
wikan
what is better to test? FreeBSD or NomadBSD?
-
hernan
wikan: you can try ghostbsd live to check what works
-
hernan
Anyone knows if 14 will support i915kms for Intel 12th gen ? i tested RC1 but coult not get it to work.. but maybe i did something wrong
-
hernan
wikan: wifi works.. unless you have some chipset that doesnt
-
wikan
harnan exactly what I do :)
-
wikan
this laptop is good one. Dell. I think wifi may work
-
wikan
if so, I will install ghostbsd, why not
-
hernan
probably should..
-
wikan
i am no sure, maybe original FreeBSD will be better and learn to configure wifi by my own hmmmmm
-
wikan
not sure yet
-
wikan
first, check
-
hernan
the installer from 13 has an option to configure wifi
-
hernan
if it detects wifi
-
hernan
and there is wifimgr in pkgs to list networks in a GUI
-
wikan
nice
-
wikan
didn't know because I stoped using original installer
-
LxGHTNxNG
oh?
-
wikan
i use my own installation script and now i am working on my own installer
-
LxGHTNxNG
... oh
-
LxGHTNxNG
neat
-
LxGHTNxNG
I just install by hand at the shell prompt, when I have to clean install freebsd or descendants
-
wikan
hmmm
-
wikan
i can see wifi networks
-
wikan
but i can't connect to
-
wikan
centrino ultimate-n 6300
-
wikan
dows anyone know what driver it may be>
-
wikan
>
-
wikan
?
-
parv
wikan, What does "pciconf -l -v" say for it?
-
parv
"Centrino" reminds me of the days when "NDIS" files were needed to be copied from Windows :shudder:
-
wikan
-
VimDiesel
Title: (Text)wifi - Pastebin
-
babz
good'ol iwn
-
wikan
sorry i had have to write this address by hand to the paper becouse i configure another computer :)
-
wikan
it doesn't work
-
wikan
i can see networks but cant connect. have no idea what to do
-
parv
What is stuffed in "/etc/rc.conf" for wireless network configuration, subject to regional restrictions? Does "wpa_supplicant.conf" has the right information (password/key & SSID)?
-
parv
s/has/have/
-
wikan
well I try GhostBSD
-
wikan
installed this distro of freebsd
-
wikan
in livecd I had network manager plugin and I could see networks
-
wikan
now, after installation there is no networks
-
wikan
i added wifi drivers to rc and rebooting
-
parv
😐🤷🏽♂️
-
wikan
no way
-
wikan
i cant connect
-
wikan
instantly i get password promt again
-
alebeta
Hi all, I'm here trying to get around the idea of unattended installs with FreeBSD. At the moment I see one needs to build an ISO with a script to install and configure the instance being provisioned. I was wondering if it there is a way to pass such script, as a kernel param during the boot process of the ISO ? thanks in advance for any hint
-
dch
alebeta: the short answer is "no"
-
dch
but there are a few mechanisms
-
alebeta
ok, is not possible with the default or existing ISO, but with mechanisms, what do you mean? a work around to make that happen?
-
dch
I'm looking things up to be more specific, but basically your options are:
-
dch
- pass a custom dhcp parameter in (so your dhcp server "knows") and trigger a post-install script or function to run
-
dch
- see if an iPXE type boot loader can pass iPXE parameters into the kernel
-
dch
- use a metadata server that matches h/w id of some sort to additional install steps
-
dch
those are basically in order of practicability
-
dch
I do a lot of bare metal installs, but they're driven with a custom post-install script from things like cloudinit
-
dch
alebeta: outline your env a bit more, maybe we can give you something useful
-
dch
like, do you control dhcp? can you use ipxe? do you deploy from a web server you control?
-
dch
I've used nginx in the past to redirect requests from specific servers to different install tarballs
-
dch
and you can get freebsd to boot over nfs as well
-
dch
-
VimDiesel
Title: src - FreeBSD source tree
-
dch
basically you need to write a small shim that uses
man.freebsd.org/dhclient-script and parses /var/db/dhclient.leases.$IF to find a url, then fetch and execute that script
-
VimDiesel
Title: dhclient-script
-
adilix
hi all
-
alebeta
dch: in my environment, we do specify the iPXE infrastructure using Ansible. It means, it configure iso, preseeds(debian), kickstar(Red hat), and config the ipxe and dhcp server. Usually for debian we just pass the preseed file using the url parameter in the ipxe kernel option. Then from it, everything happens automatically
-
alebeta
and yes, I own the pxe/ipxe server and the dhcp server
-
dch
oh cool you have lots of options but I don't think there's anything explicitly built-in
-
dch
2 things
-
dch
the installer is automatable, see
man.freebsd.org/bsdinstall for details
-
VimDiesel
Title: bsdinstall
-
dch
basically you put a file called /etc/installerconfig in the image and you're done
-
dch
I highly recommend spending a bit of time learning about `poudriere image`
github.com/freebsd/poudriere/wiki/poudriere-image.8-devel to build your images rather than fiddle with the installer
-
VimDiesel
Title: poudriere image.8 devel · freebsd/poudriere Wiki · GitHub
-
dch
alebeta: see PM for a useful link btw
-
dch
also
mfsbsd.vx.sk is very handy in general
-
VimDiesel
Title: Martin Matuška - mfsBSD and mfslinux
-
alebeta
-
VimDiesel
Title: tasks/_buildinstimg.yml · master · Simple Deploy- and Management / system.freebsd · GitLab
-
alebeta
that might be an option
-
dch
-
VimDiesel
Title: FreeBSD 10.1 unattended install over PXE & HTTP (no NFS)
-
alebeta
ok, that link is quite interesting, was not in my search engine results tbh :)
-
dch
if I were to redo an automated install from-scratch system *today* I would
-
dch
- use iPXE
-
dch
- boot loader.efi over network + mfsroot generated with poudriere-image (or equally a modified mfsBSD)
-
dch
- use a small script like zfsinstall
github.com/mmatuska/mfsbsd/blob/master/tools/zfsinstall to splat an image directly onto the h/w
-
VimDiesel
Title: mfsbsd/tools/zfsinstall at master · mmatuska/mfsbsd · GitHub
-
alebeta
yeah, I think I could detect with iPXE mac address of the server to be configure and then server a ISO image(previously made with mfsBSD) which is configure for the server with that specific mac address
-
alebeta
the thing is, for creating iso images, then is "more space" and "more processing" than simply somehow providing the bsdinstall script on boot. which would be very combinient
-
alebeta
but now is clear and creating ISO images per target server might be the way to go and am find with it, just wanted to discuss and see what's the best way to go
-
dch
Oh I wouldn't have a per-server iso image
-
alebeta
but each ISO should have its own bsdinstall script in it right?
-
alebeta
oh wait
-
dch
`/etc/installerconfig` is a literal shell script
-
alebeta
maybe it can be only 1 script in 1 ISO, and then the script could fetch another script depending on the hardware mac address?
-
dch
so make it query whatever you need
-
alebeta
yaaaaaaaaaaaaaaaaaaaaaaaaaah
-
alebeta
man yo are right
-
alebeta
damn good to talk with other fellows
-
dch
for ipxe, I have done this mmmmmm let me find it
-
dch
-
dch
you can see here how it falls through each of the types
-
dch
getting less and less specific
-
dch
each one of these is a custom ipxe script
-
dch
which IIRC you can see the custom ipxe setting in the installer, via `kenv`
-
dch
alebeta: finally, look through
github.com/netbootxyz/netboot.xyz to see how they do handoff from their custom ipxe menu, to mfsbsd.
-
VimDiesel
Title: GitHub - netbootxyz/netboot.xyz: Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
-
alebeta
dch: thanks let me havea look at the links
-
dch
alebeta: don't miss the PM link as well
-
thedaemon
morning dch
-
» dch waves to thedaemon you were too late for me last night
-
thedaemon
haha yeah no worries :)
-
thedaemon
I ended up swapping to scfb to get X11 going for now.
-
dch
I saw that
-
thedaemon
I am not smart enough to figure out snapshots yet apparently.
-
thedaemon
more studying on my part needed, more time needs to come out of thin air.
-
dch
-
VimDiesel
Title: Side-loading FreeBSD versions using Boot Environments - Random Musings
-
dch
it uses boot environments to have 2 different freebsd versions in the same zpool, and switch between them at reboot
-
thedaemon
I'll check it out, thanks.
-
antranigv
When I do `shutdown -r now` INSIDE a bhyve VM, it never reboots, but rather only shuts down. Anyone had a similar issue before?
-
meena
antranigv: which OS
-
antranigv
meena FreeBSD
-
antranigv
FreeBSD 13.1, to be more specific
-
thedaemon
antranigv, same thing with my 9front bhyve VM, when I restart it it just shutsdown.
-
babz
iirc, the common workaround is to have a script to start bhyve in an infinite loop
-
wikan
about 5 hours I spent on configuring Cinnamon and Devuan on my mons laptop
-
wikan
it is amazing how awesome is minimalist software I use everyday. Rofi, i3, vim, FreeBSD. Mostly terminal apps but not much apps at all.
-
wikan
so easy to backup, so easy to install, so easy to manage.
-
wikan
my mom is ex-windows user so I deviced to setup connamon. FreeBSD hasn't wifi support for this card so I used Devuan.
-
wikan
it is ok if peaople use KDE, Gnome, Cinnamon, etc. But I definitely can't and now I am sure about this ;)
-
wikan
and of course FreeBSD. Work with FreeBSD is so much easier and nicer
-
meena
babz: that seems like a poor workaround for something that should just work™
-
antranigv
meena agreed. but for some reason, now it just works
-
meena
antranigv: grrrr
-
CrtxReavr
bah. .
-
CrtxReavr
SO have apache24 with mod_php74-7.4.32_1 and libgd-2.3.3_5,1
-
CrtxReavr
phpinfo(); says GD is there and working.
-
CrtxReavr
But this app says it's not there:
sye.dk/sfpg
-
VimDiesel
Title: Single File PHP Gallery 4.11.0
-
CrtxReavr
So. . . WTF.
-
RhodiumToad
what does it say exactly?
-
vkarlsen
What's the error message?
-
CrtxReavr
-
VimDiesel
Title: PHP 7.4.32 - phpinfo()
-
RhodiumToad
also no hits in that file for "gd" "GD" or "Gd"
-
CrtxReavr
The app just fails to do graphics functins.
-
CrtxReavr
um. .
-
RhodiumToad
which functions specifically?
-
CrtxReavr
You mean that php output?
-
CrtxReavr
It's right there: GD imagingRasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger
-
RhodiumToad
no, I means in the sfpg index.php
-
CrtxReavr
Okay, hang on. .
-
CrtxReavr
The app silently fails to do certain graphic functions.
-
CrtxReavr
There's a debug flag at the top of the script.
-
vkarlsen
First glance, line 518 has imagecreatefromstring(), which is a gd function
-
CrtxReavr
If I enable it, I get: [Fri Oct 20 15:29:54.976327 2023] [php7:error] [pid 33168] [client 2605:a601:a61f:5700:264b:feff:fee2:22d4:56889] PHP Fatal error: Uncaught Error: Call to undefined function imagecreatefromstring() in /usr/home/crtxreavr/public_html/roxie/index.php:923
-
CrtxReavr
yep.
-
RhodiumToad
is graphics/php74-gd installed?
-
RhodiumToad
oh wait that doesn't exist
-
vkarlsen
I have gd too, and my phpinfo() is a lot more verbose about it than yours
-
RhodiumToad
php74 is deprecated, no?
-
vkarlsen
It is
-
rwp
That gd reference in phpinfo() is only in the credits section. If GD is actually enabled there will be a full GD section listing version and other info for it.
-
CrtxReavr
Okay, I'll target some upgrades and revisit then. . thanks.
-
RhodiumToad
right, which is why I think the graphics/phpNN-gd package is not installed
-
CrtxReavr
It's not. . . though I'm not sure it was needed in the original config.
-
CrtxReavr
I did actually have this all working.
-
rwp
At the time when 7.4 was the latest and greatest version GD worked okay no problem with it. That you are running 7.4 is not a problem for GD.
-
CrtxReavr
Something changed.
-
BarnabasDK
late joiner - GD = Gnome Desktop?
-
RhodiumToad
no, GD is a graphics (image generation) library
-
rwp
GD == Graphics Draw
-
BarnabasDK
ah - ok - sorry - cannot help then
-
BarnabasDK
but will listen intently :-P
-
rwp
-
VimDiesel
Title: PHP: GD - Manual
-
CrtxReavr
bah. .
-
CrtxReavr
Okay, now the required upgrade to perl 5.5.36 is failing:
bpa.st/GVGQ
-
VimDiesel
Title: View paste GVGQ
-
CrtxReavr
d
-
RhodiumToad
CrtxReavr: turn off DTRACE option
-
CrtxReavr
Oh, in the perl5 config menu. .
-
CrtxReavr
WTF is that a default option?
-
RhodiumToad
why not?
-
RhodiumToad
I don't know why it doesn't work for you - old or modified fbsd version, or built WITHOUT_CDDL or WITHOUT_DTRACE, or...?
-
» RhodiumToad has a bunch of WITHOUT_CDDL builds, and uses OPTIONS_UNSET_FORCE+=DTRACE in make.conf to handle such cases
-
CrtxReavr
This is 12.4-RELEASE-p4
-
CrtxReavr
I don't generally go nuts with bleeding edge versions.
-
RhodiumToad
does dtrace -h work?
-
CrtxReavr
dtrace: failed to establish error handler: "/usr/lib/dtrace/mbuf.d", line 114: syntax error near "caddr_t"
-
CrtxReavr
I feel like I've fought this before. . .
-
CrtxReavr
Something with an addon malloc library or something.
-
dvl
I just noticed that all my SSDs in my R730 are '150.000MB/s'. It contains a mrsas0: <AVAGO Invader SAS Controller>
-
RhodiumToad
those numbers aren't necessarily accurate
-
dvl
RhodiumToad: This sounds familiar now.
-
dvl
-
VimDiesel
Title: UFS - mrsas and the mystery of lost speed | The FreeBSD Forums
-
meena
RhodiumToad, what does WITHOUT_CDDL do? and how does OPTIONS_UNSET_FORCE+=DTRACE counter it?
-
meena
WITHOUT_CTF WITHOUT_DTRACE WITHOUT_LOADER_ZFS WITHOUT_ZFS
-
_xor
Removed CDDL-licensed code. Basically from Solaris days, i.e. ZFS, DTrace, etc.