empeg as DHCP server?

Posted by: Dava

empeg as DHCP server? - 21/06/2004 09:20

Has anyone compiled a DHCP server to run on the empeg? Nothing fancy needed, I just want to assign an IP address, subnet mask, gateway, and DNSs.

There are 2 reasons for this:

For the Car, when I connect with my iPAQ to 801.11 I have to set a fixed IP on the iPAQ and remember to set it back again after. My WiFi access point in the car does not do DHCP.

For Home, my wireless router is really slow at handing out IPs, sometimes up to 20 seconds and I only have 4 machines on it.

So both of these could be fixed in hardware with new wireless kit or a simple DHCP server for the empeg.

Anyone?
Posted by: tman

Re: empeg as DHCP server? - 21/06/2004 10:01

Most DHCP servers want to keep the state in a file so if the server is rebooted, it knows who's got what dynamic address.

Wouldn't use the empeg as a DHCP server be a bad idea since nothing would be able to renew their DHCP lease if you were out driving with the empeg...
Posted by: Dava

Re: empeg as DHCP server? - 21/06/2004 10:17

I would agree about the file part but as it is my home unit it could safely be left as RW. The car unit is only ever connected to by either my laptop or iPAQ and usually at an airport so that I can get new tunes on the portables and then fly away. Renewing a lease would never get a chance.

For the limited number of machines I have, a fixed IP for each stored in a RO hosts file would do. It doesn't have to be dynamic at all, just answer DHCP requests. Yes thats what I want, an empeg HCP server.
Posted by: wfaulk

Re: empeg as DHCP server? - 21/06/2004 10:21

Also, in my experience, Windows DHCP clients immediately notice that their DHCP server has gone away and deconfigure their IP addresses. Which is lovely.
Posted by: tfabris

Re: empeg as DHCP server? - 21/06/2004 11:37

Why not just set the empeg to a fixed IP address that matches your Ipaq's range? You can use the @AC and @DC modifiers with Hijack in the empeg's config.ini so that it keeps working in DHCP mode for when you bring it back into the house. Or heck, just set it and the ipaq to a fixed IP all the time, one that matches your house range.

If your wireless router is so slow at handing out DHCP address, you could (a) investigate and solve the problem with the router cuz it shouldn't do that and something's clearly wrong with it, (b) buy a new router that doesn't have that problem, or (c) just use fixed addressing on the computers on your LAN, since you've only got four of them.