Re: IP Address with DHCP

2001-08-24 Thread Craig S. Cottingham
On Thursday, August 23, 2001, at 09:55 , Bruce Van Allen wrote: Thanks for the info. So I can explore this further, I assume since it's used here on the command line, that this is a UNIX construct, independent of OS X (and also Perl), yes? Independent of Perl, yes. Of OS X, not

Re: IP Address with DHCP

2001-08-24 Thread Wilfredo Sánchez
On Friday, August 24, 2001, at 08:19 AM, Craig S. Cottingham wrote: On Thursday, August 23, 2001, at 09:55 , Bruce Van Allen wrote: Thanks for the info. So I can explore this further, I assume since it's used here on the command line, that this is a UNIX construct, independent of OS X

Re: IP Address with DHCP

2001-08-23 Thread Craig S. Cottingham
On Thursday, August 23, 2001, at 04:36 , Justin Simoni wrote: What I do (I use @home) which uses DHCP. That fills in the IP addy for me, and then I switch the network configuration to 'Manual' - I use the IP addy that I got from the DHCP server and just lock it in! That way, you'll

Re: IP Address with DHCP

2001-08-23 Thread Timothy A. Canon
Thanks for the tip. From the command line this works for me: /usr/sbin/ipconfig getifaddr en1 Now I just need to put it in a perl script. A quick look on CPAN turned up Sys::HostIP which was basically doing the same thing. Thanks, Tim On Thursday, August 23, 2001, at 04:50 PM, Craig S.

Re: IP Address with DHCP

2001-08-23 Thread Bohdan Peter Rekshynskyj
At 19:37 -0500 8/23/2001, Timothy A. Canon wrote: Thanks for the tip. From the command line this works for me: /usr/sbin/ipconfig getifaddr en1 I don't agree here - this showed me an old ip address. I used en0 instead to show my dynamic address assigned by dhcp... Please advise.

Re: IP Address with DHCP

2001-08-23 Thread Bruce Van Allen
At 10:00 PM -0400 8/23/01, Sean P. Scanlon wrote: en1 or en0 is the name of the interface. if you have only one ethernet card, you will get an error trying to get the ip address of the second (non-existent) interface. Thanks for the info. So I can explore this further, I assume since it's