Re: Something in my code causes Intel wireless association to die.
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com while true ; do /sbin/ping -c 1 -t 2 ${Airport1} > /dev/null r=$? if [ $r -ne 0 ] ; then /usr/bin/syslog -s -l critical "Reconnecting to Airport" ${airport} -a fi sleep ${checkIntervalSeconds} done The comment referred to above is summarized from a macosxhints column: - Kent _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Opening the "wlt" device causes network de-association. On my Intel mac mini, "tcpdump -D" does it every time. However, there seems to be something else as I randomly loose association several times a day. Indeed, I launch the following script via launchd at system startup (probably should let launchd do the periodicity -- think I'll go change that): #!/bin/sh # Re-associate to preferred network -- see comment in com.vine.ipfw.plist # Airport1="10.0.1.1" checkIntervalSeconds=60 airport="/System/Library/PrivateFrameworks/Apple80211.framework/ Versions/Current /Resources/airport" # Note about Airport (Mac mini) access. You must: # (1) In network preferences > Airport, set the "By default, Join:" to # "Preferred network." # (2) In AirPort > Options..., set "If no preferred networks are found:" # to "Keep looking for recent networks." # (3) In Utilities > Keychain Access, select your Network under Login # Keychains. Check the "Show password:" box and make sure it is # correct. Under "Access Control" tab, select the "Allow all # applications to access this item." (Perhaps installing the correct # application access would also work but I'm unsure as to the app. # Note there is a system keychain entry also -- you can't see the # password -- but you can see the access control and this may # actually be the relevant guy as opposed to the login keychain.) The mini routes to the internet via the wireless and operates unattended for long periods of time so maintaining connectivity is critical. Interestingly enough, the failure incidence dropped dramatically with the Apple 10.4.9 update. This email sent to site_archiver@lists.apple.com
participants (1)
-
Kent Harris