You are not logged in.

#1 2014-09-06 11:21:48

i_love_penguins
Member
From: Germany
Registered: 2010-03-30
Posts: 46
Website

[SOLVED] connman - Wifi only obtains link-local address

Hi there,

I'm trying to figure out how to get a proper wifi link using connman. I followed the wiki and set up a connection. However when connecting to my network, "connmanctl state" reports only "ready" and not "online" like it is the case for my wired connection. My "ip a" output after connecting is the following:

1: lo: ...
2: enp9s0: ...
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 8c:a9:82:70:5a:10 brd ff:ff:ff:ff:ff:ff
    inet 169.254.37.199/16 brd 169.254.255.255 scope global wlp3s0
       valid_lft forever preferred_lft forever

So it seems wlp3s0 only got a link-local address (at least that's what I think it is smile)

Is this some known problem? Googling didn't bring up any helpful solution. Maybe someone can hint me at the right direction?

I also attached the output of journalctl when connecting:

Sep 06 13:18:23 luxbox kernel: iwlwifi 0000:03:00.0: L1 Enabled; Disabling L0S
Sep 06 13:18:23 luxbox kernel: iwlwifi 0000:03:00.0: Radio type=0x0-0x0-0x3
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {update} flags 4099 <UP>
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {newlink} index 3 address 8C:A9:82:70:5A:10 mtu 1500
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {RX} 273 packets 29963 bytes
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {newlink} index 3 operstate 2 <DOWN>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {TX} 106 packets 31300 bytes
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {update} flags 4099 <UP>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {newlink} index 3 address 8C:A9:82:70:5A:10 mtu 1500
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {newlink} index 3 operstate 2 <DOWN>
Sep 06 13:18:23 luxbox kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Sep 06 13:18:23 luxbox kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
Sep 06 13:18:23 luxbox connmand[1062]: Skipping disconnect of 6c625f776972656c65737332_managed_psk, network is connecting.
Sep 06 13:18:23 luxbox kernel: wlp3s0: authenticate with fc:75:16:7a:b7:27
Sep 06 13:18:23 luxbox kernel: wlp3s0: send auth to fc:75:16:7a:b7:27 (try 1/3)
Sep 06 13:18:23 luxbox kernel: wlp3s0: authenticated
Sep 06 13:18:23 luxbox kernel: wlp3s0: associate with fc:75:16:7a:b7:27 (try 1/3)
Sep 06 13:18:23 luxbox kernel: wlp3s0: RX AssocResp from fc:75:16:7a:b7:27 (capab=0x431 status=0 aid=2)
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {update} flags 69635 <UP,LOWER_UP>
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {newlink} index 3 address 8C:A9:82:70:5A:10 mtu 1500
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {newlink} index 3 operstate 5 <DORMANT>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {RX} 273 packets 29963 bytes
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {TX} 106 packets 31300 bytes
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {update} flags 69635 <UP,LOWER_UP>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {newlink} index 3 address 8C:A9:82:70:5A:10 mtu 1500
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {newlink} index 3 operstate 5 <DORMANT>
Sep 06 13:18:23 luxbox kernel: wlp3s0: associated
Sep 06 13:18:23 luxbox kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Sep 06 13:18:23 luxbox kernel: cfg80211: Calling CRDA to update world regulatory domain
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {RX} 275 packets 30245 bytes
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {TX} 108 packets 31588 bytes
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {newlink} index 3 address 8C:A9:82:70:5A:10 mtu 1500
Sep 06 13:18:23 luxbox connman-vpnd[282]: wlp3s0 {newlink} index 3 operstate 6 <UP>
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {newlink} index 3 address 8C:A9:82:70:5A:10 mtu 1500
Sep 06 13:18:23 luxbox connmand[1062]: wlp3s0 {newlink} index 3 operstate 6 <UP>
Sep 06 13:18:49 luxbox connmand[1062]: wlp3s0 {add} address 169.254.37.199/16 label wlp3s0 family 2
Sep 06 13:18:49 luxbox connmand[1062]: wlp3s0 {add} route 169.254.0.0 gw 0.0.0.0 scope 253 <LINK>
Sep 06 13:18:49 luxbox connmand[1062]: wlp3s0 {add} route 0.0.0.0 gw 0.0.0.0 scope 253 <LINK>
Sep 06 13:18:49 luxbox connmand[1062]: wlp3s0 {del} route fe80:: gw :: scope 0 <UNIVERSE>

Last edited by i_love_penguins (2014-09-06 14:16:09)

Offline

#2 2014-09-06 14:14:57

i_love_penguins
Member
From: Germany
Registered: 2010-03-30
Posts: 46
Website

Re: [SOLVED] connman - Wifi only obtains link-local address

I figured it out myself. It wasn't an issue with connman but with my router (Fritz Box). Somehow it wasn't able to assign me a correct IP address via DHCP. I removed the MAC address of my laptop from the known devices in the router interface and after that it worked.

Offline

Board footer

Powered by FluxBB