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 ?
Reply Children