You are not logged in.

#1 2012-10-25 11:12:06

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Dhcpcd starting by wich init-script? [Solved]

I have static ip on both eth devices.  These configured by netcfg: with if1 and if2 files in /etc/network.d/
here they are:
cat /etc/network.d/if1

CONNECTION='ethernet'
DESCRIPTION='ethernet connection to internet'
INTERFACE='eth0'
IP='static'
ADDR='10.85.231.106'
NETMASK='255.255.0.0'
GATEWAY='10.85.231.65'
DNS=('10.85.224.33')

cat /etc/network.d/if1

CONNECTION='ethernet'
DESCRIPTION='ethernet connection to localnet'
INTERFACE='eth1'
IP='static'
ADDR='192.168.225.222'
NETMASK='255.255.255.0'

But my resolve.conf sometimes is overwritten by dhcpcd.
in /etc/rc.conf I don't have any property connected with net set except HOSTNAME="ramazotty" and NETWORK_PERSIST="no"

my daemons are:
DAEMONS=(hwclock syslog-ng network net-profiles sshd samba xinetd @cupsd dbus @netfs crond)

Who in the world is starting dhcpcd?

p.s. The parent is process 1:
>ps -f `pidof dhcpcd`
UID        PID  PPID  C STIME TTY      STAT   TIME CMD
root       497     1  0 15:09 ?        Ss     0:00 dhcpcd -q

Last edited by roginovicci (2012-10-26 09:16:04)

Offline

#2 2012-10-25 14:39:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Dhcpcd starting by wich init-script? [Solved]

FYI you don't need the network init script when you're using netcfg.

This is not the answer you're looking for, just some useful information - unless you happen to be wrong about your rc.conf.

Offline

#3 2012-10-26 09:15:50

roginovicci
Member
Registered: 2010-11-06
Posts: 43

Re: Dhcpcd starting by wich init-script? [Solved]

Thx tomk, that did the trick! Solved.

Offline

Board footer

Powered by FluxBB