The Volla 22 (Gigaset GS5) Thread

And you have as well uncommented #bind-interfaces in /etc/dnsmasq.conf?

Yes, I just added that. After a reboot it didn’t change anything.

Then I’m clueless. That are the only two stumbling blocks, that I’m aware of. Have you typed the changes in /etc/gbinder.d/anbox-hybris.conf or made via copy and paste. Maybe there is still something wrong.

Hotspot works on both the GS5 and the rephone for me. EDIT: I only use DNS to block ad servers (hosts).

1 Like

F**k, then I have to reflash probably. Grrrrrr… :unamused: :rage:

I wouldn’t go that far! It was blocky that led to the issue?

Yes, probably. The only things Which could have an impact on that, are blocky and waydroid.

So, two possible issues. dnsmasq vis. waydroid, conman dns config vis. blocky. Just need to find default configs. sek.

For blocky, using https://github.com/ilpianista/harbour-Blocky/blob/master/rpm/harbour-blocky.spec as a reference:

  1. make sure /usr/lib/systemd/system/connman.service.d/override.conf is NOT present
  2. cat /usr/lib/tmpfiles.d/connman_resolvconf.conf should contain
d	/run/connman	- - - -
L+	/etc/resolv.conf	- - - -	/run/connman/resolv.conf
  1. cat /run/connman/resolv.conf should contain
nameserver 127.0.0.1
  1. netstat -tulpen should show
tcp        0      0 127.0.0.1:53                0.0.0.0:*                   LISTEN      0          138642     2526/connmand       
tcp        0      0 ::1:53                      :::*                        LISTEN      0          138646     2526/connmand 

The last only if dnsmasq is not running/waydroid. I have to admit I don’t know much about waydroid.

One could also look at the connman configs in /etc/connman, but I don’t believe blocky touches those at all. It just uses a systemd override to switch flags.

Hmmm. I’m not sure why, but the postun in blocky removes /etc/resolv.conf that is neither necessary nor desirable, I think. EDIT, my /etc/resolv.conf contains a note it’s generated:

# Generated by Connection Manager
nameserver ::1
nameserver 127.0.0.1

SOO, the postun is correct in removing the resolv.conf, though I don’t get it since the contents barely (- ipv6) differ.

  systemctl daemon-reload
  rm /etc/resolv.conf
  systemctl restart connman.service
  systemd-tmpfiles --create

I believe restarting connman.service regenerates the resolv.conf

But checking can’t hurt.

Thanx for your support. That’S what I get when I look for resolv.conf:

[root@Phone22 systemd]> cat /run/connman/resolv.conf
Generated by Connection Manager
search fritz.box
nameserver 10.74.210.210
nameserver 10.74.210.211
nameserver 2A01:0598:07FF:0000:0010:0074:0210:0210
[root@Phone22 systemd]#

What I find very intersting: Yesterday after removing blocky, i could connect to my Phone even so it was a restricted connection. Today it is not visible for other devices when I establish hotspot.

What I also recognized, is that the network symbol is constantly switching between mobile network and Wlan.
This was from beginning like that.

And here further output:

[root@Phone22 systemd]# netstat -tulpen should show
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:8384 0.0.0.0:* LISTEN 100000 1840005 5680/syncthing
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 0 79523 4444/dnsmasq
tcp 0 0 :::22000 :::* LISTEN 100000 1851477 5680/syncthing
tcp 0 0 :::5554 :::* LISTEN 100000 81637 4659/systemd
tcp 0 0 ::1:53 :::* LISTEN 0 80913 4444/dnsmasq
tcp 0 0 :::22 :::* LISTEN 0 2912 1/init
udp 0 0 0.0.0.0:44311 0.0.0.0:* 100000 1849861 5680/syncthing
udp 0 0 127.0.0.1:53 0.0.0.0:* 0 79522 4444/dnsmasq
udp 0 0 0.0.0.0:49603 0.0.0.0:* 0 1848079 5590/connmand
udp 0 0 0.0.0.0:21027 0.0.0.0:* 100000 1849862 5680/syncthing
udp 0 0 :::22000 :::* 100000 1840003 5680/syncthing
udp 0 0 :::54867 :::* 100000 1849863 5680/syncthing
udp 0 0 ::1:53 :::* 0 80912 4444/dnsmasq
udp 0 0 :::21027 :::* 100000 1849865 5680/syncthing
[root@Phone22 systemd]#

Hmmm. Ok. That’s not an unreasonable resolv.conf if you only use wlan :slight_smile:

The actual settings for live cellular connections live in /home/.system/var/lib/connman/ so, I’d try resetting the contents of /run/connman/resolv.conf to:

# Generated by Connection Manager
nameserver ::1
nameserver 127.0.0.1

and then run:
devel-su systemctl restart connman

I’m not sure if dnsmasq is also an issue but it’s running on ipv4/6 on usual (53) port.

When I do that, the resolf.conf is getting resetted to the containt which I’ve posted before, after i restarted conman.

Ok. That tells us that connman works :slight_smile: Please try doing:

devel-su systemctl disable --now dnsmasq

To disable dnsmasq and reboot the phone. Then run netstat -tulpen and let me know if connman is in charge of port 53 again.

[defaultuser@Phone22 ~]$ netstat -tulpen
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 0 84244 -
tcp 0 0 127.0.0.1:8384 0.0.0.0:* LISTEN 100000 153287 5650/syncthing
tcp 0 0 ::1:53 :::* LISTEN 0 84248 -
tcp 0 0 :::22 :::* LISTEN 0 15011 -
tcp 0 0 :::22000 :::* LISTEN 100000 165967 5650/syncthing
tcp 0 0 :::5554 :::* LISTEN 100000 89271 4733/systemd
udp 0 0 0.0.0.0:58356 0.0.0.0:* 0 144196 -
udp 0 0 0.0.0.0:43302 0.0.0.0:* 100000 143918 5650/syncthing
udp 0 0 127.0.0.1:53 0.0.0.0:* 0 84236 -
udp 0 0 0.0.0.0:21027 0.0.0.0:* 100000 143919 5650/syncthing
udp 0 0 :::22000 :::* 100000 165069 5650/syncthing
udp 0 0 ::1:53 :::* 0 84240 -
udp 0 0 :::49519 :::* 100000 162283 5650/syncthing
udp 0 0 :::21027 :::* 100000 162284 5650/syncthing
[defaultuser@Phone22 ~]$

and

[root@Phone22 defaultuser]# cat /run/connman/resolv.conf

Generated by Connection Manager

nameserver ::1
nameserver 127.0.0.1
[root@Phone22 defaultuser]#

And does the hotspot work :wink:

It still looks a bit odd since the PID/Program name colum is blank for 53 but …

Also, is the odd switching behaviour you mentioned there? I’ve never seen that. continuously, but only when out of range of wifi (switching to cellular). When wifi is in range and both wifi and cellular are on, I still see a solid wifi pi-slice and not the cellular icon.

Now phone shows up but again just a restricted connection can be established. Then suddenly it gets disconnected. I more and more get the feeling, that not blocky is the culprit, but that it has to do with the interfaces. Can we compare ifconfig when you have a hotspot established? Even so I’m not sure how i can copy more than a page when I use Terminal directly on phone.

I’d set up developer access on wifi to make it easier to do cli stuff … but first:

What happens if you:

  1. turn off wifi, then
  2. turn on mobile network and then
  3. turn on hotspot.
    Generally, one doesn’t need to run a hotspot and wifi at the same time.

Already tried that. That doesn’t change anything.

Here is ifconfig when hotspot is running (I can’t connect to the phone via ssh when hotspot is running, so copied on the phone):

[defaultuser@Phone22 ~]$ ifconfig
ap0 Link encap:Ethernet HWaddr 1A:9F:4E:06:72:A7
inet6 addr: fe80::189f:4eff:fe06:72a7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17577 (17.1 KiB) TX bytes:20988 (20.4 KiB)

ccmni1 Link encap:UNSPEC HWaddr 1E-46-4C-DC-76-FD-00-00-00-00-00-00-00-00-00-00
inet addr:10.162.113.16 Mask:255.0.0.0
inet6 addr: 2a01:598:8892:ec18:1:1:8e75:1bcc/64 Scope:Global
inet6 addr: fe80::1:1:8e75:1bcc/64 Scope:Link
UP RUNNING NOARP MTU:1428 Metric:1
RX packets:548 errors:0 dropped:0 overruns:0 frame:0
TX packets:373 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130032 (126.9 KiB) TX bytes:34638 (33.8 KiB)

ifb0 Link encap:Ethernet HWaddr 6E:D6:9D:55:88:D7
inet6 addr: fe80::6cd6:9dff:fe55:88d7/64 Scope:Link
UP BROADCAST RUNNING NOARP DYNAMIC MTU:1500 Metric:1
RX packets:12 errors:0 dropped:12 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:880 (880.0 b) TX bytes:0 (0.0 b)

ifb1 Link encap:Ethernet HWaddr 36:76:58:40:A8:5A
inet6 addr: fe80::3476:58ff:fe40:a85a/64 Scope:Link
UP BROADCAST RUNNING NOARP DYNAMIC MTU:1500 Metric:1
RX packets:12 errors:0 dropped:12 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:880 (880.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:131 errors:0 dropped:0 overruns:0 frame:0
TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12938 (12.6 KiB) TX bytes:12938 (12.6 KiB)

rndis0 Link encap:Ethernet HWaddr DE:9F:E2:4D:A2:09
UP BROADCAST MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

tether Link encap:Ethernet HWaddr 1A:9F:4E:06:72:A7
inet addr:172.28.172.1 Bcast:172.28.172.255 Mask:255.255.255.0
inet6 addr: fe80::c8fa:60ff:fe90:3293/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16849 (16.4 KiB) TX bytes:15476 (15.1 KiB)

wlan0 Link encap:Ethernet HWaddr 1C:9F:4E:06:72:A7
UP BROADCAST MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan1 Link encap:Ethernet HWaddr 1C:9F:4E:04:72:A7
inet addr:192.168.178.54 Bcast:192.168.178.255 Mask:255.255.255.0
inet6 addr: fe80::1e9f:4eff:fe04:72a7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:4230 errors:0 dropped:0 overruns:0 frame:0
TX packets:2914 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3000
RX bytes:479528 (468.2 KiB) TX bytes:227788 (222.4 KiB)

[defaultuser@Phone22 ~]$ ifconfig

Oh and by the way, now the rephone doesn’t show up un other devices again. Without changing anything… :thinking: