设为首页 收藏本站
查看: 1273|回复: 0

[经验分享] Mac OS X Lion下共享网络出现『“Wi-Fi”有自分配的IP地址169.254.XXX.XXX,将无法接入互联网』的解决办法

[复制链接]

尚未签到

发表于 2015-12-29 13:50:39 | 显示全部楼层 |阅读模式
  昨天用蜂窝数据下载了很多App,导致没流量了,无奈用Mac分享下网络给iPhone用,结果一直出现这个错误,很是恼火。
  Google了半天,在Apple官网找到了解决办法,原文如下:
Internet connection does not work with an IP address space of 169.254.xxx.xxx from ISP, router, or manual configuration




Products Affected
  AirPort, Apple TV (1st generation), Apple TV (2nd generation), Bonjour, Internet, Mac OS X 10.4, Mac OS X 10.5, Mac OS X 10.6, iPad, iPhone, iPod touch
Symptoms

Your Mac, iOS device, or Apple TV cannot access the Internet with an IP address of 169.254.xxx.xxx (where xxx represents a number from 0 to 255).

The symptoms of this issue include:

  • Safari, iChat, and other Internet-dependent applications in Mac OS X may display the message "You are not connected to the Internet."
  • Mail may put all of your email accounts into an "Offline" status.
  • iOS devices cannot use other Internet features, such as the App Store.
  • Apple TV may be able to use Home Sharing with computers on your local network, but not any features that require Internet access, such as movie trailers or rentals.
  • In Mac OS X, an AirPort menu bar icon with an exclamation point may appear, and the AirPort menu may state "Alert: No Internet Connection…".

DSC0000.png


  Use this article if:

  • Your Mac, iOS device, or Apple TV is connected to a network that should provide access to the Internet, and which has a functioning DHCP server (such as an AirPort base station in default configuration).
  • Your Mac, iOS device, or Apple TV is assigned an IP address of 169.254.xxx.xxx by your DHCP server, or you have manually assigned it an IP address of 169.256.xxx.xxx.
  • Your Internet-facing router is being assigned an IP address of 169.254.xxx.xxx by your ISP.

Resolution

  • Make sure your Your Mac, iOS device, or Apple TV is properly connected to your home Wi-Fi network (or via Ethernet if your Mac or Apple TV uses an Ethernet cable).
  • Make sure your router (such as an AirPort base station in default configuration) is working properly and is assigning IP addresses to your devices via DHCP.  See this article for details.
  • If your ISP is assigning your Internet facing router, Mac, or iOS device an IP address of 169.254.xxx.xxx, contact the ISP support staff and ask for a proper IP address to access the Internet.
  • If the DHCP server has been configured to issue an IP address of 169.254.xxx.xxx, contact the administrator of the DHCP server and ask that they issue a proper IP address to access the Internet, such as what is issued by an AirPort base station in default configuration (10.0.1.25 or similar). A DHCP server should not be issuing an IP address of 169.254.xxx.xxx.
  • If you have manually configured your Mac or device with an IP address of 169.254.xxx.xxx, reconfigure your device to use a proper IP address to access the Internet.

Additional Information
  The 169.254.xxx.xxx IP address space is reserved for self-assigning or link-local IP addresses. They are used when your device is not connected to any network at all or a network that has no DHCP server, so that devices can assign their own IP address. When these devices use Bonjour, they can create their own DNS name resolution on the network. This is useful when you are connected to a network that is completely isolated; you will be able to network to other devices and even see their share names and Bonjour advertised services.
  RFC 3927 covers the details of this IP address space. Section 1.6 covers the "Alternate Use Prohibition" of this IP space.
  Note: In certain situations, a computer or wireless device may create an ad-hoc Wi-Fi network for setup or file sharing purposes. These Wi-Fi networks do not typically provide Internet connectivity. Common network names for some ad-hoc networks may include "Free Public WiFi", "HP Setup", or "default".



  比较啰嗦,简单说下我是如何做的,首先我的网络是PPPoE拨号的。



  • 连接上网络.
  • 选择 系统偏好设置 --> 网络 --> 点击WiFi(如果WiFi是关闭状态先打开) --> 高级 --> 点击 TCP/IP 选项卡,在“配置IPv4”选项里选择“使用DHCP(手动设定地址)”
  • 这时在第二行“IPv4地址” 填入“192.168.88.239”,当然,这个IP地址你自己设定,不一定要和我的相同。单击“好”,单击“应用”。
  • 回到 系统偏好设置 --> 共享 --> 互联网共享 --> 共享以下来源的连接, 选择PPPoE(当然看你的网络而定),然后下面的的“用以下端口共享给电脑”,勾选WiFi(你也可以使用其他端口,这里只是举例)。当然,如果你想给WiFi加个密码什么的,可以选择Wi-Fi后点击右下角的“Wi-Fi选项..”来设置。
  • 然后,把左边的“互联网共享”勾选上就可以了。(回去 系统偏好设置 --> 网络,看看WiFi是不是已经变为绿色了,状态为“已连接”,原本的“Wi-Fi有自分配的....”已经变为““Wi-Fi”已连接至....”)
  • 最后,拿你的设备搜索你的WiFi连接进来就可以了。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-158018-1-1.html 上篇帖子: Mac OS X Lion下共享网络出现『“Wi-Fi”有自分配的IP地址169.254.XXX.XXX,将无法接入互联网』的解决办法 下篇帖子: Mac OS X从10.7升级到Mountain Lion OS X10.8
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表