Mikeghali

Q: 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

Close

Q: Mavericks Internet Sharing requiring restarts

  • All replies
  • Helpful answers

first Previous Page 3 of 4 last Next
  • by bolste,

    bolste bolste Jan 24, 2014 12:59 AM in response to sglebs
    Level 1 (0 points)
    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.

  • by Bahaa_Addin,

    Bahaa_Addin Bahaa_Addin Jan 26, 2014 4:15 AM in response to bolste
    Level 1 (0 points)
    Jan 26, 2014 4:15 AM in response to bolste

    BIG FAT THANKS, DUDE! i'd love to learn how u do that, would u please just tell me what should i do or go out there and read?
    Regards

  • by chinedu40,

    chinedu40 chinedu40 Jan 27, 2014 2:47 PM in response to bolste
    Level 1 (4 points)
    Desktops
    Jan 27, 2014 2:47 PM in response to bolste

    Thank you sooo much. This fixed it for me.

  • by jonathan_m_peterson,

    jonathan_m_peterson jonathan_m_peterson Feb 3, 2014 9:33 AM in response to Mikeghali
    Level 1 (0 points)
    Feb 3, 2014 9:33 AM in response to Mikeghali

    The script works like a champ.

  • by Mr.Bokenham,

    Mr.Bokenham Mr.Bokenham Feb 6, 2014 3:09 AM in response to Mikeghali
    Level 1 (0 points)
    Feb 6, 2014 3:09 AM in response to Mikeghali

    I've just read through this thread and the initial fix was really helpful as is the command posted to kill the process too!

     

     

    I've been trying to find a way of reliably enabling and disabling internet sharing via the command line or apple script and recently found this:

     

    to start: sudo launchctl load /System/Library/LaunchDaemons/com.apple.InternetSharing.plist

     

    and to stop: sudo launchctl unload /System/Library/LaunchDaemons/com.apple.InternetSharing.plist

     

    Seems to work for me really well Just thought I'd share.

  • by Mr.Bokenham,

    Mr.Bokenham Mr.Bokenham Feb 6, 2014 3:09 AM in response to Mikeghali
    Level 1 (0 points)
    Feb 6, 2014 3:09 AM in response to Mikeghali

    Oh and I'll just add that I followed the previous steps and had better responsde but it was still intermittant but much better.

  • by botsmack,

    botsmack botsmack Feb 17, 2014 10:47 AM in response to bolste
    Level 1 (10 points)
    Feb 17, 2014 10:47 AM in response to bolste

    bolste wrote:

     

    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

     

    This worked perfectly for me too! Thank you!

  • by Scriptron,

    Scriptron Scriptron Feb 19, 2014 2:36 AM in response to bolste
    Level 1 (0 points)
    Feb 19, 2014 2:36 AM in response to bolste

    bolste wrote:

    ...

     

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


    This worked like a charm! Thanks!!

  • by Axel Miarka,

    Axel Miarka Axel Miarka Feb 19, 2014 7:42 PM in response to bolste
    Level 1 (0 points)
    Feb 19, 2014 7:42 PM in response to bolste

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

     

    Should I type the script in Terminal?

     

    Back story..

    The wireless sharing from my imac has been used by a variety of apple devices and HP printers without any issues in the past.

    After installing Mavericks it initially seemed to require being turned off and back on each time, but it would only share wifi with the macbook and no longer connect to the printer.

     

    Today after a few weeks it seems to no longer turn on at all.

     

    Upon turning "internet sharing" on, the wifi symbol in the menu bar begins to search for a connection and then after a few seconds it blinks for a split second with the grey cone arrow symbol before continuing its search...

     

    I believe i've tried all other sugestions in this thread, but this one seems outside my range of aqcuaintance.

    console output?

  • by Scriptron,

    Scriptron Scriptron Feb 19, 2014 7:56 PM in response to Axel Miarka
    Level 1 (0 points)
    Feb 19, 2014 7:56 PM in response to Axel Miarka

    Yes. What I did was copied then pasted the code into Terminal, then enter.

  • by Axel Miarka,

    Axel Miarka Axel Miarka Feb 20, 2014 5:42 AM in response to Scriptron
    Level 1 (0 points)
    Feb 20, 2014 5:42 AM in response to Scriptron

    Just tried that and this was the response:

     

    WARNING: Improper use of the sudo command could lead to data loss

    or the deletion of important system files. Please double-check your

    typing when using sudo. Type "man sudo" for more information.

     

    To proceed, enter your password, or type Ctrl-C to abort.

     

    Password:

     

    Typing does not show anything... so I type Ctrl-C and this appeares:

     

    sudo: 1 incorrect password attempt

     

    wireless:~ miarka$ password

    -bash: password: command not found

    wireless:~ miarka$

     

     

    BTW  "password" represents where my password reappears.

  • by Mr.Bokenham,

    Mr.Bokenham Mr.Bokenham Feb 20, 2014 5:47 AM in response to Axel Miarka
    Level 1 (0 points)
    Feb 20, 2014 5:47 AM in response to Axel Miarka

    That's perfectly normal. Your password won't be shown for security reasons. Type your password and hit enter and all will be fine

  • by Axel Miarka,

    Axel Miarka Axel Miarka Feb 20, 2014 6:25 AM in response to Mr.Bokenham
    Level 1 (0 points)
    Feb 20, 2014 6:25 AM in response to Mr.Bokenham

    I've got it, thanks

    So it was still not accepting my password  telling me it's invalid and that it will be "reported"...

     

    But I remembered that I have three user profiles on this computer.

    (originally two but since photoshop stopped opening after mavericks install, I had to create a third)

     

    So in the administrative profile, I opened Terminal and got this response (after copy pasting and pasword):

    killing 38131

    successfull...

     

    Wifi sharing seems to be back on.

    But I have noticed that the username in Terminal does not match the current username of this profile. could this cause problems? I remember changing it about 2 years ago..

  • by Chris HK,

    Chris HK Chris HK Feb 25, 2014 4:56 AM in response to LBJ_UK
    Level 1 (0 points)
    Feb 25, 2014 4:56 AM in response to LBJ_UK

    Thanks LBJ_UK! This solved the issue for me as well!

     

    I found an "en1" - deleted it and I tried this time without password and it worked at once.

    Thanks for the help!

  • by tengzen,

    tengzen tengzen Apr 13, 2014 10:12 PM in response to bolste
    Level 1 (0 points)
    Apr 13, 2014 10:12 PM in response to bolste

    Thanks so much for the script! Worked for me too.

     

    I had been restarting the iMac for months now to fix the issue. It was driving me nuts.

     

    You're a genius.

first Previous Page 3 of 4 last Next