Samuel Thibault <[email protected]> writes: > Joshua Branson, le mer. 16 sept. 2020 07:35:03 -0400, a ecrit: >> #+BEGIN_SRC sh >> qemu-system-i386 --curses -enable-kvm --no-reboot \ >> -drive file=debian-hurd-20200731.img,cache=writeback -m 1G >> \ >> -net user,hostfwd=tcp:127.0.0.1:2222-:22 >> #+END_SRC > > Where did you get this command line from? It is missing the -net nic > option. Also I don't see why enabling the curses mode.
Ahh. That would be why. https://www.gnu.org/software/hurd/hurd/running/qemu.html#index1h1 vs. http://darnassus.sceen.net/~hurd-web/hurd/running/qemu/#index1 The latter one has the correct information, but the former is still thought of as the "correct" site. I used the first url. I'll look in your previous email about how one can update the "correct" site. I see that the "correct" site lags behind. I guess that means I've been appointed as the person to keep it up to date! I enabled --curses because I use the dvorak layout. I'm under the impression that the GNU/Hurd does not support variant keyboard layouts. > >> Did not auto set up my networking. Yes I could have manually set the >> pfinet translator (or lwip), > > The problem is in your qemu configuration. Once -net nic is added, > dhclient just works. > >> Also, running "which ifup" got me no results. > > It definitely is there: > > # which ifup > /sbin/ifup Perhaps, I needed to run "sudo ifup -a". That would be why. Gotcha. > >> With ssh, I tried to connect to port "2222". So again a lot of these >> "issues" is probably user-error. > > Also, ssh will not like non-password login by default, so you need to > set a password before being able to log via ssh. hmmm. I did create a password for my user "joshua". I think I tried to ssh via ssh -p 2222 localhost My username in Guix System is "joshua". I got the ssh command from the wiki here: https://www.gnu.org/software/hurd/hurd/running/qemu.html#index1h1 #+BEGIN_SRC org This is the recommended way to work with a Command Line Interface (CLI) since all your keyboard and locale settings are preserved. a) with ssh (assuming you have installed openssh-server) $ kvm -m 1G -net nic -net user,hostfwd=tcp::5555-:22 -drive cache=writeback,file=hd0.img & Logging in to the running Hurd: $ ssh -p5555 localhost #+END_SRC > > Samuel > Thanks again Samuel! Sorry that I keep asking how to fix the "simple" things. -- Joshua Branson Sent from Emacs and Gnus
