You are not logged in.
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
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
Thx tomk, that did the trick! Solved.
Offline