I found cause of the problem! ----------------------------- It turns out that another connectivity configuration screwed up the connection from my virtual machine!
Here goes: Some time ago I wanted to share my Win7 VPN connection to the Raspberry Pi target for my Lazarus development when I worked on the Pi. The reason is the same as for the Linux virtual machine: to reach the company software version control server on the internal company network. The only way I could figure this out was to set up my Win7 as a WiFi hotspot and configure the VPN channel as shared to the WiFi access point network. The sharing was configured on the VPN connectoid targeting the AP network. Then whenever the Pi connected to the WiFi AP served by my Win7 laptop it would get access to the VPN network. Since the Pi also had an Ethernet wired connection I had to set up the route for 10.0.0.0 on the Pi to target the wlan0 network rather than the eth0 network. For this I created a shellscript that runs by cron every minute and checks the connection status and route table. With this I could connect to the VPN network (10.0.0.x) from the Pi via WiFi and everything else via eth0. On the Win7 laptop I have a batch script that enables the WiFi access point when needed. So I believed that this would make the connection depend on my WiFi AP state. But it seems like the very fact that "Internet Sharing" is enabled on the VPN connectoid towards the Access Point network excludes it from everything else including the VMWare NAT network... As soon as I removed the Internet sharing setting on the VPN connection I could start pinging VPN from the Linux Mint virtual machine when VPN is connected. So now I have created a second copy of the VPN connectoid (different name) where the sharing towards the Access point is enabled. When I need the RPi to have access I connect to VPN using this connectoid and start the access point. Otherwise I have the AP shut down and the original VPN connection (without sharing) active, and now the virtual machine gets a route into VPN. Rather convolved but actually working. PS: I tried to share the VPN connection to the Ethernet network on my Win7 laptop. The plan was for the other computers on my network (RPi units as well as my wife's laptop) to get access via a route to my laptop for that network. However, that fell flat on its face because when I did that my Ethernet networking on the PC stopped working. Could not reach local resources on my internal network anymore.... DS -- Bo Berglund Developer in Sweden _______________________________________________ fpc-other maillist - fpc-other@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other