From: Sean Hinchee <henesy.dev@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access
Date: Mon, 10 Jul 2017 23:48:06 -0500 [thread overview]
Message-ID: <1e97f292-9e8d-f31b-ad1a-48daf4d26f85@gmail.com> (raw)
OS: Windows 10
Virtualbox: 5.1.22 r115126
9Front: d44f7b86e2ba+ tip
VirtualBox Guest Config:
General -> Basic
Type: Other
Version: Other/Unknown (64-bit)
System -> Motherboard
Chipset: PIIX3
Pointing Device: PS/2 Mouse
Extended Features: [x] Enable I/O APIC
System -> Processor
Extended Features: [x] PAE/NX
System -> Acceleration
[x] Enable VT-x/AMD-V
[x] Enable Nested Paging
Display -> Screen
Acceleration: [x] Enable 3D Acceleration
Storage -> Attributes
Name: IDE
Type: PIIX4
[x] Use Host I/O Cache
Audio ->
[x] Enable Audio
Host Audio Driver: CoreAudio or PulseAudio or Windows DirectSound
Audio Controller: Soundblaster 16
Network -> Adapter 1
Attached to: Host-only Adapter
Name: VirtualBox Host-Only Ethernet Adapter
-> Advanced
Adapter Type: Intel PRO/1000 MT Server
Network -> Adapter 2
Attached to: NAT
-> Advanced
Adapter Type: Intel PRO/1000 MT Server
Note: Enabling USB 2.0 Control in 'Ports -> USB' should work
---
Making it work in 9Front post-install:
File -> Preferences -> Host-only Networks -> VirtualBox Host-only
Adapter -> DHCP Server
Take note of the Server Mask and the IP range, you'll use these to set
up a /lib/ndb/local something along the lines of:
ipnet=9front ip=192.168.56.0 ipmask=255.255.255.0
auth=cirno
cpu=cirno
smtp=cirno
sys=cirno ether=080047472abc ip=192.168.56.102
Set an arbitrary address within range for Adapter 1, this will be ether1
and Adapter 2 should be ether0 (for some reason I had to flip them).
Adapter 1's address is the remote access address, I just leave the
Adapter 2 to be auto-configured by 9Front via DHCP and provide internet
access that way.
To ensure ether1 comes up:
Create /cfg/$sysname/cpustart and add:
bind -a '#l1' /net.alt
bind -b '#I1' /net.alt
ip/ipconfig ether /net.alt/ether1
Hopefully this helps someone.
Cheers,
Sean
next reply other threads:[~2017-07-11 4:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-11 4:48 Sean Hinchee [this message]
2017-07-11 11:33 ` hiro
2017-07-11 14:43 ` Benjamin Purcell
2017-07-11 14:31 ` Peter Hull
2017-07-12 2:52 ` Sean Hinchee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e97f292-9e8d-f31b-ad1a-48daf4d26f85@gmail.com \
--to=henesy.dev@gmail.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).