-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem on macOS #22
Comments
It seems to me your (BSD?) awk might be picky when its input is empty. The quick-and-dirty walkaround would be:
It would be better if you can debug the script and see what is the exact issue (and hopefully find a fix). |
So I execute the script line by line, then I found some mistakes. And then here's another problem when I execute "ifconfig gif0 tunnel $LOCAL_IP 166.111.21.1" this line in file,it shows "ifconfig: error in parsing address string: nodename nor servname provided, or not known". Maybe there's something wrong with the parser. I replace $LOCAL_IP with 192.168.1.4 (if I execute "ifconfig en0 | grep inet | grep -v inet6 | awk {print}" then I got " inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255") and then execute continuously, nothing happens and the final response was "add net ::/0: gateway gif0", but I still cannot use xx-net. That's what I found minutes before. |
In the old days it seems that using private IP address (e.g. 192.168.x.x) with ISATAP will only work with certain ISATAP servers. I'm not sure what it is these days. Perhaps someone on campus can tell. You might have better luck with a public IPv4 address. |
Yep... I shall try it later... |
When I input
sudo /usr/local/bin/thu6tunnel.sh
it shows
'delete net default
awk: syntax error at source line 1
context is
>>> <<<
awk: illegal statement at source line 1
missing }
awk: syntax error at source line 1
context is
>>> <<<
awk: illegal statement at source line 1
missing }'
What should I do?
The text was updated successfully, but these errors were encountered: