Re: [fpc-other] Networking problem from Linux virtual machine hosting Lazarus

2016-02-27 Thread Tomas Hajny
On Sat, February 27, 2016 22:36, Mark Morgan Lloyd wrote:
> Bo Berglund wrote:
>> I hope this might be acceptable to ask here even if it is FPC and
>> Lazarus off topic

 No problem on this list.


 .
 .
>> VMWare virtual adapter for vnet8 on main PC:
>>   IP=192.168.80.1 Mask=255.255.255.0
>>
>>
>> Linux Mint virtual machine:
>> IP=192.168.80.130 Mask=255.255.255.0 GW=192.168.80.2

Wasn't the gateway number meant to be 192.168.80.1?


 .
 .
>> I don't get any ping response. On the host system I get immediate
>> response...
>>
>> Is there anyone here who has done this and made it work?
>
> I'm not sure how useful any comment from me it, since I tend to use
> Qemu. However the obvious question that has to be asked is whether the
> windows system knows how to route to the subnet on which the VMWare
> guest resides.

Yep - what's the result of 'route print' or 'netstat -r' there? Also, you
need to make sure that there's no conflict (i.e. the 192.168.x.x range
isn't routed elsewhere there).

Also, when trying to sort it out, I'd try pinging from both sides. I
assume that 'ping 192.168.80.1' works on the host machine, right (i.e. the
virtual interface is up)? If so, would pinging 192.168.80.130 work from
that side?

Finally - not sure what you meant by the reference to the 'VPN network',
but if your machine is connected to a VPN (external), you need to make
sure that the VPN client isn't configured to disable all other
connectivity.

Tomas


___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Networking problem from Linux virtual machine hosting Lazarus

2016-02-27 Thread Mark Morgan Lloyd

Bo Berglund wrote:

I hope this might be acceptable to ask here even if it is FPC and
Lazarus off topic

I have created a VMWare WS12PRO virtual machine in which I have
installed Linux Mint 17.3 MATE to host FreePascal 3.0.0 and Lazarus
1.6.
These are now fine and working.

As a last item I need to secure connectivity to the company version
control system hosted on a Windows server on address 10.0.0.7
This network is on-line on the VMWare host PC (Windows7 X64) via VPN.

I have set the virtual machine networking to NAT so it will use the
host networking system and it should be able therefore to use the VPN
channel to reach the 10.0.0.7 server.

This is the addresses of my system:
Main PC (VMWare host):
 IP=192.168.0.137 Mask=255.255.255.0 GW=192.168.0.129

VMWare virtual adapter for vnet8 on main PC:
  IP=192.168.80.1 Mask=255.255.255.0

 
Linux Mint virtual machine:

IP=192.168.80.130 Mask=255.255.255.0 GW=192.168.80.2

Server on VPN network:
IP=10.0.0.7 Mask=255.255.255.0

I know that this should work but I feel that there is something
missing on the Linux side to make it actually start working...
On previous Linux virtual machines (VMWare Workstation 7 level) I did
not have to do anything else than connect VPN on my host PC to make
that network also available on the virtual computer.
Does not work now...

I have tried adding route 10.0.0.0 on the linux side as follows:

bosse@mint17mate ~ $ route -n
Kernel IP routing table
Destination   Gateway  Genmask   Flags Metric Ref Use Iface
0.0.0.0   192.168.80.2 0.0.0.0   UG0  0 0 eth0
10.0.0.0  192.168.80.1 255.255.255.0 UG0  0 0 eth0
192.168.80.0  0.0.0.0  255.255.255.0 U 1  0 0 eth0

But this does not work either.
I don't get any ping response. On the host system I get immediate
response...

Is there anyone here who has done this and made it work?


I'm not sure how useful any comment from me it, since I tend to use 
Qemu. However the obvious question that has to be asked is whether the 
windows system knows how to route to the subnet on which the VMWare 
guest resides.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


[fpc-other] Networking problem from Linux virtual machine hosting Lazarus

2016-02-27 Thread Bo Berglund
I hope this might be acceptable to ask here even if it is FPC and
Lazarus off topic

I have created a VMWare WS12PRO virtual machine in which I have
installed Linux Mint 17.3 MATE to host FreePascal 3.0.0 and Lazarus
1.6.
These are now fine and working.

As a last item I need to secure connectivity to the company version
control system hosted on a Windows server on address 10.0.0.7
This network is on-line on the VMWare host PC (Windows7 X64) via VPN.

I have set the virtual machine networking to NAT so it will use the
host networking system and it should be able therefore to use the VPN
channel to reach the 10.0.0.7 server.

This is the addresses of my system:
Main PC (VMWare host):
 IP=192.168.0.137 Mask=255.255.255.0 GW=192.168.0.129

VMWare virtual adapter for vnet8 on main PC:
  IP=192.168.80.1 Mask=255.255.255.0

 
Linux Mint virtual machine:
IP=192.168.80.130 Mask=255.255.255.0 GW=192.168.80.2

Server on VPN network:
IP=10.0.0.7 Mask=255.255.255.0

I know that this should work but I feel that there is something
missing on the Linux side to make it actually start working...
On previous Linux virtual machines (VMWare Workstation 7 level) I did
not have to do anything else than connect VPN on my host PC to make
that network also available on the virtual computer.
Does not work now...

I have tried adding route 10.0.0.0 on the linux side as follows:

bosse@mint17mate ~ $ route -n
Kernel IP routing table
Destination   Gateway  Genmask   Flags Metric Ref Use Iface
0.0.0.0   192.168.80.2 0.0.0.0   UG0  0 0 eth0
10.0.0.0  192.168.80.1 255.255.255.0 UG0  0 0 eth0
192.168.80.0  0.0.0.0  255.255.255.0 U 1  0 0 eth0

But this does not work either.
I don't get any ping response. On the host system I get immediate
response...

Is there anyone here who has done this and made it work?


-- 
Bo Berglund
Developer in Sweden

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Submitting fpc-devel mailing list to Gmane service.

2016-02-27 Thread wkitty42

On 02/27/2016 08:34 AM, Bo Berglund wrote:

On Sat, 27 Feb 2016 13:21:20 +, Mark Morgan Lloyd wrote:

Cyrax wrote:

I propose adding fpc-devel list to Gmane service. fpc-pascal list is
there already and for completeness, fpc-devel would be nice addition.

Thoughts on this matter?

http://gmane.org/


Yes please.


+1 (not that I would have much to contribute on devel, but it is nice
being able to follow discussions)

And NNTP beats forums outright!


mailing lists put both to shame ;) O:)

--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Submitting fpc-devel mailing list to Gmane service.

2016-02-27 Thread Mark Morgan Lloyd

Bo Berglund wrote:

On Sat, 27 Feb 2016 13:21:20 +, Mark Morgan Lloyd
 wrote:


Cyrax wrote:
I propose adding fpc-devel list to Gmane service. fpc-pascal list is 
there already and for completeness, fpc-devel would be nice addition.


Thoughts on this matter?



Yes please.


+1 (not that I would have much to contribute on devel, but it is nice
being able to follow discussions)

And NNTP beats forums outright!


Bo, nice to see you in here. Please feel free to ask questions on SSH 
etc. if you've got loose ends, since I don't think we'll be coughed at 
in here :-)


I'd note that I interface to the mailing lists using NNTP and a modicum 
of Perl, but messages with embedded HTML etc. tend not to make it past 
the spam filters.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Submitting fpc-devel mailing list to Gmane service.

2016-02-27 Thread Jonas Maebe

On 27/02/16 10:23, Cyrax wrote:

I propose adding fpc-devel list to Gmane service. fpc-pascal list is
there already and for completeness, fpc-devel would be nice addition.


Anyone can file such a request, since it's not a social list. Feel free 
to do so.



Jonas

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Submitting fpc-devel mailing list to Gmane service.

2016-02-27 Thread Bo Berglund
On Sat, 27 Feb 2016 13:21:20 +, Mark Morgan Lloyd
 wrote:

>Cyrax wrote:
>> I propose adding fpc-devel list to Gmane service. fpc-pascal list is 
>> there already and for completeness, fpc-devel would be nice addition.
>> 
>> Thoughts on this matter?
>> 
>> 
>
>Yes please.

+1 (not that I would have much to contribute on devel, but it is nice
being able to follow discussions)

And NNTP beats forums outright!


-- 
Bo Berglund
Developer in Sweden

___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


[fpc-other] Submitting fpc-devel mailing list to Gmane service.

2016-02-27 Thread Cyrax
I propose adding fpc-devel list to Gmane service. fpc-pascal list is 
there already and for completeness, fpc-devel would be nice addition.


Thoughts on this matter?



___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other


Re: [fpc-other] Build farms etc.

2016-02-27 Thread Mark Morgan Lloyd

Lukasz Sokol wrote:

On 26/02/16 10:20, Mark Morgan Lloyd wrote:
[the history of OpenMOSIX, really good writeup, thanks!]

For me what dragged me to OpenMOSIX was that, unlike Beowulf,
it did not require to recompile any programs it was to run,
with some nifty special libraries. And the members of the cluster
still are usable machines.

Back in uni, in 2004, I attempted to create a lab environment,
with OpenMOSIX booted off couple of CD's of remastered Knoppix, on 4 computers,
running Octave for extensively used Matlab-like calculations,
since some people only could be bothered running Matlab or alikes.

When it did run, it ran well. 
Enough for the members of the exam panel to be convinced anyway.


It would also run with graphical programs (you probably know that since 
you mention Octave), provided that they only used OS facilities (i.e. no 
direct hardware access) and didn't use shared memory. That last is a 
killer as far as things like Mozilla/Firefox are concerned, I've got a 
colleague who keeps a lot of browser instances open for extended periods 
but since each one uses a block of shared memory to coordinate multiple 
windows it's not possible to spread the load. I've ended up setting him 
up a big AMD system, and it's interesting comparing its memory 
management performance with the slightly smaller Sun he was using until 
recently: different flavours of Linux kernel behave very differently.


The sort of thing that interested me was the case where somebody had 
PDA-type programs running on a portable system ("Minnie") which could 
offload work to something more capable ("Mike") when its owner got home 
and docked it (wireless doesn't really work here, since connections have 
to be broken fairly carefully). However that obviously mandates that all 
cooperating systems are binary-compatible, unless this sort of thing is 
reengineered using e.g. Java (I'm sure somebody has by now) and that all 
required apps are available (more of an issue).


I think it does rather more than the virtualised etc. systems which are 
so popular these days, and is in practice much closer to some of the 
classic IBM mainframe OSes which could distribute work over sysplexes- 
which is probably why Moshe Barr is seen in some of the IBM foramina.


RIP, there's no equivalent replacement on PCs (which probably suits IBM 
fine).


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other