Mac OS: How to keep network connection alive after sleep
2015-09-21 16:52
393 查看
Do the following:
Find out what the network interface is for your wifi. Mine is "en1" for this example (I have obfuscated my MAC addresses with "00")
Then, you need to set up the airport util for your wireless card to tell it not to shut off:
Reference: http://apple.stackexchange.com/questions/71884/wi-fi-disconnects-when-i-lock-the-mac
Find out what the network interface is for your wifi. Mine is "en1" for this example (I have obfuscated my MAC addresses with "00")
ifconfig en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:00:00:00:00:00 inet6 0000::000:0000:0000:0000%en1 prefixlen 64 scopeid 0x5 inet 10.0.1.16 netmask 0xffffff00 broadcast 10.0.1.255 media: autoselect status: active
Then, you need to set up the airport util for your wireless card to tell it not to shut off:
cd /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources sudo ./airport en1 prefs DisconnectOnLogout=NO
Reference: http://apple.stackexchange.com/questions/71884/wi-fi-disconnects-when-i-lock-the-mac
相关文章推荐
- Maven学习总结(九)——使用Nexus搭建Maven私服
- 查询所有子栏目的表值函数
- 最长回文子串
- Charles 安装和使用
- Mac OS: How to keep network connection alive after sleep
- 第三周 项目1 顺序表的基本运算
- 横竖屏切换时禁止重新加载Activity
- 关于 HDFS 的 file size 和 block size
- phalcon的安装详细
- LWIP定时器
- sql存储过程查询栏目下面的所有子栏目
- MYSQL用户和权限操作
- 关于IOS定位和CLLocationManager 小知识点总结
- iOS-项目打包为ipa文件
- 数据库设计三大范式
- 详解C++编程中的私有继承和公有继承
- 解决TreeSet类的排序问题
- ios生命周期开发中遇到的问题
- 第3周 项目2——数据结构之自建算法库——顺序表(程序的多文件组织形式)
- 并发 加锁 以及Java api自身的阻塞队列