Send connman mailing list submissions to connman@lists.01.org To subscribe or unsubscribe via email, send a message with subject or body 'help' to connman-requ...@lists.01.org
You can reach the person managing the list at connman-ow...@lists.01.org When replying, please edit your Subject line so it is more specific than "Re: Contents of connman digest..." Today's Topics: 1. Re: [PATCH v1 00/11] Set IPv6 default route (KeithG) ---------------------------------------------------------------------- Date: Sat, 5 Dec 2020 17:20:10 -0600 From: KeithG <ys3al...@gmail.com> Subject: Re: [PATCH v1 00/11] Set IPv6 default route To: Daniel Wagner <w...@monom.org> Cc: connman@lists.01.org Message-ID: <CAG17S_NMuJo=8hhvoqu_gaznyflx2ie82hzxsx4juuimpmz...@mail.gmail.com> Content-Type: multipart/alternative; boundary="000000000000c611e005b5bfd66f" --000000000000c611e005b5bfd66f Content-Type: text/plain; charset="UTF-8" On Sat, Dec 5, 2020 at 1:51 PM Daniel Wagner <w...@monom.org> wrote: > On Mon, Nov 30, 2020 at 08:53:43AM -0600, KeithG wrote: > > wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > > inet 192.168.2.41 netmask 255.255.255.0 broadcast 192.168.2.255 > > inet6 fe80::baxx:xxff:fexx:xxxx prefixlen 64 scopeid 0x20<link> > > inet6 fd21:98c8:1d28::41 prefixlen 64 scopeid 0x0<global> > > ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet) > > RX packets 1829657 bytes 1300456206 (1.2 GiB) > > RX errors 0 dropped 0 overruns 0 frame 0 > > TX packets 551148 bytes 102806417 (98.0 MiB) > > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > > > It used to also grab 2 other ipv6 addresses, one with the 'Delegated > > Prefix' I get from my ISP and another with the fd21:xx that it no longer > > shows. > > The problem could be that the M and O flag are not set in the RA. As > there are no DHCPv6 log entries in the other mail, that is quiet likely > the case. > > ConnMan does not yet support where the M and O flag are not set. I could > verify this locally. Yay, we love complex protocols! > Daniel, I appreciate the work on this. Something is strange, though. I just built connman to the HEAD which is "b0711230" I just tried a router reboot and nothing reconnects, now. I was able to see it try then fail. If I restart connman. no reconnect If I restart iwd then connman no reconnect. I used to be able to make it reconnect if I took the network down than back up (ifconfig wlan0 down; ifconfig wlan0 up), but that also does not work from this state. If I try to reconnect via connmanctl, it says 'Not registered' though when I ask for services, the SSID is listed with "*A" in front of it. If I peruse the journal, it connects, adds all the addresses then disconnects: Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {add} route fe80:: gw :: scope 0 <UNIVERSE> Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {RX} 2686 packets 425253 bytes Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {TX} 1013 packets 216893 bytes Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {update} flags 69699 <UP,RUNNING,LOWER_UP> Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {newlink} index 3 address B8:27:xx:xx:xx:xx mtu 1500 Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {newlink} index 3 operstate 6 <UP> Dec 05 16:40:50 rune64 connmand[9763]: wlan0 {add} route 2600:1700:4320:6caf:: gw :: scope 0 <UNIVERSE> Dec 05 16:40:50 rune64 connmand[9763]: wlan0 {add} route fd21:98c8:1d28:: gw :: scope 0 <UNIVERSE> Dec 05 16:40:52 rune64 connmand[9763]: wlan0 {add} address 2600:1700:4320:6caf:baxx:xxff:fexx:xxxx/64 label (null) family 10 Dec 05 16:40:52 rune64 connmand[9763]: Failed to find URL: http://ipv6.connman.net/online/status.html Dec 05 16:40:52 rune64 connmand[9763]: wlan0 {add} address fd21:98c8:1d28:0:baxx:xxff:fexx:xxxx/64 label (null) family 10 Dec 05 16:40:52 rune64 connmand[9763]: Failed to find URL: http://ipv6.connman.net/online/status.html Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {RX} 2705 packets 426956 bytes Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {TX} 1050 packets 225681 bytes Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {update} flags 4099 <UP> Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {newlink} index 3 address xx:xx:xx:xx:xx:xx mtu 1500 Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {newlink} index 3 operstate 2 <DOWN> Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} route 2600:1700:4320:6caf:: gw :: scope 0 <UNIVERSE> Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} route fd21:98c8:1d28:: gw :: scope 0 <UNIVERSE> Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} route fe80:: gw :: scope 0 <UNIVERSE> Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} address fd21:98c8:1d28:0:baxx:xxff:fexx:xxxx/64 label (null) Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} address 2600:1700:4320:6caf:baxx:xxff:fexx:xxxx/64 label (null) Dec 05 16:41:29 rune64 connmand[9763]: wlan0 {RX} 2705 packets 426956 bytes Dec 05 16:41:29 rune64 connmand[9763]: wlan0 {TX} 1050 packets 225681 bytes If I reboot, it connects with all the addresses and works fine. Is there a line in the *.config that I need to have set so it reconnects properly? Right now, I have a coinfig set up like this and it connects at boot: [global] Description=DHCP PSK Wi-Fi network configuration for network (SSID) "mySSID", with SSID hex value "mySSID_HexValue" [service_mySSID_HexValue] Type=wifi SSID=mySSID_HexValue Security=psk Passphrase=password Hidden=false Are there specific settings in /etc/connman/main.conf that I need to set? --000000000000c611e005b5bfd66f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Sat, Dec 5, 2020 at 1:51 PM Daniel= Wagner <<a href=3D"mailto:w...@monom.org">w...@monom.org</a>> wrote:= <br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8= ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Nov 30,= 2020 at 08:53:43AM -0600, KeithG wrote:<br> > wlan0: flags=3D4163<UP,BROADCAST,RUNNING,MULTICAST>=C2=A0 mtu 15= 00<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.2.41=C2=A0 netmask 255.2= 55.255.0=C2=A0 broadcast 192.168.2.255<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0inet6 fe80::baxx:xxff:fexx:xxxx=C2=A0= prefixlen 64=C2=A0 scopeid 0x20<link><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0inet6 fd21:98c8:1d28::41=C2=A0 prefix= len 64=C2=A0 scopeid 0x0<global><br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ether xx:xx:xx:xx:xx:xx=C2=A0 txqueue= len 1000=C2=A0 (Ethernet)<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RX packets 1829657=C2=A0 bytes 130045= 6206 (1.2 GiB)<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0RX errors 0=C2=A0 dropped 0=C2=A0 ove= rruns 0=C2=A0 frame 0<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TX packets 551148=C2=A0 bytes 1028064= 17 (98.0 MiB)<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0TX errors 0=C2=A0 dropped 0 overruns = 0=C2=A0 carrier 0=C2=A0 collisions 0<br> > <br> > It used to also grab 2 other ipv6 addresses, one with the 'Delegat= ed<br> > Prefix' I get from my ISP and another with the fd21:xx=C2=A0 that = it no longer<br> > shows.<br> <br> The problem could be that the M and O flag are not set in the RA. As<br> there are no DHCPv6 log entries in the other mail, that is quiet likely<br> the case.<br> <br> ConnMan does not yet support where the M and O flag are not set. I could<br= > verify this locally. Yay, we love complex protocols!<br></blockquote><div><= br></div><div>Daniel,</div><div><br></div><div>I appreciate the work on thi= s. Something is strange, though. I just built connman to the HEAD which is = "b0711230"</div><div>I just tried a router reboot and nothing rec= onnects, now. I was able to see it try then fail.</div><div>If I restart co= nnman. no reconnect</div><div>If I restart iwd then connman no reconnect. <= br></div><div>I used to be able to make it reconnect if I took the network = down than back up (ifconfig wlan0 down; ifconfig wlan0 up), but that also d= oes not work from this state.<br></div><div>If I try to reconnect via connm= anctl, it says 'Not registered'=C2=A0 though when I ask for service= s, the SSID is listed with "*A" in front of it. <br></div><div><b= r></div><div>If I peruse the journal, it connects, adds all the addresses t= hen disconnects:</div><div><br></div><div>Dec 05 16:40:48 rune64 connmand[9= 763]: wlan0 {add} route fe80:: gw :: scope 0 <UNIVERSE><br>Dec 05 16:= 40:48 rune64 connmand[9763]: wlan0 {RX} 2686 packets 425253 bytes<br>Dec 05= 16:40:48 rune64 connmand[9763]: wlan0 {TX} 1013 packets 216893 bytes<br>De= c 05 16:40:48 rune64 connmand[9763]: wlan0 {update} flags 69699 <UP,RUNN= ING,LOWER_UP><br>Dec 05 16:40:48 rune64 connmand[9763]: wlan0 {newlink} = index 3 address B8:27:xx:xx:xx:xx mtu 1500<br>Dec 05 16:40:48 rune64 connma= nd[9763]: wlan0 {newlink} index 3 operstate 6 <UP><br>Dec 05 16:40:50= rune64 connmand[9763]: wlan0 {add} route 2600:1700:4320:6caf:: gw :: scope= 0 <UNIVERSE><br>Dec 05 16:40:50 rune64 connmand[9763]: wlan0 {add} r= oute fd21:98c8:1d28:: gw :: scope 0 <UNIVERSE><br>Dec 05 16:40:52 run= e64 connmand[9763]: wlan0 {add} address 2600:1700:4320:6caf:baxx:xxff:fexx:= xxxx/64 label (null) family 10<br>Dec 05 16:40:52 rune64 connmand[9763]: Fa= iled to find URL:<a href=3D"http://ipv6.connman.net/online/status.html">htt= p://ipv6.connman.net/online/status.html</a><br>Dec 05 16:40:52 rune64 connm= and[9763]: wlan0 {add} address fd21:98c8:1d28:0:baxx:xxff:fexx:xxxx/64 labe= l (null) family 10<br>Dec 05 16:40:52 rune64 connmand[9763]: Failed to find= URL:<a href=3D"http://ipv6.connman.net/online/status.html">http://ipv6.con= nman.net/online/status.html</a><br>Dec 05 16:40:53 rune64 connmand[9763]: w= lan0 {RX} 2705 packets 426956 bytes<br>Dec 05 16:40:53 rune64 connmand[9763= ]: wlan0 {TX} 1050 packets 225681 bytes<br>Dec 05 16:40:53 rune64 connmand[= 9763]: wlan0 {update} flags 4099 <UP><br>Dec 05 16:40:53 rune64 connm= and[9763]: wlan0 {newlink} index 3 address xx:xx:xx:xx:xx:xx mtu 1500<br>De= c 05 16:40:53 rune64 connmand[9763]: wlan0 {newlink} index 3 operstate 2 &l= t;DOWN><br>Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} route 2600= :1700:4320:6caf:: gw :: scope 0 <UNIVERSE><br>Dec 05 16:40:53 rune64 = connmand[9763]: wlan0 {del} route fd21:98c8:1d28:: gw :: scope 0 <UNIVER= SE><br>Dec 05 16:40:53 rune64 connmand[9763]: wlan0 {del} route fe80:: g= w :: scope 0 <UNIVERSE><br>Dec 05 16:40:53 rune64 connmand[9763]: wla= n0 {del} address fd21:98c8:1d28:0:baxx:xxff:fexx:xxxx/64 label (null)<br>De= c 05 16:40:53 rune64 connmand[9763]: wlan0 {del} address 2600:1700:4320:6ca= f:baxx:xxff:fexx:xxxx/64 label (null)<br>Dec 05 16:41:29 rune64 connmand[97= 63]: wlan0 {RX} 2705 packets 426956 bytes<br>Dec 05 16:41:29 rune64 connman= d[9763]: wlan0 {TX} 1050 packets 225681 bytes</div><div><br></div><div>If I= reboot, it connects with all the addresses and works fine. Is there a line= in the *.config that I need to have set so it reconnects properly?</div><d= iv><br></div><div>Right now, I have a coinfig set up like this and it conne= cts at boot:</div><div><br></div><div>[global]<br>Description=3DDHCP PSK Wi= -Fi network configuration for network (SSID) "mySSID", with SSID = hex value "mySSID_HexValue"<br>[service_mySSID_HexValue]<br>Type= =3Dwifi<br>SSID=3DmySSID_HexValue<br>Security=3Dpsk<br>Passphrase=3Dpasswor= d<br>Hidden=3Dfalse</div><div><br></div><div>Are there specific settings in= /etc/connman/main.conf that I need to set?<br></div></div></div> --000000000000c611e005b5bfd66f-- ------------------------------ Subject: Digest Footer _______________________________________________ connman mailing list -- connman@lists.01.org To unsubscribe send an email to connman-le...@lists.01.org ------------------------------ End of connman Digest, Vol 62, Issue 6 **************************************