Re: Dynamic Hostname Assignment

2003-07-25 Thread Kenneth Culver
Yes, my ISP's DHCP server should assign me a hostname. I assumed that's how it was done by dhclient on RedHat7.3/8/9 all of which just did this automatically whenever I selected DHCP configuration of the interface. I've been comparing FreeBSD 5.1's default dhclient-script to RedHat's trying

Re: Dynamic Hostname Assignment

2003-07-25 Thread Lowell Gilbert
Kenneth Culver [EMAIL PROTECTED] writes: Like I said before, you might want to look around in redhat's dhcp scripts. If I understand correctly, dhclient calls a script that does the actual ifconfig, etc... FreeBSD's probably doesn't use set the hostname from the script, while redhat does.

Re: Dynamic Hostname Assignment

2003-07-25 Thread Kenneth Culver
The standard dhclient-script sets the hostname. At least, it sure *looks* like it does... [line 97 of src/contrib/isc-dhcp/client/scripts/freebsd,v 1.9.2.6] OK, yeah, it does, so there must be some other configuration that needs to be done. Ken ___

Re: Dynamic Hostname Assignment

2003-07-25 Thread Rod Person
On 25 Jul 2003 03:49:15 + Shawn [EMAIL PROTECTED] wrote: On Fri, 2003-07-25 at 03:37, Rod Person wrote: I assume your isp uses DHCP. If so, did you try ifconfig_xl0=DHCP in your /etc/rc.conf. First that's already set, I selected DHCP configuration of the network interface during

Re: Dynamic Hostname Assignment

2003-07-24 Thread Mike Maltese
If I understand your question correctly, the following line in /etc/dhclient.conf should do what you want: send host-name yourhostname; - Original Message - From: Shawn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 7:03 PM Subject: Dynamic Hostname

Re: Dynamic Hostname Assignment

2003-07-24 Thread Rod Person
On 24 Jul 2003 21:03:13 -0500 Shawn [EMAIL PROTECTED] wrote: When I recently installed and setup FreeBSD 5.1 on my box here at home, I noticed that it didn't dynamically set the hostname for me. When I used RedHat Linux 9 before it did. Any suggestions? I assume your isp uses DHCP. If so,

Re: Dynamic Hostname Assignment

2003-07-24 Thread Shawn
On Fri, 2003-07-25 at 03:37, Rod Person wrote: I assume your isp uses DHCP. If so, did you try ifconfig_xl0=DHCP in your /etc/rc.conf. First that's already set, I selected DHCP configuration of the network interface during setup and installation. That's how my IP address gets assigned. It's

Re: Dynamic Hostname Assignment

2003-07-24 Thread Mike Maltese
OK, I see now. So you want your ISP's DHCP server to assign you a hostname? Or are you running your own local server? - Original Message - From: Shawn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 8:47 PM Subject: Re: Dynamic Hostname Assignment On Fri, 2003-07

Re: Dynamic Hostname Assignment

2003-07-24 Thread Shawn
On Fri, 2003-07-25 at 04:00, Mike Maltese wrote: OK, I see now. So you want your ISP's DHCP server to assign you a hostname? Or are you running your own local server? Yes, my ISP's DHCP server should assign me a hostname. I assumed that's how it was done by dhclient on RedHat7.3/8/9 all of

Re: Dynamic Hostname Assignment

2003-07-24 Thread Mike Maltese
://www.isc.org/products/DHCP/. - Original Message - From: Shawn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 9:03 PM Subject: Re: Dynamic Hostname Assignment On Fri, 2003-07-25 at 04:00, Mike Maltese wrote: OK, I see now. So you want your ISP's DHCP server to assign you