You are not logged in.

#1 2012-03-12 06:29:00

bananushka
Member
Registered: 2012-03-12
Posts: 1

No network - dhcpcd only tries ipv6

Recently I started having network problems with my lan. It seems that dhcpcd only tries getting ipv6 addresses and not ipv4, and I have no idea how to tell it to try also ipv4.
That's my dhcpcd output:
[root@arch-lap ~]# dhcpcd -B eth0
dhcpcd[2515]: open_control: Connection refused
dhcpcd[2515]: version 5.5.4 starting
dhcpcd[2515]: eth0: sending IPv6 Router Solicitation
dhcpcd[2515]: eth0: sendmsg: Network is unreachable
dhcpcd[2515]: eth0: broadcasting for a lease
dhcpcd[2515]: eth0: carrier lost
dhcpcd[2515]: eth0: carrier acquired
dhcpcd[2515]: eth0: sending IPv6 Router Solicitation
dhcpcd[2515]: eth0: sendmsg: Network is unreachable
dhcpcd[2515]: eth0: broadcasting for a lease
dhcpcd[2515]: eth0: carrier lost
dhcpcd[2515]: eth0: carrier acquired
dhcpcd[2515]: eth0: sending IPv6 Router Solicitation
dhcpcd[2515]: eth0: sendmsg: Network is unreachable
dhcpcd[2515]: eth0: broadcasting for a lease

And my ifconfig:
[root@arch-lap ~]# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500  metric 1
        ether 00:24:21:62:d5:d3  txqueuelen 1000  (Ethernet)
        RX packets 1  bytes 60 (60.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 50  bytes 18400 (17.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 44  base 0xa000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 616  bytes 48458 (47.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 616  bytes 48458 (47.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 192.168.0.37  netmask 255.255.240.0  broadcast 192.168.15.255
        ether 00:22:43:8f:76:9f  txqueuelen 1000  (Ethernet)
        RX packets 12278  bytes 2600043 (2.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1401  bytes 303438 (296.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Thanks in advance!

Offline

#2 2012-03-12 07:14:44

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: No network - dhcpcd only tries ipv6

The "eth0: sending IPv6 Router Solicitation" message just means that it's also trying to discover ipv6 routers on the link; not that it's only using ipv6.

Would it be possible to try dhclient instead and see what you get as a results with that?


Burninate!

Offline

Board footer

Powered by FluxBB