twobitcircus / rpi-build-and-boot

165 stars 46 forks source link

Feature Request: Configure ubuntu/precise vm to share network w/ pi. #5

Closed bakercp closed 10 years ago

bakercp commented 10 years ago

A host of small issues (executing makefiles, etc) could probably be solved if the VM is configured to share its network connection w/ the PI.

I can do it manually with linux without too much of a problem (I haven't tried yet), but it would be nice to get it configured during the bringup process.

egradman commented 10 years ago

tinyproxy is installed on the vm.

I thought I had already added http_proxy and https_proxy to the environment on the pi, but it seems I forgot. if you

   export http_proxy=http://10.0.0.1:8888
   export https_proxy=http://10.0.0.1:8888

in the pi .bashrc, things will Just Work. Anything you're doing as sudo must be executed with sudo -E

I like the idea of masquerading on the vm side, but the proxy has been working so far.

bakercp commented 10 years ago

Thanks for the reminder -- that's great. If I get motivated, I might add the masquerade on the vm. Thanks for all of the work on this project!