DNS Problems with Mobile Data
#1
Hello there,

is anyone else facing DNS problems using mobile data after the latest Network Manager update to v1.35.91-1?

I can ping 8.8.4.4 for example but opening a homepage in a browser is not working.

No problems with Wifi though...

Thanks in advance!
  Reply
#2
Switch back to previous version
Code:
dpkg -i /var/cache/apt/archives/network-manager_1.34.0-2_arm64.deb /var/cache/apt/archives/libnm0_1.34.0-2_arm64.deb

... and prevent installing version 1.35.*
Code:
echo -en 'Package: network-manager\nPin: version 1.35.*\nPin-Priority: -1\n\n' >> /etc/apt/preferences
If the software is not in the cache, fetch it from snapshot.debian.org:
https://snapshot.debian.org/archive/debi..._arm64.deb
https://snapshot.debian.org/archive/debi..._arm64.deb
  Reply
#3
You can manually set your name servers in /etc/resolv.conf. However if you directly edit the file it will be overwritten on next boot or network connect. Here's how to make it permanent, assuming Mobian is set up the same way as stock Debian and Ubuntu:

https://www.tecmint.com/set-permanent-dn...tu-debian/
  Reply
#4
(02-20-2022, 08:04 AM)arno_nuehm Wrote: ...
is anyone else facing DNS problems using mobile data after the latest Network Manager update to v1.35.91-1?
...

Yes

(02-20-2022, 11:05 AM)jsch Wrote: Switch back to previous version
Code:
dpkg -i /var/cache/apt/archives/network-manager_1.34.0-2_arm64.deb /var/cache/apt/archives/libnm0_1.34.0-2_arm64.deb

...

Many thanks
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#5
Thanks for your answers. Sadly, downgrading wasn't helping in my case. But manually setting up an alternative DNS server adresse did the trick.

I think, maybe some of the also updated Mobian scripts might have changed the way how host are now resolved while using mobile data - but it's a bit of a wild guess here.

So, thanks Zebulon Walton for your link!

And hopefully, another update will fix that bug so the manual fiddling can be revoked.

Cheers and good night!
  Reply
#6
Same problem here, no 4G data. I will wait for the update fix.
  Reply
#7
I had this today also, rolling back fixed it; thanks.
PinePhone, Pinebook Pro & PineTab2 owner.
  Reply
#8
(02-20-2022, 08:04 AM)arno_nuehm Wrote: Hello there,

is anyone else facing DNS problems using mobile data after the latest Network Manager update to v1.35.91-1?

I can ping 8.8.4.4 for example but opening a homepage in a browser is not working.

No problems with Wifi though...

Thanks in advance!

Yes I have the same problem since about 24 hours. Thank you for mentioning it here. My Pinephone is my daily driver, I really need to make it work anew.

I reported this bug here:
https://gitlab.freedesktop.org/NetworkMa...issues/931
Please mention your workarounds.
  Reply
#9
(02-21-2022, 05:23 PM)anonymous Wrote:
(02-20-2022, 08:04 AM)arno_nuehm Wrote: Hello there,

is anyone else facing DNS problems using mobile data after the latest Network Manager update to v1.35.91-1?

I can ping 8.8.4.4 for example but opening a homepage in a browser is not working.

No problems with Wifi though...

Thanks in advance!

Yes I have the same problem since about 24 hours. Thank you for mentioning it here. My Pinephone is my daily driver, I really need to make it work anew.

I reported this bug here:
https://gitlab.freedesktop.org/NetworkMa...issues/931
Please mention your workarounds.

Thanks for the bug report. I think, the problem is that the latest Bookworm version of Network Manager is not forwarding the DNS server adress from mobile networks to the system as it does with the Wifi DNS.

And since I don't like downgrading, here is my workaround as mentioned above from Zebulon Walton:

Code:
sudo apt install resolvconf
sudo nano /etc/resolvconf/resolv.conf.d/head
# add "nameserver IP-ADRESS" --> 9.9.9.9 for quad9 for example
sudo systemctl restart resolvconf.service
sudo systemctl restart systemd-resolved.service

That did the trick for me without downgrading.

Cheers
  Reply
#10
(02-22-2022, 04:16 AM)arno_nuehm Wrote:
(02-21-2022, 05:23 PM)anonymous Wrote:
(02-20-2022, 08:04 AM)arno_nuehm Wrote: Hello there,

is anyone else facing DNS problems using mobile data after the latest Network Manager update to v1.35.91-1?

I can ping 8.8.4.4 for example but opening a homepage in a browser is not working.

No problems with Wifi though...

Thanks in advance!

Yes I have the same problem since about 24 hours. Thank you for mentioning it here. My Pinephone is my daily driver, I really need to make it work anew.

I reported this bug here:
https://gitlab.freedesktop.org/NetworkMa...issues/931
Please mention your workarounds.

Thanks for the bug report. I think, the problem is that the latest Bookworm version of Network Manager is not forwarding the DNS server adress from mobile networks to the system as it does with the Wifi DNS.

And since I don't like downgrading, here is my workaround as mentioned above from Zebulon Walton:

Code:
sudo apt install resolvconf
sudo nano /etc/resolvconf/resolv.conf.d/head
# add "nameserver IP-ADRESS" --> 9.9.9.9 for quad9 for example
sudo systemctl restart resolvconf.service
sudo systemctl restart systemd-resolved.service

That did the trick for me without downgrading.

Cheers

Yes I saw the same trick here:
https://debian-facile.org/doc:systeme:resolv.conf

"Il suffit de mettre les paramètres que l'on veut dans le fichier « head » présent ici : /etc/resolvconf/resolv.conf.d/

Dès lors, ce sont ces paramètres qui seront repris comme prioritaires dans le resolv.conf" which means

"Just put the parameters you want into the "head" file here: /etc/resolvconf/resolv.conf.d/

From then on, these parameters will be taken up as priorities in the resolv.conf"


I'm going to use these DNS:
https://www.fdn.fr/actions/dns/

P.S: It works as expected, many thanks Smile
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 794 06-25-2024, 10:38 AM
Last Post: mikehenson
  Mobile internet via cellular network mostly not working Anna 18 13,581 01-19-2024, 02:59 AM
Last Post: anonymous
  Stability problems with 6.1 kernel Zebulon Walton 9 3,807 05-12-2023, 08:09 AM
Last Post: zetabeta
  4G data on default startup / boot dcinoz 1 1,190 04-29-2023, 11:24 PM
Last Post: dcinoz
  Block firefix-esr-mobile-config from (re)installing itself grump_fiddle_reinstall 3 2,222 01-07-2023, 09:36 AM
Last Post: dcarvil
Exclamation No modems were found: No mobile data, no 2G anonymous 2 1,963 12-26-2022, 06:46 PM
Last Post: anonymous
  very slow processing of MMS received via Ting (T-Mobile) treebeard 6 3,670 12-01-2022, 09:18 AM
Last Post: traut
  Problems after Tow-Boot Dinosaur1946 3 2,347 09-18-2022, 12:48 AM
Last Post: SpaggettiCoder
  Will this battery-saving script cause problems? rp3 1 1,635 08-28-2022, 02:00 PM
Last Post: biketool
  Tow-boot problems and restoring uboot Zebulon Walton 15 10,250 08-14-2022, 11:09 AM
Last Post: shulamy

Forum Jump:


Users browsing this thread: 4 Guest(s)