Working DHCP for Astaro 3.2

I didnt want to wait for astaro to provide a bug fix for the dhcp client implementation so I did it myself.

Anybody who is in need of the new dhcp client can download the DHCPD Client from my site. The main problem is how to teach astaro to use the new file instead of the old one. I tried to overwrite it but somehow the system checks during the start if all files are ok and prevents any network traffic. I didnt find a way around it but I might have simply overlocked something. I copied the script they use and started the new client but it doesnt work automaticly yet. I compiled the new sources with 
--host=i586-pc-linux-gnu --build=i586-pc-linux-gnu that seems to do the trick. I hope astaro will incorporate it with the next uptodate

To install the client read the README

[ 29 May 2002: Message edited by: vipwolf ]

Parents
  • Thanks vipwolf.  In my cable modem setup, I installed Astaro 3.2 on a box with a BX board, & dhcpc worked fine.  When I installed 3.2 on a backup with a TX board, which required spoofing the eth1 MAC address, I couldn't get dhcpc to work no matter what. I thought I had a problem with hacking 3.2 to do MAC spoofing, but it turns out Astaro's dhcpcd was the problem on the TX box.  Using your dhcpcd, I can  hack /sbin/init.d/init_nics and dhcp_eth to spoof the eth 1 MAC address, and dhcpc works like a charm.

    By the way, to get your dhcpcd to work on my setup, I had to chmod both dhcpcdnew and dhcp_ethnew to make them executable, and in dhcp_ethnew, I had to change the dhcpcd calls to dhcpcdnew calls.

    Thanks again.

    [ 31 May 2002: Message edited by: BillH ]

  • Does this solves the problem that the ISP renew the PPPoE-interface's IP that the services (like forwring port 80 to an internal server) still works ?
  • Why is it that people always associate DHCP with PPPoE? They are two entirely different protocols. 

    PPPoE is the same as using a dialup account, except your account info is sent over Ethernet, Point to Point Protocol over Ethernet. There is no DHCP involved in PPPoE.
  • So, there is a problem with pppoe itself in ASL redman?, why ASL does not renew the ip on reconnection using aDSL/pppoe?.
    I send all my logs to mr. Stutz, but still no news  [:(]
  • As I do not any longer use aDSL/PPPoE for my internet connection, I can not really offer much help there. 

    I use a cable modem which uses DHCP. I used to use aDSL, and had nothing but problems with it due to the provider being extremely incompetent.

    If I had DSL, I would offer to help out. I do know that upon reconnection, PPPoE almost always gets a new different IP address, the same way as you would using a dialup connection.

    Sorry I can not be of anymore help. I do not know anyone who has a PPPoE required DSL connection anymore, they have all switched to cable modem or permanent leased lines.
  • I would like to ask possibly a clueless question. 

    How did you copy the dhcpcd file to the Astaro box??

    I have attempted using SSH PSFTP,a floppy, ftp connection but could not get any of these attempts to work. It appeared PSFTP was not supported and because my floppy was ext2 or msdos not reiserfs it could not be recognized. 

    Can someone tell me where to find a clue?  [:S]
Reply
  • I would like to ask possibly a clueless question. 

    How did you copy the dhcpcd file to the Astaro box??

    I have attempted using SSH PSFTP,a floppy, ftp connection but could not get any of these attempts to work. It appeared PSFTP was not supported and because my floppy was ext2 or msdos not reiserfs it could not be recognized. 

    Can someone tell me where to find a clue?  [:S]
Children