bindiry

Results 10 comments of bindiry

之前一直用的是ikev1,配合dnsmasq使用,使用了这个ikev2之后,发现即使在连接设置里面指定了dns为`127.0.0.1`(dnsmasq智能分流)也没用,用`dig`命令测试,还是使用的`8.8.8.8`来解析。 尝试在`etc/strongswan.conf`中把dns配置去掉,自己生成images,连上后浏览器会提示找不到dns服务器。 所以怎样才能让ikev2指定本地dnsmasq的`127.0.0.1`来解析呢?

It may be just apply to default keyboard layout is US. It works for me.

@bjhaid Yes, I tried. I even tried like this: ```ruby NodeType.bulk_insert([{name: 'a', times: NodeType.statuses[:times]}, {name: 'b', times: 0}]) ``` It still doesn't work.

使用 ``` ansible-playbook -i ansible_hosts.local auth.yml -e mysql_root_password=xxxxx ``` 也是同样的错误

修改 `roles/db/tasks/main.yml` 文件,将 ``` mysql_user: name=root host=localhost password="{{ mysql_root_password }}" state=present tags: mysql ``` 修改为: ``` shell: "mysql -uroot -p{{ mysql_root_password }}" ``` 问题解决

现在遇到新问题,radmin在登录后出现500错误,不知道日志从哪里查起。 修改 `settings.py` 文件的 `LOGGING` 配置,`DEBUG` 也设置为 `True`,nginx配置里也加入了 error_log ,但就不输出内容。 settings.py 中的 LOGGING 部分: ``` LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'filters': { 'require_debug_false': { '()': 'django.utils.log.RequireDebugFalse' } },...

使用 ``` ./manage.py runserver 0.0.0.0:9009 ``` 在console里看到为什么出错了,可以进了。

下载osx的证书并设置always trust后,用strongswan也连不上,但可以看到日志了。 ``` initiating IKE_SA us1[1] to 我的服务器ip generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(HASH_ALG) ] sending packet: from 198.18.121.76[54916] to 我的服务器ip[4500] (1124 bytes) received packet:...

原来证书需要添加为系统keychains里面,然后我继续往下走,出现了密码认证界面,输入密码后,出现了如下错误提示: ![qq20160318-1](https://cloud.githubusercontent.com/assets/104797/13867676/59988f58-ecfc-11e5-8503-7e10f433c790.png) 日志内容如下: ``` authentication of '我的服务器域名' with EAP successful IKE_SA us1[7] established between 198.18.94.106[lin]...我的服务器ip[我的服务器域名] scheduling rekeying in 35929s maximum IKE_SA lifetime 36529s installing 8.8.8.8 as DNS server installing 8.8.4.4...