Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#219203 - 21/06/2004 09:20 empeg as DHCP server?
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
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?
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#219204 - 21/06/2004 10:01 Re: empeg as DHCP server? [Re: Dava]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
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...

Top
#219205 - 21/06/2004 10:17 Re: empeg as DHCP server? [Re: tman]
Dava
member

Registered: 06/12/2000
Posts: 192
Loc: Bucks UK
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.


Edited by Dava (21/06/2004 10:18)
_________________________
MK2 smoked 32Gb S/n 090000949 MK2a Blue 20GB racked and out of sync

Top
#219206 - 21/06/2004 10:21 Re: empeg as DHCP server? [Re: tman]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Also, in my experience, Windows DHCP clients immediately notice that their DHCP server has gone away and deconfigure their IP addresses. Which is lovely.
_________________________
Bitt Faulk

Top
#219207 - 21/06/2004 11:37 Re: empeg as DHCP server? [Re: Dava]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
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.
_________________________
Tony Fabris

Top