-
crb
I have a bhyve instance running centos 7.9. I would like my home directory to be nfs mounted from my FreeBSD server (not the vm host). While I can setup the mount in /etc/fstab when I log in via the GUI it just hangs, it never gives me a desktop. If I create another user with the same uid and gid but a local home directory things work fine
-
V_PauAmma_V
Can you try reducing the number of moving parts? Eg, the same but with a FreeBSD bhyve instance and the same DE? That would tell you whether there's some incompatibility between Linux+its NFS client and FreeBSD's NFS server.
-
crb
I don't think it's a linus NFS incompatibility. If i log in as another user that has the same uid and gid but a local homes directory and cd into the nfs mounted home directory everything seems just fine and I can work without issue
-
lw
-
V_PauAmma_V
crb, when you say "everything seems just fine and I can work without issue", do you mean the DE is happy with what it finds in the NFS-mounted directory? (Which presumably is what it put there earlier.)
-
crb
V_PauAmma_V: DE?
-
crb
V_PauAmma_V: the Linux guest is perfectly happy to log into an account that has a local home directory and cd to the nfs mounted directory and read, write and create files
-
V_PauAmma_V
Desktop Environment. Gnome or Xfce or KDE or whatever.
-
V_PauAmma_V
lw, can I share that with a friend?
-
lw
V_PauAmma_V: feel free
-
lw
V_PauAmma_V: obviously (i hope) this is deliberately bad AI-generated content and not my actual opinion
-
crb
V_PauAmma_V, the DE is happy when the home directory is local, when it is NFS mounted it doesn't seem to like that, it takes a very long time to come to a desktop and then seems to hang when I try to open a terminal. If the home directory is local, I can cd to the nfs directory and read and write file fine
-
V_PauAmma_V
Looks like the DE is (part of) your problem, then.
-
crb
V_PauAmma_V, perhaps but I haven't a clue what to look at
-
V_PauAmma_V
I'm not sure myself, but taking a shot in the dark, I'd start by looking at the DNS configuration on the Centos guest and FreeBSD NFS server. Maybe one is trying to resolve the other's IP address to a name and failing.
-
V_PauAmma_V
lw, that's how I took it, and the reason why I shared it.
-
lw
i do wonder where it got "smug elitists" from though, is that an actual opinion people have about freebsd?
-
lw
well, i guess for any <opinion> X <os> there's probably something with that opinion
-
crb
V_PauAmma_V, seems unlikely as the NFS mount does work
-
V_PauAmma_V
Hmm. No idea, then.
-
crb
V_PauAmma_V, thank you
-
polyex90
any way to make unbound not try to forward queries for domains with only 1 label? like ping foobar, has no "." in it
-
saper
crb: can you just connect to the guest without the desktop environment? like ssh into it?
-
crb
saper: yes
-
saper
polyex90: (big solution) setup local resolving nameserver locally (like nsd or bind) for the "polyex.corp" domain, configure foobar there, add "search polex.corp." to /etc/resolv.conf...
-
saper
polyex90: (small solution) make sure in /etc/nsswitch.conf in the "hosts" line "files" are before "dns", add foobar to /etc/hosts with it's IP address
-
saper
crb: can you show what the "mount" command says inside of the CentOS guest?
-
crb
192.168.1.2:/homes on /homes type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.2,mountvers=3,mountport=764,mountproto=udp,local_lock=none,addr=192.168.1.2)
-
GoSox
Does freebsd have anything similar to MacOSX's "Startup Disk" system pref? Like for example, if I wanted to install freebsd on a primary drive in my server, and also install a copy on a second drive that would be a "backup boot drive" type of thing. How would I switch between the two drives. Remotely, so choosing in the bios or whatever isn't an option.
-
crb
I've discovered that it I simply let it sit for a while after typing my password the desktop does appear (feels like something timed out) but then when I try to open a terminal using a menu it hangs and never seems to come back
-
polyex90
saper didn't need any of that just local-zone: "foobar" static
-
polyex90
in unbound.conf
-
crb
ok going to bed, I'll look for any comments tomorrow
-
remiliascarlet
GoSox: Important thing to remember is that macOS is FreeBSD, but FreeBSD is not macOS. So configuring the BIOS is going to be your only option.
-
GoSox
and theres no way to do that from within a booted freebsd system?
-
remiliascarlet
No.
-
GoSox
well thats unfortunate
-
remiliascarlet
If you need to make backups, you can explore the boot environment feature that comes with FreeBSD though.
-
remiliascarlet
So you create a boot environment before doing something potentially risky, and if you fuck up your system, you can always reboot into the environment from before you did that potentially risky thing.
-
remiliascarlet
However, it does require you to be physically near the computer in question, since the boot environment can be selected from the bootloader.
-
GoSox
on my current mac server, i can connect remotely, go into system prefs, and set the "backup boot drive" as my boot disk. Then restart the server. It will boot up off the backup disk. It is configured with all the same usernames, passwords, VPN settings etc. So once it reboots, I can connect to the machine again and now I'm on the backup drive, and I can, for example, run disk repair utilities on the actual boot disk or do anything e
-
GoSox
that might need to be done. Then go into system prefs and switch it back to the main disk. restart, and i'm good to go
-
GoSox
yeah everything i just said requires no physicla access
-
remiliascarlet
Perhaps a suggestion you can make on the mailing list, because not sure if this IRC channel has the core dev team or not.
-
remiliascarlet
Although not sure if that's always possible. It might theoretically be possible on a UEFI installation, but no way it can be possible on a "legacy" BIOS installation.
-
GoSox
as a mac user, i don't really even know what those words mean
-
remiliascarlet
And Macs all tend to use EFI, Apple had that way before UEFI arrived to non-Apple hardware.
-
GoSox
you could choose your startup disk on macs all the way back in the 80s
-
remiliascarlet
BIOS is what all motherboard firmwares used to use, and many still use for "legacy" reasons. EFI (in Apple hardware) and UEFI (in non-Apple hardware) are the modern equivelants to BIOS.
-
remiliascarlet
BIOS was written in Assembly, but only a handful of people on this planet still know how to code in Assembly today.
-
GoSox
off topic but i was reading this thing about old video games and it said that there was no language or compilers for original NES and SNES systems. That all of those games were written directly in raw assembly!
-
GoSox
which seems like complete madness!
-
GoSox
if there was a reason to, someone could create an amazing compiler IDE for the original NES today that would let you create totally amazing games super easily
-
remiliascarlet
Well, games back then were much simpler than they were today.
-
|cos|
KoliriOS is pure madness (dunnu if mentioning another operating system is bringing the topic slightly more home)
-
|cos|
*KolibriOS, 100% written in assembly. Kind of contemporary.
-
remiliascarlet
Just compare Super Mario Odyssey to Super Mario Brothers. You can code SMB relatively fast in Assembly, but SMO would probably takes decades to develop in Assembly.
-
GoSox
remiliascarlet: so back on topic, when people are buildling a freebsd server to ship off to a data center, do people generally just give it one boot drive and thats that?
-
Dooshki
GoSox: If you had such a system, you'd also need special cartridges supporting a lot of banking to be able to store all of that compiled data, or even the RAM to be able to process it... and it would be really slow
-
Dooshki
Plus, the 6502's execution model doesn't really fit C-style languages well
-
dstolfa
GoSox: there are already a lot of really great tools for the NES today. i haven't played with them myself, but i've seen people use all kinds of emulators and debuggers for reverse engineering things. i don't see why you couldn't use those for development purposes as well
-
remiliascarlet
GoSox: I don't know, because I've never shipped a server to a data center. I did look into it before, but too expensive.
-
dstolfa
people have also built all kinds of debugging PPUs AFAIK
-
GoSox
i've been using the same place for over 15 years now. I only pay $52/mo for 1U rackspace with an IP, plus two extra additional IPs
-
remiliascarlet
I pay 1290 yen per month for a static IP, so I can run servers at home.
-
GoSox
most ISPs here don't have that
-
GoSox
that would be nice though
-
remiliascarlet
Same here, but there are specialized "ISP"'s which you use on top of your existing ISP.
-
GoSox
i thought about doing that via a VPN service. So the server would be at home, but i would have a static IP with the VPN servers that would route all inbound traffic to my server, whenever the server was connected to teh VPN. That would also have the bonus feature of me being able to simply move the server to anywhere else in the world if the power or internet went out for a prolonged period of time. Plug in somewhere else, connect t
-
GoSox
VPN, and bam my server is up
-
remiliascarlet
So you get your fiber connection and ONU from ISP 1 (well, technically every ISP is either an NTT reseller or a KDDI reseller anyway), and 1 ISP that provides a static IP over a PPPoE connection.
-
remiliascarlet
I used to do that with Wireguard, but it has limitations.
-
remiliascarlet
Works fine with static webpages, but as soon as you run a mail server, XMPP server, IRC server, or whatever else, then welcome to a world of pain.
-
GoSox
why pain?
-
remiliascarlet
Because it just won't work.
-
GoSox
why not?
-
remiliascarlet
No idea. I tried it, and it just didn't work.
-
remiliascarlet
Only over a direct connection it worked.
-
GoSox
as long as the VPN is forwarding all incoming connectoins to your servers "lan" IP then all that should work fine
-
GoSox
i haven't actaully tested it out yet though
-
GoSox
not sure if i want to go that route or not
-
remiliascarlet
The other problem is that most VPN companies are shady as fuck. Perhaps only Mullvad is somewhat worthy, but everyone else?
-
GoSox
yeah i had a few comnversations with a couple of the bigger, non shady ones
-
remiliascarlet
Or if you run a VPS as a VPN, you really need to know which company you can trust.
-
GoSox
they seemed to be able to do everything i wanted except have multiple external IPs but i can live with one if i have to
-
remiliascarlet
Linode for example is notorious for suddenly shutting your VPS down over a DMCA notice.
-
remiliascarlet
Even if the DMCA notice is complete bullshit.
-
GoSox
i guess the real problem is, how will an inbound ddos attack affect the VPN connection. If the server is immune to synfloods, will they still affect the public endpoint
-
remiliascarlet
And then with Vultr, Louis Rossman made a pretty damning video about them recently:
invidious.jing.rocks/watch?v=LGwvLB7rhCE
-
VimDiesel
Title: Vultr Claims Rights to Sell Your Data & Programs? - Invidious
-
GoSox
if i did the server at home, i'd probably use a mac mini and just run macos and eek by with all the hoops you have to jump through these days
-
GoSox
but if i have to collocate another server, ill probably go with freebsd
-
GoSox
i could also try to move everything to more traditional web hosting :(
-
HER
im trying to mount some dirs, but i think the following is not allowed ?
paste.scsys.co.uk/30130
-
VimDiesel
Title: magnet_web paste from Someone at 217.168.150.38...
-
HER
-
VimDiesel
Title: magnet_web paste from Someone at 217.168.150.38...
-
HER
dirs a, b, c are listed, but files under a and b are not
-
polarian
I am having audio weirdness on FreeBSD, firefox uses the speaker device just fine... I mute it in pavucontrol it works just fine, but chromium or vlc bypass this... the audio device its using doesn't show up on pavucontrol nor does the audio stream, how do I debug this?
-
rennj
-
VimDiesel
Title: Chapter 9. Multimedia | FreeBSD Documentation Portal
-
nimaje
GoSox: maybe efibootmgr can do what you want with boot drives, that would require uefi, but afaik only ancient hardware doesn't have uefi
-
last1
-
VimDiesel
Title: HISTTON Firewall OPNsense Micro Firewall Appliance Fanless PC 2.5GbE LAN Gigabit Celeron J4125 Router PC, 8GB RAM 128GB SSD, OPNsense Firewall PC AES-NI, HD, VGA, SIM Slot, Compatible with Pfsense : Amazon.ca: Electronics
-
last1
but FreeBSD can't see the wifi card
-
last1
anyone knows how I can look it up ?
-
last1
Debian sees it as RT2800 driver
-
last1
so some RealTeak wi-fi card or something it seems
-
zwr
are there instructions on how to compile and install just a kernel module somewhere?
-
zwr
I have one of those broadcom wi-fi cards that need BWN_GPL_PHY defined to be supported
-
zwr
currently I compile the whole kernel
-
last1
from what I've read, it seems FBSD doesn't support this
-
polarian
ohhh
-
polarian
rennj: pulseaudio is being used by firefox... while chromium and vlc (and beep(1) :P) do not
-
polarian
well this is annoying
-
polarian
so I would need to configure both the pcm and pulseaudio devices to set the volume I desire
-
last1
which wifi usb dongles work on freebsd?
-
jauntyd
i have an LG PW-DN427 that works
-
jauntyd
also Cisco-Linksys WUSB600N
-
last1
anything more powerful that I can plug into this mini pc to make it an AP ?
-
jauntyd
that i do not have experience with, sorry