9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access
@ 2017-07-11  4:48 Sean Hinchee
  2017-07-11 11:33 ` hiro
  2017-07-11 14:31 ` Peter Hull
  0 siblings, 2 replies; 5+ messages in thread
From: Sean Hinchee @ 2017-07-11  4:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access
  2017-07-11  4:48 [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access Sean Hinchee
@ 2017-07-11 11:33 ` hiro
  2017-07-11 14:43   ` Benjamin Purcell
  2017-07-11 14:31 ` Peter Hull
  1 sibling, 1 reply; 5+ messages in thread
From: hiro @ 2017-07-11 11:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

everybody please stop promoting vbox. it will confuse everybody.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access
  2017-07-11  4:48 [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access Sean Hinchee
  2017-07-11 11:33 ` hiro
@ 2017-07-11 14:31 ` Peter Hull
  2017-07-12  2:52   ` Sean Hinchee
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Hull @ 2017-07-11 14:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

On Tue, 11 Jul 2017 at 05:48 Sean Hinchee <henesy.dev@gmail.com> wrote:

> 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
>
> My current 9front VM set-up works fine with the virtio-net ethernet
adapter, attached to NAT Network. Does this also work for you? I have never
used it with drawterm on the host, though.
Peter

[-- Attachment #2: Type: text/html, Size: 841 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access
  2017-07-11 11:33 ` hiro
@ 2017-07-11 14:43   ` Benjamin Purcell
  0 siblings, 0 replies; 5+ messages in thread
From: Benjamin Purcell @ 2017-07-11 14:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I don't currently have the option to use anything besides vbox at
work. So this information is helpful to me.

On Tue, Jul 11, 2017 at 7:33 AM, hiro <23hiro@gmail.com> wrote:
> everybody please stop promoting vbox. it will confuse everybody.
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access
  2017-07-11 14:31 ` Peter Hull
@ 2017-07-12  2:52   ` Sean Hinchee
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Hinchee @ 2017-07-12  2:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 799 bytes --]

Using virtio-net should work just fine, might need to shuffle the order
of the cards/address config, but that should be all.


On 07/11/2017 9:31 AM, Peter Hull wrote:
> On Tue, 11 Jul 2017 at 05:48 Sean Hinchee <henesy.dev@gmail.com
> <mailto:henesy.dev@gmail.com>> wrote:
>
>     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
>
> My current 9front VM set-up works fine with the virtio-net ethernet
> adapter, attached to NAT Network. Does this also work for you? I have
> never used it with drawterm on the host, though.
> Peter
>


[-- Attachment #2: Type: text/html, Size: 1793 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-12  2:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-11  4:48 [9fans] 9Front in Virtualbox with Internet and Host Drawterm Access Sean Hinchee
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

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).