[7.885][BUG][NOT A BUG] DHCP make my HP C309G crash

Hi all,

I'm finally back [:)] I did not got any time to test (deeply) new v8 beta yet [:(]

but I get some troubles with the dhcp server...

in about november I bought a new HP Photosmart Premium C309G printer with ethernet/wifi capabilities...
initially I was using asg 7.503 without any troubles... printer configured in wire mode with dhcp enabled...

then when first v8 betas went out I installed it and loaded my 7.5 backups... first betas was working fine... but after some betas I got into troubles (don't remember which beta exactly but was about the 3rd or 4th one...)

when printer is configured to use DHCP, as soon as it gets the IP from dhcp server it crashes with a blue screen on the printer touchscreen with an error code B36D004A, then I need to reboot the printer... but still hapen after reboot all the time...

so I need to deactivate the dhcp server on the asg, then configure the printer with static IP, and start dhcp server again (for other boxes)...

first, I thought it was a problem with the printer so I open a ticket at HP support, they did not found anything relevant... but as I got another problem with the touchscreen they did replaced my printer with a new one... but I still get the problem... (I received it today) so I disabled the dhcp server on the asg and activated dhcp server on my wifi/wired dd-wrt enabled device (which was previously configured as dhcp relay for my asg)... and with the dd-wrt I do not have the problem when assigning IP to the printer...

so seems something with new dhcp server or something...

Note that initially the asg was a XenServer VM and since yesterday this is an ASG120 device installed with latest beta... with same problem...

also I get same issue with printer configured with wifi+dhcp... so seems really a problem with the asg dhcp server..

I tried with and without IP assigned to the printer Mac address without luck...

I've tried of course to try to change cables, ethernet switches, ... with no results...

If you need more info just let me know...

thx
Parents
  • The changes in the DHCP Server code are the same that went into 7.504. If you see the same behaviour with 7.504 and it doesn't show up in 7.503, then it's indeed very likely that it has to do with the changes related to the new autoconfig feature. 

    What we've done there is basically adding a new DHCP option (252) to enable WPAD, through which the ASG  is able to server the URL where a proxy.pac file can be found. More information is available at HOWTO: WPAD - Have Clue - Will Travel

    Can you try it again with 7.503 and 7.504?
  • The changes in the DHCP Server code are the same that went into 7.504. If you see the same behaviour with 7.504 and it doesn't show up in 7.503, then it's indeed very likely that it has to do with the changes related to the new autoconfig feature. 

    What we've done there is basically adding a new DHCP option (252) to enable WPAD, through which the ASG  is able to server the URL where a proxy.pac file can be found. More information is available at HOWTO: WPAD - Have Clue - Will Travel

    Can you try it again with 7.503 and 7.504?


    ok I can confirm this seems not a WPAD issue !

    I've edited dhcpd.conf to comment out the "option wpad code 252 = text;" line...
    then I've kill -HUP the process corresponding to dhcpd server, and booted my printer (dhcp enabled) printer still crash...
    to be sure I've also chattr +i dhcpd.conf, then stop/start dhcp through interface to be sure the dhcpd.conf with wpad features commented out loaded... but still have same problem...

    I will try 7.503/7.504 soon...

    thx
  • ok I've installed to new VMs one with 7.503 and one with 7.504...

    activating dhcp server on 7.503 -> printer get its IP and works fine
    activating dhcp server on 7.504 -> printer get its IP and works fine... (even if "Enable HTTP Proxy Auto Configuration" is activated or not...)

    so as seen in previous post, problem seems to be in another parts... probably isc-dhcpd 4.1.1 ?

    I will try to find since which v8 betas things are no more working...

    thx
Reply
  • ok I've installed to new VMs one with 7.503 and one with 7.504...

    activating dhcp server on 7.503 -> printer get its IP and works fine
    activating dhcp server on 7.504 -> printer get its IP and works fine... (even if "Enable HTTP Proxy Auto Configuration" is activated or not...)

    so as seen in previous post, problem seems to be in another parts... probably isc-dhcpd 4.1.1 ?

    I will try to find since which v8 betas things are no more working...

    thx
Children