DDclient slack13 dhcpcd.sh vs dhcpcd.eth0.exe question
In slack13 there is a dhcpcd.sh script like this:
Code:
#!/bin/sh Code:
#!/bin/sh |
dhcpcd.sh is a straight replacement for dhcpcd.exe, not dhcpcd-eth0.exe.
Its' dhcpcd.exe that is invoked by dhcpcd, so the first thing to do, is to find out how your dhcpcd-eth0.exe is called. Then you can look at modifying dhcpcd.sh. My, easier, guess, would be to find the line in dhcpcd.exe, that outputs the IP to the log, which is followed by the comment "Put your code here", and follow it with: Code:
case "${IPADDR}" in |
Hey thanks!
Gonna try that. |
This does not seem to work?
And dhcpcd.sh always says that my interface was brought up with new ipnr. But it always get the same adress? With no cat cable attached and dhcpcd gives a ipnr in the 169 segment it says configured with old ip nr??? :confused: |
All times are GMT -5. The time now is 02:38 AM. |