-
radix0
Before I go any further down my current rabbit hole: Is it possible to install and boot FreeBSD to and from an iSCSI target?
-
rtprio
from?
-
radix0
i.e. after the freebsd installation is on the iscsi target, can you boot to it? In my case, ipxe is the bootloader. At a certain point iPXE is not in control of I/O handling and the freebsd kernel needs to know that it needs to mount its disk via iscsi.
-
rtprio
i don't know for certain, but i would expect not
-
hernan
gpart wont show nvme details?
-
hernan
should use nvmecontrol instead ?
-
zayd
i can't connect to the internet even though the configuration in /etc/wpa_supplicant.conf seems correct. running service netif restart also doesn't fix it, instead spamming my console with error messages
-
mvee
what about rc.conf?
-
zayd
i'll check it
-
zayd
mvee: it says 'wlans_iwn0="wlan0"' 'ifconfig_wlan0="WPA DHCP"'
-
mvee
zayd: 'wlans_iwn0="wlan0" <- did you copy that from rc.conf?
-
zayd
mvee: not directly as i have irc on another computer, but that's how it's written in rc.conf
-
mvee
ok, check in rc.conf that it is 'wlans_iwm0="wlan0" you had it as iwn0 m not n
-
zayd
mvee: it's supposed to be iwm?
-
mvee
try it
-
mvee
wlans_iwm0="wlan0" ifconfig_wlan0="WPA DHCP"
-
zayd
mvee: i did that and restarted netif, it doesn't flood my console with errors now but it still says unknown host when i try to ping freebsd.org
-
mvee
if you run ifonfig do you see anything on wlan0? try ifconf wlan0
-
mvee
sorry, can't type. do ifconfig wlan0
-
zayd
mvee: it says wlan0 doesn't exist
-
mvee
try ifconfig wlan0 up
-
mvee
then service netif restart
-
zayd
did that, it also says that wlan0 doesn't exist
-
mvee
pastebin your wpa and rc
-
zayd
-
VimDiesel
Title: dpaste/JJgb (Plain Text)
-
zayd
-
VimDiesel
Title: dpaste/h1jX (Plain Text)
-
zayd
mvee: is there anything else i have to follow for getting it up?
-
mvee
make a backup of current wpa_supplicant.conf as wpa_supplicant.conf.bak. add key_mgmt=WPA-PSK to your first network entry comment out the 2nd network entry.
-
zayd
ok
-
mvee
after your done, save, bring wlan0 up, restart netif, see if it works
-
zayd
mvee: i tried it both with WPA-PSK in quotes and without and it still says that wlan0 doesn't exist
-
zayd
does this mean i have a missing driver or something?
-
zayd
i unplugged the usb wifi adapter i had in when setting it up, maybe that will fix it
-
zayd
wait no
-
zayd
it scanned networks without it before i plugged it in at all
-
mvee
possible. do you know what you have?
-
mvee
try pciconf -lv | grep -A1 -B3 network
-
zayd
mvee: "Intel Corporation WiFi Link 5100"
-
rsjw
I'm having trouble getting my e-reader recognized when I plug it in with USB. I get this in /var/log/messages:
termbin.com/uoq4 any ideas? it looks like the error is related to the quirk, so maybe the quirk isn't being handled correctly?
-
mvee
zayd: apologies, I have to go. I know it's frustrating and I wish i could help more. If you haven't read already check the handbook chapter 33.3 wireless networking
-
jb1277976
zayd pastebin the error
-
jb1277976
Also are you sure sysctl net plan.devices detects your card
-
zayd
i'll check if it does
-
jb1277976
Oops net wlan.devices
-
jb1277976
Is this a home network?
-
zayd
jb1277976: it says "iwn0"
-
zayd
yes it's a home network
-
jb1277976
Wpa psk right ?
-
zayd
yes
-
jb1277976
Ok so your rc.conf should look like this. One sec I'm on Mobile
-
jb1277976
-
VimDiesel
Title: dpaste/cg9WY (Python)
-
jb1277976
Not that far apart sorry on Mobile
-
zayd
isn't that supposed to be my wpa?
-
pr-asadi
jb1277976: That was wpa_supplicant.conf. Not rc.conf.
-
jb1277976
Yes fixing wpa_supplicant.conf first
-
zayd
bsd.to/JJgb i think this already does that though
-
VimDiesel
Title: dpaste/JJgb (Plain Text)
-
zayd
not sure
-
pr-asadi
zayd: Preferably use wpa_passphrase(8).
-
jb1277976
Whenever I drop my network which is a lot I don't have all that stuff in there and WiFi works all the time
-
jb1277976
Setup*
-
zayd
pr-asadi: instead of "psk" i use "wpa_passphrase"?
-
pr-asadi
No, wpa_passphrase(8) is a executably binary. Just execute 'wpa_passphrase "SSID" "Password"'.
-
zayd
i did that, it still doesn't let me ping
-
pr-asadi
zayd: Can I see the output of ifconfig(8)?
-
jb1277976
Can you post rc.conf again sorry driving Grandpa around lol
-
zayd
pr-asadi: hold on, i'll have to type it out into a pastebin
-
zayd
-
VimDiesel
Title: dpaste/h1jX (Plain Text)
-
zayd
anything i have to leave out of ifconfig so i don't accidentally dox myself?
-
jb1277976
when I get home I will show you my rc.conf and woa_supplicant.conf
-
jb1277976
Dam auto correct
-
pr-asadi
zayd: Your driver is iwn apparently.
-
zayd
i think i'll deal with this another time, i'm going to go do something else for now
-
zayd
thanks though
-
pr-asadi
No problem. I am going to install FreeBSD again, I will be doing this wifi thing as well.
-
jb1277976
I'll be home in an hour zayd
-
zayd
jb1277976: i have to go but thanks for offering to help
-
polyex
what's cap_mkdb used for and when would i wanna run it?
-
kevans
it's at least used for login.conf
-
polyex
when does it need to be run for login.conf?
-
kevans
when changes are made to login.conf
-
kevans
modifications won't be observable until login.conf.db has been re-rolled
-
polyex
is cap_mkdb /etc/login.conf ran on bootup?
-
kevans
no, usually manually or when freebsd-update/etcupdate/mergemaster rhave (potentially) picked up a change to login.conf
-
jb1277976
Dam, he left ?
-
llua
without reading one man page
-
pr-asadi
jb1277976: Yes. He did.
-
tercaL
Greetings. I've installed OpenBSD under FreeBSD bhyve, the installation went fine, however after a reboot, the installer started again, I stopped vm, started back. Then I now get; "BdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0x4,0x0): Not Found" and it says ">>Start PXE over IPv4." and then IPv6. Any clue please?
-
zip100
sounds like it tries to netboot?
-
zip100
did you install openbsd bootloader on disk? or you're setting up a diskless node
-
tercaL
zip100: Yes, I picked the MBR, I guess that was mistake?
-
tercaL
as it's in UEFI mode
-
zip100
I've had issues with this so I prefer GPT when it's UEFI mode
-
zip100
but it should fallback anyway
-
zip100
does it hang on PXE? maybe it will go through when it fails to netboot?
-
tercaL
zip100: No, it tries IPv4, IPv6 and returns to UEFI shell.
-
zip100
sounds like it's a wrong bootloader to me
-
rtprio
i was having problems getting openbsd to boot also
-
zip100
for example, on NetBSD local disk and netbootloaders are different
-
tercaL
rtprio: And how have you solved it?
-
tercaL
After a successful OpenBSD 7.4 installation, and reboot, this appears in vm console:
-
tercaL
-
tercaL
and this is the config of my VM:
pastebin.mozilla.org/MW1Q67WD
-
VimDiesel
Title: Mozilla Community Pastebin/MW1Q67WD (Bash)
-
tercaL
I really wonder where I do mistake..
-
gnrp
hey, quick question: Which are the necessary passive FreeBSD mailing lists ot stay up-to-date? freebsd-security-notifications and freebsd-announce suffice?
-
tercaL
I'd like my VMs (2 OpenBSD instances) and host machine (FreeBSD 14) to talk each other through a virtual network/virtual IP range. To do this, I did:
-
tercaL
1- vm switch create -a 192.168.2.1/24 public and 2- vm switch add public re0 (my host's physical NIC)
-
tercaL
And then, I set a static IP in my OpenBSD vm for itself: 192.168.2.2. Both host and my OpenBSD vm ping each other fine (in VM, I get reply from the host 192.168.2.1, and in host I get reply from VM 192.168.2.2)
-
tercaL
I don't know though, if that's the correct way to do it? Without having any bridge at all? Currently, my VMs don't resolve any hostnames. Even though my ISP's nameserver IPs are in their resolv.conf file.
-
tercaL
Any suggestion for DNS resolution? Installing unbound on host machine (FreeBSD 14) would be the right way?
-
cybercry1to
tercaL: If you setup your vms with at least one gw to your ISP + proper routes, name resolution will work just fine. If your vms requires access to internet, this would normally be achievable via host-machine.
-
mane
ok so i tried wireguard
-
mane
the speeds are as bad as on openvopn
-
mane
i need a freebsd network wizard
-
mane
i mean, any vpn tunnel i like i get unacceptably low speeds
-
mane
s/like/try
-
nimaje
and normal udp traffic between the hosts in question is acceptable?
-
mane
i don't know
-
mane
but i know if i run the vpn on tcp it's bad as well
-
mane
it's probably something wrong with pf or the tun device
-
mane
most likely pf
-
mane
vlepy.com/~wsky/pf.conf this is my pf config, please review it
-
mane
or kernel config
-
nimaje
-
VimDiesel
Title: iperf2 / iperf3
-
mane
i measured with ookla
-
mane
server works fine outside the tunnel
-
nimaje
you want to messure the connection between your hosts, some unrelated third party doesn't matter at all and does that even messure udp or something else?
-
mane
how come it does not mattewr
-
mane
XDD
-
mane
i get few mbit speeds over the tunnel
-
mane
but i will use ipterf as you say
-
nimaje
if you want to know how long you need from A to B via a train, than neighter how long you need from A to C via a plane nor how long you need from B to C by foot matters
-
mane
all i know it's barely working
-
mane
XDD
-
mane
i need to resolve this issue or my project can't be accomplished
-
mane
-
VimDiesel
Title: Poor performance in one direction via Wireguard tunnel | The FreeBSD Forums
-
debdrup
If you're getting OpenVPN speeds on Wireguard, then it's not application specific and is somewhere lower in the stack.
-
debdrup
Since it's network rootcausing you'll be doing, I recommend starting with the lowest OSI layers first and work your way up.
-
mane
have you got any details on what should i do?
-
kevans
> As well as a much closer reading of the pf.conf manual. Turns out that yes, leaving that as the default was the source of the issues. If I adjust my scrub on the dcr1 side from:
-
kevans
funky
-
kevans
I guess by default we just reassemble these massive fragments then end up breaking them back down when forwarding
-
kevans
probably can't do much about that, in the common case (inbound packet destined ultimately for local host) that's not a problem at all
-
cadmio1
Hello
-
cadmio1
I tried "rsync -auvi --dry-run htdocs/ htdocs1/" to find the newly edited files in the 1st dir
-
cadmio1
but I cannot single out the files that where edited more recently
-
ridcully
cadmio1: `--log-format=%M\ %f` would print the last modified date and the file
-
fraxamo
Hi, does anyone know of any particular reason that there is no BSD devroom at FOSDEM '24?
-
RoyalYork
Hello. When i run freebsd-version -u I am showed 13.2-RELEASE-p9, however when I run it with -k, the kernal is showing me 13.2-RELEASE-p8. Is there a way to have the kernal match the userland or is this normal?
-
rtprio
it is normal
-
RoyalYork
rtprio, thanks. is there a source or somewhere where I can find this on my own in future?
-
rtprio
i'm not sure about that; i just know if there's not an update for userland it stays behind. perhaps someone else has a citation.
-
RoyalYork
Ok, thanks. I'll keep an eye out
-
fraxamo
This question comes up a lot and seems to confuse people. I wonder if it's worth adding some information (like a disclaimer) to freebsd-version to prevent that?
-
fraxamo
Or perhaps an extra note in the freebsd-version man page
-
RoyalYork
I'd be more interested in a change log of sorts. I can't seem to find any notes regarding the patches on the freebsd website (maybe I just havent it)
-
RoyalYork
*havent found it
-
fraxamo
Yes, it would be nice if the Security Advisories page listed what each patch affected
-
Zyxer
Sus
-
adonis
My freebsd server is panic'ing with "ffs_blkfree_cg: freeing free block" on attempting to boot into multi user.Attempting to load "Single user" simply hangs. What do I do?
-
meena
adonis: what's the full backtrace?
-
adonis
-
adonis
it seems possible my hypervisor (freebsd running as vm) may have incorrectly restarted/shutdown freebsd? I am also seeing errors stating: "/ was not properly dismounted", and "/var was not properly dismounted"
-
adonis
I figure maybe fsck will fix this but not sure how to run it without being able to get into Single user mode..
-
adonis
ok, problem solved.. used the live cd image to run fsck -y on each of the boot drive partitions.. pheeww..
-
adonis
no more panic
-
adonis
is it normal to see high interrupts.. top is showing > 60%.. this was a pre-existing issue prior to the panic issue I had above.
-
topcat001
On my physical desktop I never see interrupt load > 1%