﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-f(sixleaves) = sixleaves-随笔分类-little boy</title><link>http://www.cppblog.com/sixleaves/category/20915.html</link><description>重剑无锋 大巧不工</description><language>zh-cn</language><lastBuildDate>Sun, 29 Mar 2015 00:03:32 GMT</lastBuildDate><pubDate>Sun, 29 Mar 2015 00:03:32 GMT</pubDate><ttl>60</ttl><item><title>INode在OSX上老是断线的问题解决方法(inode\mac\macbook pro) By sixeaves</title><link>http://www.cppblog.com/sixleaves/archive/2014/07/06/207541.html</link><dc:creator>swp</dc:creator><author>swp</author><pubDate>Sat, 05 Jul 2014 16:47:00 GMT</pubDate><guid>http://www.cppblog.com/sixleaves/archive/2014/07/06/207541.html</guid><wfw:comment>http://www.cppblog.com/sixleaves/comments/207541.html</wfw:comment><comments>http://www.cppblog.com/sixleaves/archive/2014/07/06/207541.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/sixleaves/comments/commentRss/207541.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/sixleaves/services/trackbacks/207541.html</trackback:ping><description><![CDATA[<div>最近刚换成mac osx，用校园网的认证客户端inode，osx版本的，却老是给你断线。解决方案如下。</div><div>1.关掉app nap功能，该功能会自动判断程序状态，把程序搞成block状态。所以程序就会释放掉相应资源暂停运行，于是inode就会出现提示，服务器收不到响应或什么的，让后直接给你断线了。</div>
<div>所以在osx的搜索中，打入ter打开终端，输入<br /><span style="background-color: #f0e7b4; color: #22b14c; font-family: 'Times New Roman'; font-size: 16px; line-height: 24px; text-indent: 28px;">defaults write NSGlobalDomain NSAppSleepDisabled -bool YES</span></div>
<div><span style="background-color: #f0e7b4; color: #22b14c; font-family: 'Times New Roman'; font-size: 16px; line-height: 24px; text-indent: 28px;">按下回车就会把app nap关掉。</span></div>
<div><span style="background-color: #f0e7b4; color: #22b14c; font-family: 'Times New Roman'; font-size: 16px; line-height: 24px; text-indent: 28px;"><br />
</span></div>
<div><span style="background-color: #f0e7b4; color: #22b14c; font-family: 'Times New Roman'; font-size: 16px; line-height: 24px; text-indent: 28px;">----------------------------------------------------------------------------</span><span style="background-color: #f0e7b4; color: #22b14c; font-family: 'Times New Roman'; font-size: 16px; line-height: 24px; text-indent: 28px;">----------------------------------------------------------------------------</span><span style="background-color: #f0e7b4; color: #22b14c; font-family: 'Times New Roman'; font-size: 16px; line-height: 24px; text-indent: 28px;">-------------------------------------------------------------</span></div>
<div>2.你是不是只做了第一步，过了几天，或者一会儿，又会断线了。那么接下来你要做得就是每天已启动mac后打开终端，重新启动 iNodeMon进程。<br />打开终端输入如下命令:<br /><span style="color: red;">cd /Applications/iNodeClient</span><br /><span style="color: red;">sudo ./iNodeMon</span><br />接着会要求你输入密码，输入后按回车。再次打开iNode<br />就可以成功运行。之所以会出现这种情况，应该是这个软件在mac启动时候。iNodeMon没有启动成果，所以需要我们手动启动。</div><img src ="http://www.cppblog.com/sixleaves/aggbug/207541.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/sixleaves/" target="_blank">swp</a> 2014-07-06 00:47 <a href="http://www.cppblog.com/sixleaves/archive/2014/07/06/207541.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>