So far I’ve been using linux-wifi-hotspot from AUR (wihotspot in terminal) to bridge my existing wireless connection and open a hotspot (eg temporary Guest Network, so I don’t have to share the long password of my home setup). This works in kernel 6.6.65-1-MANJARO, but in kernel 6.11.11-1-MANJARO I can only share a wired connection, not the wireless anymore.
I have searched a few things but now I need help to proceed further. Upstream issue #435 links to kernel issue 219394 stating one should use p2p_group_add.
I see two possibilities:
kernel change gets reverted upstream or manjaro ships a patch
use wifi-p2p
As recommended by the kernel dev, I tried to use wifi-p2p ( = WIFI Direct) but failed. There’s no gui for linux and it isn’t implemented by linux-wifi-hotspot. I am trying to connect my android phone to my manjaro machine. The phone is able to connect to another android phone via Wifi Direct (well hidden in wifi settings). Both laptop and phone see each other, but I can’t get a connection.
Try 2.1:
sudo dnsmasq
nmcli con add type wifi-p2p peer mac:of:my:phone autoconnect no ipv4.addresses 192.168.42.1/24 ipv4.method manual
# doesn't work
Why not simply create a second (guest) network on your router?
No need to bridge anything then …
Most modern devices do support the creation of such a second WiFi interface, some even have it enabled by default.
… yes, I’m avoiding to engage with your problem description - I simply see no need for it and also a lack of information to do so.
I won’t be engaging with that in any case, btw.
It’s nothing personal - just likely a lot of time will be spent to clarify and request missing information,
when there is no real need to do it the way you apparently did and which stopped working for some reason.
and that one is still a current and supported kernel - I’m using it right now
uname -r
6.6.65-1-MANJARO
Why not keep using it?
Besides that we know nothing about the hardware involved or whether you have rebuilt it after an update or not.
It’s an AUR package and you may have used other AUR dependencies to build it.
It can be built with just repo packages - but we don’t know how you did it.
My reason for this thread is to raise awareness to this change in the kernel where it diverts from the “norm”: on android, windows and, i believe, apple the usual way to share your internet connection is to open a hotspot and wifi-p2p is a hidden and feature-restricted option. Now the kernel blocks this feature for a reason i don’t know and can only guess purism. That’s valid even if it’s sad for me. So for the future I hope that either the kernel change gets reverted or there will be better support for wifi-p2p. If neither happens i probably have to buy a usb-wifi-adapter and carry it with me.
@Nachlese thank you for your reply and i hope you now understand what my intentions are. Staying on linux66 is a valid but temporary solution. My wifi card is (from lspci -v) Intel Corporation Wireless 3160 (rev 83) with kernel module iwlwifi, but i don’t think other working wifi cards behave differently (happy to know more). I got the package via pamac build linux-wifi-hotspot (to be honest, i did it in the gui).
I mean no offense with this(!):
Is that something you know to be true or was that just a guess?
I do not know how it works in Windows (you said something about needing vs not needing two interfaces …)
From my experience with playing with and using cheap WiFi routers which can be flashed with OpenWRT and which I used to do similar things with
(to extend a Hotel WiFi signal, or to take that one available connection and make it available to multiple devices under a new network name … travel-mate is the name of the package that makes this easy - but only made for use in OpenWRT)
it always, internally, involves either having two physical interfaces (two cards)
or one card on which two or more virtual interfaces can be created.
I would not have thought that this is dependent on the kernel - but rather on the capabilities of the card.
And on firewall settings as well.
Hence my question whether you know that this is due to a change in the kernel.
The linux66 kernel (where it works) is a LTS kernel - so continuing to use it for a long time to come is possible.
That still does not ensure that some of the dependencies are not also from AUR - go look at that page I linked to to see what I mean.
With each kernel change
or even after each other update of the base system you may need to rebuild at least this one package -
especially if it suddenly stops doing what it has always been doing …
Make sure you did that …
and:
the AUR packages expect the package versions which ARCH uses - Manjaro, especially the “stable” branch of it - often has got different, slightly older versions
which may also be a reason for it not working
Thank you for the info on AppArmor! (I don’t use any of AppArmors functions so far) Yes i think this is a very nice app, but with the kernel change it lost it’s unique selling point over the kde hotspot, which is also able to open a hotspot, but not a wireless bridge.
Thanks for the info, maybe i have look into a little openwrt device, could be fun. Please read my first message, this is not a problem of the install of linux-wifi-hotspot, but a communicated change in the kernel.
Agreed with all of you. Which is were I was at the beginning and I’m sorry to be so fixed on this: If the feature is there, @Nachlese and @Mirdarthos, can you get wifi-p2p working? Because that’s my argument, that the feature isn’t there.