how to debug NetworkManager ?
cornel panceac
cpanceac at gmail.com
Wed Oct 13 08:57:03 UTC 2010
>
>
> all in one file, clean boot, without running dhclient.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/test/attachments/20101013/392d7d1a/attachment.html
-------------- next part --------------
[root at czgl-iteh-001 ~]# find /etc -iname "*dhclient*conf*"
[root at czgl-iteh-001 ~]# cat /etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
USERCTL=no
HWADDR=00:19:99:87:9A:C5
PEERDNS=yes
PEERROUTES=yes
[root at czgl-iteh-001 ~]# ps aux |grep -i dhc
root 1117 0.0 0.1 8708 3388 ? S 11:18 0:00 /sbin/dhclient -d -4 -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/dhclient/dhclient-5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03-eth0.lease -cf /var/run/nm-dhclient-eth0.conf eth0
root 2307 0.0 0.0 4468 824 pts/0 S+ 11:51 0:00 grep --color=auto -i dhc
[root at czgl-iteh-001 ~]# cat /var/lib/dhclient/dhclient-*-eth0.lease
lease {
interface "eth0";
fixed-address 192.168.1.65;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option dhcp-server-identifier 192.168.1.254;
option domain-name-servers 192.168.1.254;
option classless-static-routes 0 192.168.1.254;
option domain-name "lan";
renew 3 2010/10/13 19:26:00;
rebind 4 2010/10/14 04:49:47;
expire 4 2010/10/14 07:49:47;
}
lease {
interface "eth0";
fixed-address 192.168.1.65;
option subnet-mask 255.255.255.0;
option dhcp-lease-time 86400;
option dhcp-message-type 5;
option domain-name-servers 192.168.1.254;
option dhcp-server-identifier 192.168.1.254;
option classless-static-routes 0 192.168.1.254;
option domain-name "lan";
renew 3 2010/10/13 18:00:58;
rebind 4 2010/10/14 05:18:41;
expire 4 2010/10/14 08:18:41;
}
[root at czgl-iteh-001 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
[root at czgl-iteh-001 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
domain lan
search lan
nameserver 192.168.1.254
[root at czgl-iteh-001 ~]# cat /etc/hosts
127.0.0.1 czgl-iteh-001 localhost.localdomain localhost
::1 czgl-iteh-001 localhost6.localdomain6 localhost6
[root at czgl-iteh-001 ~]#
More information about the test
mailing list