Posts

Showing posts with the label raspbian

Installing Threading Building Blocks for Open Street Routing Machine

Image
Clash Royale CLAN TAG #URR8PPP Installing Threading Building Blocks for Open Street Routing Machine I am trying to build open street routing machine on an RaspberryPi 2 running Raspbian. However, it requires Threading Building Blocks library. I have tried several apt-get commands, but it keeps telling me it cannot find the repository. specifically, it says: Package libtbb-dev is not available,but is refered to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libtbb-dev' has no installation candidate. I finally broke down and downloaded the TBB source and built that. From what I can tell, threading building blocks built succesfully, but trying to build OSRM I still get the error that the TBB libraries cannot be found. I have tried copying the built TBB directory into where I think OSRM is looking for them ("/opt/intel/tbb" , "/usr/include"), but nothing is working. Does any...

What are the equivalent of these Linux IPTABLES lines for macOS High Sierra?

Image
Clash Royale CLAN TAG #URR8PPP What are the equivalent of these Linux IPTABLES lines for macOS High Sierra? I am working for fun on a DOSBOX experiment to get Windows 3.11 WFG to connect to the internet through PPP and Trumpet Winsock. So far, with this script (https://github.com/knightmare2600/oldschool/blob/master/WFW/dosbox_ppp.sh) I got it to work on my RPi3 running Raspbian and DOSBOX 0.74, and I could hilariously view the google page (as well as low-bandwidth versions of some pages) on Internet Explorer 5.0! But for this script to work I had to add these lines after enabling ip forwarding: Allow established connections iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT Masquerade iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE Now, I want to do the same on my macbook air running macOS High Sierra. But I can't understand how to make the equivalent of these particular 3 lines for macOS. Anyon...