Guest User!

You are not Sophos Staff.

DHCP How to?

Looks like this may be an important one for several of us. Sorry to add a me too to the thread but, I am in need of the same information. I want to set up an internal, DMZ, and external (using DHCP address from Cable Modem) Has anyone pulled this off yet? If so can you please help those of us who need to impliment it? Thanks all.
Parents
  • hi everybody,
    try and see on docs.astaro.org/attic
    I think is what you're looking for.
    ciao
  • Thanks!

    I should have known to look in the attic!    LOL!
  • Hi Guys,

    let me know if you need any help with the DHCP.  I'm the one who put it together.

    Benoit
  • [:O] 
    I too am trying to get the dhcp client working, however I have simply one question.
    How do I get the download from the attic, onto the ASL box? I cant mount any cdroms, or floppy disks. Unless I am missing something obvious.
    I have pressed the download onto a cdrom, using iso9660, but when I mount the cdrom, using that filesystem, it says it cannot read it.
    What gives?  [:S]
  • Hi elsifer,

    One way is to use secure copy (scp).

    If you have a Windows client, use the tool at this site :
     http://winscp.vse.cz/eng/ 

    You'll have to create a directory on the Astaro box, set permission on it for the user "loginuser" and use the password you've have defined during the installation of Astaro.

    If you wish to mount a floppy or cdrom, do a search on the site and mention "mount", you will find the way to do it.

    Sorry, I don't have the time to do the search for you   [:)] 

    Benoit
  • Excellent, thanks!!

    I was able to get dhcp functioning, and now I am working on all my rules.

    Thank you so much!
  • Hey, I'm glad you made it !

    Now, that Open Source !  And the result is a part of it.  Like in Star Wars, "May the force be with you" (us, the community) ! ! If Microsoft would have tought of that !

    You'll see, Astaro is a great product.

    Benoit   [;)]
  • just a note:

    the DHCP files are in the attic because I have not tested them with 1.9/2.0.

    If any one of you has improvements on the current state, you can pack up the files with an installation "manual" (text file) and send it to us. We can the publish it on docs.astaro.org (w/ credits of course  [:)]

    /tom
  • Hi Tom,

    I did an upgrade yesterday night to Astaro 1.9 Beta 4 without a problem.  I was previously running the latest stable version, 1.8.  I've first did a backup of the config.  Then upgraded to 1.9.  I even change from IDE to SCSI.  I then use WinSCP to copy my package that take care of DHCP onto /home/login.  I will have to look at the script cause I then had to copy the files manually as well as to create the directory ! ! !  DHCP work right after.  I then log in WebAdmin, did a restore (I was wondering if it would take it) and was glad that it did !
    Boy was I happy

    So, I will find time to look at the install script (it was late yesterday when I was done) and I am working on a cron job that will monitor if the ip has change to apply the change in Astaro.  If anybody want to help on this, your welcome.  Send me an email and we will see how we could work on it.  In the mean time, I will on it on my side.

    Thanks again for such a great product.

    Benoit
  • I installed Benoit's dhcp client patch on v2.0 and with a little troubleshooting got it up and running.  The only problem that I noticed was that when I untarred the dhcp bundle, the files were rw for root.  I changed it to rwx and the install script did the rest.

    Someone else noted that they had to manually copy over the files.  I suspect that a revisit of the cause of that issue would be the same as what I found.

    Benoit gets the "bravo-zulu", well done.
  • I know this might sound strange... but I've downloaded the DHCP Client .tar file and uploaded it to the ASL box... with WinSCP2...

    when I do a "tar -x filename" nothing happens... the cursor just goes on a new line and doesn't move...If I press enter...it just goes on a new line... The only way to stop it is CTRL+C...

    Same behaviour with both SSH client and From the console (tried both users: loginuser and su)

    any idea?

    thx!
Reply
  • I know this might sound strange... but I've downloaded the DHCP Client .tar file and uploaded it to the ASL box... with WinSCP2...

    when I do a "tar -x filename" nothing happens... the cursor just goes on a new line and doesn't move...If I press enter...it just goes on a new line... The only way to stop it is CTRL+C...

    Same behaviour with both SSH client and From the console (tried both users: loginuser and su)

    any idea?

    thx!
Children
  • type tar -xvf filename

    v is for view
    f is for file
    x is for extract but you knew it right ?

    Good luck,

    Benoit
  • Hello,

    I am having a prob with the scrip (the problem is most likely me but hopefully someone will help me with it.) I've got the files copied to my astaro box and changed the rights to rwx but when i run the install_utils.sh (command im using is sh install_utils.sh) it just gives me a command not found and creates some directories. Please let me know what it is that I am doing wrong.

    Thanks

    Napalm
  • Does this DHCP package update any of the network definitions?

    E.G., I have a definition
    Cable Modem = EXT IP

    then, in DNAT, I have
    Cable Modem port 80 -> Int server port 80

    So, the DHCP package needs to update the definition for DNAT to work, right?

    ISTM that maybe there should be some definitions or aliases that ASL updates automatically for things like this.

    Thanks,
    Barry
  • Help!

    I've installed the dhcp tar and I've gotten the basics working.  However, I still do not have DNS working.  

    Questions:

    1) How do I check to ensure that DNS is working from the firewall?

    2) Do I need to enable the DNS Proxy?  I have tried and even when I hard code the IP's of the cable provider name servers I have not been successful.
  • Hmmmmm, sorry I am very late on the subject and I am also a big n00b in Linux stuff...
    Right I installed Astaro without pb, but as my Internet Provider serves me with an IP address, I need to enable DHCP.

    I downloaded WinSCP but when I try to connect to the box, it says connection failed : Unknown error...
    Erm, what do I do bad ?  [:S]  

    Could someone please help me on that and tell me the configuration to put in WinSCP. Like user to use, which bash, etc...

    Thanks a lot
  • All

    I installed the DHCP files from the attic last night and have them working.  These are much easier to use than the DHCP client that comes on the 2.1/3.x BETA.  Today I spent time on changes to the updateip script to fit my installation.  I will try these changes tonight.  If everything works I will post my changes.

    PS. One problem I first encountered with DHCP and my cable company was authentication. When I first requested a address I would not get any responses. After several hours of troubleshooting I created a dummy lease file with the MAC address of the cable modem not the Astaro firewall, hostname, and the old IP adress I was using.  I must have gotten something right, its worked ever since.

    Craig   
  • I succeeded the copy of the files...
    Thank you guyz... I just had to read carefully and enable SSH, which I didn't do...     

    Have to configure it now  

    [ 30 January 2002: Message edited by: Axelay ]

  • Thx for the DHCP add-on, I have a slight problem though that I need a little help with.

    I have the files insatlled (I presume ok) but upon restarting the system I see a Permission Denied error on the S04dchp link. When I manually run /etc/rc.d/dchp I see the error:

    /etc/rc.d/dchp: /sbin/updateip: Permission Denied

    I figured it didn't have sufficient rights to the netdada and netzkartendata files, no joy.

    I've played round with this enough to have run out of ideas... I manually inserted the DCHP IP in via Webmin (hence being able to get here   eopleshero@hotmail.com

    Thanks!
  • I got the same error with permisson denied so i changed the updateip file with chmod 777 but now i get the error ./dhcp: /sbin/updateip: No such file or directory.
    What can i do?

    /Hans