Code Monkey home page Code Monkey logo

Comments (7)

sharkwouter avatar sharkwouter commented on May 22, 2024

This seemed like a polkit issue, but I've tried a couple of configuration and they don't seem to solve the issue. I made sure the polkit service is running. I tried the following configuration files:

polkit.addRule(function(action, subject) {
  if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("wheel")) {
    return polkit.Result.YES;
  }
});
polkit.addRule(function(action, subject) {
  if (action.id == "org.freedesktop.NetworkManager.settings.modify.system" &&
	subject.local && subject.active && 
	subject.isInGroup ("wheel") ) {
    return polkit.Result.YES;
  }
});

This first of these was found on the Arch wiki. The last one if the configuration as found in SteamOS, which is installed by the network-manager package from Debian.

I also tried installing network-manager-applet, but that didn't change the behaviour either.

from chimeraos.

alkazar avatar alkazar commented on May 22, 2024

I took a crack at this issue.

I first tried to make this work on my standard Arch install. I was actually able to successfully connect to a wifi network using the SteamOS interface by installing lib32-libnm.

On gamerOS, I tried installing lib32-libnm and also adjusting the polkit settings as @sharkwouter did above, but I could not connect. I tried on 2 different computers to rule out some hardware/driver issues.

The error I could see in journalctl was 802-11-wireless.mac-address: connection does not match device. Googling that error led nowhere.

At least we know it is possible to get this to work.

from chimeraos.

alkazar avatar alkazar commented on May 22, 2024

I tried comparing the list of network related packages installed on my Arch install where wifi works vs gamerOS. I tried installing the following packages on gamerOS:

  • network-manager-applet
  • net-snmp
  • nm-connection-editor
  • libnma

Still can't connect to wifi in gamerOS.

from chimeraos.

sharkwouter avatar sharkwouter commented on May 22, 2024

I found that Steam uses the libnm-glib library. This library is no longer supported by the NetworkManager maintainers. In the changelog for NetworkManager version 1.20 I found the following statement:

* The libnm-glib library, deprecated in favor of libnm since NetworkManager 1.0,
  and disabled by default since NetworkManager 1.12, has now been removed.

Source: https://github.com/NetworkManager/NetworkManager/blob/05175562f504491fc4a7d7f6811481b1fcb3a63f/NEWS

It is possible to install this library, since it is still in the Arch repo, but it doesn't seem to fix the problem. The package offers version 4.9.0, while SteamOS uses 4.8.0. I wasn't able to load the SteamOS version on Arch. I was hoping installing this library would fix the issue, since the error mentioned in this issue is one of the errors I'm seeing: ValveSoftware/steam-for-linux#4968

from chimeraos.

sharkwouter avatar sharkwouter commented on May 22, 2024

SteamOS ships NetworkManager version 0.9.10.0. The easiest way to fix the issue might just be to adapt the PKGBUILD used by Arch to install a similar version.

I found the release tag for version 0.9.10.2 in the Github repo of NetworkManager: https://github.com/NetworkManager/NetworkManager/releases/tag/0.9.10.2

I'll try to see if this is possible later this week.

from chimeraos.

sharkwouter avatar sharkwouter commented on May 22, 2024

I found out that it is possible to get old PKGBUILD files from the official Arch repo. You can get all the source files for the packages in the Arch repo with git clone https://git.archlinux.org/svntogit/packages.git. You can then checkout a specific commit. The history goes back like 10 years.

from chimeraos.

alkazar avatar alkazar commented on May 22, 2024

I was curious to see if this has been resolved, so I tested GamerOS 10.

I was successfully able to detect and connect to wifi networks. There must have been a Steam client update at some point that addressed this issue.

The problems with detecting password protected networks is also completely fixed.

from chimeraos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.