Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCPC home-made

Dear Astaro people,

first let me say that i think astaro will become a great product.
One important feature that i miss is - yes its mentioned anyway before in this bulletin - dhcpc.

I really need it for my private cablemodem network but i want to use astaro because of
its simplicity and integration level.

So, i decided to add dhcpc by my own. What i did:
- cp dhcpcd and stuff to the fw. (dhcp client daemon)
- configuring dhcpcd.

Seems to work DHCP broadcasts are sent. (eth1, external)

What i want to do.
1. Use the lease file for updating the network interface property.
2. Re-run the firewall rule set if necessary.

Where's my problem?
I can't find where to change the ethernet (eth1) information.
I found /etc/hosts has an entry but its obviously not the only one, because the webadmin gui always shows the old number.

Conclusion:
Please, where do i find all the right information? 
Which file(s) do i have to feed with the lease-ip number?

At least: Is this ok or do i any license-violation with this?

Thanks for a sugestion.




This thread was automatically locked due to age.
  • Hi there,

    Can't wait to have dhcp to work for my lab for me as well.  I am trying to have it to work though on my side.  One question, since the Linux version is a hardered one, it misses a couple of utility, like ftp client, kernel doesn't support fat.  The point is that I am trying to put some files onto the Astaro machine and work it from there.  Can't have the fd0 to mount.  I've formatted a floppy onto another RedHat machine with : 
    mkfs -t ext2 -c /dev/fd0H1440 and copied the dhcp....gz onto it, when I try to mount it onto the Astaro, here's the error I get when I run mount -t ext2 /dev/fd0 /mnt
    mount: /dev/fd0 has wrong major or minor number.

    My machine is a Asus PIII 550, 2 pci nic 82557, 128 ram, 10 gb.  Astaro version is the latest, 1.737

    Thanks in advance and keep the good work,

    Benoit Danserau
  • Copy files to astaro ? Well - thats easy.
    Use scp (secure copy)

    something like:
    scp myfile loginuser@astaro.domain.dom:/home/login

    If you choose to make folders under ../login don't forget it to chown to the loginuser.

    I hope the next Up2Date has a modified kernel which support the things we need for dhcpc.

    Have a good time.
  • Copy files to astaro with scp (secure copy)
    This is part of the openssh package.

    Exmpl.
    scp myfile loginuser@astaro.domain.dom:/home/login

    If you decide to make subfolder under ../login don't forget to chown it to the loginuser.

    Have a good time
  • hi bdaansereau,

    did you find a dhcp client without Socket Filtering-usage?

    if not - please wait for astaro security linux 1.790. with this version it should be very simple to use dhcp...

    ------------------

    Markus Hennig
    Astaro Product Development
  • Hi, I also managed to get dhcp working on astaro.
    I just scp'd dhcpcd from my RH box,
    added a initscript to /etc/rc.d,
    created /etc/dhcpc
    and a script called /etc/dhcpc/dhcpcd-eth0.exe in which I configure /etc/wfe/conf/netzkartendata for
    the dynamic IP ( on eth0 ) and one static IP
    ( eth1 ), hostname and aswell it sends an email to me whenever the IP changed.
    Works Perfect !!
  • Yes, you're right!
    I tried (again) with RH7, cd1, dhcpcd-1.3.18pl8-6.i386.rpm.

    Now it works. Great!

  • I've performed the update yesterday to version 1.740 and I thought I would have see an option in the web admin to set the interface through dhcp !  How do I do it for now ?

    Thanks in advance,

    Benoit Dansereau
  • no - it would be to nice to be true  [:)]on 1.740...

    and i afraid also not in 1.790

    ------------------

    Markus Hennig
    Astaro Product Development
  • Hiya,

    So when are we gonna expect a release of Astaro with dhcp? I know you probably all have alot on, but it seems like this is a pretty important feature, and if all these people have managed to do it successfully then it can't be too demanding...no disrespect meant to those who have managed it.

    I know your still in development and I've only been playing with your product for a coupla days....it's impressive but a requirement for me is that it has dhcp support.

    Thanks chaps...keep up the good work!

    Rob.
  • Hi Rob'E', 

    yes we know that this is an important feature and we are working on it. The technical integration is nearly done, but we haven't done the WebAdmin Implementation of this feature, yet.
    We will release it at the end of this Month or beginning of February, altogether with Ethernet Aliasing and PPPoE.

    Keep looking for the announcement.

    CU Gert



    ------------------
    -- 
    Gert Hansen  <>gert.hansen@astaro.de>   |  Product Development
    Astaro AG |  www.astaro.com  | Phone +49-721-490069-0 | Fax -55