i have a problem like this:
i have a slackware 10.1 box connetcted to local network with dhcpd on the router to give addresses to machines. my box is now "placed" in router arp table /etc/ethers twice (one for masquerade and one for public IP). the problem is router`s dhcp is not set to give me public IP from dhcp and it cannot be set not to give local IP to my box.
so, i did something like this: edited my /etc/rc.d/rc.inet1.conf not to use dhcp (USE_DHCP[0]="no") with my public IP and default gateway in config.
but sometimes weird thing is happening. in the system logs i have something like this:
Code:
Dec 1 14:47:04 jabol dhcpcd[16183]: recvfrom: Network is down
Dec 1 14:47:04 jabol dhcpcd[16183]: dhcpConfig: ioctl SIOCADDRT: File exists
and my box changes it`s ip to the one taken from dhcp on the router even if it`s configured not to use it.
this happened twice at almost the same time of day or actually night (two seconds of difference) and then today. i already checked cron, nothing happens at this time on my box nor the router.
can anyone tell me what should i do? (but not things like #killall dhcpcd because this locks networking on this box and i must hard-reset)
this is vital to do it without breaking the connection because it has no keyboard or monitor :/
thanks in advance
MJ aka Jabol