On Tue, 7 Jan 2003 22:30, poeml@cmdline.net wrote:
On Tue, Jan 07, 2003 at 09:26:33PM +1100, Graham Smith wrote:
Hi,
I'm tearing my hair out trying to get dhcpcd to run the dhcpcd.exe script on SuSE 8.1.
I had this working on SuSE 8.0 without any problems. On 8.1 I have tried about everything to get it to run but to no avail.
The script is to refresh my IP address at DynDNS.org.
Has anyone managed to get a script running on this version of SuSE? If what are the magic steps.
Where did you put the script? Did you follow the comment in /etc/sysconfig/network/dhcp? There is a setting called DHCLIENT_SCRIPT_EXE.
Peter
I have tried with /etc/sysconfig/network/scripts/dhcpcd.exe as per their dhcp config doc. In the package/dhcpcd directory README.SuSE contains the following:- Path changes: - dhcpcd cache/info files are in /var/lib/dhcpcd/, not in /etc/dhcpc/ (before 7.3 the path was /var/state/dhcp/) - dhcpcd-<interface>.exe scripts to be called by dhcpcd will be looked for in /sbin, not /etc/dhcpc/ So I tried there without any luck. Then in desperation I added in dhcp DHCLIENT_ADDITIONAL_OPTIONS="-c /var/lib/dhcpcd/dhcpcd.exe" without luck as well as DHCLIENT_ADDITIONAL_OPTIONS="-c /var/lib/dhcpcd" The question is with the -c option is it the full path only or full path + executable? In SuSE 8.0 the script was located in /var/lib/dbcpcd by default and followed the man pages. I have the dam script located in about 20 places and still I can't get it called. I have 'set -x' in the script so I should get some output if called. -- Regards, Graham Smith ---------------------------------------------------------