Welcome to Форум на приятелите на Apple. Please login or sign up.

15-05-2024, 22:54:05

Login with username, password and session length

Shoutbox


Recent

Потребители
  • Общ брой потребители: 7 862
  • Latest: ChessManFeali
Stats
  • Общ брой публикации: 82 653
  • Общ брой теми: 9 810
  • Online today: 712
  • Online ever: 774
  • (Вчера в 04:09:55)
Онлайн потребители
Users: 0
Guests: 684
Total: 684

684 гости, 0 потребители

Automatically enable Internet Sharing at startup.

Започната от yamahadrums, 28-02-2008, 11:23:43

« назад - напред »

0 Потребители и 1 гост преглеждат тази тема.

yamahadrums

Сетих се и за този проблем, който ме дразни открай време. Отметнали сте позицията в System Preferences, но след рестарт споделянето на интернет връзката не се включва. Ето и решението:

Automatically enable Internet Sharing at startup

You are sharing the Internet connection via Airport, but after every reboot, the AirPort icon in the menu bar shows that Internet Sharing is disabled. Looking in the Internet Sharing prefs panel, everything is configured correctly. Disabling and enabling it again, and it works as it should. This happened to me various times with 10.4.11 and it always happens with 10.5.x. I discovered that by killing either the InternetSharing or the bootpd process, launchd restarts them correctly and InternetSharing gets enabled. Since launchd stores the PID of bootpd in /var/run/bootpd.pid, I thought to automate the process of "refreshing" InternetSharing/bootpd at boot time by means of the /etc/rc.local script. (For compatibility reasons, this script still works in Leopard -- see man rc for details. Basically one needs just to issue the following command:
sudo sh -c 'echo kill $(cat /var/run/bootpd.pid) >> /etc/rc.local'
Run that command, then reboot. After logging in, you will notice that the AirPort icon will show a disabled Internet Sharing state that switches automatically to enabled after a slight delay. I also noticed that this workaround fixed a problem I had with Medialink (a program to share media files to the PS3 via UPnP) that did not always recognize my PS3.


 Ето и самият линк, ако ви се струва, че текстът е много нагъчкан тук:

 http://www.macosxhints.com/article.php?story=20080217065538984&query=sharing

 Забравих да кажа, че при мен този трик не сработи и сега търся друго решение. ;-)
MacPro 2.66GHz 8Gb RAM Mac OS X 10.7.5, Pro Tools 10.3.3, DIGI 003 Factory, LogicPro 9.1.8,  Tascam FW-1884, Adam A7, Roland TD-20, Yamaha SY-99, Audiotechnica ATH-M50.
iPad Retina 3G+WiFi 128GB White

XXwolf

a защо толкова често рестартираш?

yamahadrums

Вечер го изключвам. Защо да работи???
MacPro 2.66GHz 8Gb RAM Mac OS X 10.7.5, Pro Tools 10.3.3, DIGI 003 Factory, LogicPro 9.1.8,  Tascam FW-1884, Adam A7, Roland TD-20, Yamaha SY-99, Audiotechnica ATH-M50.
iPad Retina 3G+WiFi 128GB White

XXwolf


Becko

маковете не се гасят :) или работят нонстоп което е по добре или им се дава слийп ... моите са така откакто се помня и всичко си е наред

yamahadrums

Това за пръв път го чувам. При мен и с гасене никога не е имало проблем.
MacPro 2.66GHz 8Gb RAM Mac OS X 10.7.5, Pro Tools 10.3.3, DIGI 003 Factory, LogicPro 9.1.8,  Tascam FW-1884, Adam A7, Roland TD-20, Yamaha SY-99, Audiotechnica ATH-M50.
iPad Retina 3G+WiFi 128GB White

DUDE

И аз напоследък се чудя дали въобще да гася мака. Като чуя как спират
хардовете и настръхвам. :) :) :)
MacPro 4.1@5.1

soaronski

може ли да намъкна и аз един-два въпроса тук :)

а при mac book pro как стои въпроса със изключване/заспиване?
да го изключвам ли, или по-добре да го оставям включен през нощта, при положение че сутринта ще го ползвам пак?

и пречи ли на батерията това, да седи включена след като е заредена?
evolution & movement

XXwolf

важи за всички Мас-ве, а батерията няма да се зарежда повече щом е заредена на 100%