• 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: WAN address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WAN address


  • Subject: Re: WAN address
  • From: Justin Walker <email@hidden>
  • Date: Sun, 16 Feb 2003 09:50:39 -0800

On Sunday, Feb 16, 2003, at 09:10 US/Pacific, Arthur VIGAN wrote:

Hi,

my Mac (using OS X 10.2.4) is behind a router, and I would like to know if there is any way to get my WAN address (programmaticaly or not)?

You might be able to use SNMP to gather information about the router from the Mac OS X system. That's about the only way I know. There are security issues with this, so I doubt that the router lets you do that without some change in configuration.

An alternative approach involves a serial link and masquerading as a user at a terminal, sending command-line queries to a serial port on the router, if it has such a thing; or possibly the same kind of arrangement via telnet.

It all depends on what the router offers. There is no API on Mac OS X that is guaranteed to work.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Some people have a got a mental
| horizon of radius zero, and call
| it their point of view
| -- David Hilbert
*--------------------------------------*-------------------------------*
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
References: 
 >WAN address (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: To thread or not to thread?
  • Next by Date: Re: WAN address
  • Previous by thread: WAN address
  • Next by thread: Re: WAN address
  • Index(es):
    • Date
    • Thread