Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't handle WiFi #271

Open
Thatoo opened this issue Aug 19, 2024 · 5 comments
Open

Can't handle WiFi #271

Thatoo opened this issue Aug 19, 2024 · 5 comments

Comments

@Thatoo
Copy link

Thatoo commented Aug 19, 2024

Hello,

I face the same issue as #107

Wifi connects automatically but I can't handle WiFi from Cosmic. Bluetooth works out of the box.

The Wifi toggle is there, but it is grayed out, and I can't switch it and I can't find any wifi settings.

image

:~$ nmcli device
DEVICE          TYPE      STATE                  CONNECTION
wlp4s0          wifi      connecté               FREEWIFI
lo              loopback  connecté (en externe)  lo
p2p-dev-wlp4s0  wifi-p2p  déconnecté             --
enp0s31f6       ethernet  indisponible           --
vboxnet0        ethernet  non-géré               --
@Thatoo Thatoo changed the title Can't enable WiFi Can't handle WiFi Aug 19, 2024
@Thatoo
Copy link
Author

Thatoo commented Sep 20, 2024

Wifi settings ave arrived within Cosmic settings app but the wifi applet is still not working properly, same as previously described.

@drakon64
Copy link
Sponsor Contributor

How is your networking configured?

@Thatoo
Copy link
Author

Thatoo commented Sep 20, 2024

in configuration.nix, I have simply :

  networking.hostName = "LaptopName"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.

  # Configure network proxy if necessary
  # networking.proxy.default = "http://user:password@proxy:port/";
  # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";

  # Enable networking
  networking.networkmanager.enable = true;

and nothing about it in my specialisation.nix file

How should it be?

On a different but linked issue, upstream, I got this answer, pop-os/cosmic-epoch#976 (comment), can it be related?

@Thatoo
Copy link
Author

Thatoo commented Sep 20, 2024

I'll try adding something like this :

  specialisation = {
    cosmic.configuration = {
      environment.systemPackages = with pkgs; [
        networkmanagerapplet
        gnome.networkmanager-openvpn
      ];
      system.nixos.tags = [ "Cosmic" ];
    };
  };

@Thatoo
Copy link
Author

Thatoo commented Sep 20, 2024

It has indeed solved this issue pop-os/cosmic-epoch#976 (comment) and also it has added a wifi option among applets but it doesn't feel quiet right (not very integrated. I'd be interested to see how it should look like by the way).

image

is the new wifi option among applets
and

image

is the same as before : no icon and impossible to switch wifi toggles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants