• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: usb ethernet issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: usb ethernet issues


  • Subject: Re: usb ethernet issues
  • From: Peter Sichel <email@hidden>
  • Date: Wed, 29 Apr 2009 13:52:27 -0400

On Apr 29, 2009, at 12:18 PM, Howard Shere wrote:

I am working with a usb ethernet device and I am having 2 issues.

The driver has been supplied by the vender and I am using their private API to configure the device and make the connection to the network.

1)

Once my configuration and authentication exchange is done, the enX interface will get an IP address. If I type "ifconfig" in the terminal I can see that it has an IP address and a gateway address and I can ping the gateway IP address. If I then launch safari (or another internet application) I cannot make use of the interface until about 1 minute passes.
After 1 minute I can browse normally and everything works.

If your interface has an IP address and you can ping through that interface to a next hop gateway, that suggests the underlying IP connectivity is established. There are two more pieces in the configuration puzzle:


(1) What is the default route or "router address" as determined by the network service order?

(2) What is the DNS configuration, or what DNS server is used to lookup host names you type into Safari?


What is causing this delay and is there anything I can do from my application to make the rest of the OS see the IP address that ifconfig sees?

Are you using the System Configuration Framework to tell Mac OS X you have a new Ethernet service, or waiting for Mac OS X to notice?



2)

The 2nd issue is that if the current location has no ethernet service defined, my usb ethernet interface will never get an IP.

This suggests you are not yet creating a network service for the interface you are adding at the BSD layer. Perhaps others can say more about this.


- Peter

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: usb ethernet issues
      • From: Howard Shere <email@hidden>
References: 
 >usb ethernet issues (From: Howard Shere <email@hidden>)

  • Prev by Date: usb ethernet issues
  • Next by Date: Re: usb ethernet issues
  • Previous by thread: usb ethernet issues
  • Next by thread: Re: usb ethernet issues
  • Index(es):
    • Date
    • Thread