WiFi update issue

I noticed clicking on ‘GSM’ in the Garuda Welcome screen resulted in nothing popping up. So, I opened Octopi and saw that GSM and GSM-kcm were marked for an upgrade. Weird thing is I used ‘garuda-update’ in terminal and it did not show an upgrade for these two. So, I went ahead and upgraded them in Octopi and I could then open GSM once again. Very strange.

maybe you’ve ignored upgrades for these in /etc/pacman.conf?
Maybe Octopi has generated its own mirrorlist? Try updating the pacman mirrolist via mirrors, reflector or other tools/commands

1 Like

Nothing wrong with pacman.conf, but I think your second comment is probably true, Octopi probably generates its own mirrorlist. I have updated mirrors, but now there is no way of testing, so I will have to keep an eye on it. Thanks. :+1:

1 Like

Update #2

The update of linux-wifi-hotspot I downloaded was v4.5.0 and it worked perfectly.

I downloaded another update today - v4.7.0-1.

Guess what … it doesn’t work.

Is there any chance it can be removed from the Chaotic AUR and replaced with v4.5.0?

Exactly. Or it will if/when the ‘refresh’ icon is clicked. But it can lead to a partial upgrade situation under certain, specific situations. That said, I use it to hunt/find/install packages after setting up an initial install & config of base & a DE/WM. Even in GNOME, I dislike PAMAC so much. :wink:

It’s always the user, never the app, right? :wink: :wink:

3 Likes

Update #3

linux-wifi-hotspot has now been updated to v4.7.1-1. It still doesn’t work - I click the icon to start it and nothing happens.

Is there an alternative to this software which reliably creates a WiFi hotspot?

I think you can downgrade yw (or maybe install iw-git from AUR):
https://aur.archlinux.org/packages/linux-wifi-hotspot#comment-949206

1 Like

I tried to uninstall iw-6.7-1 in order to downgrade to iw-git 5.19 and this was displayed…

sudo pacman -Rs iw
[sudo] password for colin:         
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing iw breaks dependency 'iw' required by linux-wifi-hotspot
:: removing iw breaks dependency 'iw' required by wireless-regdb

I got the same error with Pamac.

:man_shrugging:

But is it necessary to remove it first?
I think pacman -U or the downgrade command should do.
(downgrade is from downgrade package)
Or try -Rdd to remove it

3 Likes
downgrade iw

?

3 Likes

https://aur.archlinux.org/packages/linux-wifi-hotspot#comment-949206

Since the recent iw update to 6.7, creating an AP is mostly broken. See Update frequency parsing for iw 6.7 compatibility by joanbm · Pull Request #367 · lakinduakash/linux-wifi-hotspot · GitHub. You will need to either apply the first commit from that PR or downgrade to iw 5.9.

quite curious as last release was in nov and this pr fixes a bug introduced after the kernel release when will be the next release as arch does not have any -git package.

FWIW the AUR package has a new pkgrel which already includes this patch (even though it’s not included in an official release yet) - see apply PR 367 - aur.git - AUR Package Repositories

TBH this is over my head. Is this saying that a patch is forthcoming, if it is I’ll wait for that.

Have you tried the downgrade iw anyway?

1 Like

I didn’t realise this was an explanation of how to downgrade a file :blush:

Anyway, I downgraded iw to 5.19 and reinstalled the update. Still no luck.

Here’s the terminal output when I try and create a hotspot…

wihotspot

(wihotspot-gui:3951): GLib-GObject-CRITICAL **: 19:49:25.984: invalid cast from 'GtkEntry' to 'GtkTextView'

(wihotspot-gui:3951): Gtk-CRITICAL **: 19:49:25.984: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed

(wihotspot-gui:3951): GLib-GObject-CRITICAL **: 19:49:25.985: invalid (NULL) pointer instance

(wihotspot-gui:3951): GLib-GObject-CRITICAL **: 19:49:25.985: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
/usr/bin/wihotspot: line 4:  3951 Segmentation fault      (core dumped) /usr/bin/wihotspot-gui

As a footnote, here’s the terminal output after restoring the system to its previous settings…

wihotspot

(wihotspot-gui:1995): GLib-GObject-CRITICAL **: 20:01:10.409: invalid cast from 'GtkEntry' to 'GtkTextView'

(wihotspot-gui:1995): Gtk-CRITICAL **: 20:01:10.409: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed

(wihotspot-gui:1995): GLib-GObject-CRITICAL **: 20:01:10.410: invalid (NULL) pointer instance

(wihotspot-gui:1995): GLib-GObject-CRITICAL **: 20:01:10.410: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
pkexec --user root create_ap wlp1s0 enp3s0f3u3 'Colins Hotspot' '***********' --mkconfig /etc/create_ap.conf --freq-band 2.4 
Config options written to '/etc/create_ap.conf'

Hotspot works.

Less convenient, but you could just use USB phone tethering until the issue is resolved.

1 Like

If you downgraded, you shouldn`t update, or at least you should put iw in IgnorePkg in /etc/pacman.conf.

2 Likes

I’m a luddite who doesn’t use smartphones.

I did that. :confused:

That doesn’t make you a luddite, it simply makes you privacy/security focussed.

3 Likes

This really looks like your error.

Would you feel like trying building from source? :wink:
Installation instructions are available (hope you have all the dependencies, since you have the package)

1 Like

That is waaaaaaaaaaaaaaaaaaaay over my knowledge level.

1 Like