Framework 13" Restarting when closed/sleep and DNS reset on Ubuntu 24.04

Which Linux distro are you using?

  • Ubuntu 24.04

Which release version?

(if rolling release without a release version, skip this question)

(If rolling release, last date updated?)

Which kernel are you using?

  • Linux 6.8.0-41-generic

Which BIOS version are you using?

Which Framework Laptop 13 model are you using? (AMD Ryzen™ 7040 Series, Intel® Core™ Ultra Series 1, 13th Gen Intel® Core™ , 12th Gen Intel® Core™, 11th Gen Intel® Core™)

  • AMD Ryzen 7040 Series (7640)

Issue:

When I put the computer to sleep by closing the lid, often I’ll come back to the computer being off and having to power on. This is the first issue. The second issue, is that once it does come back on, the wifi has a ? in the icon and often I find myself having to add a DNS server to /etc/resolv.conf to get it to work again. This is quite frustrating and hoping to find some help here to resolve this and make my brand new (1 week) framework laptop rock solid and stable!

For what it’s worth, I believe I’m also on the latest firmware according to fwupdmgr

Perhaps this thread should be merged with this one. That latter thread contains seemingly useful information, including some workarounds.

I don’t think these are same issues

Atleast you could see what Marios s2idle script does