Mac 10.6 and possibly some Linux/Unix Troubleshooting

use a shell

cat <filename>
view <filename>
more <filename>

If I post up the config file would you know whats up…Lots of DHCP stuff mentioned. I’m not positive on what each represents

probably not, but I can take a look an try

rm -fR /

From the IPconfiguration.bundle


&lt;key&gt;UseMaintenanceWake&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;ManualConflictRetryIntervalSeconds&lt;/key&gt;
        &lt;integer&gt;300&lt;/integer&gt;
        &lt;key&gt;ARPConflictRetryCount&lt;/key&gt;
        &lt;integer&gt;2&lt;/integer&gt;
        &lt;key&gt;ARPConflictRetryDelaySeconds&lt;/key&gt;
        &lt;real&gt;0.75&lt;/real&gt;
        &lt;key&gt;ARPDetectCount&lt;/key&gt;
        &lt;integer&gt;3&lt;/integer&gt;
        &lt;key&gt;ARPDetectRetryTimeSeconds&lt;/key&gt;
        &lt;real&gt;0.015&lt;/real&gt;
        &lt;key&gt;ARPGratuitousCount&lt;/key&gt;
        &lt;integer&gt;1&lt;/integer&gt;
        &lt;key&gt;ARPProbeCount&lt;/key&gt;
        &lt;integer&gt;3&lt;/integer&gt;
        &lt;key&gt;ARPRetryTimeSeconds&lt;/key&gt;
        &lt;real&gt;0.4&lt;/real&gt;
        &lt;key&gt;DHCPAcceptsBOOTP&lt;/key&gt;
        &lt;false/&gt;
        &lt;key&gt;DHCPAllocateLinkLocalAtRetryCount&lt;/key&gt;
        &lt;integer&gt;4&lt;/integer&gt;
        &lt;key&gt;DHCPDefendIPAddressCount&lt;/key&gt;
        &lt;integer&gt;3&lt;/integer&gt;
        &lt;key&gt;DHCPDefendIPAddressIntervalSeconds&lt;/key&gt;
        &lt;integer&gt;10&lt;/integer&gt;
        &lt;key&gt;DHCPLeaseWriteT1ThresholdSeconds&lt;/key&gt;
        &lt;integer&gt;3600&lt;/integer&gt;
        &lt;key&gt;DHCPFailureConfiguresLinkLocal&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;DHCPInitRebootRetryCount&lt;/key&gt;
        &lt;integer&gt;2&lt;/integer&gt;
        &lt;key&gt;DHCPLocalHostNameLengthMax&lt;/key&gt;
        &lt;integer&gt;15&lt;/integer&gt;
        &lt;key&gt;DHCPRequestedParameterList&lt;/key&gt;
        &lt;array&gt;
                &lt;integer&gt;1&lt;/integer&gt;
                &lt;integer&gt;3&lt;/integer&gt;
                &lt;integer&gt;6&lt;/integer&gt;
                &lt;integer&gt;15&lt;/integer&gt;
                &lt;integer&gt;119&lt;/integer&gt;
                &lt;integer&gt;95&lt;/integer&gt;
                &lt;integer&gt;252&lt;/integer&gt;
                &lt;integer&gt;44&lt;/integer&gt;
                &lt;integer&gt;46&lt;/integer&gt;
                &lt;integer&gt;47&lt;/integer&gt;
        &lt;/array&gt;
        &lt;key&gt;DHCPRouterARPAtRetryCount&lt;/key&gt;
        &lt;integer&gt;7&lt;/integer&gt;
        &lt;key&gt;DHCPSelectRetryCount&lt;/key&gt;
        &lt;integer&gt;3&lt;/integer&gt;
        &lt;key&gt;DHCPSuccessDeconfiguresLinkLocal&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;DiscoverAndPublishRouterMACAddress&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;DiscoverRouterMACAddressTimeSeconds&lt;/key&gt;
        &lt;integer&gt;60&lt;/integer&gt;
        &lt;key&gt;GatherTimeSeconds&lt;/key&gt;
        &lt;integer&gt;1&lt;/integer&gt;
        &lt;key&gt;InitialRetryTimeSeconds&lt;/key&gt;
        &lt;integer&gt;1&lt;/integer&gt;
        &lt;key&gt;LinkInactiveWaitTimeSeconds&lt;/key&gt;
        &lt;integer&gt;1&lt;/integer&gt;
        &lt;key&gt;MaximumRetryTimeSeconds&lt;/key&gt;
        &lt;integer&gt;8&lt;/integer&gt;
        &lt;key&gt;MustBroadcast&lt;/key&gt;
        &lt;false/&gt;
        &lt;key&gt;RetryCount&lt;/key&gt;
        &lt;integer&gt;9&lt;/integer&gt;
        &lt;key&gt;RouterARPEnabled&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;Verbose&lt;/key&gt;
        &lt;false/&gt;
&lt;/dict&gt;

What shows up in the logs?

Everytime the wireless drops I get a configd[13]: Network Configuration Changed
then another one of those when it reconnects to the AP

So it actually disconnects from the AP?

Is there any SPECIFIC time interval for the disconnects? Does it always disconnect after 5 minutes or something? Might be able to correlate back the time references to some sort of timeout/retry value in the config.

edit: what logs are you looking at. I’m gonna ssh over to my server at home and see what I can find out.

I was curious if it still disconnects with the static IP and you just don’t notice since there is no DHCP lease time.

I’m assuming so, cause when it drops it isn’t associated with any SSID

No specific interval, it happens randomly. The DHCP requests are every 20 seconds on the dot. With DHCP enabled the requests show up on the Network controller and the client machine. Once the static IP is put in place it only shows up on the client machine.

system.log mainly but also
kernal.log

The machines appear to stay connected with the Static IP but in the logs it still shows refresh DHCP lease succeeded

Rendezvous more popular now known as Bonjour is apple’s zero config service discovery. It is locates devices, printers, computers and toaster (no not really) using multicast dns.

Avahi is the OSS implementation of this on linux.

It is cool shit for personal use but on a corporate network it can cause traffic shit storms.

My bad on the newer name it goes by. But yeah…it’s real chattery.

update?

Called Apple on Friday 22nd Spoke to a couple different people before being transferred to the guy who was labeled their wireless expert. He had me capture logs from my machine and he submitted them to his engineers. Case is still open and I’ve got to call them back to answer a few more questions about our setup.

Aside from that I’ve been creating a new location then entering the Static IP information. This way they can use the static IP for school and switch the location back to automatic to use DHCP elsewhere. Students have been saying it’s working so far, yet in the system logs I still see Refresh DHCP Lease Succeeded, which is weird. Also you have to turn off the Airport before making any changes. In the mean time I’m getting a crash coarse on the OSX workings.

Bump

Anyone know how often the DHCP lease request is on a Mac?

I thought the lease length was defined by the dhcp server.

It is…maybe i phrased that wrong. The Macs seems to be requesting a new DHCP address WAAAAY too often. Like every 20 seconds or so or at least that’s my interpretation from the vague logs.

The server issues the lease length

Linux dhcpd is usually 24 hours

Windows server dhcp is 8 days I think…

However those values can be changed

Run wireshark or tshark on the Mac on its network interface

right, so if the server defines the lease length, the dhcp client should only request it at the interval that was defined by the originating request.

In other words:

client - “yo server, i need an ip…hit me up”
server - “here, take 666.666.666.666…come back in a week”
[client records that in 7 days, the lease is up]

[7 days is up, client is going to re-request an ip]
client - “yo server, I need an ip…hit me up”
server - “i’m too busy for this shit, here, just take the same one you had before”