My situation:
- my macbook has a physical (cable) network connection
- my airport is switched off, but air-sharing through airport is on so my iPhone can access the internet through wifi.
The problem:
- when my MacBook goes to sleep, on wake up, the sharing is lost.
The problem is as follows; when your computer goes to sleep and sharing had enabled your airport, this setting is not remembered by Airport itself. That's why it does not start again after wake.
A bad solution is to do this dog trick again:
- Go back to System Preferences -> Sharing -> Toggle off 'Internet Sharing', Toggle on (again) 'Internet Sharing'.
SOLUTION (good):
- System Preferences -> Network -> Airport -> Advanced -> TCP/IP -> Configure IP v4 : using DHCP with manual Address + address = 10.0.2.1 (Configure IPv6 is off).
Go back to: System Preferences -> Network -> Airport -> click 'Turn Airport ON'
This now gives a Airport with a fixed IP and a dhcp deamon.
- System Preferences -> Sharing -> Toggle ON 'Internet Sharing'
Or short: simply select 'Turn Airport ON'; since this is done from the network menu, it will be remembered.
Hope this saves you lots of frustration.