Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mavericks Internet Sharing requiring restarts

Hey all,


I have been using Internet Sharing on my mid-2011 Macbook Air to provide internet to my iPhone and iPad (through ethernet) for the past few months.While I was running the latest incarnation of Mountain Lion, I often had difficulties with the network being available, but no internet connection being made. I often solved this problem by turning Sharing off and back on again.

Since my upgrade to Mavericks, I have experienced a different problem. I will turn on Internet Sharing and for less than half a second the sharing symbol (the grey wifi symbol with an arrow in it) will appear, before reverting to normal (normal being that the computer is searching for wifi signals). Even though Internet Sharing is 'on', neither of my iOS devices can detect the signal, and there is no indication that the macbook is even broadcasting it.

Often I will need to restart the computer 3-4 times before it works as intended.


Is there anything that I can do to minimise or eliminate this problem?

MacBook Air, OS X Mavericks (10.9)

Posted on Oct 25, 2013 10:41 PM

Reply
54 replies

Nov 24, 2013 7:18 AM in response to Mikeghali

I have the current 27 inch iMac and I have always been able to share my Ethernet connection over Wi-Fi to my smartphones, but since updating to Maverick, it no longer works. I have tried pretty much all the suggestions that I could find in many different forums online and still nothing works. My mobile phone is able to pick up the Wi-Fi signal but is unable to obtain IP address, it keep searching and searching until it fails.

I spoke to a senior Apple technician after two calls and he suggested to me that the Wi-Fi sharing is not meant to work with non-Apple devices like my Samsung smartphone, BlackBerry smartphone or my Windows laptop. He also indicated that there's nothing that they changed the good cause the Wi-Fi sharing not to work so he suggested that I contact the other companies mentioned above for a solution. He also stated that he doesn't see why I don't use my wireless router since I have one.

I'm not sure if he was not able to help or was unwilling to help but those suggestions were out of line in my opinion. So I have yet to resolve the problem. If anyone has any other suggestions we'll be more than happy to try them.

Nov 24, 2013 8:58 AM in response to GNBerry

Within the last hour, I have had a Dell Windows XP laptop connected to the wifi signal from my iMac so at least some non-Apple devices will work with wi-fi internet sharing. As LBJ-UK's posts suggests, there seems to be an issue with settings not being properly carried forward when upgrading to Mavericks so it might be worth removing or deleting all relevant settings and re-enabling them. The ones that come to mind are wifi router SSID and wifi passwords, the SSID and password for the internet sharing wifi signal and the connection settings for your phones and other devices.

Dec 18, 2013 6:18 AM in response to Mikeghali

Hello everybody,


LBJ-UK's solution didn't work for me, too. But I took a look into the console output and found the following errors after turning on connection sharing:


[...]

bind(bootps 67): Address already in use

error creating internal interface for devname bridge0@0: Address already in use

[...]


Issuing the following command revealed the process already binding udp port 67:


sudo lsof -i upd:67


Obviously bootpd already (still) uses this port. I assume this binding origins from a previous connection sharing which has not been properly shut down.


I tried to stop the bootpd daemon by issuing:


sudo /bin/launchctl unload -w /System/Library/LaunchDaemons/bootps.plist


But that returned:

launchctl: Error unloading: com.apple.bootpd


The lsof command issued previously revealed the process-id of bootpd, so I tried to kill that process:


sudo kill <process-id shown in the output of the lsof command>


Unfortunately that did _not_ kill the process. A brief check with lsof reveiled that bootpd is still running with the same process-id. I guess a simple "kill" command failes for the same reason as launchctl.

Because bootpd can not be shut down in a normal way I killed it "the hard way":


sudo kill -9 <process-id shown in the output of the lsof command>


A quick lsof afterwards showed that no process is now using port 67!


Now I was able to stop my connection sharing (I forgot to stop it before killing bootpd) and start it - and it works perfect again, without any reboot! :-)


I assume that there is a problem when the Mac enters standby mode with active connection sharing. It seems to fail to resume it properly afterwards. :-/


To quickly resolve this issue if it occurs again, I wrote a script containing the following line which automates searching the process id of bootpd and killing it:


sudo lsof -i udp:67 | grep bootpd |awk '{ print $2 }'| while read pid; do echo killing $pid; sudo kill -9 $pid&&echo "successfull..."; done


I hope this helps some of you!


regards,

Stephan

Jan 24, 2014 12:59 AM in response to sglebs

In my case it's not necessary to run this commands every time I start internet sharing. It mostly ocurres after entering and resuming from standy whiile internetsharing is active. I doubt that there is a real fix for that, yet. Why don't you put all commands in a script and run it every time you have the problem. For your convinience you can put that script on your desktop so you don't have to start a terminal first.

Mavericks Internet Sharing requiring restarts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.