RE: networkmanager-0.9.8.9 will not connect to a wired network



On Tue, 2014-04-22 at 10:05 +0000, John Frankish wrote:
I compiled networkmanager-0.9.8.9 from source to /usr/local to use dhcpcd (also compiled from source).

Since networkmanager configured as above looks for /usr/local/etc/hosts, I adjusted the source to look 
at /etc/hosts (it already knew to look for /etc/resolv.conf).

Run from the console, neworkmanager looks as though it connects to an ipv4 wired network (I've tried 
two different networks), modifies /etc/resolv.conf accordingly, but it does not actually connect -I 
cannot ping the router nor google.com.

Dhcpcd run alone from the console connects without problems.

This is the same problem I experienced using networkmanager-0.9.8.8 reported in another thread.

I've attached the networkmanager debug output and the strace output, but neither seem to give a clue as 
to the problem - I believe that either networkmanager is trying to write something to /usr/local/etc 
that is in /etc (or vice versa) or there is some kind of linux-pam/polkit permissions error, but I 
cannot see evidence of either in the debug output.

From the debug snippet below things look to have worked, but they didn't - any troubleshooting hints 
would be gratefully received.

The x.x.x.x/0 bits are likely the problem.  Let's investigate why
that's happening especially since NetworkManager says it got the right
prefix from dhcpcd.

Would you mind applying the attached patch to your sources?  Then
re-run the test and reply with the output so we can debug a bit further.

One more thing, when things aren't working, can you provide the output
of:

ip addr
ip route

Thanks for the reply and the patch

The patch applied cleanly, but unfortunately things still do not work - debug output attached.

My system does not have the "ip" command, but the "route" command produces the following:

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.180.20.1     0.0.0.0         UG    0      0        0 eth0
10.180.20.1     *               255.255.255.255 UH    0      0        0 eth0
127.0.0.1       *               255.255.255.255 UH    0      0        0 lo

Shouldn't that be 255.255.255.0?

Regards
John

Attachment: networkmanager_log_1.tar.gz
Description: networkmanager_log_1.tar.gz



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