Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing stale network service entries



how about a different approach to use always the same USB to ethernet adaptor. So wherever this person goes, he takes his USB to ethernet adaptors and only plug an ethernet in instead of plugging an USB in?

That would make the system always see the same ethernet interface and you wouldn't have pile ups of others.


On 15.02.2008, at 19:25, Peter Sichel wrote:

When you plug a USB-to-Ethernet adaptor into your computer for the first time, a new service entry appears in the Network Preferences Panel.  I have a potential client who moves laptops between stations with USB-to-Ethernet adaptors.  As laptops move from station to station, they accumulate a lot of stale service entries in the Network Preferences Panel (for each USB adaptor they've seen).  I'm looking for ways to remove these service entries shortly after a USB-to-Ethernet adaptor is unplugged.

I'm familiar with accessing the System Configuration Framework and helped develop an Open Source driver for USB-to-Ethernet adaptors, so I am able to tweak the driver if that would help.

I can imagine a small faceless application that listens for device notifications and walks the network service order looking for inactive service entries that meet some criteria and removes them, but that seems a little awkward.  Is there a more direct way to limit the persistence of such entries before they pile up?

Thanks for any ideas.

- Peter Sichel
 Sustainable Softworks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden





Andreas Fink

Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG

---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  email@hidden
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: email@hidden AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333

Say NO to Power Line Communications: http://www.youtube.com/watch?v=pdcY0Eetvsw





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

References: 
 >Removing stale network service entries (From: Peter Sichel <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.