Mon 10th Jul 2006
MacOS Internet Sharing keeps stopping
Posted in the wee hours, filed under Tiger , bash.I’ve borrowed a laptop from work, and a Wireless Access Point device, so now I can do stuff from my bedroom late at night, like I am this.
However, just recently I have come across some sort of strange behaviour. Sometimes, but not all of the time, MacOS’s Internet Sharing feature seems to get turned off. Which means I need to get access to the machine and restart it. Not much fun when I’m all toasty warm in bed, and the Mac is in the cold, cold study.
So, I’ve done a little bit of research.
I might be able to restart it using:
$ sudo /usr/libexec/InternetSharing
I’ll try that next time it drops out… but I’d rather have a better fix.
Hmm. It seems to be getting worse.
I’ll have to get onto the Mac and see if I can look at the logs and see what’s going on. Strange.
1 day, 17 hours after the fact.
I’ve setup a crontab entry that reruns
/usr/libexec/InternetSharingevery minute, and that seems to be working. I’m not yet sure if there will be connection issues if it’s restarted, during a game of WoW for instance, or if it will hold the connection.2 days, 20 hours after the fact.