Koozali.org: home of the SME Server

making SME 6.0 grab an IP address from DHCP server

Jon

making SME 6.0 grab an IP address from DHCP server
« on: September 05, 2003, 10:12:47 PM »
Hi,

I wanted to know if there was a way to have SME use DHCP to get an IP address from an existing NT server.

We are trying to setup SME in an existing network and only need it for departmental use. we dont need email, dhcp, or anything like that. We only really need samba, FTP and web serving to be active.

Is there a way to have SME get an IP automatically?
The only problem is that in order to request a permanent IP from our SYSTEMS Group I have to fill out a bunch of forms and it takes a long time to approve.

If there isnt a way to do this then I'd like to know so I can get started on the forms right away.

Thank you,

Jon

Tom Keiser

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #1 on: September 06, 2003, 04:58:42 AM »
I don't believe there should be a way to do this; AFAIK, you never put a server on a non-static IP address.

Terry

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #2 on: September 06, 2003, 06:19:42 AM »
During setup, select Use DHCP send MAC as Idenifier, or send name as identifier, either should work, I'm sure the NT server will ignore the identifier and give an address anyway.  I use this setup on the company lan and it works fine (on 5.6 and 5.5, never setup a 6.x to use DHCP)

Terry.

Jon

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #3 on: September 08, 2003, 05:41:47 PM »
Thanks for the info. I think i'm going to have to try it out with SME 5.6.
Version 6 did not give me an option during setup to use DHCP.

NTBlade

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #4 on: September 08, 2003, 06:07:38 PM »
There is no option during setup to use DHCP to get an IP address in v5.6 (or any other that I've tried - could be wrong though!)
It can be done manually after install.  During install just assign a static IP.
Read this...
http://forums.contribs.org/index.php?topic=3149.msg10638#msg10638
I worked fine for me.  :-)
N

Jon

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #5 on: September 08, 2003, 08:38:53 PM »
Thanks! that did the trick. I'm able to pick up an IP address now. My only problem is that now,  httpd-admin fails to start. I have not Admin panel to log into.
I tried expanding /etc/httpd/admin-conf/httpd.conf
But it still fails. BTW I reinstalled SME 5.6 and this is the install that's giving me this problem.

Rick Jones

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #6 on: September 09, 2003, 02:23:13 AM »
I think you'll find that the admin httpd.conf file embeds the server's IP address in certain places. This will only work if the IP address can be relied on to be constant. It's probably got the IP you entered during setup, which is different from the now real IP allocated by DHCP.

I haven't looked at the conf file long enough to work out if it could be arranged without a hard IP address - probably can though. You'll need to put the changes in a custom template otherwise it'll revert when logs are rotated (the httpd.conf files get re-built each time this happens).

Rick Jones

Jon

Re: making SME 6.0 grab an IP address from DHCP server
« Reply #7 on: September 11, 2003, 02:32:54 AM »
Thanks, I  finally just requested a permanent IP form the system's group.  It's going  to take 1 week to get it bu that just gives me more time to burn in the server.

Thanks to all who replied