Hardware/Microsoft/Surface Go 2: Difference between revisions

Onny (talk | contribs)
Add LTE modem workaround
Onny (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 43: Line 43:
</syntaxhighlight>After that rebuild your system and reboot the machine.
</syntaxhighlight>After that rebuild your system and reboot the machine.


If the LTE modem does not appear in your network manager directly, a small workaround script is required. Add this to your system configuration<syntaxhighlight lang="nix">
If the LTE modem does not appear in your network manager directly, a [https://github.com/linux-surface/linux-surface/wiki/Surface-Go-2#enabling-the-lte-modem small workaround script] is required. Add this to your system configuration<syntaxhighlight lang="nix">
systemd.services.lte_modem_fix = let
systemd.services.lte_modem_fix = let
   modemFixScript = pkgs.writeScriptBin "fix_lte_modem" ''
   modemFixScript = pkgs.writeScriptBin "fix_lte_modem" ''
Line 60: Line 60:
};
};
systemd.services.ModemManager.wantedBy = ["multi-user.target"];
systemd.services.ModemManager.wantedBy = ["multi-user.target"];
</syntaxhighlight>
</syntaxhighlight>It will take a couple of seconds for the modem to appear.