networkmanager-0.9.8.8 will not connect to ipv4 wired network



Using networkmanager-0.9.8.8 and dhcpcd-6.3.2, I am unable to connect to a wired connection eth0.

If networkmanager is stopped, dhcpcd will connect without problems.

The problem appears to be that networkmanager is stuck in a loop trying to make an ipv6 connection when the 
connection is ipv4 - ipv6 is disabled on the router.

There is another minor issue in that networkworkmanager is looking for hosts in /usr/local/etc rather than 
/etc, but adding a symlink does not resolve the issue.

Is there some way to disable ipv6 in a networkmanager conf file?

Logs below:

$ sudo dhcpcd -d eth0
dhcpcd[7246]: version 6.3.2 starting
dhcpcd[7246]: all: IPv6 kernel autoconf disabled
dhcpcd[7246]: eth0: IPv6 kernel autoconf disabled
dhcpcd[7246]: eth0: executing `/usr/local/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
dhcpcd[7246]: eth0: executing `/usr/local/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
dhcpcd[7246]: DUID 00:01:00:01:1a:d2:d5:f9:24:b6:fd:fa:e1:60
dhcpcd[7246]: eth0: IAID fd:fa:e1:60
dhcpcd[7246]: eth0: reading lease `/var/tmp/dhcpcd-eth0.lease'
dhcpcd[7246]: eth0: rebinding lease of 192.168.1.110
dhcpcd[7246]: eth0: sending REQUEST (xid 0xaf9abff6), next in 4.7 seconds
dhcpcd[7246]: eth0: acknowledged 192.168.1.110 from 192.168.1.1
dhcpcd[7246]: eth0: leased 192.168.1.110 for 86400 seconds
dhcpcd[7246]: eth0: renew in 43200 seconds, rebind in 75600 seconds
dhcpcd[7246]: eth0: IP address 192.168.1.110/24 already exists
dhcpcd[7246]: eth0: adding route to 192.168.1.0/24
dhcpcd[7246]: eth0: adding default route via 192.168.1.1
dhcpcd[7246]: eth0: writing lease `/var/tmp/dhcpcd-eth0.lease'
dhcpcd[7246]: eth0: executing `/usr/local/lib/dhcpcd/dhcpcd-run-hooks' BOUND
dhcpcd[7246]: forking to background
dhcpcd[7246]: forked to background, child pid 7279

$ cat /etc/resolv.conf
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line

$ ping -c1 google.com
PING google.com (173.194.113.227): 56 data bytes
64 bytes from 173.194.113.227: seq=0 ttl=52 time=126.545 ms

----------

$ sudo NetworkManager --no-daemon --log-level=DEBUG

NetworkManager[30842]: <info> NetworkManager (version 0.9.8.8) is starting...
NetworkManager[30842]: <info> Read config file /usr/local/etc/NetworkManager/nm-system-settings.conf
NetworkManager[30842]: <info> WEXT support is enabled
NetworkManager[30842]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use 
the NetworkManager mailing list.
NetworkManager[30842]:    keyfile: parsing Wired connection 1 ... 
NetworkManager[30842]:    keyfile:     read connection 'Wired connection 1'
NetworkManager[30842]: <debug> [1396713869.172302] [nm-modem-manager.c:376] modem_manager_disappeared(): 
trying to start the modem manager...
NetworkManager[30842]: <debug> [1396713869.172428] [nm-modem-manager.c:280] poke_modem_cb(): Requesting to 
(re)launch modem-manager...
NetworkManager[30842]: <info> monitoring kernel firmware directory '/lib/firmware'.
NetworkManager[30842]: <debug> [1396713869.172938] [nm-firewall-manager.c:248] nm_firewall_manager_init(): 
firewall is not running
NetworkManager[30842]: <info> WiFi hardware radio set enabled
NetworkManager[30842]: <debug> [1396713869.177240] [nm-policy-hosts.c:72] nm_policy_hosts_clean_etc_hosts(): 
couldn't read /usr/local/etc/hosts: (4) Failed to open file '/usr/local/etc/hosts': No such file or directory
NetworkManager[30842]: <info> WiFi enabled by radio killswitch; enabled by state file
NetworkManager[30842]: <info> WWAN enabled by radio killswitch; enabled by state file
NetworkManager[30842]: <info> WiMAX enabled by radio killswitch; enabled by state file
NetworkManager[30842]: <info> Networking is enabled by state file
NetworkManager[30842]: <warn> failed to allocate link cache: (-10) Operation not supported
NetworkManager[30842]: <debug> [1396713869.179832] [nm-device-ethernet.c:1607] 
supports_ethtool_carrier_detect(): ethtool is supported
NetworkManager[30842]: <debug> [1396713869.179970] [NetworkManagerUtils.c:684] 
nm_utils_get_proc_sys_net_value(): (eth0): error reading /proc/sys/net/ipv6/conf/eth0/accept_ra: (4) Failed 
to open file '/proc/sys/net/ipv6/conf/eth0/accept_ra': No such file or directory
NetworkManager[30842]: <debug> [1396713869.180089] [NetworkManagerUtils.c:684] 
nm_utils_get_proc_sys_net_value(): (eth0): error reading /proc/sys/net/ipv6/conf/eth0/use_tempaddr: (4) 
Failed to open file '/proc/sys/net/ipv6/conf/eth0/use_tempaddr': No such file or directory
NetworkManager[30842]: <debug> [1396713869.180145] [nm-device-wired.c:313] constructor(): (eth0): kernel 
ifindex 5
NetworkManager[30842]: <info> (eth0): carrier is ON
NetworkManager[30842]: <debug> [1396713869.180634] [nm-device-ethernet.c:260] constructor(): (eth0): kernel 
ifindex 5
NetworkManager[30842]: <debug> [1396713869.181342] [nm-device-ethernet.c:484] update_initial_hw_address(): 
(eth0): read initial MAC address 24:B6:FD:FA:E1:60
NetworkManager[30842]: <info> (eth0): new Ethernet device (driver: 'e1000e' ifindex: 5)
NetworkManager[30842]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
NetworkManager[30842]: <debug> [1396713869.181983] [nm-device.c:5314] nm_device_set_managed(): (eth0): now 
managed
NetworkManager[30842]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 
2]
NetworkManager[30842]: <info> (eth0): preparing device.
NetworkManager[30842]: <info> (eth0): deactivating device (reason 'managed') [2]
NetworkManager[30842]: <debug> [1396713869.182563] [nm-device-ethernet.c:383] _set_hw_addr(): (eth0): no MAC 
address change needed
NetworkManager[30842]: <debug> [1396713869.182782] [nm-system.c:1404] nm_system_iface_flush_routes(): (eth0): 
flushing routes ifindex 5 family INET (2)
NetworkManager[30842]: <debug> [1396713869.183250] [nm-netlink-utils.c:356] dump_route():   route idx 5 
family INET (2) addr 0.0.0.0/0
NetworkManager[30842]: <debug> [1396713869.183315] [nm-system.c:1368] delete_one_route():    deleting route
NetworkManager[30842]: <debug> [1396713869.183478] [nm-netlink-utils.c:356] dump_route():   route idx 1 
family INET (2) addr 127.0.0.1/32
NetworkManager[30842]: <debug> [1396713869.183501] [nm-netlink-utils.c:356] dump_route():   route idx 5 
family INET (2) addr 192.168.1.1/32
NetworkManager[30842]: <debug> [1396713869.183516] [nm-system.c:1368] delete_one_route():    deleting route
NetworkManager[30842]: <debug> [1396713869.183549] [nm-netlink-utils.c:356] dump_route():   route idx 1 
family INET (2) addr 127.0.0.0/32
NetworkManager[30842]: <debug> [1396713869.183566] [nm-netlink-utils.c:356] dump_route():   route idx 1 
family INET (2) addr 127.0.0.0/8
NetworkManager[30842]: <debug> [1396713869.183584] [nm-netlink-utils.c:356] dump_route():   route idx 1 
family INET (2) addr 127.0.0.1/32
NetworkManager[30842]: <debug> [1396713869.183603] [nm-netlink-utils.c:356] dump_route():   route idx 1 
family INET (2) addr 127.255.255.255/32
NetworkManager[30842]: <debug> [1396713869.183748] [nm-system.c:194] sync_addresses(): (eth0): syncing 
addresses (family 2)
NetworkManager[30842]: <debug> [1396713869.183896] [nm-device.c:5142] nm_device_state_changed(): (eth0): 
device is available, will transition to DISCONNECTED
NetworkManager[30842]: <debug> [1396713869.183920] [nm-device.c:5253] nm_device_queue_state(): (eth0): queued 
state change to disconnected (id 27)
NetworkManager[30842]: <debug> [1396713869.184000] [nm-manager.c:1381] system_create_virtual_devices(): 
creating virtual devices...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/dummy0: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/ip_vti0: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/tunl0: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/dummy0: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/ip_vti0: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
NetworkManager[30842]: <warn> /sys/devices/virtual/net/tunl0: couldn't determine device driver; ignoring...
NetworkManager[30842]: <debug> [1396713869.185084] [nm-manager.c:1381] system_create_virtual_devices(): 
creating virtual devices...
NetworkManager[30842]: <debug> [1396713869.185113] [main.c:611] main(): setting up local loopback
NetworkManager[30842]: <warn> bluez error getting default adapter: Launch helper exited with unknown return 
code 1
NetworkManager[30842]: <debug> [1396713869.185873] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 1 flags 0x10049
NetworkManager[30842]: <debug> [1396713869.185899] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 2 flags 0x82
NetworkManager[30842]: <debug> [1396713869.185918] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 3 flags 0x80
NetworkManager[30842]: <debug> [1396713869.185936] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 4 flags 0x80
NetworkManager[30842]: <debug> [1396713869.185955] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 5 flags 0x11043
NetworkManager[30842]: <debug> [1396713869.185994] [nm-device-wired.c:120] set_speed(): (eth0): speed is now 
1000 Mb/s
NetworkManager[30842]: <debug> [1396713869.186343] [nm-device.c:5211] queued_set_state(): (eth0): running 
queued state change to disconnected (id 27)
NetworkManager[30842]: <info> (eth0): device state change: unavailable -> disconnected (reason 'none') [20 30 
0]
NetworkManager[30842]: <info> Auto-activating connection 'Wired connection 1'.
NetworkManager[30842]: <info> Activation (eth0) starting connection 'Wired connection 1'
NetworkManager[30842]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
NetworkManager[30842]: <info> NetworkManager state is now CONNECTING
NetworkManager[30842]: <debug> [1396713869.187499] [nm-manager.c:4088] policy_activating_device_changed(): 
ActivatingConnection now Wired connection 1
NetworkManager[30842]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager[30842]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
NetworkManager[30842]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager[30842]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
NetworkManager[30842]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
NetworkManager[30842]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
NetworkManager[30842]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
NetworkManager[30842]: <debug> [1396713869.188101] [nm-device.c:3066] 
nm_device_activate_schedule_stage3_ip_config_start(): Activation (eth0) setting firewall zone 'default'
NetworkManager[30842]: <debug> [1396713869.188119] [nm-firewall-manager.c:107] 
nm_firewall_manager_add_or_change_zone(): (eth0) firewall zone add/change skipped (not running)
NetworkManager[30842]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager[30842]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
NetworkManager[30842]: <info> ModemManager available in the bus
NetworkManager[30842]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager[30842]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
NetworkManager[30842]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
NetworkManager[30842]: <debug> [1396713869.188670] [nm-dhcp-dhcpcd.c:152] ip4_start(): running: 
/usr/local/sbin/dhcpcd -B -K -L -G -c /usr/local/lib/NetworkManager/nm-dhcp-client.action eth0
NetworkManager[30842]: <info> dhcpcd started with pid 30849
NetworkManager[30842]: <debug> [1396713869.189526] [NetworkManagerUtils.c:684] 
nm_utils_get_proc_sys_net_value(): (eth0): error reading /proc/sys/net/ipv6/conf/eth0/accept_ra: (4) Failed 
to open file '/proc/sys/net/ipv6/conf/eth0/accept_ra': No such file or directory
NetworkManager[30842]: <debug> [1396713869.189564] [NetworkManagerUtils.c:684] 
nm_utils_get_proc_sys_net_value(): (eth0): error reading /proc/sys/net/ipv6/conf/eth0/use_tempaddr: (4) 
Failed to open file '/proc/sys/net/ipv6/conf/eth0/use_tempaddr': No such file or directory
NetworkManager[30842]: <debug> [1396713869.189778] [NetworkManagerUtils.c:684] 
nm_utils_get_proc_sys_net_value(): (eth0): error reading /proc/sys/net/ipv6/conf/eth0/disable_ipv6: (4) 
Failed to open file '/proc/sys/net/ipv6/conf/eth0/disable_ipv6': No such file or directory
NetworkManager[30842]: nm_utils_do_sysctl: assertion 'path != NULL' failed
NetworkManager[30842]: <info> Activation (eth0) Beginning IP6 addrconf.
NetworkManager[30842]: <debug> [1396713869.189896] [nm-ip6-manager.c:807] nm_ip6_device_sync_from_netlink(): 
(eth0): syncing with netlink (ra_flags 0x0) (state/target 'unconfigured'/'got-link-local')
NetworkManager[30842]: <debug> [1396713869.189913] [nm-ip6-manager.c:743] check_ra_flags(): (eth0): router 
advertisement checked (state unconfigured)
NetworkManager[30842]: <debug> [1396713869.189933] [nm-ip6-manager.c:719] check_addresses(): (eth0): 
addresses checked (state unconfigured)
NetworkManager[30842]: <debug> [1396713869.189947] [nm-ip6-manager.c:798] check_addrconf_complete(): (eth0): 
dhcp_opts checked (state unconfigured)
NetworkManager[30842]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
NetworkManager[30842]: <debug> [1396713869.190035] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
NetworkManager[30842]: <debug> [1396713869.190059] [nm-ip6-manager.c:1295] process_newlink(): ignoring 
netlink message family 0
NetworkManager[30842]: <debug> [1396713869.190094] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 1 flags 0x10049
NetworkManager[30842]: <debug> [1396713869.190120] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
NetworkManager[30842]: <debug> [1396713869.190135] [nm-ip6-manager.c:1295] process_newlink(): ignoring 
netlink message family 0
NetworkManager[30842]: <debug> [1396713869.190159] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 2 flags 0x82
NetworkManager[30842]: <debug> [1396713869.190178] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
NetworkManager[30842]: <debug> [1396713869.190193] [nm-ip6-manager.c:1295] process_newlink(): ignoring 
netlink message family 0
NetworkManager[30842]: <debug> [1396713869.190212] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 3 flags 0x80
NetworkManager[30842]: <debug> [1396713869.190231] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
NetworkManager[30842]: <debug> [1396713869.190246] [nm-ip6-manager.c:1295] process_newlink(): ignoring 
netlink message family 0
NetworkManager[30842]: <debug> [1396713869.190265] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 4 flags 0x80
NetworkManager[30842]: <debug> [1396713869.190284] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
NetworkManager[30842]: <debug> [1396713869.190299] [nm-ip6-manager.c:1295] process_newlink(): ignoring 
netlink message family 0
NetworkManager[30842]: <debug> [1396713869.190317] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 5 flags 0x11043
dhcpcd[30849]: dhcpcd already running on pid 30823 (/var/run/dhcpcd-eth0.pid)
NetworkManager[30842]: <info> (eth0): DHCPv4 client pid 30849 exited with status 1
NetworkManager[30842]: <debug> [1396713869.190582] [nm-device.c:1945] dhcp4_state_changed(): (eth0): new 
DHCPv4 client state 23
NetworkManager[30842]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
NetworkManager[30842]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
NetworkManager[30842]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
NetworkManager[30842]: <debug> [1396713870.889741] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
NetworkManager[30842]: <debug> [1396713870.889864] [nm-ip6-manager.c:1295] process_newlink(): ignoring 
netlink message family 0
NetworkManager[30842]: <debug> [1396713870.889968] [nm-netlink-monitor.c:164] link_msg_handler(): netlink 
link message: iface idx 1 flags 0x10049
NetworkManager[30842]: <debug> [1396713870.890101] [nm-ip6-manager.c:1334] netlink_notification(): netlink 
event type 16
Etc, etc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]