Comments (8)
FWIW, here's what happens when you try to install it on 10.7:
$ sudo ./setup.sh Password: installing npm ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 7881 100 7881 0 0 20172 0 --:--:-- --:--:-- --:--:-- 49566 tar=/usr/bin/tar version: bsdtar 2.8.3 - libarchive 2.8.3 install [email protected] fetching: http://registry.npmjs.org/npm/-/npm-1.0.106.tgz 0.4.7 1.0.106 cleanup prefix=/usr/local altprefix=/usr/local/Cellar/node/0.4.7 All clean! /usr/local/bin/npm_g -> /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm-g -> /usr/local/lib/node_modules/npm/bin/npm-cli.js [email protected] /usr/local/lib/node_modules/npm It worked installing node.js packages ... [email protected] ./node_modules/socket.io ├── [email protected] ├── [email protected] └── [email protected] [email protected] ./node_modules/http-proxy ├── [email protected] └── [email protected] [email protected] ./node_modules/ejs [email protected] ./node_modules/ejs /usr/local/bin/node-supervisor -> /usr/local/lib/node_modules/supervisor/lib/cli-wrapper.js /usr/local/bin/supervisor -> /usr/local/lib/node_modules/supervisor/lib/cli-wrapper.js [email protected] /usr/local/lib/node_modules/supervisor copying new.inet.ip flags to /etc/sysctl.conf to allow transparent-proxying ... setting network interface privileges ... Adding firewall rule to forward all port-80 WiFi passthrough traffic to localhost:3128 ... ipfw: rule 2000: setsockopt(IP_FW_DEL): Invalid argument net.inet.ip.forwarding: 0 -> 1 net.inet.ip.fw.enable: 1 -> 1 net.inet.ip.fw.verbose: 0 -> 1 sysctl: oid 'net.inet.ip.scopedroute' is read only
from shim.
I tried to click a like button Brent!
from shim.
sshuttle (https://github.com/apenwarr/sshuttle) had this exact same problem on 10.7. apenwarr and co solved it with this commit, which is a bit hacky but fixes the problem for good: apenwarr/sshuttle@4c1a505
from shim.
Confirming this problem with exactly same symthoms as jonursenbach posted. Is there any hope for us on 10.7? :)
from shim.
@n1313 You can manually apply the sshuttle fix with:
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot "Kernel Flags" "net.inet.ip.scopedroute=0”
then convert the plist to xml:
sudo plutil -convert xml1 /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
After you’re done, confirm the change like this:
% sudo defaults read /Library/Preferences/SystemConfiguration/com.apple.Boot
{
"Kernel Flags" = "net.inet.ip.scopedroute=0";
}
and make sure it’s in XML form (otherwise the kernel can’t read it at boot)
cat /Library/Preferences/SystemConfiguration/com.apple.Boot.plist
then reboot. Then try installing shim
again.
from shim.
@cbowns I tried your solution since I'm on 10.7 but it didn't work out. After reboot, my "Kernel Flags" turned into "Kernel \n Flags" and installing the shim returned the same "sysctl: oid 'net.inet.ip.scopedroute' is read only".
Any help would be appreciated !
from shim.
@nobleskine Sounds weird. I’d be happy to help you get it working: my contact info is at http://cbowns.com/contact
from shim.
Ok, that script does bad things to your kernel plist (like nuking any other flags you may have set), and it doesn’t even work. This should fix it.
from shim.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shim.