Re: [PLUG] IP address for a virtual machine?

2018-07-27 Thread John Jason Jordan
On Fri, 27 Jul 2018 15:47:49 -0700
Tomas Kuchta  dijo:

>If my assessment is correct, I'd think that the Bridge network setup is
>easier to do - unless you would like to keep the guest isolated from
>your home network.

That was it! I have TV working on the Windows guest as I write this. To
accomplish this I shut down Windows, then in Virtualbox under Network I
selected Bridged Adapter, and left it at the defaults, except under
Promiscuous Mode I selected Allow VMs. When I restarted Windows the
player just worked!

Thanks to all for the suggestions and advices!
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IP address for a virtual machine?

2018-07-27 Thread wes
On Fri, Jul 27, 2018 at 4:05 PM, John Jason Jordan  wrote:

>Address. . . . . . . . . . . : 10.0.2.15(Preferred) Subnet
>
>
This indicates that the IP address was assigned to the VM guest by the VM
host software. Your router was not involved in that transaction.

>
> >What happens when you try to access your HDHomeRun tuner from the
> >Windows VM guest?
>
> It works just fine until I try to play TV. Then the player app
> announces: "Unable to play channel, all tuners in use." But the setup
> and config utilities see it fine and can successfully scan for
> channels. It's just the player app that can't find it, and my guess is
> that it is because Windows is not on the right network.
>
>
It's possible the HDHomeRun uses a streaming tech that is not friendly with
NAT. If it was designed exclusively for home use, that may well be the
case. I think Tomas' suggestion of altering your VM config to use a bridged
network instead of NAT is more likely to help.

At which point, the DHCP reservation you set up in your router will become
effective.

-wes
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IP address for a virtual machine?

2018-07-27 Thread John Jason Jordan
On Fri, 27 Jul 2018 12:56:43 -0700
wes  dijo:

>> I could set up an IP address for the Windows machine if it had a MAC
>> address or some other way to identify it to the router. Any
>> suggestions? 
>
>It has a MAC address too. Go to Start and Run, put in cmd and press
>Enter. Then type ipconfig /all and press enter. (These steps may vary
>slightly based on which version of Windows you're running)

OK, that worked, sort of:

Ethernet adapter Ethernet:
   Connection-specific DNS Suffix  . : lan
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop
   Adapter Physical Address. . . . . . . . . : 08-00-27-8B-7B-00
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . :
   fe80::8d71:6f2a:c986:cb6e%11(Preferred) IPv4
   Address. . . . . . . . . . . : 10.0.2.15(Preferred) Subnet
   Mask . . . . . . . . . . . : 255.255.255.0 Lease
   Obtained. . . . . . . . . . : Friday, July 27, 2018 3:41:19 PM Lease
   Expires . . . . . . . . . . : Saturday, July 28, 2018 3:41:19 PM
   Default Gateway . . . . . . . . . : 10.0.2.2 DHCP
   Server . . . . . . . . . . . : 10.0.2.2 DHCPv6
   IAID . . . . . . . . . . . : 50855975 DHCPv6 Client
   DUID. . . . . . . . : 00-01-00-01-22-E6-99-13-08-00-27-8B-7B-00 DNS
   Servers . . . . . . . . . . . : 10.0.2.3 NetBIOS over
   Tcpip. . . . . . . . : Enabled

Then I tried to set up a static lease in the router at 192.16.1.150
(hitherto unused) using the above MAC address. The router bitched at me:
"Some fields are invalid, cannot save values!" Rude router. Then I
tried it again using Firefox on Windows, and this time I was
successful. And finally, I shut down and restarted Windows, but when
checked ipconfig again it was still at 10.0.2.15.

>What happens when you try to access your HDHomeRun tuner from the
>Windows VM guest?

It works just fine until I try to play TV. Then the player app
announces: "Unable to play channel, all tuners in use." But the setup
and config utilities see it fine and can successfully scan for
channels. It's just the player app that can't find it, and my guess is
that it is because Windows is not on the right network.
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IP address for a virtual machine?

2018-07-27 Thread Tomas Kuchta
It is hard to second guess John's setup - so a few ideas to look into:

Perhaps the guest VM is behind host VM NAT - that would require either
changing the host VM network to Bridge type or setup port forwarding to NAT
VM guest (kind of like you would do on your home router if you want to
access the network internally)

If my assessment is correct, I'd think that the Bridge network setup is
easier to do - unless you would like to keep the guest isolated from your
home network.

Tomas


On Fri, Jul 27, 2018, 2:11 PM Ken Stephens 
wrote:

> The command line command to get all that information in Windows is
> 'ipconfig'.  I kept getting that mixed up with ifconfig when I use to go
> back and forth between Window$ and Linux.
>
> Regards,
> Ken
>
> On Fri, Jul 27, 2018 at 12:57 PM wes  wrote:
>
> > On Fri, Jul 27, 2018 at 12:41 PM, John Jason Jordan 
> > wrote:
> >
> > > I am trying to get a virtual Windows machine to see my HDHomeRun TV
> > > tuner, but it fails. I think the problem is that, while the host has an
> > > IP address set up in my router, the guest Windows machine does not. The
> > > Windows machine can surf the web and see other devices on the network
> > > (mine and the internet), but the HDHomeRun device requires that the
> > > machine it is on have an IP address.
> > >
> >
> > If the guest OS is able to access the network, it already has an IP
> > address. It pretty much can't talk to anything else on the network
> without
> > one (other than broadcast type stuff).
> >
> >
> > > I could set up an IP address for the Windows machine if it had a MAC
> > > address or some other way to identify it to the router. Any
> suggestions?
> > >
> >
> > It has a MAC address too. Go to Start and Run, put in cmd and press
> Enter.
> > Then type ipconfig /all and press enter. (These steps may vary slightly
> > based on which version of Windows you're running)
> >
> > Windows refers to a MAC address as a "physical address" and uses dashes
> > instead of colons to separate the digits.
> >
> > What happens when you try to access your HDHomeRun tuner from the Windows
> > VM guest?
> >
> > -wes
> > ___
> > PLUG mailing list
> > PLUG@pdxlinux.org
> > http://lists.pdxlinux.org/mailman/listinfo/plug
> >
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IP address for a virtual machine?

2018-07-27 Thread Ken Stephens
The command line command to get all that information in Windows is
'ipconfig'.  I kept getting that mixed up with ifconfig when I use to go
back and forth between Window$ and Linux.

Regards,
Ken

On Fri, Jul 27, 2018 at 12:57 PM wes  wrote:

> On Fri, Jul 27, 2018 at 12:41 PM, John Jason Jordan 
> wrote:
>
> > I am trying to get a virtual Windows machine to see my HDHomeRun TV
> > tuner, but it fails. I think the problem is that, while the host has an
> > IP address set up in my router, the guest Windows machine does not. The
> > Windows machine can surf the web and see other devices on the network
> > (mine and the internet), but the HDHomeRun device requires that the
> > machine it is on have an IP address.
> >
>
> If the guest OS is able to access the network, it already has an IP
> address. It pretty much can't talk to anything else on the network without
> one (other than broadcast type stuff).
>
>
> > I could set up an IP address for the Windows machine if it had a MAC
> > address or some other way to identify it to the router. Any suggestions?
> >
>
> It has a MAC address too. Go to Start and Run, put in cmd and press Enter.
> Then type ipconfig /all and press enter. (These steps may vary slightly
> based on which version of Windows you're running)
>
> Windows refers to a MAC address as a "physical address" and uses dashes
> instead of colons to separate the digits.
>
> What happens when you try to access your HDHomeRun tuner from the Windows
> VM guest?
>
> -wes
> ___
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] IP address for a virtual machine?

2018-07-27 Thread wes
On Fri, Jul 27, 2018 at 12:41 PM, John Jason Jordan  wrote:

> I am trying to get a virtual Windows machine to see my HDHomeRun TV
> tuner, but it fails. I think the problem is that, while the host has an
> IP address set up in my router, the guest Windows machine does not. The
> Windows machine can surf the web and see other devices on the network
> (mine and the internet), but the HDHomeRun device requires that the
> machine it is on have an IP address.
>

If the guest OS is able to access the network, it already has an IP
address. It pretty much can't talk to anything else on the network without
one (other than broadcast type stuff).


> I could set up an IP address for the Windows machine if it had a MAC
> address or some other way to identify it to the router. Any suggestions?
>

It has a MAC address too. Go to Start and Run, put in cmd and press Enter.
Then type ipconfig /all and press enter. (These steps may vary slightly
based on which version of Windows you're running)

Windows refers to a MAC address as a "physical address" and uses dashes
instead of colons to separate the digits.

What happens when you try to access your HDHomeRun tuner from the Windows
VM guest?

-wes
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


[PLUG] IP address for a virtual machine?

2018-07-27 Thread John Jason Jordan
I am trying to get a virtual Windows machine to see my HDHomeRun TV
tuner, but it fails. I think the problem is that, while the host has an
IP address set up in my router, the guest Windows machine does not. The
Windows machine can surf the web and see other devices on the network
(mine and the internet), but the HDHomeRun device requires that the
machine it is on have an IP address.

I could set up an IP address for the Windows machine if it had a MAC
address or some other way to identify it to the router. Any suggestions?
___
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug