Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Wifi Tethering (KeithG)
2. Re: Wifi Tethering (Daniel Wagner)
----------------------------------------------------------------------
Date: Thu, 23 Apr 2020 19:39:42 -0500
From: KeithG <[email protected]>
Subject: Wifi Tethering
To: [email protected]
Message-ID:
<CAG17S_PPbp0hM_DQ13GqGdP3-jihwcDnAjZVV1s08=kxw3s...@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="00000000000087e99a05a3fe9aa6"
--00000000000087e99a05a3fe9aa6
Content-Type: text/plain; charset="UTF-8"
I cannot get this to work. The instructions are sketchy, but this is what I
did:
Made sure hostapd dwas not running. Made sure dnsmasq was not running.
Disconnected any wifi ssid in connman. Deleted any configs in
/var/lib/connman. Disabled wifi, Made sure that connman was not being
started with '-dnsnoproxy'. Enabled wifi tethering then issued the command
'connmanctl tether wifi on myssid password'.
I get this:
# connmanctl tether wifi on myssid password
Wifi SSID set
Wifi passphrase set
Enabled tethering for wifi
# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP group default qlen 1000
link/ether a0:ce:c8:12:ed:05 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.25/24 brd 192.168.2.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::a2ce:c8ff:fe12:ed05/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
fq_codel master tether state DORMANT group default qlen 1000
link/ether b8:27:eb:28:18:48 brd ff:ff:ff:ff:ff:ff
4: tether: <NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc
noqueue state DOWN group default qlen 1000
link/ether 9a:69:3a:48:c1:32 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.1/24 brd 192.168.0.255 scope global tether
valid_lft forever preferred_lft forever
inet6 fe80::c20:1dff:fe0a:815c/64 scope link
valid_lft forever preferred_lft forever
When I do so, I can see that tether is listed as an ip addr. I can see it
being advertised. When I try to connect, though, I get some error and it
will not connect. On Windows, it is 'Can't connect to this network'. On my
phone (android) it is:'Authentication Problem'. The journal on the RPi I am
running this on shows a core dump:
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {RX} 634 packets 49131 bytes
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {TX} 279 packets 44452 bytes
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 address
B8:27:EB:28:18:48 mtu 1500
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 operstate
5 <DORMANT>
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {RX} 634 packets 49131 bytes
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {TX} 279 packets 44452 bytes
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 address
B8:27:EB:28:18:48 mtu 1500
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 operstate
5 <DORMANT>
Apr 23 13:32:58 runeaudio connmand[1647]: tether {RX} 0 packets 0 bytes
Apr 23 13:32:58 runeaudio connmand[1647]: tether {TX} 6 packets 1142 bytes
Apr 23 13:32:58 runeaudio connmand[1647]: tether {newlink} index 4 address
9A:69:3A:48:C1:32 mtu 1500
Apr 23 13:32:58 runeaudio connmand[1647]: tether {newlink} index 4
operstate 0 <UNKNOWN>
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 address
B8:27:EB:28:18:48 mtu 1500
Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 operstate
5 <DORMANT>
Apr 23 13:32:58 runeaudio systemd[1]: Created slice
system-systemd\x2dcoredump.slice.
Apr 23 13:32:58 runeaudio systemd[1]: Started Process Core Dump (PID
1668/UID 0).
Apr 23 13:32:59 runeaudio connmand[1647]: tether {RX} 0 packets 0 bytes
Apr 23 13:32:59 runeaudio connmand[1647]: tether {TX} 12 packets 2970 bytes
Apr 23 13:32:59 runeaudio connmand[1647]: tether {update} flags 36867 <UP>
Apr 23 13:32:59 runeaudio connmand[1647]: tether {newlink} index 4 address
9A:69:3A:48:C1:32 mtu 1500
Apr 23 13:32:59 runeaudio connmand[1647]: tether {newlink} index 4
operstate 2 <DOWN>
Apr 23 13:32:59 runeaudio connman-vpnd[278]: tether {update} flags 36867
<UP>
Apr 23 13:32:59 runeaudio connman-vpnd[278]: tether {newlink} index 4
address 9A:69:3A:48:C1:32 mtu 1500
Apr 23 13:32:59 runeaudio connman-vpnd[278]: tether {newlink} index 4
operstate 2 <DOWN>
Apr 23 13:33:00 runeaudio avahi-daemon[212]: Registering new address record
for fe80::c20:1dff:fe0a:815c on tether.*.
Apr 23 13:33:00 runeaudio systemd-udevd[175]: Worker [1666] terminated by
signal 11 (SEGV)
Apr 23 13:33:00 runeaudio systemd-udevd[175]: tether: Worker [1666] failed
Apr 23 13:33:00 runeaudio systemd-coredump[1672]: Process 1666
(systemd-udevd) of user 0 dumped core.
Stack trace of thread
1666:
#0 0x0000000000472c84
n/a (systemd-udevd + 0x30c84)
Apr 23 13:33:00 runeaudio systemd[1]: [email protected]:
Succeeded.
Apr 23 13:33:24 runeaudio systemd[1]: Starting Cleanup of Temporary
Directories...
Apr 23 13:33:24 runeaudio systemd[1]: systemd-tmpfiles-clean.service:
Succeeded.
Apr 23 13:33:24 runeaudio systemd[1]: Finished Cleanup of Temporary
Directories.
Any help?
Regards,
Keith
--00000000000087e99a05a3fe9aa6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>I cannot get this to work. The instructions are sketc=
hy, but this is what I did:</div><div>Made sure hostapd dwas not running. M=
ade sure dnsmasq was not running. Disconnected any wifi ssid in connman. De=
leted any configs in /var/lib/connman. Disabled wifi, Made sure that connma=
n was not being started with '-dnsnoproxy'. Enabled wifi tethering =
then issued the command 'connmanctl tether wifi on myssid password'=
.</div><div><br></div><div>I get this:</div><div># connmanctl tether wifi o=
n myssid password<br>Wifi SSID set<br>Wifi passphrase set<br>Enabled tether=
ing for wifi<br># ip addr<br>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 =
qdisc noqueue state UNKNOWN group default qlen 1000<br>=C2=A0 =C2=A0 link/l=
oopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>=C2=A0 =C2=A0 inet <a hr=
ef=3D"http://127.0.0.1/8">127.0.0.1/8</a> scope host lo<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0valid_lft forever preferred_lft forever<br>=C2=A0 =C2=A0 inet6=
::1/128 scope host<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0valid_lft forever preferr=
ed_lft forever<br>2: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> =
mtu 1500 qdisc fq_codel state UP group default qlen 1000<br>=C2=A0 =C2=A0 l=
ink/ether a0:ce:c8:12:ed:05 brd ff:ff:ff:ff:ff:ff<br>=C2=A0 =C2=A0 inet <a =
href=3D"http://192.168.2.25/24">192.168.2.25/24</a> brd 192.168.2.255 scope=
global eth0<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0valid_lft forever preferred_lft =
forever<br>=C2=A0 =C2=A0 inet6 fe80::a2ce:c8ff:fe12:ed05/64 scope link<br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0valid_lft forever preferred_lft forever<br>3: wl=
an0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_c=
odel master tether state DORMANT group default qlen 1000<br>=C2=A0 =C2=A0 l=
ink/ether b8:27:eb:28:18:48 brd ff:ff:ff:ff:ff:ff<br>4: tether: <NO-CARR=
IER,BROADCAST,MULTICAST,DYNAMIC,UP> mtu 1500 qdisc noqueue state DOWN gr=
oup default qlen 1000<br>=C2=A0 =C2=A0 link/ether 9a:69:3a:48:c1:32 brd ff:=
ff:ff:ff:ff:ff<br>=C2=A0 =C2=A0 inet <a href=3D"http://192.168.0.1/24">192.=
168.0.1/24</a> brd 192.168.0.255 scope global tether<br>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0valid_lft forever preferred_lft forever<br>=C2=A0 =C2=A0 inet6 fe=
80::c20:1dff:fe0a:815c/64 scope link<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0valid_lf=
t forever preferred_lft forever<br></div><div><br></div><div>When I do so, =
I can see that tether is listed as an ip addr. I can see it being advertise=
d. When I try to connect, though, I get some error and it will not connect.=
On Windows, it is 'Can't connect to this network'. On my phone=
(android) it is:'Authentication Problem'. The journal on the RPi I=
am running this on shows a core dump:<br>Apr 23 13:32:58 runeaudio connman=
d[1647]: wlan0 {RX} 634 packets 49131 bytes<br>Apr 23 13:32:58 runeaudio co=
nnmand[1647]: wlan0 {TX} 279 packets 44452 bytes<br>Apr 23 13:32:58 runeaud=
io connmand[1647]: wlan0 {newlink} index 3 address B8:27:EB:28:18:48 mtu 15=
00<br>Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 ope=
rstate 5 <DORMANT><br>Apr 23 13:32:58 runeaudio connmand[1647]: wlan0=
{RX} 634 packets 49131 bytes<br>Apr 23 13:32:58 runeaudio connmand[1647]: =
wlan0 {TX} 279 packets 44452 bytes<br>Apr 23 13:32:58 runeaudio connmand[16=
47]: wlan0 {newlink} index 3 address B8:27:EB:28:18:48 mtu 1500<br>Apr 23 1=
3:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 operstate 5 <D=
ORMANT><br>Apr 23 13:32:58 runeaudio connmand[1647]: tether {RX} 0 packe=
ts 0 bytes<br>Apr 23 13:32:58 runeaudio connmand[1647]: tether {TX} 6 packe=
ts 1142 bytes<br>Apr 23 13:32:58 runeaudio connmand[1647]: tether {newlink}=
index 4 address 9A:69:3A:48:C1:32 mtu 1500<br>Apr 23 13:32:58 runeaudio co=
nnmand[1647]: tether {newlink} index 4 operstate 0 <UNKNOWN><br>Apr 2=
3 13:32:58 runeaudio connmand[1647]: wlan0 {newlink} index 3 address B8:27:=
EB:28:18:48 mtu 1500<br>Apr 23 13:32:58 runeaudio connmand[1647]: wlan0 {ne=
wlink} index 3 operstate 5 <DORMANT><br>Apr 23 13:32:58 runeaudio sys=
temd[1]: Created slice system-systemd\x2dcoredump.slice.<br>Apr 23 13:32:58=
runeaudio systemd[1]: Started Process Core Dump (PID 1668/UID 0).<br>Apr 2=
3 13:32:59 runeaudio connmand[1647]: tether {RX} 0 packets 0 bytes<br>Apr 2=
3 13:32:59 runeaudio connmand[1647]: tether {TX} 12 packets 2970 bytes<br>A=
pr 23 13:32:59 runeaudio connmand[1647]: tether {update} flags 36867 <UP=
><br>Apr 23 13:32:59 runeaudio connmand[1647]: tether {newlink} index 4 =
address 9A:69:3A:48:C1:32 mtu 1500<br>Apr 23 13:32:59 runeaudio connmand[16=
47]: tether {newlink} index 4 operstate 2 <DOWN><br>Apr 23 13:32:59 r=
uneaudio connman-vpnd[278]: tether {update} flags 36867 <UP><br>Apr 2=
3 13:32:59 runeaudio connman-vpnd[278]: tether {newlink} index 4 address 9A=
:69:3A:48:C1:32 mtu 1500<br>Apr 23 13:32:59 runeaudio connman-vpnd[278]: te=
ther {newlink} index 4 operstate 2 <DOWN><br>Apr 23 13:33:00 runeaudi=
o avahi-daemon[212]: Registering new address record for fe80::c20:1dff:fe0a=
:815c on tether.*.<br>Apr 23 13:33:00 runeaudio systemd-udevd[175]: Worker =
[1666] terminated by signal 11 (SEGV)<br>Apr 23 13:33:00 runeaudio systemd-=
udevd[175]: tether: Worker [1666] failed<br>Apr 23 13:33:00 runeaudio syste=
md-coredump[1672]: Process 1666 (systemd-udevd) of user 0 dumped core.<br><=
br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Stack trace of thread 1666:<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 #0 =C2=A00x0000000000472c84 n/a (systemd-udevd + 0x30c84)=
<br>Apr 23 13:33:00 runeaudio systemd[1]: [email protected]=
: Succeeded.<br>Apr 23 13:33:24 runeaudio systemd[1]: Starting Cleanup of T=
emporary Directories...<br>Apr 23 13:33:24 runeaudio systemd[1]: systemd-tm=
pfiles-clean.service: Succeeded.<br>Apr 23 13:33:24 runeaudio systemd[1]: F=
inished Cleanup of Temporary Directories.</div><div><br></div><div>Any help=
?</div><div><br></div><div>Regards,</div><div><br></div><div>Keith<br></div=
><div><br></div></div>
--00000000000087e99a05a3fe9aa6--
------------------------------
Date: Fri, 24 Apr 2020 08:59:01 +0200
From: Daniel Wagner <[email protected]>
Subject: Re: Wifi Tethering
To: KeithG <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi,
On Thu, Apr 23, 2020 at 07:39:42PM -0500, KeithG wrote:
> I get this:
> # connmanctl tether wifi on myssid password
> Wifi SSID set
> Wifi passphrase set
> Enabled tethering for wifi
These steps are correct. After you enelabed wifi tethering, you should
start to see the network on you phone. Last time I checked it worked
for my hardware setup.
Is this with wpa_supplicant? If so enable the debug logs for
wpa_supplicant by setting the environment variable
CONNMAN_SUPPLICANT_DEBUG. Maybe also '-d plugsin/wifi.c'.
You could also try if it works with iwd.
Thanks,
Daniel
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 54, Issue 5
**************************************