Conversation
Notices
-
Embed this notice
Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 19:53:33 JST Maholmire Time for me to finally demystify system administration @p, @pwm.
Span up a NixOS server on Virtualbox in a College VM. Don't have a domain, but @dcc mentioned they can lend me a sub-domain. Figured that if @emma of all people can do it, then I can too.- pistolero :thispersondoesnotexist: likes this.
-
Embed this notice
Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 21:12:04 JST Maholmire ERROR: ssh: connect to host (address) port 22: Connection timed out.
What do @p? Already made sure that I was using a bridged connection for the VM.
pistolero :thispersondoesnotexist: likes this. -
Embed this notice
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Sunday, 12-Nov-2023 21:15:37 JST pistolero :thispersondoesnotexist: @Maholmire From the server's side, make sure that that port isn't filtered (I don't know what NixOS does with /etc/hosts.{allow,deny} or iptables or if it uses ufw) and that from inside, pinging the outside works (so that you can verify your routes work), but this is as much as I can say because I have not used and do not recommend either Virtualbox or NixOS and if you're already in a VM, maybe just put it in the VM instead of putting a VM in the VM. -
Embed this notice
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Sunday, 12-Nov-2023 21:47:46 JST pistolero :thispersondoesnotexist: @Maholmire I mean why put it inside a VM if you already have a VM? Like, the college gives you a VM: why do you need VirtualBox?
Either way, the case might be that you can't route to it from outside. (You also don't need an ethernet port to bridge: you create a bridge interface and then you can add and remove other interfaces at will, any of which could be virtual. The conventional use for it is to add ethernet ports to the bridge interface to bridge the ports, but now people often bridge one physical port with several virtual ones, but you don't have to have *any* physical ports involved. FSE talks to Postgres over that kind of bridge.)
> Currently running through some Nix-related troubleshooting atm. Though I just wish it would've been easier to connect to a VM by default rather than having to jump through hoops.
Easiest way to do this is to just use qemu and forward a port on the host to a port on the VM, or to just use libvirtd (I expected to hate libvirt but after I got all the XML out of the way, I did not hate it at all). -
Embed this notice
Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 21:47:47 JST Maholmire Decided to run it from within my college's VM as I can use it more reliably as a test environment than on my Steam Deck which doesn't have an ethernet port for bridging.
Currently running through some Nix-related troubleshooting atm. Though I just wish it would've been easier to connect to a VM by default rather than having to jump through hoops.pistolero :thispersondoesnotexist: likes this. -
Embed this notice
Maholmire (maholmire@crlf.ninja)'s status on Sunday, 12-Nov-2023 21:58:02 JST Maholmire Well, can't say I didn't give it a try at the very least. Was either that or designing a poster about copyright and the open knowledge movement. pistolero :thispersondoesnotexist: likes this. -
Embed this notice
pistolero :thispersondoesnotexist: (p@freespeechextremist.com)'s status on Sunday, 12-Nov-2023 21:58:47 JST pistolero :thispersondoesnotexist: @Maholmire I'm still confused as to what the answers to the questions are. -
Embed this notice
moesha (moesha@yuga.surf)'s status on Sunday, 12-Nov-2023 22:54:15 JST moesha @Maholmire @dcc @pwm @p @emma
Is the VM on a Windows host? If the host OS Linux QEMU+KVM tends to be better option, and if using a Mac Parallels is a better option. Even if on Windows I'd use Hyper-V over Virtualbox, but Virtualbox also works fine if it's your hearts content.
The last time I used virtualbox, it wasn't difficult to set up bridging. This page seems to have more information:
https://www.virtualbox.org/manual/ch06.htmlpistolero :thispersondoesnotexist: likes this.